Ekapp/skolehjem/resources/sass/admin/content/table.scss

32 lines
505 B
SCSS
Raw Normal View History

2020-06-15 09:28:37 +00:00
.tbl {
border-collapse: collapse;
width: 100%;
}
.tbl td, .tbl th {
border: 1px solid #ddd;
padding: 8px;
}
.tbl tr:nth-child(even){background-color: rgba(0, 0, 0, 0.1);}
.tbl tr:hover {background-color: #ddd;}
.tbl th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #00788a;
color: white;
}
.tbl > tbody > tr > td > a {
width: 100%;
2020-06-22 12:53:00 +00:00
//display: flex;
2020-06-15 09:28:37 +00:00
}
.tbl > tbody > tr > td > a > img {
width: 1em;
margin: auto;
}