Chromium Code Reviews| 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. |
| 11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
| 12 * notice, this list of conditions and the following disclaimer in the | 12 * notice, this list of conditions and the following disclaimer in the |
| 13 * documentation and/or other materials provided with the distribution. | 13 * documentation and/or other materials provided with the distribution. |
| 14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of | 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 | 15 * its contributors may be used to endorse or promote products derived |
| 16 * from this software without specific prior written permission. | 16 * from this software without specific prior written permission. |
| 17 * | 17 * |
| 18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY | 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 | 19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 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 | 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 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 > .body .breakpoint-condition { | 30 .sidebar-pane .breakpoint-condition { |
| 31 display: block; | 31 display: block; |
| 32 margin-top: 4px; | 32 margin-top: 4px; |
| 33 margin-bottom: 4px; | 33 margin-bottom: 4px; |
| 34 margin-left: 23px; | 34 margin-left: 23px; |
| 35 margin-right: 8px; | 35 margin-right: 8px; |
| 36 } | 36 } |
| 37 | 37 |
| 38 .breakpoint-list .editing.being-edited { | 38 .breakpoint-list .editing.being-edited { |
| 39 overflow: hidden; | 39 overflow: hidden; |
| 40 white-space: nowrap; | 40 white-space: nowrap; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 61 } | 61 } |
| 62 | 62 |
| 63 .breakpoint-list li { | 63 .breakpoint-list li { |
| 64 white-space: nowrap; | 64 white-space: nowrap; |
| 65 text-overflow: ellipsis; | 65 text-overflow: ellipsis; |
| 66 overflow: hidden; | 66 overflow: hidden; |
| 67 padding: 2px 0; | 67 padding: 2px 0; |
| 68 } | 68 } |
| 69 | 69 |
| 70 .breakpoint-list li:hover { | 70 .breakpoint-list li:hover { |
| 71 background-color: rgba(56, 121, 217, 0.2); | 71 background-color: #eee; |
| 72 } | 72 } |
| 73 | 73 |
| 74 .breakpoint-list .checkbox-elem { | 74 .breakpoint-list .checkbox-elem { |
|
dgozman
2015/06/09 13:27:02
nit: empty rule
pfeldman
2015/06/09 13:40:59
Done.
| |
| 75 margin: 0 4px; | |
| 76 vertical-align: top; | |
| 77 position: relative; | |
| 78 z-index: 1; | |
| 79 top: 3px; | |
| 80 } | 75 } |
| 81 | 76 |
| 82 .breakpoint-list .source-text { | 77 .breakpoint-list .source-text { |
| 83 white-space: nowrap; | 78 white-space: nowrap; |
| 84 text-overflow: ellipsis; | 79 text-overflow: ellipsis; |
| 85 overflow: hidden; | 80 overflow: hidden; |
| 86 margin: 2px 0 0 20px; | 81 margin: 2px 0 0 20px; |
| 87 } | 82 } |
| 88 | 83 |
| 89 .sidebar-pane .breakpoint-hit { | 84 .sidebar-pane .breakpoint-hit { |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 113 -webkit-padding-start: 12px; | 108 -webkit-padding-start: 12px; |
| 114 list-style: none; | 109 list-style: none; |
| 115 } | 110 } |
| 116 | 111 |
| 117 .event-listener-breakpoints ol.expanded { | 112 .event-listener-breakpoints ol.expanded { |
| 118 display: block; | 113 display: block; |
| 119 } | 114 } |
| 120 | 115 |
| 121 .event-listener-breakpoints li { | 116 .event-listener-breakpoints li { |
| 122 margin-left: 12px; | 117 margin-left: 12px; |
| 123 white-space: nowrap; | |
| 124 text-overflow: ellipsis; | 118 text-overflow: ellipsis; |
| 125 overflow: hidden; | |
| 126 -webkit-user-select: text; | 119 -webkit-user-select: text; |
| 127 cursor: default; | 120 cursor: default; |
| 128 padding-top: 2px; | |
| 129 line-height: 12px; | |
| 130 } | 121 } |
| 131 | 122 |
| 132 .event-listener-breakpoints li.parent { | 123 .event-listener-breakpoints li.parent { |
| 133 margin-left: 1px; | 124 margin-left: 1px; |
| 134 } | 125 } |
| 135 | 126 |
| 136 .event-listener-breakpoints li.parent::before { | 127 .event-listener-breakpoints li.parent::before { |
| 137 -webkit-user-select: none; | 128 -webkit-user-select: none; |
| 138 background-image: url(Images/toolbarButtonGlyphs.png); | 129 background-image: url(Images/toolbarButtonGlyphs.png); |
| 139 background-size: 352px 144px; | 130 background-size: 352px 144px; |
| 140 opacity: 0.5; | 131 opacity: 0.5; |
| 141 content: "a"; | 132 content: "a"; |
| 142 width: 8px; | 133 width: 8px; |
| 143 float: left; | 134 float: left; |
| 144 margin-right: 4px; | 135 margin: 2px 2px 0 -2px; |
| 145 color: transparent; | 136 color: transparent; |
| 146 text-shadow: none; | 137 text-shadow: none; |
| 147 } | 138 } |
| 148 | 139 |
| 149 @media (-webkit-min-device-pixel-ratio: 1.5) { | 140 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 150 .event-listener-breakpoints li.parent::before { | 141 .event-listener-breakpoints li.parent::before { |
| 151 background-image: url(Images/toolbarButtonGlyphs_2x.png); | 142 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 152 } | 143 } |
| 153 } /* media */ | 144 } /* media */ |
| 154 | 145 |
| 155 .event-listener-breakpoints li.parent::before { | 146 .event-listener-breakpoints li.parent::before { |
| 156 background-position: -4px -96px; | 147 background-position: -4px -96px; |
| 157 } | 148 } |
| 158 | 149 |
| 159 .event-listener-breakpoints li.parent.expanded::before { | 150 .event-listener-breakpoints li.parent.expanded::before { |
| 160 background-position: -20px -96px; | 151 background-position: -20px -96px; |
| 161 } | 152 } |
| 162 | 153 |
| 163 .event-listener-breakpoints .children li { | 154 .event-listener-breakpoints .children li { |
| 164 margin-left: 12px; | 155 margin-left: 12px; |
| 165 height: 16px; | |
| 166 } | |
| 167 | |
| 168 .event-listener-breakpoints .checkbox-elem { | |
| 169 font-size: 10px; | |
| 170 } | 156 } |
| 171 | 157 |
| 172 .async-operations li > label { | 158 .async-operations li > label { |
| 173 float: left; | 159 float: left; |
| 174 } | 160 } |
| 175 | 161 |
| 176 .async-operations li > div { | 162 .async-operations li > div { |
| 177 float: right; | 163 float: right; |
| 178 margin: 2px 3px 0 2px; | 164 margin: 2px 3px 0 2px; |
| 179 } | 165 } |
| OLD | NEW |