clone of olivero for island lives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

191 lines
3.4 KiB

12 months ago
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Social Bar Region
.
*/
12 months ago
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
12 months ago
@media (min-width: 75rem) {
12 months ago
.social-bar {
12 months ago
flex-shrink: 0;
width: var(--content-left);
12 months ago
background-color: var(--color--gray-100)
}
12 months ago
}
12 months ago
[dir="ltr"] .social-bar__inner {
padding-left: var(--sp)
}
[dir="rtl"] .social-bar__inner {
padding-right: var(--sp)
}
[dir="ltr"] .social-bar__inner {
padding-right: var(--sp)
}
[dir="rtl"] .social-bar__inner {
padding-left: var(--sp)
12 months ago
}
.social-bar__inner {
position: relative;
12 months ago
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
12 months ago
}
@media (min-width: 75rem) {
12 months ago
[dir="ltr"] .social-bar__inner {
padding-left: 0
}
[dir="rtl"] .social-bar__inner {
padding-right: 0
}
[dir="ltr"] .social-bar__inner {
padding-right: 0
}
[dir="rtl"] .social-bar__inner {
padding-left: 0
}
.social-bar__inner {
12 months ago
position: relative;
width: var(--content-left);
12 months ago
padding-top: calc(var(--sp)*5);
padding-bottom: calc(var(--sp)*5)
}
12 months ago
12 months ago
[dir="ltr"] .social-bar__inner.is-fixed {
left: 0
12 months ago
}
12 months ago
[dir="rtl"] .social-bar__inner.is-fixed {
right: 0
12 months ago
}
12 months ago
.social-bar__inner.is-fixed {
position: fixed;
top: var(--sp6);
height: calc(100vh - var(--sp)*6);
}
12 months ago
}
12 months ago
.rotate > * {
margin-bottom: var(--sp2)
}
@media (min-width: 75rem) {
.rotate > * {
display: flex;
align-items: center;
margin-bottom: 0
12 months ago
}
12 months ago
[dir="ltr"] .rotate > *:not(:first-child) {
margin-right: var(--sp2)
}
[dir="rtl"] .rotate > *:not(:first-child) {
margin-left: var(--sp2)
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 75rem) {
12 months ago
[dir="ltr"] .rotate .contextual {
left: 100%;
right: auto
}
[dir="rtl"] .rotate .contextual {
right: 100%;
left: auto
}
.rotate .contextual {
transform: rotate(90deg); /* LTR */
transform-origin: top left /* LTR */
12 months ago
}
12 months ago
.rotate .contextual .trigger {
float: left /* LTR */
12 months ago
12 months ago
/**
12 months ago
* Chromium and Webkit do not yet support flow relative logical properties,
* such as float: inline-end. However, PostCSS Logical does not compile this
* value, so we accommodate by not using these.
*
* @see https://caniuse.com/mdn-css_properties_clear_flow_relative_values
* @see https://github.com/csstools/postcss-plugins/issues/632
*/
12 months ago
}
[dir="rtl"] .rotate .contextual .trigger {
float: right;
}
}
12 months ago
@media (min-width: 75rem) {
12 months ago
[dir="ltr"] .rotate {
left: 50%
}
[dir="rtl"] .rotate {
right: 50%
}
.rotate {
12 months ago
position: absolute;
display: flex;
flex-direction: row-reverse;
width: 100vh;
transform: rotate(-90deg) translateX(-100%); /* LTR */
12 months ago
transform-origin: left /* LTR */
}
12 months ago
12 months ago
@supports (width: max-content) {
.rotate {
width: max-content
}
12 months ago
}
}
@media (min-width: 75rem) {
12 months ago
[dir="rtl"] .rotate {
transform: rotate(90deg) translateX(100%);
transform-origin: right
}
12 months ago
12 months ago
[dir="rtl"] .rotate .contextual {
transform: rotate(-90deg);
transform-origin: top right;
}
12 months ago
}