panelEnablerView.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
  3. * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions
  7. * are met:
  8. *
  9. * 1. Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. * 2. Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the distribution.
  14. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  15. * its contributors may be used to endorse or promote products derived
  16. * from this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  19. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  20. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  21. * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
  22. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  23. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  24. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  25. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  26. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  27. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. */
  29. .panel-enabler-view {
  30. z-index: 1000;
  31. position: absolute;
  32. top: 0;
  33. left: 0;
  34. right: 0;
  35. bottom: 0;
  36. background-color: white;
  37. font-size: 13px;
  38. text-align: center;
  39. overflow-x: hidden;
  40. overflow-y: overlay;
  41. display: none;
  42. }
  43. .panel-enabler-view.visible {
  44. display: block;
  45. }
  46. .panel-enabler-view .panel-enabler-view-content {
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. right: 0;
  51. bottom: 0;
  52. max-height: 390px;
  53. margin: auto;
  54. white-space: nowrap;
  55. }
  56. .panel-enabler-view h1 {
  57. color: rgb(110, 116, 128);
  58. font-size: 16px;
  59. line-height: 20px;
  60. font-weight: normal;
  61. margin-top: 0;
  62. }
  63. .panel-enabler-disclaimer {
  64. font-size: 10px;
  65. color: rgb(110, 116, 128);
  66. margin-bottom: 12px;
  67. margin-left: 20px;
  68. }
  69. .panel-enabler-disclaimer:empty {
  70. display: none;
  71. }
  72. .panel-enabler-view img {
  73. height: 100%;
  74. min-height: 200px;
  75. max-width: 100%;
  76. top: 0;
  77. bottom: 0;
  78. padding: 20px 0 20px 20px;
  79. margin: auto;
  80. vertical-align: middle;
  81. }
  82. .panel-enabler-view img.hidden {
  83. display: initial !important;
  84. width: 0;
  85. }
  86. .panel-enabler-view .flexible-space {
  87. -webkit-flex: 1;
  88. }
  89. .panel-enabler-view form {
  90. display: inline-block;
  91. vertical-align: middle;
  92. width: 330px;
  93. margin: 0;
  94. padding: 15px;
  95. white-space: normal;
  96. }
  97. .panel-enabler-view label {
  98. position: relative;
  99. display: block;
  100. text-align: left;
  101. word-break: break-word;
  102. margin: 0 0 5px 20px;
  103. }
  104. .panel-enabler-view button:not(.status-bar-item) {
  105. font-size: 13px;
  106. margin: 6px 0 0 0;
  107. padding: 3px 20px;
  108. height: 24px;
  109. color: rgb(6, 6, 6);
  110. border: 1px solid rgb(165, 165, 165);
  111. background-color: rgb(237, 237, 237);
  112. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
  113. -webkit-border-radius: 12px;
  114. -webkit-appearance: none;
  115. }
  116. body.inactive .panel-enabler-view button:not(.status-bar-item), .panel-enabler-view button:disabled:not(.status-bar-item) {
  117. color: rgb(130, 130, 130);
  118. border-color: rgb(212, 212, 212);
  119. background-color: rgb(239, 239, 239);
  120. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
  121. }
  122. .panel-enabler-view button:active:not(.status-bar-item) {
  123. background-color: rgb(215, 215, 215);
  124. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
  125. }
  126. .panel-enabler-view input[type="radio"] {
  127. height: 17px;
  128. width: 17px;
  129. border: 1px solid rgb(165, 165, 165);
  130. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
  131. -webkit-border-radius: 8px;
  132. -webkit-appearance: none;
  133. vertical-align: middle;
  134. margin: 0 5px 5px 0;
  135. }
  136. .panel-enabler-view input[type="radio"]:active:not(:disabled) {
  137. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
  138. }
  139. .panel-enabler-view input[type="radio"]:checked {
  140. background: url(Images/radioDot.png) center no-repeat,
  141. -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
  142. }
  143. .panel-enabler-view input[type="radio"]:checked:active {
  144. background: url(Images/radioDot.png) center no-repeat,
  145. -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
  146. }
  147. .panel-enabler-view.scripts img {
  148. content: url(Images/scriptsSilhouette.png);
  149. }
  150. .panel-enabler-view.profiles img {
  151. content: url(Images/profilesSilhouette.png);
  152. }