social-bar.css in Drupal 10
Same filename and directory in other branches
Social Bar Region .
File
core/themes/olivero/css/layout/social-bar.cssView source
- /*
- * 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(5 * var(--sp));
- padding-bottom: calc(5 * var(--sp))
- }
-
- [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 - 6 * var(--sp));
- }
- }
-
- .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 */
- }
-
- [dir="ltr"] .rotate .contextual .trigger {
- float: left
- }
-
- [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: max-content) {
-
- .rotate {
- 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;
- }
- }