overlay-child.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. html.js {
  2. background: transparent !important;
  3. overflow-y: scroll;
  4. }
  5. html.js body {
  6. background: transparent !important;
  7. margin-left: 0;
  8. margin-right: 0;
  9. padding: 20px 0;
  10. }
  11. #overlay {
  12. display: table;
  13. margin: 0 auto;
  14. min-height: 100px;
  15. min-width: 700px;
  16. position: relative;
  17. padding: .2em;
  18. padding-bottom: 2em;
  19. padding-right: 26px; /* LTR */
  20. width: 88%;
  21. }
  22. #overlay-titlebar {
  23. padding: 0 20px;
  24. position: relative;
  25. white-space: nowrap;
  26. z-index: 100;
  27. }
  28. #overlay-content {
  29. background: #fff;
  30. clear: both;
  31. color: #000;
  32. padding: .5em 1em;
  33. position: relative;
  34. }
  35. #overlay-title-wrapper {
  36. overflow: hidden;
  37. }
  38. #overlay-title {
  39. color: #fff;
  40. float: left; /* LTR */
  41. font-size: 20px;
  42. margin: 0;
  43. padding: 0.3em 0;
  44. }
  45. #overlay-title:active,
  46. #overlay-title:focus {
  47. outline: 0;
  48. }
  49. .overlay #skip-link {
  50. margin-top: -20px;
  51. }
  52. .overlay #skip-link a {
  53. color: #fff; /* This is white to contrast with the dark background behind it. */
  54. }
  55. #overlay-close-wrapper {
  56. position: absolute;
  57. right: 0; /* LTR */
  58. }
  59. #overlay-close,
  60. #overlay-close:hover {
  61. background: transparent url(images/close.png) no-repeat; /* LTR */
  62. -moz-border-radius-topleft: 0; /* LTR */
  63. -webkit-border-top-left-radius: 0; /* LTR */
  64. border-top-left-radius: 0; /* LTR */
  65. display: block;
  66. height: 26px;
  67. margin: 0;
  68. padding: 0;
  69. /* Replace with position:fixed to get a scrolling close button. */
  70. position: absolute;
  71. width: 26px;
  72. }
  73. /**
  74. * Tabs on the overlay.
  75. */
  76. #overlay-tabs {
  77. line-height: 27px;
  78. margin: -28px 0 0 0;
  79. position: absolute;
  80. right: 20px; /* LTR */
  81. text-transform: uppercase;
  82. }
  83. #overlay-tabs li {
  84. display: inline;
  85. list-style: none;
  86. margin: 0 0 0 -3px; /* LTR */
  87. padding: 0;
  88. }
  89. #overlay-tabs li a,
  90. #overlay-tabs li a:active,
  91. #overlay-tabs li a:visited,
  92. #overlay-tabs li a:hover {
  93. background-color: #a6a7a2;
  94. -moz-border-radius: 8px 8px 0 0;
  95. -webkit-border-top-left-radius: 8px;
  96. -webkit-border-top-right-radius: 8px;
  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 0 2px 0;
  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: 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.9em;
  128. }
  129. /**
  130. * IE6 shows elements with position:fixed as position:static so replace
  131. * it with position:absolute;
  132. */
  133. * html #overlay-close,
  134. * html #overlay-close:hover {
  135. position: absolute;
  136. }
  137. /**
  138. * Disable message.
  139. */
  140. #overlay-disable-message {
  141. background-color: #fff;
  142. margin: -20px auto 20px;
  143. width: 80%;
  144. -moz-border-radius: 0 0 8px 8px;
  145. -webkit-border-bottom-left-radius: 8px;
  146. -webkit-border-bottom-right-radius: 8px;
  147. border-radius: 0 0 8px 8px;
  148. }
  149. .overlay-disable-message-focused {
  150. padding: 0.5em;
  151. }
  152. .overlay-disable-message-focused a {
  153. display: block;
  154. float: left;
  155. }
  156. .overlay-disable-message-focused #overlay-dismiss-message {
  157. float: right;
  158. }