| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 .canvas-replay-log { | 73 .canvas-replay-log { |
| 74 position: absolute; | 74 position: absolute; |
| 75 top: 24px; | 75 top: 24px; |
| 76 left: 0; | 76 left: 0; |
| 77 right: 0; | 77 right: 0; |
| 78 bottom: 0; | 78 bottom: 0; |
| 79 } | 79 } |
| 80 | 80 |
| 81 button.status-bar-item.canvas-sidebar-show-hide-button { |
| 82 right: 15px; |
| 83 z-index: 13; |
| 84 } |
| 85 |
| 86 button.status-bar-item.canvas-sidebar-show-hide-button.toggled-left { |
| 87 right: 0; |
| 88 } |
| 89 |
| 90 .canvas-replay-button { |
| 91 min-width: 32px; |
| 92 } |
| 93 |
| 81 .canvas-replay-first-step .glyph { | 94 .canvas-replay-first-step .glyph { |
| 82 -webkit-mask-position: 0 -72px; | 95 -webkit-mask-position: 0 -72px; |
| 83 -webkit-transform: rotate(180deg); | 96 -webkit-transform: rotate(180deg); |
| 84 top: 0; | 97 top: 0; |
| 85 bottom: 0; | 98 bottom: 0; |
| 86 } | 99 } |
| 87 .canvas-replay-next-step .glyph { | 100 .canvas-replay-next-step .glyph { |
| 88 -webkit-mask-position: -64px -72px; | 101 -webkit-mask-position: -64px -72px; |
| 89 } | 102 } |
| 90 .canvas-replay-prev-step .glyph { | 103 .canvas-replay-prev-step .glyph { |
| 91 -webkit-mask-position: -96px -72px; | 104 -webkit-mask-position: -96px -72px; |
| 92 } | 105 } |
| 93 .canvas-replay-last-step .glyph { | 106 .canvas-replay-last-step .glyph { |
| 94 -webkit-mask-position: 0 -72px; | 107 -webkit-mask-position: 0 -72px; |
| 95 } | 108 } |
| 96 .canvas-replay-prev-draw .glyph { | 109 .canvas-replay-prev-draw .glyph { |
| 97 -webkit-mask-position: -128px -72px; | 110 -webkit-mask-position: -128px -72px; |
| 98 -webkit-transform: scaleX(-1); | 111 -webkit-transform: scaleX(-1); |
| 99 } | 112 } |
| 100 .canvas-replay-next-draw .glyph { | 113 .canvas-replay-next-draw .glyph { |
| 101 -webkit-mask-position: -128px -72px; | 114 -webkit-mask-position: -128px -72px; |
| 102 } | 115 } |
| 116 .canvas-replay-state-prev .glyph { |
| 117 -webkit-mask-position: -64px -48px; |
| 118 -webkit-transform: scaleX(-1); |
| 119 } |
| 120 .canvas-replay-state-next .glyph { |
| 121 -webkit-mask-position: -64px -48px; |
| 122 } |
| 123 .canvas-replay-state-refresh .glyph { |
| 124 -webkit-mask-position: 0 0; |
| 125 } |
| 103 | 126 |
| 104 .canvas-popover-anchor { | 127 .canvas-popover-anchor { |
| 105 position: absolute; | 128 position: absolute; |
| 106 text-indent: 0; | 129 text-indent: 0; |
| 107 padding: 0; | 130 padding: 0; |
| 108 margin: 0; | 131 margin: 0; |
| 109 } | 132 } |
| 110 .data-grid:focus tr.selected .canvas-popover-anchor { | 133 .data-grid:focus tr.selected .canvas-popover-anchor { |
| 111 background-color: #aaa !important; | 134 background-color: #aaa !important; |
| 112 } | 135 } |
| 113 | 136 |
| 114 .canvas-function-name { | 137 .canvas-function-name { |
| 115 } | 138 } |
| 116 | 139 |
| 117 .canvas-formatted-resource { | 140 .canvas-formatted-resource { |
| 141 color: rgb(33%, 33%, 33%); |
| 142 } |
| 143 .canvas-formatted-resource.canvas-popover-anchor, |
| 144 .canvas-formatted-resource:hover { |
| 145 color: rgb(38, 38, 38); |
| 146 text-decoration: underline; |
| 147 cursor: pointer; |
| 118 } | 148 } |
| 119 | 149 |
| 120 /* Keep in sync with "console-formatted-*" CSS styles. */ | 150 /* Keep in sync with "console-formatted-*" CSS styles. */ |
| 121 .canvas-formatted-object, | 151 .canvas-formatted-object, |
| 122 .canvas-formatted-node, | 152 .canvas-formatted-node, |
| 123 .canvas-formatted-array { | 153 .canvas-formatted-array { |
| 124 color: #222; | 154 color: #222; |
| 125 } | 155 } |
| 126 .canvas-formatted-number { | 156 .canvas-formatted-number { |
| 127 color: rgb(28, 0, 207); | 157 color: rgb(28, 0, 207); |
| 128 } | 158 } |
| 129 .canvas-formatted-string, | 159 .canvas-formatted-string, |
| 130 .canvas-formatted-regexp { | 160 .canvas-formatted-regexp { |
| 131 color: rgb(196, 26, 22); | 161 color: rgb(196, 26, 22); |
| 132 } | 162 } |
| 133 .canvas-formatted-null, | 163 .canvas-formatted-null, |
| 134 .canvas-formatted-undefined { | 164 .canvas-formatted-undefined { |
| 135 color: rgb(128, 128, 128); | 165 color: rgb(128, 128, 128); |
| 136 } | 166 } |
| 137 .data-grid:focus tr.selected .canvas-call-argument, | 167 .data-grid:focus tr.selected .canvas-call-argument, |
| 138 .data-grid:focus tr.selected .canvas-formatted-string { | 168 .data-grid:focus tr.selected .canvas-formatted-string { |
| 139 color: inherit !important; | 169 color: inherit !important; |
| 140 } | 170 } |
| 171 |
| 172 .canvas-replay-state-view .data-grid { |
| 173 top: 23px; |
| 174 } |
| 175 |
| 176 .canvas-replay-state-view .data-grid .data-container tr:nth-child(odd).canvas-gr
id-node-highlighted { |
| 177 -webkit-animation: "fadeout-odd" 2s 0s; |
| 178 background-color: rgb(255, 255, 175); |
| 179 } |
| 180 |
| 181 .canvas-replay-state-view .data-grid .data-container tr:nth-child(even).canvas-g
rid-node-highlighted { |
| 182 -webkit-animation: "fadeout-even" 2s 0s; |
| 183 background-color: rgb(235, 235, 120); |
| 184 } |
| 185 |
| 186 @-webkit-keyframes fadeout-odd { |
| 187 from { background-color: rgb(255, 255, 25); } |
| 188 to { background-color: rgb(255, 255, 175); } |
| 189 } |
| 190 |
| 191 @-webkit-keyframes fadeout-even { |
| 192 from { background-color: rgb(255, 255, 25); } |
| 193 to { background-color: rgb(235, 235, 120); } |
| 194 } |
| OLD | NEW |