-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
111 lines (98 loc) · 1.83 KB
/
styles.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
h1 {
color: #369;
font-family: Arial, Helvetica, sans-serif;
font-size: 250%;
}
body {
margin: 2em;
}
body {
background: #369;
}
h1, h2, h3 {
margin: 40px auto;
color: #fff;
letter-spacing: 3px;
}
h1 {font: 22px Helvetica; text-align: center;}
h2 {font: 20px Helvetica;}
h3 {font: 16px Helvetica; text-align: center;}
form {
display: table;
margin: 40px auto;
}
form label {
position: relative;
display: block;
}
form input {
font: 18px Helvetica, Arial, sans-serif;
box-sizing: border-box;
display: block;
border: none;
padding: 20px;
width: 300px;
margin-bottom: 20px;
font-size: 18px;
outline: none;
transition: all 0.2s ease-in-out;
}
form input::placeholder {
transition: all 0.2s ease-in-out;
color: #999;
font: 18px Helvetica, Arial, sans-serif;
}
form input:focus, form input.populated {
padding-top: 28px;
padding-bottom: 12px;
}
form input::placeholder {
color: transparent;
}
form input + span {
opacity: 1;
top: 10px;
}
form span {
color: #35dc9b;
font: 13px Helvetica, Arial, sans-serif;
position: absolute;
top: 0px;
left: 20px;
opacity: 0;
transition: all 0.2s ease-in-out;
}
input[type="submit"] {
transition: all 0.2s ease-in-out;
font: 18px Helvetica, Arial, sans-serif;
border: none;
background: #1aaf75;
color: #fff;
padding: 16px 40px;
cursor: pointer;
}
input[type="submit"]:hover {
background: #109f67;
}
button {
font-size: 14px;
padding: 8px;
cursor: pointer;
color: white;
background-color: #1aaf75;
border: 2px solid #1aaf75;
}
button[disabled] {
background-color: gray;
border: 2px solid gray;
}
section {
padding: 0 0 15px 15px;
}
/**************** Form ****************/
.ng-valid[required] {
border-left: 5px solid #42A948; /* green */
}
.ng-invalid {
border-left: 5px solid #a94442; /* red */
}