| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 99 } |
| 100 | 100 |
| 101 .toolbar-has-glyph .toolbar-text { | 101 .toolbar-has-glyph .toolbar-text { |
| 102 margin-left: 0; | 102 margin-left: 0; |
| 103 } | 103 } |
| 104 | 104 |
| 105 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too
lbar-item) { | 105 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too
lbar-item) { |
| 106 font-weight: bold; | 106 font-weight: bold; |
| 107 } | 107 } |
| 108 | 108 |
| 109 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too
lbar-item).hover { | 109 .toolbar-render-as-links * { |
| 110 font-weight: initial; |
| 111 color: rgb(17, 85, 204); |
| 112 text-decoration: underline; |
| 113 cursor: pointer; |
| 114 } |
| 115 |
| 116 :not(.toolbar-render-as-links) .toolbar-button:not(.toolbar-has-glyph):not(.tool
bar-has-dropdown):not(.menu-toolbar-item).hover { |
| 110 background-color: #f3f3f3; | 117 background-color: #f3f3f3; |
| 111 } | 118 } |
| 112 | 119 |
| 113 .toolbar-glyph { | 120 .toolbar-glyph { |
| 114 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | 121 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); |
| 115 -webkit-mask-size: 352px 168px; | 122 -webkit-mask-size: 352px 168px; |
| 116 background-color: #5a5a5a; | 123 background-color: #5a5a5a; |
| 117 width: 28px; | 124 width: 28px; |
| 118 height: 24px; | 125 height: 24px; |
| 119 flex: none; | 126 flex: none; |
| 120 transform: translateX(-2px); | 127 transform: translateX(-2px); |
| 121 } | 128 } |
| 122 | 129 |
| 123 @media (-webkit-min-device-pixel-ratio: 1.5) { | 130 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 124 .toolbar-glyph { | 131 .toolbar-glyph { |
| 125 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | 132 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 126 } | 133 } |
| 127 } /* media */ | 134 } /* media */ |
| 128 | 135 |
| 129 /* Button */ | 136 /* Button */ |
| 130 | 137 |
| 131 .toolbar-button:disabled { | 138 .toolbar-button:disabled { |
| 132 opacity: 0.5; | 139 opacity: 0.5; |
| 133 } | 140 } |
| 134 | 141 |
| 135 .toolbar-button:enabled.hover:not(:active) .toolbar-glyph { | 142 :not(.toolbar-render-as-links) .toolbar-button:enabled.hover:not(:active) .toolb
ar-glyph { |
| 136 background-color: #333; | 143 background-color: #333; |
| 137 } | 144 } |
| 138 | 145 |
| 139 .toolbar-button:enabled.hover:not(:active) .toolbar-text { | 146 :not(.toolbar-render-as-links) .toolbar-button:enabled.hover:not(:active) .toolb
ar-text { |
| 140 color: #333; | 147 color: #333; |
| 141 } | 148 } |
| 142 | 149 |
| 143 .toolbar-button.toolbar-state-on .toolbar-glyph, | 150 .toolbar-button.toolbar-state-on .toolbar-glyph, |
| 144 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover:not(
:active), | 151 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover:not(
:active), |
| 145 .-theme-selection-color { | 152 .-theme-selection-color { |
| 146 background-color: hsl(218, 81%, 59%); | 153 background-color: hsl(218, 81%, 59%); |
| 147 } | 154 } |
| 148 | 155 |
| 149 .toolbar-button.toolbar-state-on .toolbar-text, | 156 .toolbar-button.toolbar-state-on .toolbar-text, |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, | 485 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, |
| 479 .toolbar-state-active .block-toolbar-item.toolbar-glyph { | 486 .toolbar-state-active .block-toolbar-item.toolbar-glyph { |
| 480 background-color: rgb(216, 0, 0) !important; | 487 background-color: rgb(216, 0, 0) !important; |
| 481 } | 488 } |
| 482 | 489 |
| 483 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba
r-item.toolbar-glyph, | 490 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba
r-item.toolbar-glyph, |
| 484 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar
-item.toolbar-glyph, | 491 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar
-item.toolbar-glyph, |
| 485 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it
em.toolbar-glyph { | 492 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it
em.toolbar-glyph { |
| 486 background-color: hsl(0, 100%, 65%) !important; | 493 background-color: hsl(0, 100%, 65%) !important; |
| 487 } | 494 } |
| OLD | NEW |