| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 html { | 5 html { |
| 6 height: 100%; | 6 height: 100%; |
| 7 } | 7 } |
| 8 | 8 |
| 9 html.col-resize * { | 9 html.col-resize * { |
| 10 cursor: col-resize !important; | 10 cursor: col-resize !important; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 body[new-ui] .scrollbar-vertical > .scrollbar-button:hover { | 73 body[new-ui] .scrollbar-vertical > .scrollbar-button:hover { |
| 74 opacity: 0.4; | 74 opacity: 0.4; |
| 75 } | 75 } |
| 76 | 76 |
| 77 body[new-ui] .scrollbar-vertical > .scrollbar-button.pressed { | 77 body[new-ui] .scrollbar-vertical > .scrollbar-button.pressed { |
| 78 opacity: 0.5; | 78 opacity: 0.5; |
| 79 } | 79 } |
| 80 | 80 |
| 81 #butter-bar-container { | 81 body:not([new-ui]) #butter-bar-container { |
| 82 -webkit-box-pack: center; | 82 -webkit-box-pack: center; |
| 83 display: -webkit-box; | 83 display: -webkit-box; |
| 84 left: 0; | 84 left: 0; |
| 85 pointer-events: none; | 85 pointer-events: none; |
| 86 position: absolute; | 86 position: absolute; |
| 87 top: 0; | 87 top: 0; |
| 88 width: 100%; | 88 width: 100%; |
| 89 z-index: 3; | 89 z-index: 3; |
| 90 } | 90 } |
| 91 | 91 |
| 92 #butter-bar { | 92 body[new-ui] #butter-bar-container { |
| 93 width: 100%; |
| 94 } |
| 95 |
| 96 body:not([new-ui]) #butter-bar { |
| 93 -webkit-border-radius: 2px; | 97 -webkit-border-radius: 2px; |
| 94 -webkit-box-align: center; | 98 -webkit-box-align: center; |
| 95 -webkit-box-orient: horizontal; | 99 -webkit-box-orient: horizontal; |
| 96 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | 100 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 97 -webkit-transition: opacity 130ms; | 101 -webkit-transition: opacity 130ms; |
| 98 background-color: #e3e3e3; | 102 background-color: #e3e3e3; |
| 99 border: 1px solid #d4d4d4; | 103 border: 1px solid #d4d4d4; |
| 100 border-top-width: 0; | 104 border-top-width: 0; |
| 101 color: #222; | 105 color: #222; |
| 102 display: -webkit-box; | 106 display: -webkit-box; |
| 103 margin-top: 2px; | 107 margin-top: 2px; |
| 104 max-width: 340px; | 108 max-width: 340px; |
| 105 min-width: 200px; | 109 min-width: 200px; |
| 106 padding: 0 1em; | 110 padding: 0 1em; |
| 107 pointer-events: auto; | 111 pointer-events: auto; |
| 108 top: 1px; | 112 top: 1px; |
| 109 width: 30%; | 113 width: 30%; |
| 110 z-index: 2; | 114 z-index: 2; |
| 111 } | 115 } |
| 112 | 116 |
| 113 body[new-ui] #butter-bar { | 117 body[new-ui] #butter-bar { |
| 114 -webkit-app-region: no-drag; | 118 color: #666; |
| 119 display: -webkit-box; |
| 120 padding: 15px; |
| 115 } | 121 } |
| 116 | 122 |
| 117 #butter-bar:not(.visible) { | 123 #butter-bar:not(.visible) { |
| 118 opacity: 0; | 124 opacity: 0; |
| 119 pointer-events: none; | 125 pointer-events: none; |
| 120 } | 126 } |
| 121 | 127 |
| 128 body[new-ui] #butter-bar:not(.visible) { |
| 129 display: none; |
| 130 } |
| 131 |
| 122 #butter-bar .content { | 132 #butter-bar .content { |
| 123 -webkit-box-flex: 1.0; | 133 -webkit-box-flex: 1.0; |
| 124 -webkit-box-orient: block-axis; | 134 -webkit-box-orient: block-axis; |
| 125 -webkit-box-pack: center; | 135 -webkit-box-pack: center; |
| 126 display: -webkit-box; | 136 display: -webkit-box; |
| 127 min-height: 35px; | 137 min-height: 35px; |
| 128 } | 138 } |
| 129 | 139 |
| 140 body[new-ui] #butter-bar .content { |
| 141 -webkit-box-pack: end; |
| 142 min-height: 0; |
| 143 } |
| 144 |
| 130 #butter-bar .actions { | 145 #butter-bar .actions { |
| 131 -webkit-box-align: center; | 146 -webkit-box-align: center; |
| 132 -webkit-box-orient: horizontal; | 147 -webkit-box-orient: horizontal; |
| 133 -webkit-box-pack: end; | 148 -webkit-box-pack: end; |
| 134 -webkit-margin-start: 6px; | 149 -webkit-margin-start: 6px; |
| 135 display: -webkit-box; | 150 display: -webkit-box; |
| 136 } | 151 } |
| 137 | 152 |
| 153 body[new-ui] #butter-bar .actions { |
| 154 -webkit-box-align: end; |
| 155 } |
| 156 |
| 138 #butter-bar .actions a { | 157 #butter-bar .actions a { |
| 139 color: rgb(17, 85, 204); | 158 color: rgb(17, 85, 204); |
| 140 cursor: pointer; | 159 cursor: pointer; |
| 141 vertical-align: middle; | 160 vertical-align: middle; |
| 142 } | 161 } |
| 143 | 162 |
| 144 #butter-bar .actions a.x { | 163 #butter-bar .actions a.x { |
| 145 background: center center no-repeat; | 164 background: center center no-repeat; |
| 146 background-image: -webkit-image-set( | 165 background-image: -webkit-image-set( |
| 147 url('../images/files/ui/close_bar.png') 1x, | 166 url('../images/files/ui/close_bar.png') 1x, |
| 148 url('../images/files/ui/2x/close_bar.png') 2x); | 167 url('../images/files/ui/2x/close_bar.png') 2x); |
| 149 display: inline-block; | 168 display: inline-block; |
| 150 height: 35px; /* #butter-bar .content's min-height. */ | 169 height: 35px; /* #butter-bar .content's min-height. */ |
| 151 margin-right: -12px; | 170 margin-right: -12px; |
| 152 width: 35px; | 171 width: 35px; |
| 153 } | 172 } |
| 154 | 173 |
| 155 #butter-bar .actions a.x:first-child { | 174 #butter-bar .actions a.x:first-child { |
| 156 margin-left: -6px; | 175 margin-left: -6px; |
| 157 } | 176 } |
| 158 | 177 |
| 178 body[new-ui] #butter-bar .actions a.x { |
| 179 margin-bottom: -14px; |
| 180 } |
| 181 |
| 159 #butter-bar.error { | 182 #butter-bar.error { |
| 160 background-color: rgba(221, 75, 57, 0.2); | 183 background-color: rgba(221, 75, 57, 0.2); |
| 161 } | 184 } |
| 162 | 185 |
| 163 #butter-bar .butter-message.single-line { | 186 #butter-bar .butter-message.single-line { |
| 164 overflow: hidden; | 187 overflow: hidden; |
| 165 text-overflow: ellipsis; | 188 text-overflow: ellipsis; |
| 166 white-space: nowrap; | 189 white-space: nowrap; |
| 167 } | 190 } |
| 168 | 191 |
| 169 #butter-bar .progress-track { | 192 body[new-ui] #butter-bar .butter-message.single-line { |
| 193 line-height: 2.0; |
| 194 } |
| 195 |
| 196 body:not([new-ui]) #butter-bar .progress-track { |
| 170 height: 5px; | 197 height: 5px; |
| 171 } | 198 } |
| 172 | 199 |
| 173 /* The top title of the dialog. */ | 200 /* The top title of the dialog. */ |
| 174 .dialog-title { | 201 .dialog-title { |
| 175 -webkit-box-sizing: border-box; | 202 -webkit-box-sizing: border-box; |
| 176 -webkit-padding-start: 15px; | 203 -webkit-padding-start: 15px; |
| 177 background-image: -webkit-linear-gradient(top, #fff, #f6f6f6); | 204 background-image: -webkit-linear-gradient(top, #fff, #f6f6f6); |
| 178 border-bottom: 1px rgb(214, 217, 227) solid; | 205 border-bottom: 1px rgb(214, 217, 227) solid; |
| 179 color: rgb(66, 80, 108); | 206 color: rgb(66, 80, 108); |
| (...skipping 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 } | 2013 } |
| 1987 | 2014 |
| 1988 list.autocomplete-suggestions[hasElementFocus] > [selected], | 2015 list.autocomplete-suggestions[hasElementFocus] > [selected], |
| 1989 list.autocomplete-suggestions[hasElementFocus] > [lead], | 2016 list.autocomplete-suggestions[hasElementFocus] > [lead], |
| 1990 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], | 2017 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], |
| 1991 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { | 2018 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { |
| 1992 background-color: rgb(238, 238, 238); | 2019 background-color: rgb(238, 238, 238); |
| 1993 background-image: none; | 2020 background-image: none; |
| 1994 border: 1px solid white; | 2021 border: 1px solid white; |
| 1995 } | 2022 } |
| OLD | NEW |