| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 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 | 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 | 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 | 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. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 .sidebar-pane { | 30 .sidebar-pane { |
| 31 position: relative; | 31 position: relative; |
| 32 flex-direction: column; |
| 33 display: flex; |
| 32 } | 34 } |
| 33 | 35 |
| 34 .sidebar-pane > .body { | 36 .sidebar-pane .info { |
| 35 position: relative; | |
| 36 display: none; | |
| 37 flex-direction: column; | |
| 38 } | |
| 39 | |
| 40 .sidebar-pane > .body .info { | |
| 41 text-align: center; | 37 text-align: center; |
| 42 font-style: italic; | 38 font-style: italic; |
| 43 padding: 6px; | 39 padding: 6px; |
| 44 color: #888; | 40 color: #888; |
| 45 } | 41 } |
| 46 | 42 |
| 47 .sidebar-pane.visible > .body { | |
| 48 display: flex; | |
| 49 } | |
| 50 | |
| 51 .sidebar-pane .section .properties-tree { | 43 .sidebar-pane .section .properties-tree { |
| 52 padding-left: 16px; | 44 padding-left: 16px; |
| 53 } | 45 } |
| 54 | 46 |
| 55 .sidebar-tabbed-pane .tabbed-pane-header { | 47 .sidebar-tabbed-pane .tabbed-pane-header { |
| 56 border-bottom: 1px solid rgb(202, 202, 202); | 48 border-bottom: 1px solid rgb(202, 202, 202); |
| 57 background-color: #eee; | 49 background-color: #eee; |
| 58 } | 50 } |
| 59 | 51 |
| 60 .sidebar-pane-stack > .sidebar-pane.visible:nth-last-of-type(1) { | |
| 61 border-bottom: 1px solid rgb(189, 189, 189); | |
| 62 } | |
| 63 | |
| 64 .sidebar-pane-title { | 52 .sidebar-pane-title { |
| 65 position: relative; | 53 display: flex; |
| 54 align-items: center; |
| 66 background-color: #eee; | 55 background-color: #eee; |
| 67 height: 20px; | 56 height: 20px; |
| 68 padding: 0 5px; | 57 padding: 0 5px; |
| 69 border-top: 1px solid rgb(189, 189, 189); | 58 border-top: 1px solid #bbb; |
| 70 border-bottom: 1px solid rgb(189, 189, 189); | |
| 71 line-height: 18px; | |
| 72 margin-top: -1px; | |
| 73 white-space: nowrap; | 59 white-space: nowrap; |
| 74 overflow: hidden; | 60 overflow: hidden; |
| 61 position: relative; |
| 75 } | 62 } |
| 76 | 63 |
| 77 .sidebar-pane-title:active { | 64 .sidebar-pane-title.expanded, |
| 78 background-color: rgb(204, 204, 204); | 65 .sidebar-pane-title:last-child { |
| 79 border-top: 1px solid rgb(178, 178, 178); | 66 border-bottom: 1px solid #ddd; |
| 80 border-bottom: 1px solid rgb(178, 178, 178); | 67 } |
| 68 |
| 69 .sidebar-pane-title:first-child { |
| 70 border-top: none; |
| 81 } | 71 } |
| 82 | 72 |
| 83 .sidebar-pane-title::before { | 73 .sidebar-pane-title::before { |
| 84 background-image: url(Images/toolbarButtonGlyphs.png); | 74 background-image: url(Images/toolbarButtonGlyphs.png); |
| 85 background-size: 352px 144px; | 75 background-size: 352px 144px; |
| 86 opacity: 0.5; | 76 opacity: 0.5; |
| 87 float: left; | 77 float: left; |
| 88 width: 11px; | 78 width: 11px; |
| 89 height: 11px; | 79 height: 11px; |
| 90 margin-right: 2px; | 80 margin-right: 2px; |
| 91 content: "a"; | 81 content: "a"; |
| 92 color: transparent; | 82 color: transparent; |
| 93 position: relative; | |
| 94 top: 3px; | |
| 95 } | 83 } |
| 96 | 84 |
| 97 @media (-webkit-min-device-pixel-ratio: 1.5) { | 85 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 98 .sidebar-pane-title::before { | 86 .sidebar-pane-title::before { |
| 99 background-image: url(Images/toolbarButtonGlyphs_2x.png); | 87 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 100 } | 88 } |
| 101 } /* media */ | 89 } /* media */ |
| 102 | 90 |
| 103 .sidebar-pane-title::before { | 91 .sidebar-pane-title::before { |
| 104 background-position: -4px -96px; | 92 background-position: -4px -96px; |
| 105 } | 93 } |
| 106 | 94 |
| 107 .sidebar-pane-title.expanded::before { | 95 .sidebar-pane-title.expanded::before { |
| 108 background-position: -20px -96px; | 96 background-position: -20px -96px; |
| 109 } | 97 } |
| 110 | 98 |
| 111 .sidebar-pane-toolbar { | 99 .sidebar-pane > .toolbar { |
| 112 left: 0; | 100 border-bottom: 1px solid #ddd; |
| 113 right: 4px; | |
| 114 top: 0; | |
| 115 position: absolute; | |
| 116 pointer-events: none; | |
| 117 } | 101 } |
| 118 | 102 |
| 119 .sidebar-pane-toolbar > * { | 103 .sidebar-pane > .toolbar > * { |
| 120 pointer-events: auto; | 104 pointer-events: auto; |
| 121 } | 105 } |
| 122 | 106 |
| 123 .sidebar-pane-toolbar > .pane-title-button, | 107 .sidebar-pane-title .sidebar-pane > .toolbar { |
| 124 .sidebar-pane-toolbar > label { | 108 position: absolute; |
| 125 float: right; | 109 right: 0; |
| 126 height: 16px; | 110 top: -3px; |
| 127 background-color: transparent; | |
| 128 border: none; | |
| 129 background-repeat: no-repeat; | |
| 130 margin: 1px 0 0 0; | |
| 131 padding: 0; | |
| 132 border-radius: 0; | |
| 133 -webkit-appearance: none; | |
| 134 } | |
| 135 | |
| 136 .sidebar-pane-toolbar > .pane-title-button { | |
| 137 width: 23px; | |
| 138 color: transparent; | |
| 139 } | |
| 140 | |
| 141 .sidebar-pane-toolbar > .pane-title-button:hover { | |
| 142 background-position: -23px 0; | |
| 143 } | |
| 144 | |
| 145 .sidebar-pane-toolbar > .pane-title-button:active, | |
| 146 .sidebar-pane-toolbar > .pane-title-button.toggled { | |
| 147 background-position: -46px 0; | |
| 148 } | |
| 149 | |
| 150 .sidebar-pane-toolbar > .pane-title-button.add { | |
| 151 background-image: url(Images/paneAddButtons.png); | |
| 152 position: relative; | |
| 153 } | |
| 154 | |
| 155 .sidebar-pane-toolbar > .pane-title-button.refresh { | |
| 156 background-image: url(Images/paneRefreshButtons.png); | |
| 157 } | |
| 158 | |
| 159 .sidebar-pane-toolbar > label.scripts-callstack-async { | |
| 160 margin-right: 5px; | |
| 161 line-height: 16px; | |
| 162 } | 111 } |
| 163 | 112 |
| 164 .section > .header input[type=checkbox] { | 113 .section > .header input[type=checkbox] { |
| 165 height: 1em; | 114 height: 1em; |
| 166 width: 1em; | 115 width: 1em; |
| 167 margin-left: 0; | 116 margin-left: 0; |
| 168 margin-top: 0; | 117 margin-top: 0; |
| 169 margin-bottom: 0.25em; | 118 margin-bottom: 0.25em; |
| 170 vertical-align: bottom; | 119 vertical-align: bottom; |
| 171 } | 120 } |
| 172 | 121 |
| 173 .hidden-callframes-message { | 122 .hidden-callframes-message { |
| 174 text-align: center; | 123 text-align: center; |
| 175 font-style: italic; | 124 font-style: italic; |
| 176 padding: 4px; | 125 padding: 4px; |
| 177 color: #888; | 126 color: #888; |
| 178 background-color: #FFFFC2; | 127 background-color: #FFFFC2; |
| 179 } | 128 } |
| 180 | 129 |
| 181 .sidebar-pane-button-new-rule { | 130 .sidebar-pane-button-new-rule { |
| 182 background-image: url(Images/paneAddButtons.png); | 131 background-image: url(Images/paneAddButtons.png); |
| 183 background-position: 0 0; | 132 background-position: 0 0; |
| 184 position: absolute; | 133 position: absolute; |
| 185 height: 16px; | 134 height: 16px; |
| 186 width: 23px; | 135 width: 23px; |
| 187 right: 10px; | 136 right: 2px; |
| 188 bottom: 1px; | 137 bottom: 3px; |
| 189 visibility: hidden; | 138 visibility: hidden; |
| 190 } | 139 } |
| 191 | 140 |
| 192 .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-button-new-ru
le { | 141 .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-button-new-ru
le { |
| 193 visibility: visible; | 142 visibility: visible; |
| 194 } | 143 } |
| 195 | 144 |
| 196 .sidebar-pane-button-new-rule:hover { | 145 .sidebar-pane-button-new-rule:hover { |
| 197 background-position: -23px 0; | 146 background-position: -23px 0; |
| 198 } | 147 } |
| OLD | NEW |