| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 background-clip: padding; | 81 background-clip: padding; |
| 82 margin-top: -1px; | 82 margin-top: -1px; |
| 83 } | 83 } |
| 84 | 84 |
| 85 .sidebar-pane-title:active { | 85 .sidebar-pane-title:active { |
| 86 background-color: rgb(204, 204, 204); | 86 background-color: rgb(204, 204, 204); |
| 87 border-top: 1px solid rgb(178, 178, 178); | 87 border-top: 1px solid rgb(178, 178, 178); |
| 88 border-bottom: 1px solid rgb(178, 178, 178); | 88 border-bottom: 1px solid rgb(178, 178, 178); |
| 89 } | 89 } |
| 90 | 90 |
| 91 .placard-group::before, | |
| 92 .sidebar-pane-title::before { | 91 .sidebar-pane-title::before { |
| 93 background-image: url(Images/statusbarButtonGlyphs.png); | 92 background-image: url(Images/statusbarButtonGlyphs.png); |
| 94 background-size: 320px 120px; | 93 background-size: 320px 120px; |
| 95 opacity: 0.5; | 94 opacity: 0.5; |
| 96 float: left; | 95 float: left; |
| 97 width: 11px; | 96 width: 11px; |
| 98 height: 11px; | 97 height: 11px; |
| 99 margin-right: 2px; | 98 margin-right: 2px; |
| 100 content: "a"; | 99 content: "a"; |
| 101 color: transparent; | 100 color: transparent; |
| 102 position: relative; | 101 position: relative; |
| 103 top: 3px; | 102 top: 3px; |
| 104 } | 103 } |
| 105 | 104 |
| 106 @media (-webkit-min-device-pixel-ratio: 1.5) { | 105 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 107 .placard-group::before, | |
| 108 .sidebar-pane-title::before { | 106 .sidebar-pane-title::before { |
| 109 background-image: url(Images/statusbarButtonGlyphs2x.png); | 107 background-image: url(Images/statusbarButtonGlyphs2x.png); |
| 110 } | 108 } |
| 111 } /* media */ | 109 } /* media */ |
| 112 | 110 |
| 113 .placard-group::before, | |
| 114 .sidebar-pane-title::before { | 111 .sidebar-pane-title::before { |
| 115 background-position: -4px -96px; | 112 background-position: -4px -96px; |
| 116 } | 113 } |
| 117 | 114 |
| 118 .placard-group.expanded::before, | |
| 119 .sidebar-pane-title.expanded::before { | 115 .sidebar-pane-title.expanded::before { |
| 120 background-position: -20px -96px; | 116 background-position: -20px -96px; |
| 121 } | 117 } |
| 122 | 118 |
| 123 .sidebar-pane-toolbar { | 119 .sidebar-pane-toolbar { |
| 124 line-height: 18px; | 120 line-height: 18px; |
| 125 left: 0; | 121 left: 0; |
| 126 right: 4px; | 122 right: 4px; |
| 127 top: 0; | 123 top: 0; |
| 128 height: 20px; | 124 height: 20px; |
| 129 position: absolute; | 125 position: absolute; |
| 130 pointer-events: none; | 126 pointer-events: none; |
| 131 } | 127 } |
| 132 | 128 |
| 133 .sidebar-pane-toolbar > * { | 129 .sidebar-pane-toolbar > * { |
| 134 pointer-events: auto; | 130 pointer-events: auto; |
| 135 } | 131 } |
| 136 | 132 |
| 137 .sidebar-pane-toolbar > .pane-title-button { | 133 .sidebar-pane-toolbar > .pane-title-button, |
| 134 .sidebar-pane-toolbar > label { |
| 138 float: right; | 135 float: right; |
| 139 width: 23px; | |
| 140 height: 17px; | 136 height: 17px; |
| 141 color: transparent; | |
| 142 background-color: transparent; | 137 background-color: transparent; |
| 143 border: none; | 138 border: none; |
| 144 background-repeat: no-repeat; | 139 background-repeat: no-repeat; |
| 145 margin: 1px 0 0 0; | 140 margin: 1px 0 0 0; |
| 146 padding: 0; | 141 padding: 0; |
| 147 border-radius: 0; | 142 border-radius: 0; |
| 148 -webkit-appearance: none; | 143 -webkit-appearance: none; |
| 149 } | 144 } |
| 150 | 145 |
| 146 .sidebar-pane-toolbar > .pane-title-button { |
| 147 width: 23px; |
| 148 color: transparent; |
| 149 } |
| 150 |
| 151 .sidebar-pane-toolbar > .pane-title-button:hover { | 151 .sidebar-pane-toolbar > .pane-title-button:hover { |
| 152 background-position: -23px 0; | 152 background-position: -23px 0; |
| 153 } | 153 } |
| 154 | 154 |
| 155 .sidebar-pane-toolbar > .pane-title-button:active, | 155 .sidebar-pane-toolbar > .pane-title-button:active, |
| 156 .sidebar-pane-toolbar > .pane-title-button.toggled { | 156 .sidebar-pane-toolbar > .pane-title-button.toggled { |
| 157 background-position: -46px 0; | 157 background-position: -46px 0; |
| 158 } | 158 } |
| 159 | 159 |
| 160 .sidebar-pane-toolbar > .pane-title-button.add { | 160 .sidebar-pane-toolbar > .pane-title-button.add { |
| 161 background-image: url(Images/paneAddButtons.png); | 161 background-image: url(Images/paneAddButtons.png); |
| 162 } | 162 } |
| 163 | 163 |
| 164 .sidebar-pane-toolbar > .pane-title-button.element-state { | 164 .sidebar-pane-toolbar > .pane-title-button.element-state { |
| 165 background-image: url(Images/paneElementStateButtons.png); | 165 background-image: url(Images/paneElementStateButtons.png); |
| 166 } | 166 } |
| 167 | 167 |
| 168 .sidebar-pane-toolbar > .pane-title-button.refresh { | 168 .sidebar-pane-toolbar > .pane-title-button.refresh { |
| 169 background-image: url(Images/paneRefreshButtons.png); | 169 background-image: url(Images/paneRefreshButtons.png); |
| 170 } | 170 } |
| 171 | 171 |
| 172 .sidebar-pane-toolbar > label > input { |
| 173 vertical-align: -2px; |
| 174 } |
| 175 |
| 176 .sidebar-pane-toolbar > label.scripts-callstack-async { |
| 177 margin-right: 5px; |
| 178 } |
| 179 |
| 172 .sidebar-pane-subtitle { | 180 .sidebar-pane-subtitle { |
| 173 position: absolute; | 181 position: absolute; |
| 174 right: 0; | 182 right: 0; |
| 175 } | 183 } |
| 176 | 184 |
| 177 body.platform-windows .sidebar-pane-subtitle { | 185 body.platform-windows .sidebar-pane-subtitle { |
| 178 padding-top: 1px; | 186 padding-top: 1px; |
| 179 } | 187 } |
| 180 | 188 |
| 181 .sidebar-pane-subtitle input, | 189 .sidebar-pane-subtitle input, |
| 182 .section > .header input[type=checkbox] { | 190 .section > .header input[type=checkbox] { |
| 183 height: 1em; | 191 height: 1em; |
| 184 width: 1em; | 192 width: 1em; |
| 185 margin-left: 0; | 193 margin-left: 0; |
| 186 margin-top: 0; | 194 margin-top: 0; |
| 187 margin-bottom: 0.25em; | 195 margin-bottom: 0.25em; |
| 188 vertical-align: bottom; | 196 vertical-align: bottom; |
| 189 } | 197 } |
| OLD | NEW |