You are here

navbar-overlay-child.css in Navbar 7

Basic styling for the Overlay child pages.

File

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