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.5 KiB
191 lines
3.5 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Social Bar Region |
|
. |
|
*/ |
|
|
|
/* |
|
* 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. */ |
|
|
|
@media (min-width: 75rem) { |
|
|
|
.social-bar { |
|
flex-shrink: 0; |
|
width: var(--content-left); |
|
background-color: var(--color--gray-100) |
|
} |
|
} |
|
|
|
[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) |
|
} |
|
|
|
.social-bar__inner { |
|
position: relative; |
|
padding-top: var(--sp0-5); |
|
padding-bottom: var(--sp0-5) |
|
} |
|
|
|
@media (min-width: 75rem) { |
|
|
|
[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 { |
|
position: relative; |
|
width: var(--content-left); |
|
padding-top: calc(var(--sp)*5); |
|
padding-bottom: calc(var(--sp)*5) |
|
} |
|
|
|
[dir="ltr"] .social-bar__inner.is-fixed { |
|
left: 0 |
|
} |
|
|
|
[dir="rtl"] .social-bar__inner.is-fixed { |
|
right: 0 |
|
} |
|
|
|
.social-bar__inner.is-fixed { |
|
position: fixed; |
|
top: var(--sp6); |
|
height: calc(100vh - var(--sp)*6); |
|
} |
|
} |
|
|
|
.rotate > * { |
|
margin-bottom: var(--sp2) |
|
} |
|
|
|
@media (min-width: 75rem) { |
|
|
|
.rotate > * { |
|
display: flex; |
|
align-items: center; |
|
margin-bottom: 0 |
|
} |
|
|
|
[dir="ltr"] .rotate > *:not(:first-child) { |
|
margin-right: var(--sp2) |
|
} |
|
|
|
[dir="rtl"] .rotate > *:not(:first-child) { |
|
margin-left: var(--sp2) |
|
} |
|
} |
|
|
|
@media (min-width: 75rem) { |
|
|
|
[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 */ |
|
} |
|
|
|
.rotate .contextual .trigger { |
|
float: left /* LTR */ |
|
|
|
/** |
|
* 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 |
|
*/ |
|
} |
|
[dir="rtl"] .rotate .contextual .trigger { |
|
float: right; |
|
} |
|
} |
|
|
|
@media (min-width: 75rem) { |
|
|
|
[dir="ltr"] .rotate { |
|
left: 50% |
|
} |
|
|
|
[dir="rtl"] .rotate { |
|
right: 50% |
|
} |
|
|
|
.rotate { |
|
position: absolute; |
|
display: flex; |
|
flex-direction: row-reverse; |
|
width: 100vh; |
|
transform: rotate(-90deg) translateX(-100%); /* LTR */ |
|
transform-origin: left /* LTR */ |
|
} |
|
|
|
@supports ((width: -webkit-max-content) or (width: max-content)) { |
|
|
|
.rotate { |
|
width: -webkit-max-content; |
|
width: max-content |
|
} |
|
} |
|
} |
|
|
|
@media (min-width: 75rem) { |
|
[dir="rtl"] .rotate { |
|
transform: rotate(90deg) translateX(100%); |
|
transform-origin: right |
|
} |
|
|
|
[dir="rtl"] .rotate .contextual { |
|
transform: rotate(-90deg); |
|
transform-origin: top right; |
|
} |
|
}
|
|
|