Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 html, div, span, body, ul, li { | |
| 7 border: 0; | |
| 8 margin: 0; | |
| 9 padding: 0; | |
| 10 font-family: "Arial", "Helvetica", sans-serif; | |
| 11 font-weight: normal; | |
| 12 /* Allows the user to move the window by dragging its content. */ | |
| 13 -webkit-app-region: drag; | |
| 14 } | |
| 15 | |
| 16 .header { | |
| 17 height: 46px; | |
| 18 background: #1c91c0; | |
| 19 padding: 15px; | |
| 20 } | |
| 21 | |
| 22 .header .title { | |
| 23 color: white; | |
| 24 float: left; | |
| 25 font-size: 24px; | |
| 26 line-height: 46px; | |
| 27 padding-left: 15px; | |
| 28 } | |
| 29 | |
| 30 .header .logo { | |
| 31 float: left; | |
| 32 height: 46px; | |
| 33 width: 46px; | |
| 34 background: url('icon_hangout.webp'); | |
| 35 } | |
| 36 | |
| 37 .content { | |
| 38 text-align: center; | |
| 39 margin: auto; | |
| 40 width: 70%; | |
| 41 } | |
|
Jamie
2015/02/02 19:07:40
Blank line here, please.
kelvinp
2015/02/03 01:15:32
Done.
| |
| 42 .content .message { | |
| 43 padding: 30px; | |
| 44 font-size: 20px; | |
| 45 } | |
| 46 | |
| 47 .content ul { | |
| 48 list-style: none; | |
| 49 border-width: 0px 0px 1px 0px; | |
| 50 border-style: solid; | |
| 51 border-color: #f0f0f0; | |
| 52 } | |
| 53 | |
| 54 .content li { | |
| 55 border-width: 1px 0px 0px 0px; | |
| 56 border-style: solid; | |
| 57 border-color: #f0f0f0; | |
| 58 padding: 15px; | |
| 59 text-align: left; | |
| 60 font-size: 14px; | |
| 61 } | |
| 62 | |
| 63 .button { | |
| 64 padding: 0px 20px; | |
| 65 border: 1px solid #f0f0f0; | |
| 66 border-radius: 5px; | |
| 67 font-size: 14px; | |
| 68 font-weight: bold; | |
| 69 line-height: 36px; | |
| 70 color: #737373; | |
| 71 -webkit-app-region: no-drag; | |
| 72 } | |
| 73 | |
| 74 .footer { | |
| 75 padding-top: 30px; | |
| 76 padding-bottom: 30px; | |
| 77 /* Clear the float of its children. */ | |
| 78 overflow: auto; | |
| 79 width: 100% | |
| 80 } | |
|
Jamie
2015/02/02 19:07:40
And here.
kelvinp
2015/02/03 01:15:32
Done.
| |
| 81 .button.default { | |
| 82 background: #427fed; | |
| 83 color: white; | |
| 84 } | |
| 85 | |
| 86 .button:hover { | |
| 87 border-color: #cecece; | |
| 88 } | |
| 89 | |
| 90 .button.default:active { | |
| 91 background: #2c56b1; | |
| 92 } | |
| 93 | |
| 94 .ok-button { | |
| 95 float: right; | |
| 96 margin-left: 10px; | |
| 97 } | |
| 98 | |
| 99 .cancel-button { | |
| 100 float: right; | |
| 101 } | |
| 102 | |
| 103 [hidden] { | |
| 104 display: none !important; | |
|
Jamie
2015/02/02 19:07:39
Do you need this? I don't see any other rules that
kelvinp
2015/02/03 01:15:32
This is how the CRD app hides elements using JavaS
Jamie
2015/02/03 18:22:44
Isn't that the default though? IIRC, we need this
kelvinp
2015/02/03 19:31:45
I see. I think using element.hidden is a chrome s
| |
| 105 } | |
| OLD | NEW |