lbry-desktop/ui/scss/component/_table.scss

63 lines
1.1 KiB
SCSS
Raw Normal View History

@import "../global";
2016-08-08 06:47:48 +02:00
table.table-standard {
word-wrap: break-word;
max-width: 100%;
th, td {
padding: $spacing-vertical/2 8px;
}
th {
font-weight: bold;
font-size: 0.9em;
}
td {
vertical-align: top;
}
thead th, > tr:first-child th {
vertical-align: bottom;
font-weight: bold;
font-size: 0.9em;
padding: $spacing-vertical/4+1 8px $spacing-vertical/4-2;
text-align: left;
border-bottom: 1px solid #e2e2e2;
img {
vertical-align: text-bottom;
}
2017-08-18 05:31:44 +02:00
&.text-center {
text-align: center;
}
2016-08-08 06:47:48 +02:00
}
tr.thead:not(:first-child) th {
border-top: 1px solid #e2e2e2;
}
tfoot td {
padding: $spacing-vertical / 2 8px;
font-size: .85em;
}
tbody {
tr {
&:nth-child(even):not(.odd) {
background-color: #f4f4f4;
}
&:nth-child(odd):not(.even) {
background-color: white;
}
&.thead {
background: none;
}
td {
border: 0 none;
}
}
}
}
2017-08-26 05:21:26 +02:00
.table-standard--definition-list {
th {
text-align: right;
}
}
table.table-stretch {
width: 100%;
2016-08-08 06:47:48 +02:00
}