hippie/modules/tables/_tables_module.scss

69 lines
846 B
SCSS
Raw Normal View History

.table__link {
2017-08-17 19:47:06 +02:00
width: 100%;
border: 0;
table-layout: auto;
tbody {
border-bottom: $cell_border;
&:hover {
background-color: $light_color;
}
}
th, td {
border: 0;
}
.cell__icon {
2017-08-17 19:47:06 +02:00
width: 48px;
text-align: center;
img {
vertical-align: text-top;
}
}
.cell__link {
2017-08-17 19:47:06 +02:00
padding-right: $basic_space;
padding-left: $basic_space;
&:hover {
background-color: $foxtrot_color;
a:first-child {
display: none;
}
a:last-child {
display: block;
color: $basic_highlight_color;
}
2017-08-17 19:47:06 +02:00
}
a {
display: block;
}
a:last-child {
2017-08-17 19:47:06 +02:00
display: none;
}
}
th:last-child, .cell__date {
width: 16%;
2017-08-17 19:47:06 +02:00
text-align: center;
}
.cell__text {
2017-08-17 19:47:06 +02:00
padding-right: $basic_space;
padding-left: $basic_space;
div {
width: 100%;
}
.shorten {
@extend %short;
max-height: 44px;
}
}
}