mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
69 lines
1.7 KiB
SCSS
69 lines
1.7 KiB
SCSS
$color-highlight: #072AC8;
|
|
$table-header-color: #EEEEEE;
|
|
$table-body-bg: #ffffff;
|
|
$color-usual: #ACACAC;
|
|
$border-raduis: 16px;
|
|
|
|
|
|
.table-wrapper {
|
|
border: 1px solid $table-header-color;
|
|
border-radius: $border-raduis;
|
|
overflow-x: auto;
|
|
background: $table-header-color;
|
|
|
|
.comparison-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
font-size: 20px;
|
|
|
|
th,
|
|
td {
|
|
max-width: 200px;
|
|
border: none;
|
|
padding: 12px 16px;
|
|
vertical-align: middle;
|
|
background: $table-body-bg;
|
|
}
|
|
|
|
tr:not(:last-child) th,
|
|
tr:not(:last-child) td {
|
|
border-bottom: 1px solid $table-header-color;
|
|
}
|
|
|
|
tr:last-child th,
|
|
tr:last-child td {
|
|
border-bottom: 1px solid $table-body-bg;
|
|
}
|
|
|
|
thead th {
|
|
background-color: $table-header-color;
|
|
font-weight: 400;
|
|
padding: 12px 16px;
|
|
border:none;
|
|
}
|
|
|
|
tbody td:not(:first-child),
|
|
thead th:not(:first-child) {
|
|
text-align: center;
|
|
}
|
|
|
|
thead th.highlight {
|
|
font-weight: 600;
|
|
font-size: 24px;
|
|
border-radius: 10px 10px 0 0;
|
|
border-bottom: 1px solid $color-highlight;
|
|
color: #ffffff;
|
|
background-color: $color-highlight;
|
|
}
|
|
|
|
tbody td.highlight {
|
|
border: 1px solid $color-highlight;
|
|
border-top: none;
|
|
|
|
.icon {
|
|
filter: brightness(0) saturate(100%) invert(26%) sepia(94%) saturate(2350%) hue-rotate(225deg) brightness(95%) contrast(93%);
|
|
}
|
|
}
|
|
}
|
|
} |