-
Notifications
You must be signed in to change notification settings - Fork 0
/
DSAReport.css
119 lines (102 loc) · 1.62 KB
/
DSAReport.css
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
html {
margin: 0;
padding: 0;
font-size: 62.5%;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
width: 100%;
word-break: break-word;
hyphens: auto;
}
h1 {
font-size: 3.2rem;
line-height: 3.6rem;
}
.reportFormContainer{
max-width: 80em;
width: 100%;
margin: auto;
padding: 0 2rem;
}
label {
display: block;
font-size: 1.8rem;
line-height: 2.2rem;
margin: 10px 0 5px;
}
.intro, #submit-result{
font-weight: bold;
font-size: 1.6rem;
line-height: 2.6rem;
margin-bottom: 3rem;
}
input[type=text],
input[type=email],
textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
input[type="checkbox"] {
margin: 0.4rem 0.7rem 0.5rem 0rem;
}
button.report-submit-button {
padding: 10px 20px;
border: none;
border-radius: 5px;
background: #175b96;
color: white;
cursor: pointer;
width: 100%;
margin: 2rem 0 2rem;
}
@media (min-width: 600px) {
button.report-submit-button {
max-width: 270px;
}
}
textarea {
overflow-y: hidden;
}
input.error, textarea.error {
border-color: red;
}
.error-message{
font-size: 1.6rem;
line-height: 2rem;
color: red;
margin-bottom: 2rem;
opacity: 0;
max-height: 0;
overflow: hidden;
transition: opacity 1.2s, max-height 2s;
visibility: hidden;
}
.error-message.show {
opacity: 1;
max-height: 10rem;
visibility: visible;
}
button.visually-disabled {
background-color: #ccc;
color: #666;
cursor: not-allowed;
}
.email-field {
display: none;
}
.checkbox-line{
display: flex;
align-items: start;
margin: 10px 0 5px;
}
.checkbox-line label{
margin: 0;
}
*, *::before, *::after {
box-sizing: border-box;
}