canvasProfiler.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /*
  2. * Copyright (C) 2012 Google Inc. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are
  6. * met:
  7. *
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above
  11. * copyright notice, this list of conditions and the following disclaimer
  12. * in the documentation and/or other materials provided with the
  13. * distribution.
  14. * * Neither the name of Google Inc. nor the names of its
  15. * contributors may be used to endorse or promote products derived from
  16. * this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  22. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  24. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  25. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  26. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. */
  30. .canvas-profile-view {
  31. overflow: hidden;
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. bottom: 0;
  37. }
  38. #canvas-replay-image-container {
  39. text-align: center;
  40. background-color: black;
  41. overflow: hidden;
  42. padding: 5px 5px 10px 5px;
  43. color: white;
  44. }
  45. .canvas-replay-image {
  46. zoom: 100;
  47. height: auto;
  48. width: auto;
  49. max-width: 100%;
  50. max-height: 100%;
  51. margin: auto;
  52. display: block;
  53. }
  54. .canvas-debug-info {
  55. position: absolute;
  56. left: 0;
  57. right: 0;
  58. bottom: 6px;
  59. }
  60. .canvas-spinner-icon {
  61. content: url(Images/spinnerActiveSelected.gif);
  62. position: absolute;
  63. width: 16px;
  64. right: 4px;
  65. bottom: 4px;
  66. }
  67. .canvas-replay-log {
  68. position: absolute;
  69. top: 24px;
  70. left: 0;
  71. right: 0;
  72. bottom: 0;
  73. }
  74. button.status-bar-item.canvas-sidebar-show-hide-button {
  75. right: 15px;
  76. z-index: 13;
  77. }
  78. button.status-bar-item.canvas-sidebar-show-hide-button.toggled-left {
  79. right: 0;
  80. }
  81. .canvas-replay-button {
  82. min-width: 32px;
  83. }
  84. .canvas-replay-first-step .glyph {
  85. -webkit-mask-position: 0 -72px;
  86. -webkit-transform: rotate(180deg);
  87. top: 0;
  88. bottom: 0;
  89. }
  90. .canvas-replay-next-step .glyph {
  91. -webkit-mask-position: -64px -72px;
  92. }
  93. .canvas-replay-prev-step .glyph {
  94. -webkit-mask-position: -96px -72px;
  95. }
  96. .canvas-replay-last-step .glyph {
  97. -webkit-mask-position: 0 -72px;
  98. }
  99. .canvas-replay-prev-draw .glyph {
  100. -webkit-mask-position: -128px -72px;
  101. -webkit-transform: scaleX(-1);
  102. }
  103. .canvas-replay-next-draw .glyph {
  104. -webkit-mask-position: -128px -72px;
  105. }
  106. .canvas-replay-state-prev .glyph {
  107. -webkit-mask-position: -64px -48px;
  108. -webkit-transform: scaleX(-1);
  109. }
  110. .canvas-replay-state-next .glyph {
  111. -webkit-mask-position: -64px -48px;
  112. }
  113. .canvas-replay-state-refresh .glyph {
  114. -webkit-mask-position: 0 0;
  115. }
  116. .canvas-popover-anchor {
  117. position: absolute;
  118. text-indent: 0;
  119. padding: 0;
  120. margin: 0;
  121. }
  122. .data-grid:focus tr.selected .canvas-popover-anchor {
  123. background-color: #aaa !important;
  124. }
  125. .canvas-function-name {
  126. }
  127. .canvas-formatted-resource {
  128. color: rgb(33%, 33%, 33%);
  129. }
  130. .canvas-formatted-resource.canvas-popover-anchor,
  131. .canvas-formatted-resource:hover {
  132. color: rgb(38, 38, 38);
  133. text-decoration: underline;
  134. cursor: pointer;
  135. }
  136. /* Keep in sync with "console-formatted-*" CSS styles. */
  137. .canvas-formatted-object,
  138. .canvas-formatted-node,
  139. .canvas-formatted-array {
  140. color: #222;
  141. }
  142. .canvas-formatted-number {
  143. color: rgb(28, 0, 207);
  144. }
  145. .canvas-formatted-string,
  146. .canvas-formatted-regexp {
  147. color: rgb(196, 26, 22);
  148. }
  149. .canvas-formatted-null,
  150. .canvas-formatted-undefined {
  151. color: rgb(128, 128, 128);
  152. }
  153. .data-grid:focus tr.selected .canvas-call-argument,
  154. .data-grid:focus tr.selected .canvas-formatted-string {
  155. color: inherit !important;
  156. }
  157. .canvas-replay-state-view .data-grid {
  158. top: 23px;
  159. }
  160. .canvas-replay-state-view .data-grid .data-container tr:nth-child(odd).canvas-grid-node-highlighted {
  161. -webkit-animation: "fadeout-odd" 2s 0s;
  162. background-color: rgb(255, 255, 175);
  163. }
  164. .canvas-replay-state-view .data-grid .data-container tr:nth-child(even).canvas-grid-node-highlighted {
  165. -webkit-animation: "fadeout-even" 2s 0s;
  166. background-color: rgb(235, 235, 120);
  167. }
  168. @-webkit-keyframes fadeout-odd {
  169. from { background-color: rgb(255, 255, 25); }
  170. to { background-color: rgb(255, 255, 175); }
  171. }
  172. @-webkit-keyframes fadeout-even {
  173. from { background-color: rgb(255, 255, 25); }
  174. to { background-color: rgb(235, 235, 120); }
  175. }