OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2011 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 /* Elements */ |
| 7 a { |
| 8 color: rgb(0, 102, 204); |
| 9 text-decoration: none; |
| 10 } |
| 11 |
| 12 |
| 13 body { |
| 14 background: -webkit-gradient(radial, center center, 0, center center, 400, |
| 15 from(rgb(254, 254, 254)), |
| 16 to(rgb(239, 239, 239))); |
| 17 font-family: Arial, sans-serif; |
| 18 margin:0; |
| 19 padding:0; |
| 20 } |
| 21 |
| 22 button { |
| 23 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 24 border: 1px solid #aaa; |
| 25 height: 2em; |
| 26 font-size: 16px; |
| 27 padding: .5em 1em; |
| 28 -webkit-border-radius: 2px; |
| 29 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); |
| 30 -webkit-user-select: none; |
| 31 } |
| 32 |
| 33 button:hover { |
| 34 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); |
| 35 border-color: #999; |
| 36 color: #222; |
| 37 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); |
| 38 } |
| 39 |
| 40 button:active { |
| 41 background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); |
| 42 color: #333; |
| 43 -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); |
| 44 } |
| 45 |
| 46 button[disabled], .button[disabled]:hover { |
| 47 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 48 border-color: #aaa; |
| 49 color: #888; |
| 50 -webkit-box-shadow: none; |
| 51 } |
| 52 |
| 53 footer { |
| 54 font-size: 14px; |
| 55 text-align: center; |
| 56 } |
| 57 |
| 58 header h1 { |
| 59 font-size: 24px; |
| 60 font-weight: normal; |
| 61 margin-left: 10px; |
| 62 } |
| 63 |
| 64 label { |
| 65 color: black; |
| 66 font-weight: bold; |
| 67 } |
| 68 |
| 69 section { |
| 70 margin-top: 17px; |
| 71 padding-bottom: 20px; |
| 72 } |
| 73 |
| 74 /* Classes */ |
| 75 |
| 76 .auth-status-control { |
| 77 /* Class used to denote controls that affect authorization status. */ |
| 78 } |
| 79 |
| 80 .centered-form { |
| 81 /* |
| 82 Used to force buttons to center correctly on Chrome due to bug laying out |
| 83 buttons. http://crbug.com/84654 |
| 84 When 84654 is fixed we can remove the forms that have this class that |
| 85 are wrapping our buttons. |
| 86 */ |
| 87 margin: 25px auto; |
| 88 display: table; |
| 89 } |
| 90 |
| 91 .client-element { |
| 92 /* Class used to denote client UI elements. */ |
| 93 } |
| 94 |
| 95 .description { |
| 96 margin-bottom: 25px; |
| 97 } |
| 98 |
| 99 .display-inline { |
| 100 /* |
| 101 Class used to denote elements that should be displayed inline as opposed |
| 102 to block. |
| 103 */ |
| 104 } |
| 105 |
| 106 .host-element { |
| 107 /* Class used to denote host UI elements. */ |
| 108 } |
| 109 |
| 110 .icon-label { |
| 111 display: inline-block; |
| 112 vertical-align: top; |
| 113 } |
| 114 |
| 115 .message { |
| 116 text-align:center; |
| 117 } |
| 118 |
| 119 .mode { |
| 120 /* |
| 121 Class used to denote different modes of a given UI. |
| 122 e.g. "Connecting" is a mode of the client UI. |
| 123 */ |
| 124 } |
| 125 |
| 126 /* Ids */ |
| 127 #auth-panel { |
| 128 border-bottom: 2px solid gray; |
| 129 padding: 5px 10px; |
| 130 } |
| 131 |
| 132 #access-code-display { |
| 133 background-color: lightgray; |
| 134 border-style: solid; |
| 135 font-size: 200%; |
| 136 margin: 0 auto 25px auto; |
| 137 padding: 0 4px 0 4px; |
| 138 text-align: center; |
| 139 width: 350px; |
| 140 } |
| 141 |
| 142 #access-code-entry { |
| 143 font-weight: bold; |
| 144 font-size: 18px; |
| 145 height: 25px; |
| 146 margin: 0 10px; |
| 147 padding-left: 5px; |
| 148 width: 12em; |
| 149 } |
| 150 |
| 151 #access-code-entry-row { |
| 152 text-align: center; |
| 153 } |
| 154 |
| 155 #main-panel { |
| 156 color: rgb(115, 115, 115); |
| 157 font-size: 16px; |
| 158 margin: 100px auto 0 auto; |
| 159 padding: 10px; |
| 160 width: 640px; |
| 161 } |
| 162 |
| 163 #current-email { |
| 164 color: rgba(0, 0, 0, 0.5); |
| 165 } |
| 166 |
| 167 #divider-top { |
| 168 margin: 10px 0 15px 0; |
| 169 } |
| 170 |
| 171 #divider-bottom { |
| 172 margin: 25px 0 10px 0; |
| 173 } |
| 174 |
| 175 #icon { |
| 176 height: 64px; |
| 177 width: 64px; |
| 178 } |
| 179 #oauth2-entry { |
| 180 display: inline-block; |
| 181 width: 400px; |
| 182 } |
| 183 |
| 184 #server-response { |
| 185 font-weight: bolder; |
| 186 } |
OLD | NEW |