.items-center {
align-items: center;
}
+.items-stretch {
+ align-items: stretch;
+}
/**
* Min width utilities
position: relative;
}
+.fixed {
+ position: fixed;
+ z-index: 20;
+ &.top-right {
+ top: 0;
+ right: 0;
+ }
+}
+
.hidden {
display: none !important;
}
}
}
+.sticky-top-m {
+ position: sticky;
+ top: $-m;
+}
+
/**
* Visibility
*/
}
}
+[hidden] {
+ display: none !important;
+}
+
+.screen-reader-only {
+ position: absolute;
+ inset-inline-start: -10000px;
+ top: auto;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+}
+
/**
* Border radiuses
*/
margin-inline-end: $-xl;
grid-template-columns: 1fr 4fr 1fr;
grid-template-areas: "a b c";
- grid-column-gap: $-xxl;
+ grid-column-gap: $-xl;
.tri-layout-right {
grid-area: c;
min-width: 0;
padding-inline-end: $-l;
}
}
+@include between($xxl, $xxxl) {
+ .tri-layout-container {
+ grid-template-columns: 1fr calc(940px + (2 * $-m)) 1fr;
+ grid-column-gap: $-s;
+ margin-inline-start: $-m;
+ margin-inline-end: $-m;
+ }
+}
@include between($l, $xxl) {
.tri-layout-left {
position: sticky;
display: none;
}
.tri-layout-left-contents > *, .tri-layout-right-contents > * {
- @include lightDark(opacity, 0.6, 0.7);
+ @include lightDark(opacity, 0.6, 0.75);
transition: opacity ease-in-out 120ms;
&:hover, &:focus-within {
opacity: 1 !important;
opacity: 1 !important;
}
}
-
}
@include smaller-than($m) {