You are here

navbar-overlay-child.css in Acquia Lift Connector 7.2

Same filename and directory in other branches
  1. 7 css/navbar/navbar-overlay-child.css

Basic styling for the Overlay child pages.

File

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