1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 23:52:40 +01:00
BookStack/resources/sass/_tables.scss

66 lines
922 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 21:05:30 +02:00
table.table {
width: 100%;
tr td, tr th {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
2015-08-08 21:05:30 +02:00
}
th, td {
text-align: left;
border: none;
padding: $-s $-s;
2015-08-23 14:41:35 +02:00
vertical-align: middle;
margin: 0;
2015-08-08 21:05:30 +02:00
}
th {
font-weight: bold;
}
tr:hover {
background-color: #EEE;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
td.actions {
overflow: visible;
}
a {
display: inline-block;
}
2015-09-06 15:35:53 +02:00
}
table.no-style {
td {
border: 0;
padding: 0;
}
}
2016-04-09 14:52:44 +02:00
table.list-table {
margin: 0 -$-xs;
td {
border: 0;
vertical-align: middle;
padding: $-xs;
}
2015-08-08 21:05:30 +02:00
}