hippie/modules/tables/_tables_module.scss
Stephan Hagedorn f97f76ee3d New stuff
2017-08-22 16:50:09 +02:00

68 lines
847 B
SCSS

.table__link {
width: 100%;
border: 0;
table-layout: auto;
tbody {
border-bottom: $cell_border;
&:hover {
background-color: $bright_color;
}
}
th, td {
border: 0;
}
.cell__icon {
width: 48px;
text-align: center;
img {
vertical-align: text-top;
}
}
.cell__link {
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;
}
}
a {
display: block;
}
a:last-child {
display: none;
}
}
th:last-child, .cell__date {
width: 16%;
text-align: center;
}
.cell__text {
padding-right: $basic_space;
padding-left: $basic_space;
div {
width: 100%;
}
.shorten {
@extend %short;
max-height: 44px;
}
}
}