social-bar.css
Same filename and directory in other branches
Social Bar Region .
File
-
core/
themes/ olivero/ css/ layout/ social-bar.css
View 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 (min-width: 75rem) {
-
- .social-bar {
- flex-shrink: 0;
- width: 5.625rem;
- background-color: #f7f9fa;
- }
- }
-
- [dir="ltr"] .social-bar__inner {
- padding-left: 1.125rem;
- }
-
- [dir="rtl"] .social-bar__inner {
- padding-right: 1.125rem;
- }
-
- [dir="ltr"] .social-bar__inner {
- padding-right: 1.125rem;
- }
-
- [dir="rtl"] .social-bar__inner {
- padding-left: 1.125rem;
- }
-
- .social-bar__inner {
- position: relative;
- padding-top: 0.5625rem;
- padding-bottom: 0.5625rem;
- }
-
- @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: 5.625rem;
- padding-top: 5.625rem;
- padding-bottom: 5.625rem;
- }
-
- [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: 6.75rem;
- height: calc(100vh - 6.75rem);
- }
- }
-
- .rotate > * {
- margin-bottom: 2.25rem;
- }
-
- @media (min-width: 75rem) {
-
- .rotate > * {
- display: flex;
- align-items: center;
- margin-bottom: 0;
- }
-
- [dir="ltr"] .rotate > *:not(:first-child) {
- margin-right: 2.25rem;
- }
-
- [dir="rtl"] .rotate > *:not(:first-child) {
- margin-left: 2.25rem;
- }
- }
-
- @media (min-width: 75rem) {
-
- [dir="ltr"] .rotate .contextual {
- right: auto;
- left: 100%;
- }
-
- [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;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.