drupal/core/themes/olivero/css/layout/social-bar.css

171 lines
2.7 KiB
CSS

/*
* 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.js-fixed {
left: 0
}
[dir="rtl"] .social-bar__inner.js-fixed {
right: 0
}
.social-bar__inner.js-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 {
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: -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;
}
}