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
|
/*
* Copyright (c) 2017 ThoughtWorks, Inc.
*
* Pixelated is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Pixelated is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
*/
@import "~scss/vendor/reset";
@import "~scss/base/colors";
@import "~scss/base/fonts";
html, body, #root {
height: 100%;
}
body, #root {
min-height: 100%;
}
a {
text-decoration: none;
}
.container {
background: $white;
margin: 3% auto;
box-shadow: 0 2px 3px 0 $shadow;
width: 84%;
padding: 6% 5%;
}
.page {
font-family: "Open Sans", "Microsoft YaHei", "Hiragino Sans GB", "Hiragino Sans GB W3", "微软雅黑", "Helvetica Neue", Arial, sans-serif;
background: $dark_blue; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(left top, $dark_blue, $middle_blue); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(bottom right, $dark_blue, $middle_blue); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(bottom right, $dark_blue, $middle_blue); /* For Firefox 3.6 to 15 */
background: linear-gradient(to bottom right, $dark_blue, $middle_blue); /* Standard syntax */
color: $dark_grey_text;
min-height: 100%;
display: flex;
flex-direction: column;
}
section {
flex: 1 0 auto;
}
h1 {
font-size: 1.3em;
font-weight: 600;
}
p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.account-recovery-form {
display: flex;
flex-direction: column;
.account-recovery-progress {
align-self: center;
width: 100%;
}
.input-field-group {
margin-top: 0;
}
}
@media only screen and (min-width : 500px) {
body {
font-size: 1.3em;
}
.account-recovery-form {
align-items: center;
.account-recovery-progress {
margin-bottom: 1.4em;
width: 80%;
}
h1 {
width: 80%;
}
}
}
@media only screen and (min-width : 960px) {
.container {
width: 60%;
max-width: 700px;
padding: 3em;
}
.account-recovery-form {
h1 {
max-width: 80%;
width: auto;
}
.input-field-group, .submit-button {
width: 60%;
align-self: center;
}
}
}
|