onion/sass/ascribe_table.scss

50 lines
920 B
SCSS
Raw Normal View History

2015-06-12 15:42:43 +02:00
.ascribe-table {
2015-08-31 19:04:44 +02:00
margin-bottom: 0;
2015-07-08 11:29:48 +02:00
font-size: 1.1em;
2015-06-12 15:42:43 +02:00
}
2015-08-31 19:04:44 +02:00
// This is aligning the first checkbox in pieclist detail with all the other ones
2015-06-12 15:42:43 +02:00
.table > thead:first-child > tr:first-child > th {
2015-08-31 19:04:44 +02:00
padding-left: 0;
2015-06-12 15:42:43 +02:00
}
2015-07-08 11:29:48 +02:00
.table > thead > tr > th {
vertical-align: middle;
}
2015-06-12 15:42:43 +02:00
.ascribe-table-header-column > span {
2015-08-31 19:04:44 +02:00
color: #424242;
2015-06-12 15:42:43 +02:00
display: table-cell;
font-weight: 600;
2015-08-31 19:04:44 +02:00
vertical-align: middle;
2015-06-12 15:42:43 +02:00
}
.ascribe-table-item-column {
2015-08-31 19:04:44 +02:00
display: table-cell;
2015-06-12 15:42:43 +02:00
font-size: .8em;
2015-08-31 19:04:44 +02:00
height: 3em;
2015-07-29 18:19:24 +02:00
vertical-align: middle;
2015-06-12 15:42:43 +02:00
2015-08-31 19:04:44 +02:00
> * {
display: table-cell;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
}
2015-06-12 15:42:43 +02:00
2015-08-31 19:04:44 +02:00
> span > input {
margin-left: 2px;
margin-top: 10px;
}
2015-06-12 15:42:43 +02:00
}
.ascribe-table-item-selected {
2015-08-31 19:04:44 +02:00
background-color: rgba(2, 182, 163, .5);
2015-06-12 15:42:43 +02:00
}
.ascribe-table-item-selectable {
cursor: default;
2015-08-31 19:04:44 +02:00
}