| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 :host { | 7 :host { |
| 8 flex: none; | 8 flex: none; |
| 9 padding: 0 2px; | 9 padding: 0 2px; |
| 10 } | 10 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 background-color: transparent; | 40 background-color: transparent; |
| 41 flex: none; | 41 flex: none; |
| 42 align-items: center; | 42 align-items: center; |
| 43 justify-content: center; | 43 justify-content: center; |
| 44 padding: 0; | 44 padding: 0; |
| 45 height: 26px; | 45 height: 26px; |
| 46 border: none; | 46 border: none; |
| 47 color: #5a5a5a; | 47 color: #5a5a5a; |
| 48 } | 48 } |
| 49 | 49 |
| 50 .toolbar-dropdown-arrow { |
| 51 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); |
| 52 -webkit-mask-size: 352px 168px; |
| 53 -webkit-mask-position: -18px -96px; |
| 54 background-color: #444; |
| 55 width: 12px; |
| 56 height: 12px; |
| 57 display: inline-block; |
| 58 pointer-events: none; |
| 59 margin: auto 0; |
| 60 } |
| 61 |
| 62 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 63 .toolbar-dropdown-arrow { |
| 64 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 65 } |
| 66 } /* media */ |
| 67 |
| 50 /* Text-glyph item */ | 68 /* Text-glyph item */ |
| 51 | 69 |
| 52 .toolbar-text-glyph { | 70 .toolbar-text-glyph { |
| 53 white-space: nowrap; | 71 white-space: nowrap; |
| 54 overflow: hidden; | 72 overflow: hidden; |
| 55 min-width: 28px; | 73 min-width: 28px; |
| 56 background: transparent; | 74 background: transparent; |
| 57 } | 75 } |
| 58 | 76 |
| 59 .toolbar-text { | 77 .toolbar-text { |
| 60 margin: 0 5px; | 78 margin: 0 5px; |
| 61 flex: none; | 79 flex: none; |
| 62 color: #5a5a5a; | 80 color: #5a5a5a; |
| 63 } | 81 } |
| 64 | 82 |
| 83 .toolbar-has-dropdown .toolbar-text { |
| 84 margin-right: 1px; |
| 85 } |
| 86 |
| 65 .toolbar-has-glyph .toolbar-text { | 87 .toolbar-has-glyph .toolbar-text { |
| 66 margin-left: 0; | 88 margin-left: 0; |
| 67 } | 89 } |
| 68 | 90 |
| 69 .toolbar-bold .toolbar-text { | 91 .toolbar-bold .toolbar-text { |
| 70 font-weight: bold; | 92 font-weight: bold; |
| 71 } | 93 } |
| 72 | 94 |
| 73 .toolbar-dimmed .toolbar-text { | 95 .toolbar-dimmed .toolbar-text { |
| 74 color: #999; | 96 color: #999; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 } | 171 } |
| 150 | 172 |
| 151 /* Select */ | 173 /* Select */ |
| 152 | 174 |
| 153 .toolbar-select-container { | 175 .toolbar-select-container { |
| 154 display: inline-flex; | 176 display: inline-flex; |
| 155 flex-shrink: 0; | 177 flex-shrink: 0; |
| 156 margin-right: 6px; | 178 margin-right: 6px; |
| 157 } | 179 } |
| 158 | 180 |
| 159 .toolbar-select-arrow { | |
| 160 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
| 161 -webkit-mask-size: 352px 168px; | |
| 162 -webkit-mask-position: -18px -96px; | |
| 163 background-color: #444; | |
| 164 width: 12px; | |
| 165 height: 12px; | |
| 166 display: inline-block; | |
| 167 pointer-events: none; | |
| 168 margin: auto 0; | |
| 169 } | |
| 170 | |
| 171 @media (-webkit-min-device-pixel-ratio: 1.5) { | |
| 172 .toolbar-select-arrow { | |
| 173 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | |
| 174 } | |
| 175 } /* media */ | |
| 176 | |
| 177 select.toolbar-item { | 181 select.toolbar-item { |
| 178 min-width: 48px; | 182 min-width: 48px; |
| 179 -webkit-appearance: none; | 183 -webkit-appearance: none; |
| 180 border: 0; | 184 border: 0; |
| 181 border-radius: 0; | 185 border-radius: 0; |
| 182 padding: 0 15px 0 5px; | 186 padding: 0 15px 0 5px; |
| 183 margin-right: -10px; | 187 margin-right: -10px; |
| 184 position: relative; | 188 position: relative; |
| 185 } | 189 } |
| 186 | 190 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, | 492 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, |
| 489 .toolbar-state-active .block-toolbar-item.toolbar-glyph { | 493 .toolbar-state-active .block-toolbar-item.toolbar-glyph { |
| 490 background-color: rgb(216, 0, 0) !important; | 494 background-color: rgb(216, 0, 0) !important; |
| 491 } | 495 } |
| 492 | 496 |
| 493 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba
r-item.toolbar-glyph, | 497 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba
r-item.toolbar-glyph, |
| 494 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar
-item.toolbar-glyph, | 498 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar
-item.toolbar-glyph, |
| 495 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it
em.toolbar-glyph { | 499 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it
em.toolbar-glyph { |
| 496 background-color: hsl(0, 100%, 65%) !important; | 500 background-color: hsl(0, 100%, 65%) !important; |
| 497 } | 501 } |
| OLD | NEW |