| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 This in an HTML Import-able file that contains the definition | 6 This in an HTML Import-able file that contains the definition |
| 7 of the following elements: | 7 of the following elements: |
| 8 | 8 |
| 9 <swarming-app> | 9 <swarming-app> |
| 10 | 10 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 <dom-module id="swarming-app-style"> | 177 <dom-module id="swarming-app-style"> |
| 178 <style> | 178 <style> |
| 179 * { | 179 * { |
| 180 font-family: sans-serif; | 180 font-family: sans-serif; |
| 181 } | 181 } |
| 182 /* Only style anchor tags that are actually linking somewhere.*/ | 182 /* Only style anchor tags that are actually linking somewhere.*/ |
| 183 a[href] { | 183 a[href] { |
| 184 color: #1F78B4; | 184 color: #1F78B4; |
| 185 } | 185 } |
| 186 |
| 187 /* |
| 188 * A set of styles to make buttons and select/options look more Material |
| 189 * Design-ish. |
| 190 */ |
| 191 button { |
| 192 min-width: 5.14em; |
| 193 background-color: #fff; |
| 194 color: #1f78b4; |
| 195 text-align: center; |
| 196 text-transform: uppercase; |
| 197 outline: none; |
| 198 border-radius: 3px; |
| 199 padding: 0.6em 1.2em; |
| 200 border: solid lightgray 1px; |
| 201 margin: 0.6em; |
| 202 } |
| 203 |
| 204 button:hover { |
| 205 background: #eee; |
| 206 } |
| 207 |
| 208 button:focus { |
| 209 background-color: #ddd; |
| 210 transition: background-color 0.1s cubic-bezier(0.4, 0, 0.2, 1); |
| 211 } |
| 212 |
| 213 button:active, |
| 214 button.raised:active { |
| 215 background-color: #999; |
| 216 transition: background-color 0.1s cubic-bezier(0.4, 0, 0.2, 1); |
| 217 } |
| 218 |
| 219 button:disabled { |
| 220 color: #999; |
| 221 } |
| 222 |
| 223 button.action:active { |
| 224 background-color: #A6CEE3; |
| 225 transition: background-color 0.1s color 0.1s cubic-bezier(0.4, 0, 0.2, 1
); |
| 226 } |
| 227 |
| 228 button.action { |
| 229 color: white; |
| 230 background: #1f78b4; |
| 231 border: none; |
| 232 } |
| 233 |
| 234 button.action:disabled { |
| 235 color: white; |
| 236 background: #999; |
| 237 border: none; |
| 238 } |
| 239 |
| 240 button.raised { |
| 241 transition: box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1); |
| 242 box-shadow: 5px 5px 18px 0 rgba(0, 0, 0, 0.3); |
| 243 } |
| 244 |
| 245 button.raised:active { |
| 246 box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.1); |
| 247 } |
| 248 |
| 249 select, |
| 250 option { |
| 251 padding: 0.4em 1.2em; |
| 252 background-color: white; |
| 253 border: none; |
| 254 line-height: 20px; |
| 255 vertical-align: middle; |
| 256 } |
| 257 |
| 258 select { |
| 259 overflow-y: auto; |
| 260 } |
| 186 </style> | 261 </style> |
| 187 </dom-module> | 262 </dom-module> |
| OLD | NEW |