mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-06 01:25:38 +00:00
69 lines
1.1 KiB
SCSS
Executable File
69 lines
1.1 KiB
SCSS
Executable File
@use "@@/styles/shared" as *;
|
|
@use "@@/styles/tokens/tokens" as *;
|
|
|
|
.ds-table-wrap {
|
|
@include reset;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.ds-table {
|
|
@include reset;
|
|
width: 100%;
|
|
}
|
|
|
|
.ds-table-col {
|
|
@include reset;
|
|
vertical-align: top;
|
|
padding: $space-small $space-xx-small;
|
|
|
|
&:last-child {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
|
|
.ds-table-head-col {
|
|
@include reset;
|
|
border-bottom: $border-color-softer solid $border-size-base;
|
|
padding: $space-small $space-xx-small;
|
|
text-align: left;
|
|
font-weight: $font-weight-bold;
|
|
}
|
|
|
|
// bordered
|
|
.ds-table-bordered {
|
|
.ds-table-col,
|
|
.ds-table-head-col {
|
|
border-bottom: $border-color-softer dotted $border-size-base;
|
|
}
|
|
|
|
tr:last-child .ds-table-col {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
// condensed
|
|
.ds-table-condensed {
|
|
.ds-table-col,
|
|
.ds-table-head-col {
|
|
padding-top: $space-x-small;
|
|
padding-bottom: $space-x-small;
|
|
}
|
|
}
|
|
|
|
.ds-table-col,
|
|
.ds-table-head-col {
|
|
&.ds-table-col-left,
|
|
&.ds-table-head-col-left {
|
|
text-align: left;
|
|
}
|
|
&.ds-table-col-center,
|
|
&.ds-table-head-col-center {
|
|
text-align: center;
|
|
}
|
|
&.ds-table-col-right,
|
|
&.ds-table-head-col-right {
|
|
text-align: right;
|
|
}
|
|
}
|