hippie-style/modules/tables/_tables_module.scss
sthag 4e4f8814d3 feat: Resolve all deprecation warnings for sass
- Replace @import with @use and @forward
- Only color function is used in _basic.scss for now
- Change _all.scss to _index.scss
- Modules use direct dependencies
- Move @include from _config.scss to _common.scss, this was a long term mistake
- Remove $color_list
- Change basic_color()
2025-10-26 11:33:54 +01:00

77 lines
No EOL
998 B
SCSS

@use "../../global/config";
@use "../../global/typography";
@use "../../functions/color" as *;
.table_link {
width: 100%;
border: 0;
table-layout: auto;
tbody {
border-bottom: config.$border_basic;
&:hover {
background-color: config.$color_bright;
}
}
th,
td {
border: 0;
}
.cell_icon {
width: 48px;
text-align: center;
img {
vertical-align: text-top;
}
}
.cell_link {
padding-right: config.$space_basic;
padding-left: config.$space_basic;
&:hover {
background-color: basic_color(foxtrot);
a:first-child {
display: none;
}
a:last-child {
display: block;
color: config.$color_highlight_basic;
}
}
a {
display: block;
}
a:last-child {
display: none;
}
}
th:last-child,
.cell_date {
width: 16%;
text-align: center;
}
.cell_text {
padding-right: config.$space_basic;
padding-left: config.$space_basic;
div {
width: 100%;
}
.shorten {
@extend %short;
max-height: 44px;
}
}
}