BookStack/resources/sass/_tables.scss
Dan Brown f94fd44ff6
Updated styles to use logical properties/values
- Intended to improve RTL support in the interface.
- Also adds hebrew to language dropdown since that was missing.

Related to #1794
2020-04-05 13:07:19 +01:00

66 lines
921 B
SCSS

table {
min-width: 100px;
max-width: 100%;
thead {
background-color: #F8F8F8;
font-weight: 500;
}
td, th {
min-width: 10px;
padding: 6px 8px;
border: 1px solid #DDD;
overflow: auto;
line-height: 1.2;
}
td p, th p {
margin: 0;
}
}
table.table {
width: 100%;
tr td, tr th {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
th, td {
text-align: start;
border: none;
padding: $-s $-s;
vertical-align: middle;
margin: 0;
}
th {
font-weight: bold;
}
tr:hover {
background-color: #EEE;
}
.text-right {
text-align: end;
}
.text-center {
text-align: center;
}
td.actions {
overflow: visible;
}
a {
display: inline-block;
}
}
table.no-style {
td {
border: 0;
padding: 0;
}
}
table.list-table {
margin: 0 -$-xs;
td {
border: 0;
vertical-align: middle;
padding: $-xs;
}
}