mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
182e9859ec
[web] Welcome page migration GitOrigin-RevId: 2469786372df24d579d1987cf5bb1113450e9d78
74 lines
1.4 KiB
SCSS
74 lines
1.4 KiB
SCSS
.table-container {
|
|
flex: 1;
|
|
margin-bottom: var(--spacing-06);
|
|
|
|
.table {
|
|
margin-bottom: initial;
|
|
}
|
|
}
|
|
|
|
.table-container-bordered {
|
|
--table-container-border-width: var(--bs-border-width);
|
|
|
|
border-color: $table-border-color;
|
|
border-radius: var(--border-radius-base);
|
|
border-width: var(--table-container-border-width);
|
|
border-style: solid;
|
|
|
|
.table {
|
|
th,
|
|
td {
|
|
&:first-child {
|
|
border-left-width: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
border-right-width: 0;
|
|
}
|
|
}
|
|
|
|
tr:first-child {
|
|
border-top-width: 0;
|
|
|
|
th,
|
|
td {
|
|
&:first-child {
|
|
border-top-left-radius: calc(
|
|
var(--border-radius-base) - var(--table-container-border-width)
|
|
);
|
|
}
|
|
}
|
|
|
|
th,
|
|
td {
|
|
&:last-child {
|
|
border-top-right-radius: calc(
|
|
var(--border-radius-base) - var(--table-container-border-width)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
tr:last-child {
|
|
border-bottom-width: 0;
|
|
|
|
th,
|
|
td {
|
|
&:first-child {
|
|
border-bottom-left-radius: calc(
|
|
var(--border-radius-base) - var(--table-container-border-width)
|
|
);
|
|
}
|
|
}
|
|
|
|
th,
|
|
td {
|
|
&:last-child {
|
|
border-bottom-right-radius: calc(
|
|
var(--border-radius-base) - var(--table-container-border-width)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|