resources/src/css/table.css

42 lines
779 B
CSS

/* Table styling */
/* - Use the class "totals" to give a cell or row some different styling */
/* - Use the class "icon" to center an icon in the cell, make sure the icon has the class "icon" */
table{
width: 100%;
border-collapse: collapse;
text-align: left;
background-color: white;
border-radius: 10px;
overflow: hidden;
}
tr.totals, th.totals, td.totals{
background: var(--light-grey);
}
th, td{
padding: 10px;
}
th.iconCell, td.iconCell{
text-align: center;
}
th.iconCell > .icon, td.iconCell > .icon{
font-size: 15px;
width: 15px;
padding: 8px;
border-radius: 50%;
background-color: var(--standard-blue);
color: white;
cursor: pointer;
}
th{
background: var(--standard-blue);
color: white;
}