scriptsPanel.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. .scripts-pause-on-exceptions-status-bar-item .glyph {
  30. -webkit-mask-position: -256px 0;
  31. }
  32. .scripts-pause-on-exceptions-status-bar-item.toggled-all .glyph {
  33. background-color: rgb(66, 129, 235);
  34. }
  35. .scripts-pause-on-exceptions-status-bar-item.toggled-uncaught .glyph {
  36. background-color: purple;
  37. }
  38. .scripts-toggle-pretty-print-status-bar-item .glyph {
  39. -webkit-mask-position: -256px -24px;
  40. }
  41. .scripts-toggle-pretty-print-status-bar-item.toggled .glyph {
  42. background-color: rgb(66, 129, 235);
  43. }
  44. .evaluate-snippet-status-bar-item .glyph {
  45. -webkit-mask-position: -64px -48px;
  46. }
  47. .evaluate-snippet-status-bar-item.toggled .glyph {
  48. background-color: rgb(66, 129, 235);
  49. }
  50. #scripts-debug-toolbar {
  51. position: relative;
  52. margin-top: -1px;
  53. height: 24px;
  54. border-bottom: 1px solid rgb(202, 202, 202);
  55. }
  56. #scripts-editor-toolbar {
  57. position: relative;
  58. margin-top: -1px;
  59. height: 24px;
  60. }
  61. #scripts-status-bar .status-bar-item img {
  62. margin-top: 2px;
  63. }
  64. #scripts-debug-toolbar .glyph {
  65. opacity: 0.8;
  66. }
  67. .scripts-run-snippet .glyph {
  68. -webkit-mask-position: -64px -48px;
  69. }
  70. .scripts-pause .glyph {
  71. -webkit-mask-position: -32px -72px;
  72. }
  73. .scripts-pause.toggled-on .glyph {
  74. -webkit-mask-position: 0 -72px;
  75. }
  76. .scripts-step-over .glyph {
  77. -webkit-mask-position: -128px -72px;
  78. }
  79. .scripts-step-into .glyph {
  80. -webkit-mask-position: -64px -72px;
  81. }
  82. .scripts-step-out .glyph {
  83. -webkit-mask-position: -96px -72px;
  84. }
  85. .scripts-long-resume .glyph {
  86. -webkit-mask-position: -64px -48px;
  87. }
  88. .scripts-toggle-breakpoints.toggled-on .glyph {
  89. -webkit-mask-position: -32px 0;
  90. }
  91. .scripts-toggle-breakpoints .glyph {
  92. -webkit-mask-position: 0 -24px;
  93. }
  94. #scripts-debugger-status {
  95. position: absolute;
  96. line-height: 24px;
  97. top: 0;
  98. right: 8px;
  99. }
  100. .status-bar-item.scripts-navigator-show-hide-button,
  101. .status-bar-item.scripts-debugger-show-hide-button {
  102. opacity: 0.7;
  103. }
  104. button.status-bar-item.scripts-navigator-show-hide-button {
  105. left: 0;
  106. }
  107. button.status-bar-item.scripts-navigator-show-hide-button.toggled-overlay {
  108. left: auto;
  109. right: 15px;
  110. }
  111. .scripts-views-container {
  112. position: absolute;
  113. top: 23px;
  114. right: 0;
  115. bottom: 0;
  116. left: 0;
  117. }
  118. .script-view {
  119. display: none;
  120. overflow: hidden;
  121. position: absolute;
  122. top: 0;
  123. right: 0;
  124. bottom: 0;
  125. left: 0;
  126. }
  127. .script-view.visible {
  128. display: block;
  129. }
  130. .dedicated-worker-item {
  131. margin: 5px 0 5px 1px;
  132. }
  133. #shared-workers-list {
  134. margin: 5px 0 5px 20px;
  135. font-style:italic;
  136. }
  137. #pause-workers-checkbox > input {
  138. position: relative;
  139. top: 2px;
  140. }
  141. #scripts-editor-container-tabbed-pane .tabbed-pane-header {
  142. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F5F5F5), to(#E5E5E5));
  143. }
  144. #scripts-editor-container-tabbed-pane .tabbed-pane-header-contents {
  145. margin-left: 20px;
  146. margin-right: 36px;
  147. }
  148. #scripts-editor-container-tabbed-pane .tabbed-pane-header-tab {
  149. border-bottom: 1px solid #BBB;
  150. }
  151. .function-location-link {
  152. float: right;
  153. margin-left: 10px;
  154. }
  155. .function-popover-title {
  156. border-bottom: 1px solid #AAA;
  157. margin-bottom: 3px;
  158. padding-bottom: 2px;
  159. }
  160. .function-popover-title .function-name {
  161. font-weight: bold;
  162. }
  163. button.status-bar-item.scripts-debugger-show-hide-button {
  164. right: 15px;
  165. }
  166. .split-view-horizontal button.status-bar-item.scripts-debugger-show-hide-button,
  167. .split-view-horizontal #scripts-debug-sidebar-resizer-widget {
  168. display: none;
  169. }
  170. button.status-bar-item.scripts-debugger-show-hide-button.toggled-left {
  171. right: 0;
  172. }
  173. div.sidebar-pane-stack#scripts-debug-sidebar-contents,
  174. #scripts-sidebar-stack-pane {
  175. top: 23px;
  176. overflow: auto;
  177. }
  178. .workers-list > li {
  179. overflow: hidden;
  180. text-overflow: ellipsis;
  181. white-space: nowrap;
  182. margin-left: 1em;
  183. font-size: 12px;
  184. }
  185. a.worker-item {
  186. color: rgb(33%, 33%, 33%);
  187. cursor: pointer;
  188. text-decoration: none;
  189. }
  190. a.worker-item:hover {
  191. color: rgb(15%, 15%, 15%);
  192. }
  193. .source-frame-debugger-script {
  194. background-color: rgba(255, 255, 194, 0.5);
  195. }
  196. .source-frame-unsaved-committed-changes {
  197. background-color: rgba(255, 225, 205, 0.40);
  198. }
  199. .tabbed-pane-placeholder {
  200. font-size: 14px;
  201. text-align: center;
  202. margin-top: 20px;
  203. text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
  204. }
  205. .tabbed-pane-header-tab-icon {
  206. width: 13px;
  207. height: 10px;
  208. margin-top: 3px;
  209. float: left;
  210. display: block;
  211. margin-right: 1px;
  212. }
  213. .editor-container-unsaved-committed-changes-icon {
  214. background-image: url(Images/statusbarButtonGlyphs.png);
  215. background-size: 320px 120px;
  216. background-position: -202px -107px;
  217. }