2019-04-07 08:57:48 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Generic content container
|
|
|
|
*/
|
|
|
|
.container {
|
|
|
|
max-width: $xxl;
|
2020-04-05 12:07:19 +00:00
|
|
|
margin-inline-start: auto;
|
|
|
|
margin-inline-end: auto;
|
|
|
|
padding-inline-start: $-m;
|
|
|
|
padding-inline-end: $-m;
|
2019-04-07 08:57:48 +00: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;
|
|
|
|
&.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 10:34:40 +00:00
|
|
|
&.gap-y-xs {
|
|
|
|
grid-row-gap: $-xs;
|
|
|
|
}
|
2019-04-07 08:57:48 +00: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 22:56:01 +00:00
|
|
|
&.v-end {
|
|
|
|
align-items: end;
|
|
|
|
}
|
2019-04-13 16:36:27 +00:00
|
|
|
&.no-gap {
|
|
|
|
grid-row-gap: 0;
|
|
|
|
grid-column-gap: 0;
|
|
|
|
}
|
2019-04-14 11:04:20 +00:00
|
|
|
&.no-row-gap {
|
|
|
|
grid-row-gap: 0;
|
|
|
|
}
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
2021-01-27 04:35:55 +00:00
|
|
|
.grid.third.prev-next:not(.no-break) {
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
}
|
2019-05-19 14:30:58 +00:00
|
|
|
.grid.third:not(.no-break) {
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2019-04-13 16:36:27 +00:00
|
|
|
.grid.half:not(.no-break), .grid.left-focus:not(.no-break), .grid.right-focus:not(.no-break) {
|
2019-04-07 08:57:48 +00: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;
|
|
|
|
}
|
2021-01-27 04:35:55 +00:00
|
|
|
.grid.third:not(.no-break) .text-m-left {
|
|
|
|
margin-left: 20%;
|
|
|
|
}
|
|
|
|
.grid.third:not(.no-break) .text-m-right {
|
|
|
|
margin-left: 45%;
|
|
|
|
}
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($s) {
|
2019-05-19 14:30:58 +00:00
|
|
|
.grid.third:not(.no-break) {
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2021-01-27 04:35:55 +00:00
|
|
|
.grid.third:not(.no-break) .text-m-left {
|
|
|
|
margin-left: 18%;
|
|
|
|
}
|
|
|
|
.grid.third:not(.no-break) .text-m-right {
|
|
|
|
margin-left: 20%;
|
|
|
|
}
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($xs) {
|
|
|
|
.grid.half.collapse-xs {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-19 03:28:06 +00:00
|
|
|
#content {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
2019-04-07 08:57:48 +00: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 11:06:45 +00:00
|
|
|
.flex-container-row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-09-26 15:26:30 +00:00
|
|
|
&.v-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-09-19 11:06:45 +00:00
|
|
|
}
|
|
|
|
|
2020-07-24 23:20:58 +00:00
|
|
|
.flex-container-column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2020-09-26 15:26:30 +00:00
|
|
|
.flex-container-column.wrap, .flex-container-row.wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2019-04-07 08:57:48 +00:00
|
|
|
.flex {
|
|
|
|
min-height: 0;
|
|
|
|
flex: 1;
|
2020-09-26 15:26:30 +00:00
|
|
|
&.fit-content {
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
2020-06-30 21:12:45 +00:00
|
|
|
.justify-flex-end {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2020-11-02 22:47:48 +00:00
|
|
|
.justify-center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2021-05-26 14:19:26 +00:00
|
|
|
.justify-space-between {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-12-31 17:25:20 +00:00
|
|
|
.items-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-30 21:12:45 +00:00
|
|
|
|
2019-04-07 08:57:48 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Display and float utilities
|
|
|
|
*/
|
|
|
|
.block {
|
2020-11-02 22:47:48 +00:00
|
|
|
display: block !important;
|
2019-04-07 08:57:48 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline {
|
2020-11-02 22:47:48 +00:00
|
|
|
display: inline !important;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.block.inline {
|
2020-11-02 22:47:48 +00:00
|
|
|
display: inline-block !important;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:48:15 +00:00
|
|
|
.hidden {
|
2020-06-27 12:29:00 +00:00
|
|
|
display: none !important;
|
2019-05-04 14:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-01-02 01:22:41 +00:00
|
|
|
.fill-height {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2019-04-07 08:57:48 +00:00
|
|
|
.float {
|
|
|
|
float: left;
|
|
|
|
&.right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Inline content columns
|
|
|
|
*/
|
|
|
|
.dual-column-content {
|
|
|
|
columns: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.dual-column-content {
|
|
|
|
columns: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fixes
|
|
|
|
*/
|
2020-04-25 18:59:23 +00:00
|
|
|
.clearfix::before,
|
|
|
|
.clearfix::after {
|
2019-04-07 08:57:48 +00:00
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
2020-04-25 18:59:23 +00:00
|
|
|
.clearfix::after {
|
2019-04-07 08:57:48 +00:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* View Layouts
|
|
|
|
*/
|
|
|
|
.tri-layout-container {
|
|
|
|
display: grid;
|
2020-04-05 12:07:19 +00:00
|
|
|
margin-inline-start: $-xl;
|
|
|
|
margin-inline-end: $-xl;
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-template-columns: 1fr 4fr 1fr;
|
|
|
|
grid-template-areas: "a b c";
|
|
|
|
grid-column-gap: $-xxl;
|
|
|
|
.tri-layout-right {
|
|
|
|
grid-area: c;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-area: a;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.tri-layout-middle {
|
|
|
|
grid-area: b;
|
|
|
|
padding-top: $-m;
|
2021-02-12 23:10:30 +00:00
|
|
|
min-width: 0;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include smaller-than($xxl) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: "c b b"
|
2019-06-16 11:46:23 +00:00
|
|
|
"a b b"
|
|
|
|
". b b";
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-template-columns: 1fr 3fr;
|
2019-06-16 11:46:23 +00:00
|
|
|
grid-template-rows: min-content min-content 1fr;
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-end: $-l;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
}
|
2019-06-16 11:46:23 +00:00
|
|
|
@include between($l, $xxl) {
|
|
|
|
.tri-layout-left {
|
|
|
|
position: sticky;
|
|
|
|
top: $-m;
|
|
|
|
}
|
|
|
|
}
|
2019-04-07 08:57:48 +00:00
|
|
|
@include larger-than($xxl) {
|
|
|
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
|
|
|
padding: $-m;
|
|
|
|
position: sticky;
|
|
|
|
top: $-m;
|
|
|
|
max-height: 100vh;
|
|
|
|
min-height: 50vh;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
2020-12-21 06:23:33 +00:00
|
|
|
height: 100%;
|
2019-04-07 08:57:48 +00:00
|
|
|
scrollbar-width: none;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tri-layout-middle-contents {
|
|
|
|
max-width: 940px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($l) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: none;
|
2019-04-13 16:36:27 +00:00
|
|
|
grid-template-columns: 1fr;
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-column-gap: 0;
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-end: $-xs;
|
|
|
|
padding-inline-start: $-xs;
|
2019-04-07 08:57:48 +00:00
|
|
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: $-m;
|
|
|
|
padding-inline-end: $-m;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
.tri-layout-left > *, .tri-layout-right > * {
|
2019-04-13 16:36:27 +00:00
|
|
|
display: none;
|
2019-04-07 08:57:48 +00:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-04-13 16:36:27 +00:00
|
|
|
.tri-layout-left, .tri-layout-right {
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-area: none;
|
2019-04-13 16:36:27 +00:00
|
|
|
grid-column: 1/1;
|
2019-04-07 08:57:48 +00:00
|
|
|
grid-row: 1;
|
2019-04-13 16:36:27 +00:00
|
|
|
padding-top: 0 !important;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
.tri-layout-middle {
|
2019-04-13 16:36:27 +00:00
|
|
|
grid-area: none;
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column: 1/1;
|
2019-04-07 08:57:48 +00:00
|
|
|
z-index: 1;
|
2019-04-13 16:36:27 +00:00
|
|
|
overflow: hidden;
|
2019-04-07 08:57:48 +00:00
|
|
|
transition: transform ease-in-out 240ms;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
2019-04-13 16:36:27 +00:00
|
|
|
&.show-info {
|
2019-04-07 08:57:48 +00:00
|
|
|
overflow: hidden;
|
|
|
|
.tri-layout-middle {
|
2019-04-13 16:36:27 +00:00
|
|
|
display: none;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
.tri-layout-right > *, .tri-layout-left > * {
|
2019-04-13 16:36:27 +00:00
|
|
|
display: block;
|
2019-04-07 08:57:48 +00:00
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-13 16:36:27 +00:00
|
|
|
@include larger-than($l) {
|
|
|
|
.tri-layout-mobile-tabs {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-08-25 14:44:51 +00:00
|
|
|
.tri-layout-left-contents > *, .tri-layout-right-contents > * {
|
2019-05-27 11:56:17 +00:00
|
|
|
opacity: 0.6;
|
|
|
|
transition: opacity ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-08-24 17:26:28 +00:00
|
|
|
&:focus-within {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-05-27 11:56:17 +00:00
|
|
|
}
|
2019-08-24 17:26:28 +00:00
|
|
|
|
2019-04-13 16:36:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.tri-layout-container {
|
2020-04-05 12:07:19 +00:00
|
|
|
margin-inline-start: 0;
|
|
|
|
margin-inline-end: 0;
|
2019-04-13 16:36:27 +00:00
|
|
|
}
|
2020-12-17 14:17:15 +00:00
|
|
|
}
|
2021-01-27 04:35:55 +00:00
|
|
|
|
|
|
|
.prev-next-btn {
|
|
|
|
height: 50px;
|
|
|
|
}
|