use better variant to deal with missing entries instead of error suppression to fix...
[authserver.git] / app / authsystem.css
CommitLineData
d26d08a1
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
4
133aecbe
RK
5body {
6 font-family: sans-serif;
7/* margin: 0; */
1e976489 8 padding-top: 5em; /* leave space for total height of h1: 4+1(r)em */
133aecbe 9}
d26d08a1 10
1e976489
RK
11h1 {
12 position: absolute;
13 top: 0;
14 left: 0;
15 right: 0;
16 margin: 0;
0315f165
RK
17 padding: 10px 0 0 130px; /* IE8 and older do not support rem */
18 padding: 1rem 0 0 130px;
1e976489
RK
19 height: 60px; /* IE8 and older do not support rem */
20 height: 4rem;
21 min-height: calc(70px - 1rem);
0315f165 22 font-size: 2em;
1e976489
RK
23 background-repeat: no-repeat;
24 background-position: 10px 50%;
0315f165
RK
25 overflow: hidden;
26}
27@media screen and (max-width: 550px) {
28 h1 {
29 font-size: 1.5em;
30 }
31}
32@media screen and (max-width: 375px) {
33 h1 {
34 font-size: 1.2em;
35 padding-left: 120px;
36 }
37}
38@media screen and (max-width: 325px) {
39 h1 {
40 padding-top: 0.5rem;
41 height: 4.5rem;
42 min-height: calc(70px - 0.5rem);
43 }
1e976489
RK
44}
45
d26d08a1
RK
46ul.flat {
47 list-style-type: none;
48 margin: 0em;
49 padding: 0px;
50}
51ul.flat li {
52 margin: 0 0 0.2em 0;
53 padding: 0px;
54}
55p.flat {
56 border: 0px;
57 margin: 0px;
58 padding: 0px;
59}
60form.flat {
61 border: 0px;
62 margin: 0px;
63 padding: 0px;
64}
65
ea0452ad
RK
66table.border {
67 border-spacing: 0px;
68 border-collapse: collapse;
69 empty-cells: show;
3f24953f
RK
70 border-width: 0;
71 border-left: 1px solid;
72 border-top: 1px solid;
ea0452ad
RK
73}
74table.border th, table.border td {
3f24953f
RK
75 border-width: 0;
76 border-bottom: 1px solid;
77 border-right: 1px solid;
ea0452ad
RK
78}
79table.border td {
80 padding-left: 3px;
81 padding-right: 3px;
82}
83
1e976489
RK
84.loginheader {
85 font-size: 1.2em;
86 font-weight: bold;
87 margin: 5px 10px 0; /* IE8 and older do not support rem */
88 margin: 0.5rem 1rem 0;
89}
90
60e46184
RK
91.loginheader > .groupmails {
92 font-weight: normal;
93 margin: 5px 0; /* IE8 and older do not support rem */
94 margin: 0.5rem 0;
95}
96
1e976489
RK
97.loginlinks {
98 margin: 5px 10px 0; /* IE8 and older do not support rem */
99 margin: 0.5rem 1rem 0;
100}
101
102.loginarea {
103 margin: 5px 10px 0; /* IE8 and older do not support rem */
104 margin: 0.5rem 1rem 0;
105}
106
107.resetinfo,
108.verifyinfo,
60e46184 109.addemailinfo,
b217e836
RK
110.newpwdinfo,
111.signinwelcome {
1e976489
RK
112 margin: 5px 10px 0; /* IE8 and older do not support rem */
113 margin: 0.5rem 1rem 0;
114}
115
116.resetinfo.done,
117.verifyinfo.done {
118 padding-left: 20px;
119 background-image: url("check.png");
120 background-repeat: no-repeat;
121 background-position: 0 50%;
122}
123
b217e836
RK
124.signinwelcome {
125 font-size: 1.2em;
126}
127
128.otheremaillinks > a {
b217e836
RK
129 text-decoration: none;
130 padding: .2em;
131 border-radius: 3px;
132}
b217e836 133
d26d08a1
RK
134.small {
135 font-size: 0.75em;
136}
137.hidden {
138 display: none;
139}
140.warn {
141 color: red;
142}
e876642c
RK
143.donotshow {
144 position: absolute;
145 right: -1000px;
146 opacity: 0;
147}
d26d08a1 148
0315f165
RK
149input,
150select {
151 font-size: .9em;
152}
153
154@media screen and (max-width: 375px) {
155 /* On smaller devices, make the form elements into larger touch targets. */
156 input,
157 select {
158 font-size: 1em;
159 padding-top: 0.5em;
160 padding-bottom: 0.5em;
161 }
162}
163
d26d08a1
RK
164input:invalid {
165 box-shadow: 0 0 2px 1px red;
166}