BookStack/resources/assets/sass/_tables.scss

74 lines
1009 B
SCSS
Raw Normal View History

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;
}
}
2015-08-08 15:05:30 -04:00
table.table {
width: 100%;
tr {
border-bottom: 1px solid #DDD;
}
th, td {
text-align: left;
border: none;
padding: $-xs $-xs;
2015-08-23 08:41:35 -04:00
vertical-align: middle;
margin: 0;
2015-08-08 15:05:30 -04:00
}
th {
font-weight: bold;
}
tr:hover {
background-color: #EEE;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
2015-09-06 09:35:53 -04:00
}
table.no-style {
td {
border: 0;
padding: 0;
}
}
2016-04-09 08:52:44 -04:00
table.list-table {
margin: 0 -$-xs;
td {
border: 0;
vertical-align: middle;
padding: $-xs;
}
}
2017-08-10 15:11:25 -04:00
.fake-table {
display: table;
2017-08-19 08:55:56 -04:00
width: 100%;
2017-08-10 15:11:25 -04:00
> div {
display: table-row-group;
}
> div > div {
display: table-row;
}
> div > div > div {
display: table-cell;
}
2015-08-08 15:05:30 -04:00
}