overlay-child.css

Basic styling for the Overlay child pages.

File

drupal/core/modules/overlay/css/overlay-child.css
View source
  1. /**
  2. * @file
  3. * Basic styling for the Overlay child pages.
  4. */
  5. .js {
  6. background: transparent !important;
  7. overflow-y: scroll;
  8. }
  9. .js body {
  10. background: transparent !important;
  11. margin-left: 0;
  12. margin-right: 0;
  13. padding: 20px 0;
  14. }
  15. #overlay {
  16. box-sizing: border-box;
  17. display: block;
  18. margin: 0 auto;
  19. max-width: 80em;
  20. max-width: 80rem;
  21. min-height: 100px;
  22. position: relative;
  23. padding: 2em 40px;
  24. width: 100%;
  25. }
  26. #overlay-titlebar {
  27. padding: 0 20px;
  28. position: relative;
  29. white-space: nowrap;
  30. z-index: 100;
  31. }
  32. #overlay-content {
  33. background: #fff;
  34. clear: both;
  35. color: #000;
  36. padding: .5em 1em;
  37. position: relative;
  38. }
  39. #overlay-title-wrapper {
  40. overflow: hidden;
  41. }
  42. #overlay-title {
  43. color: #fff;
  44. float: left; /* LTR */
  45. font-size: 20px;
  46. margin: 0;
  47. padding: 0.3em 0;
  48. }
  49. #overlay-title:active,
  50. #overlay-title:focus {
  51. outline: 0;
  52. }
  53. .overlay #skip-link a {
  54. color: #fff; /* This is white to contrast with the dark background behind it. */
  55. }
  56. #overlay-close-wrapper {
  57. position: absolute;
  58. right: 0; /* LTR */
  59. }
  60. #overlay-close,
  61. #overlay-close:hover {
  62. background: #ffffff url(../images/close.png) no-repeat;
  63. border-radius: 0 12px 12px 0; /* LTR */
  64. display: block;
  65. height: 26px;
  66. margin: 0;
  67. padding: 0;
  68. /* Replace with position:fixed to get a scrolling close button. */
  69. position: absolute;
  70. width: 26px;
  71. }
  72. /**
  73. * Tabs on the overlay.
  74. */
  75. #overlay-tabs {
  76. line-height: 26px;
  77. margin: -28px 0 0 0;
  78. position: absolute;
  79. right: 20px; /* LTR */
  80. text-transform: uppercase;
  81. }
  82. #overlay-tabs li {
  83. display: inline-block;
  84. list-style: none;
  85. margin: 0;
  86. padding: 0;
  87. }
  88. #overlay-tabs li a,
  89. #overlay-tabs li a:active,
  90. #overlay-tabs li a:visited,
  91. #overlay-tabs li a:hover {
  92. background-color: #a6a7a2;
  93. border-radius: 8px 8px 0 0;
  94. color: #000;
  95. display: inline-block;
  96. font-size: 11px;
  97. font-weight: bold;
  98. margin: 0 1px;
  99. outline: 0;
  100. padding: 0 14px;
  101. text-decoration: none;
  102. }
  103. #overlay-tabs li.active a,
  104. #overlay-tabs li.active a.active,
  105. #overlay-tabs li.active a:active,
  106. #overlay-tabs li.active a:visited {
  107. background-color: #fff;
  108. margin-bottom: 0;
  109. padding-bottom: 2px;
  110. }
  111. #overlay-tabs li a:focus,
  112. #overlay-tabs li a:hover {
  113. color: #fff;
  114. }
  115. #overlay-tabs li.active a:focus,
  116. #overlay-tabs li.active a:hover {
  117. color: #000;
  118. }
  119. /**
  120. * Add to shortcuts link
  121. */
  122. #overlay-titlebar .add-or-remove-shortcuts {
  123. padding-top: 0.6em;
  124. }
  125. #overlay-titlebar .add-or-remove-shortcuts .icon {
  126. margin-top: 4px;
  127. }
  128. #overlay-titlebar .add-or-remove-shortcuts .text {
  129. padding-top: 0;
  130. }
  131. /**
  132. * Disable message.
  133. */
  134. #overlay-disable-message {
  135. background-color: #fff;
  136. margin: 0 auto 20px;
  137. width: 80%;
  138. border-radius: 0 0 8px 8px;
  139. }
  140. .overlay-disable-message-focused {
  141. padding: 0.5em;
  142. }
  143. .overlay-disable-message-focused a {
  144. display: block;
  145. float: left;
  146. }
  147. .overlay-disable-message-focused #overlay-dismiss-message {
  148. float: right;
  149. }