social-bar.css

Same filename and directory in other branches
  1. 11.x core/themes/olivero/css/layout/social-bar.css
  2. 10 core/themes/olivero/css/layout/social-bar.css

Social Bar Region .

File

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

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Social Bar Region
  10. .
  11. */
  12. @media (min-width: 75rem) {
  13. .social-bar {
  14. flex-shrink: 0;
  15. width: 5.625rem;
  16. background-color: #f7f9fa;
  17. }
  18. }
  19. [dir="ltr"] .social-bar__inner {
  20. padding-left: 1.125rem;
  21. }
  22. [dir="rtl"] .social-bar__inner {
  23. padding-right: 1.125rem;
  24. }
  25. [dir="ltr"] .social-bar__inner {
  26. padding-right: 1.125rem;
  27. }
  28. [dir="rtl"] .social-bar__inner {
  29. padding-left: 1.125rem;
  30. }
  31. .social-bar__inner {
  32. position: relative;
  33. padding-top: 0.5625rem;
  34. padding-bottom: 0.5625rem;
  35. }
  36. @media (min-width: 75rem) {
  37. [dir="ltr"] .social-bar__inner {
  38. padding-left: 0;
  39. }
  40. [dir="rtl"] .social-bar__inner {
  41. padding-right: 0;
  42. }
  43. [dir="ltr"] .social-bar__inner {
  44. padding-right: 0;
  45. }
  46. [dir="rtl"] .social-bar__inner {
  47. padding-left: 0;
  48. }
  49. .social-bar__inner {
  50. position: relative;
  51. width: 5.625rem;
  52. padding-top: 5.625rem;
  53. padding-bottom: 5.625rem;
  54. }
  55. [dir="ltr"] .social-bar__inner.is-fixed {
  56. left: 0;
  57. }
  58. [dir="rtl"] .social-bar__inner.is-fixed {
  59. right: 0;
  60. }
  61. .social-bar__inner.is-fixed {
  62. position: fixed;
  63. top: 6.75rem;
  64. height: calc(100vh - 6.75rem);
  65. }
  66. }
  67. .rotate > * {
  68. margin-bottom: 2.25rem;
  69. }
  70. @media (min-width: 75rem) {
  71. .rotate > * {
  72. display: flex;
  73. align-items: center;
  74. margin-bottom: 0;
  75. }
  76. [dir="ltr"] .rotate > *:not(:first-child) {
  77. margin-right: 2.25rem;
  78. }
  79. [dir="rtl"] .rotate > *:not(:first-child) {
  80. margin-left: 2.25rem;
  81. }
  82. }
  83. @media (min-width: 75rem) {
  84. [dir="ltr"] .rotate .contextual {
  85. right: auto;
  86. left: 100%;
  87. }
  88. [dir="rtl"] .rotate .contextual {
  89. right: 100%;
  90. left: auto;
  91. }
  92. .rotate .contextual {
  93. transform: rotate(90deg); /* LTR */
  94. transform-origin: top left; /* LTR */
  95. }
  96. [dir="ltr"] .rotate .contextual .trigger {
  97. float: left;
  98. }
  99. [dir="rtl"] .rotate .contextual .trigger {
  100. float: right;
  101. }
  102. }
  103. @media (min-width: 75rem) {
  104. [dir="ltr"] .rotate {
  105. left: 50%;
  106. }
  107. [dir="rtl"] .rotate {
  108. right: 50%;
  109. }
  110. .rotate {
  111. position: absolute;
  112. display: flex;
  113. flex-direction: row-reverse;
  114. width: 100vh;
  115. transform: rotate(-90deg) translateX(-100%); /* LTR */
  116. transform-origin: left; /* LTR */
  117. }
  118. @supports (width: max-content) {
  119. .rotate {
  120. width: max-content;
  121. }
  122. }
  123. }
  124. @media (min-width: 75rem) {
  125. [dir="rtl"] .rotate {
  126. transform: rotate(90deg) translateX(100%);
  127. transform-origin: right;
  128. }
  129. [dir="rtl"] .rotate .contextual {
  130. transform: rotate(-90deg);
  131. transform-origin: top right;
  132. }
  133. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.