2019-04-07 04:57:48 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Generic content container
|
|
|
|
*/
|
|
|
|
.container {
|
|
|
|
max-width: $xxl;
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-start: auto;
|
|
|
|
margin-inline-end: auto;
|
|
|
|
padding-inline-start: $-m;
|
|
|
|
padding-inline-end: $-m;
|
2022-03-26 17:36:05 -04:00
|
|
|
&.medium {
|
|
|
|
max-width: 1100px;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
&.small {
|
|
|
|
max-width: 840px;
|
|
|
|
}
|
|
|
|
&.very-small {
|
|
|
|
max-width: 480px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Core grid layout system
|
|
|
|
*/
|
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-column-gap: $-l;
|
|
|
|
grid-row-gap: $-l;
|
2022-06-25 08:55:57 -04:00
|
|
|
> * {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
&.half {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
|
|
|
&.third {
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
}
|
|
|
|
&.left-focus {
|
|
|
|
grid-template-columns: 2fr 1fr;
|
|
|
|
}
|
|
|
|
&.right-focus {
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
}
|
2019-04-07 06:34:40 -04:00
|
|
|
&.gap-y-xs {
|
|
|
|
grid-row-gap: $-xs;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
&.gap-xl {
|
|
|
|
grid-column-gap: $-xl;
|
|
|
|
grid-row-gap: $-xl;
|
|
|
|
}
|
|
|
|
&.gap-xxl {
|
|
|
|
grid-column-gap: $-xxl;
|
|
|
|
grid-row-gap: $-xxl;
|
|
|
|
}
|
|
|
|
&.v-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-27 18:56:01 -04:00
|
|
|
&.v-end {
|
|
|
|
align-items: end;
|
|
|
|
}
|
2019-04-13 12:36:27 -04:00
|
|
|
&.no-gap {
|
|
|
|
grid-row-gap: 0;
|
|
|
|
grid-column-gap: 0;
|
|
|
|
}
|
2019-04-14 07:04:20 -04:00
|
|
|
&.no-row-gap {
|
|
|
|
grid-row-gap: 0;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
2019-05-19 10:30:58 -04:00
|
|
|
.grid.third:not(.no-break) {
|
2019-04-07 04:57:48 -04:00
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2019-04-13 12:36:27 -04:00
|
|
|
.grid.half:not(.no-break), .grid.left-focus:not(.no-break), .grid.right-focus:not(.no-break) {
|
2019-04-07 04:57:48 -04:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
.grid.half.collapse-xs {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
|
|
|
.grid.gap-xl {
|
|
|
|
grid-column-gap: $-m;
|
|
|
|
grid-row-gap: $-m;
|
|
|
|
}
|
|
|
|
.grid.right-focus.reverse-collapse > *:nth-child(2) {
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
.grid.right-focus.reverse-collapse > *:nth-child(1) {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($s) {
|
2019-05-19 10:30:58 -04:00
|
|
|
.grid.third:not(.no-break) {
|
2019-04-07 04:57:48 -04:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($xs) {
|
|
|
|
.grid.half.collapse-xs {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-18 23:28:06 -04:00
|
|
|
#content {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
/**
|
|
|
|
* Flexbox layout system
|
|
|
|
*/
|
|
|
|
body.flexbox {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
#content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-fill {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
min-height: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-09-19 07:06:45 -04:00
|
|
|
.flex-container-row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-09-26 11:26:30 -04:00
|
|
|
&.v-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-09-19 07:06:45 -04:00
|
|
|
}
|
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
.flex-container-column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2022-10-30 16:24:08 -04:00
|
|
|
.flex-container-row.inline, .flex-container-column.inline {
|
|
|
|
display: inline-flex !important;
|
|
|
|
}
|
|
|
|
|
2020-09-26 11:26:30 -04:00
|
|
|
.flex-container-column.wrap, .flex-container-row.wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
.flex {
|
|
|
|
min-height: 0;
|
|
|
|
flex: 1;
|
2021-09-01 15:58:19 -04:00
|
|
|
max-width: 100%;
|
2020-09-26 11:26:30 -04:00
|
|
|
&.fit-content {
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
2022-10-31 07:40:28 -04:00
|
|
|
&.fill-area {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
min-width: fit-content;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
|
2022-10-29 10:23:21 -04:00
|
|
|
.flex-2 {
|
|
|
|
min-height: 0;
|
|
|
|
flex: 2;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-3 {
|
|
|
|
min-height: 0;
|
|
|
|
flex: 3;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2022-10-02 08:17:28 -04:00
|
|
|
.flex-none {
|
|
|
|
flex: none;
|
2022-05-14 11:05:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.justify-flex-start {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2020-06-30 17:12:45 -04:00
|
|
|
.justify-flex-end {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2020-11-02 17:47:48 -05:00
|
|
|
.justify-center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2021-05-26 10:19:26 -04:00
|
|
|
.justify-space-between {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-12-31 12:25:20 -05:00
|
|
|
.items-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2022-11-27 14:52:10 -05:00
|
|
|
.items-stretch {
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
2020-06-30 17:12:45 -04:00
|
|
|
|
2022-10-29 10:23:21 -04:00
|
|
|
/**
|
|
|
|
* Min width utilities
|
|
|
|
*/
|
2022-10-31 17:26:31 -04:00
|
|
|
.min-width-xxxxs {
|
|
|
|
min-width: 60px;
|
|
|
|
}
|
|
|
|
.min-width-xxxs {
|
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
.min-width-xxs {
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
2022-10-29 10:23:21 -04:00
|
|
|
.min-width-xs {
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
|
|
|
.min-width-s {
|
|
|
|
min-width: 160px;
|
|
|
|
}
|
|
|
|
.min-width-m {
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
.min-width-l {
|
|
|
|
min-width: 240px;
|
|
|
|
}
|
|
|
|
.min-width-xl {
|
|
|
|
min-width: 280px;
|
|
|
|
}
|
|
|
|
.min-width-xxl {
|
|
|
|
min-width: 320px;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Display and float utilities
|
|
|
|
*/
|
|
|
|
.block {
|
2020-11-02 17:47:48 -05:00
|
|
|
display: block !important;
|
2019-04-07 04:57:48 -04:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline {
|
2020-11-02 17:47:48 -05:00
|
|
|
display: inline !important;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.block.inline {
|
2020-11-02 17:47:48 -05:00
|
|
|
display: inline-block !important;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
|
2021-07-14 16:27:21 -04:00
|
|
|
.relative {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-04-26 11:41:34 -04:00
|
|
|
.fixed {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 20;
|
|
|
|
&.top-right {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-04 10:48:15 -04:00
|
|
|
.hidden {
|
2020-06-27 08:29:00 -04:00
|
|
|
display: none !important;
|
2019-05-04 10:48:15 -04:00
|
|
|
}
|
|
|
|
|
2021-01-01 20:22:41 -05:00
|
|
|
.fill-height {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
.float {
|
|
|
|
float: left;
|
|
|
|
&.right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-27 06:16:17 -05:00
|
|
|
.sticky-top-m {
|
|
|
|
position: sticky;
|
|
|
|
top: $-m;
|
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
/**
|
|
|
|
* Visibility
|
|
|
|
*/
|
|
|
|
@each $sizeLetter, $size in $screen-sizes {
|
|
|
|
@include smaller-than($size) {
|
|
|
|
.hide-under-#{$sizeLetter} {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include larger-than($size) {
|
|
|
|
.hide-over-#{$sizeLetter} {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-27 11:58:10 -04:00
|
|
|
[hidden] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2023-05-31 11:38:20 -04:00
|
|
|
.screen-reader-only {
|
|
|
|
position: absolute;
|
2023-08-22 13:25:14 -04:00
|
|
|
inset-inline-start: -10000px;
|
2023-05-31 11:38:20 -04:00
|
|
|
top: auto;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-05-29 07:39:41 -04:00
|
|
|
/**
|
|
|
|
* Border radiuses
|
|
|
|
*/
|
|
|
|
.rounded {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
/**
|
|
|
|
* Inline content columns
|
|
|
|
*/
|
|
|
|
.dual-column-content {
|
|
|
|
columns: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.dual-column-content {
|
|
|
|
columns: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fixes
|
|
|
|
*/
|
2020-04-25 14:59:23 -04:00
|
|
|
.clearfix::before,
|
|
|
|
.clearfix::after {
|
2019-04-07 04:57:48 -04:00
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
2020-04-25 14:59:23 -04:00
|
|
|
.clearfix::after {
|
2019-04-07 04:57:48 -04:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* View Layouts
|
|
|
|
*/
|
|
|
|
.tri-layout-container {
|
|
|
|
display: grid;
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-start: $-xl;
|
|
|
|
margin-inline-end: $-xl;
|
2019-04-07 04:57:48 -04:00
|
|
|
grid-template-columns: 1fr 4fr 1fr;
|
|
|
|
grid-template-areas: "a b c";
|
2023-07-31 10:23:28 -04:00
|
|
|
grid-column-gap: $-xl;
|
2023-10-06 06:57:55 -04:00
|
|
|
position: relative;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
.tri-layout-sides {
|
|
|
|
grid-column-start: a;
|
|
|
|
grid-column-end: c;
|
|
|
|
grid-row: 1;
|
|
|
|
min-width: 0;
|
|
|
|
z-index: 4;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
.tri-layout-sides-content {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "a b c";
|
|
|
|
grid-template-columns: 1fr 4fr 1fr;
|
|
|
|
height: 100%;
|
2023-07-31 10:23:28 -04:00
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
.tri-layout-middle {
|
|
|
|
grid-area: b;
|
|
|
|
padding-top: $-m;
|
|
|
|
min-width: 0;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
.tri-layout-right {
|
|
|
|
grid-area: c;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-area: a;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include larger-than($xxl) {
|
|
|
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
|
|
|
padding: $-xl $-m;
|
2023-09-19 10:12:33 -04:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
max-height: 100vh;
|
2023-10-06 06:57:55 -04:00
|
|
|
min-height: 50vh;
|
2023-09-19 10:12:33 -04:00
|
|
|
overflow-y: scroll;
|
2023-10-06 06:57:55 -04:00
|
|
|
overflow-x: hidden;
|
2023-09-19 10:12:33 -04:00
|
|
|
height: 100%;
|
|
|
|
scrollbar-width: none;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
.tri-layout-middle-contents {
|
|
|
|
max-width: 940px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2019-06-16 07:46:23 -04:00
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
@include between($xxl, $xxxl) {
|
|
|
|
.tri-layout-sides-content, .tri-layout-container {
|
|
|
|
grid-template-columns: 1fr calc(940px + (2 * $-m)) 1fr;
|
|
|
|
}
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-column-gap: $-s;
|
|
|
|
margin-inline-start: $-m;
|
|
|
|
margin-inline-end: $-m;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include smaller-than($xxl) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: "a b b";
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
grid-template-rows: min-content min-content 1fr;
|
|
|
|
padding-inline-end: $-l;
|
|
|
|
}
|
|
|
|
.tri-layout-sides {
|
|
|
|
grid-column-start: a;
|
|
|
|
grid-column-end: a;
|
|
|
|
}
|
|
|
|
.tri-layout-sides-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include between($l, $xxl) {
|
|
|
|
.tri-layout-sides-content {
|
2019-04-07 04:57:48 -04:00
|
|
|
position: sticky;
|
2022-05-14 08:55:03 -04:00
|
|
|
top: 0;
|
2019-04-07 04:57:48 -04:00
|
|
|
max-height: 100vh;
|
|
|
|
min-height: 50vh;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
2020-12-21 01:23:33 -05:00
|
|
|
height: 100%;
|
2019-04-07 04:57:48 -04:00
|
|
|
scrollbar-width: none;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-06 06:57:55 -04:00
|
|
|
}
|
|
|
|
@include larger-than($l) {
|
|
|
|
.tri-layout-mobile-tabs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.tri-layout-left-contents > *, .tri-layout-right-contents > * {
|
|
|
|
@include lightDark(opacity, 0.6, 0.75);
|
|
|
|
transition: opacity ease-in-out 120ms;
|
|
|
|
&:hover, &:focus-within {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
@media (prefers-contrast: more) {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include smaller-than($l) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: none;
|
2019-04-13 12:36:27 -04:00
|
|
|
grid-template-columns: 1fr;
|
2019-04-07 04:57:48 -04:00
|
|
|
grid-column-gap: 0;
|
2020-04-05 08:07:19 -04:00
|
|
|
padding-inline-end: $-xs;
|
|
|
|
padding-inline-start: $-xs;
|
2023-10-06 06:57:55 -04:00
|
|
|
.tri-layout-sides {
|
2020-04-05 08:07:19 -04:00
|
|
|
padding-inline-start: $-m;
|
|
|
|
padding-inline-end: $-m;
|
2023-10-06 06:57:55 -04:00
|
|
|
grid-column: 1/1;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
.tri-layout-left > *, .tri-layout-right > * {
|
2019-04-13 12:36:27 -04:00
|
|
|
display: none;
|
2019-04-07 04:57:48 -04:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-04-13 12:36:27 -04:00
|
|
|
.tri-layout-left, .tri-layout-right {
|
|
|
|
padding-top: 0 !important;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
.tri-layout-middle {
|
2019-04-13 12:36:27 -04:00
|
|
|
grid-area: none;
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column: 1/1;
|
2019-04-07 04:57:48 -04:00
|
|
|
z-index: 1;
|
2019-04-13 12:36:27 -04:00
|
|
|
overflow: hidden;
|
2019-04-07 04:57:48 -04:00
|
|
|
transition: transform ease-in-out 240ms;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
2019-04-13 12:36:27 -04:00
|
|
|
&.show-info {
|
2019-04-07 04:57:48 -04:00
|
|
|
overflow: hidden;
|
|
|
|
.tri-layout-middle {
|
2019-04-13 12:36:27 -04:00
|
|
|
display: none;
|
2019-04-07 04:57:48 -04:00
|
|
|
}
|
|
|
|
.tri-layout-right > *, .tri-layout-left > * {
|
2019-04-13 12:36:27 -04:00
|
|
|
display: block;
|
2019-04-07 04:57:48 -04:00
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-13 12:36:27 -04:00
|
|
|
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.tri-layout-container {
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-start: 0;
|
|
|
|
margin-inline-end: 0;
|
2019-04-13 12:36:27 -04:00
|
|
|
}
|
2021-05-29 07:39:41 -04:00
|
|
|
}
|