summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/me2mom/choice.css
blob: 2830c7e6a7788c189d5dcee36fb8feea0ca720c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* Elements */
a {
  color: rgb(0, 102, 204);
  text-decoration: none;
}

body {
  background: -webkit-gradient(radial, center center, 0, center center, 400,
                               from(rgb(254, 254, 254)),
                               to(rgb(239, 239, 239)));
  font-family: 'Droid sans', Arial, sans-serif;
  margin:0;
  padding:0;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

button {
  background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
  border: 1px solid #aaa;
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
}

button:hover {
  background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
  border-color: #999;
  color: #222;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

button:active {
  background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
  color: #333;
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
}

button[disabled], .button[disabled]:hover {
  background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
  border-color: #aaa;
  color: #888;
  -webkit-box-shadow: none;
}

h1 {
  font-size: 24px;
  font-weight: normal;
  margin-left: 10px;
}

label {
  color: black;
  font-weight: bold;
}

/* Classes */

.access-code-digit-group {
  /*
    Used for each of the four-digit components of the access code as
    displayed by the host.
  */
  padding: 0px 6px;
}

.auth-status-control {
  /* Class used to denote controls that affect authorization status. */
  margin: 10px auto auto 0px;
}

.auth-status-label {
  color: black;
  font-weight: bold;
}

.big-button {
  height: 2em;
  font-size: 16px;
  padding: 6px;
}

.centered-button {
  /*
    Used to force buttons to center correctly on Chrome due to a quirk
    with laying out buttons. http://crbug.com/84654

    TODO(ajwong): Either fix Chrome layout behavior, or if Chrome is actually
    conforming correctly to the standard, remove this comment.
  */
  text-align: center;
}

.choice-header {
  font-size: 24px;
  font-weight: normal;
  margin-left: 10px;
}

.choice-footer {
  font-size: 14px;
}

.choice-panel {
  margin-top: 17px;
  padding-bottom: 20px;
}

.client-element {
  /* Class used to denote client UI elements. */
}

.description {
  margin-bottom: 25px;
}

.display-inline {
  /*
    Class used to denote elements that should be displayed inline-block as
    opposed to block.
  */
}

.error-state {
  background-image: url('icon_warning.png');
  background-repeat: no-repeat;
  background-position: top left;
  padding-left: 30px;
  padding-top: 3px;
  color: #900;
  display: inline-block;
}

.expiring {
    color: #900 !important;
}

[hidden] {
  display: none !important;
}


.host-element {
  /* Class used to denote host UI elements. */
}

.icon-label {
  display: inline-block;
  vertical-align: top;
}

.message {
  text-align:center;
}

.mode {
  /*
    Class used to denote different modes of a given UI.
    e.g. "Connecting" is a mode of the client UI.
  */
}

.waiting {
  color: rgb(180, 180, 180);
}

/* Ids */
#control-panel {
  border-bottom: 2px solid gray;
  padding: 5px 10px;
}

#access-code-countdown-container {
  height: 50px;
  text-align: center;
}

#access-code-display {
  margin-top: 50px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}

#access-code-entry {
  font-weight: bold;
  font-size: 18px;
  height: 25px;
  margin: 0 10px;
  padding-left: 5px;
  width: 12em;
}

#access-code-entry-row {
  text-align: center;
}

#choice-mode {
  color: rgb(115, 115, 115);
  font-size: 16px;
  margin: 100px auto 0 auto;
  padding: 10px;
  width: 640px;
}

#cancel-button {
  float: right;
}

#client-footer-text, #host-footer-text {
  text-align: center;
}

#current-email {
  color: rgba(0, 0, 0, 0.5);
}

#divider-top {
  margin: 10px 0 15px 0;
}

#divider-bottom {
  margin: 25px 0 10px 0;
}

#email-status {
  margin-right: 0.5ex;
}

#icon {
  height: 64px;
  width: 64px;
}

#oauth2-entry {
  width: 400px;
}

#session-mode {
  overflow: auto;
  width: 100%;
  -webkit-user-select: none;
}

#session-status-msg {
  /*
    clear: both; forces the session-controls div to size appropriately for
    session-buttons.
  */
  clear: both;
  font-family: monospace;
  font-size: small;
  margin: 5px;
}

#server-response {
  font-weight: bolder;
}