-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
146 lines (121 loc) · 2.96 KB
/
style.scss
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
// ============================================================================
// Styling for email input --- This is the SCSS version.
// The main HTML file references the COMPILED CSS VERSION, NOT THIS FILE.
//
// So if changes are made to this file, be sure to re-compile the CSS.
// ============================================================================
//** IMPORT GOOGLE FONTS REFERENCE
@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600';
// ============================================================================
// Styling for email input --- This is the SCSS version.
// The main HTML file references the COMPILED CSS VERSION, NOT THIS FILE.
//
// So if changes are made to this file, be sure to re-compile the CSS.
// ============================================================================
//** IMPORT GOOGLE FONTS REFERENCE
// @import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600';
//** variables
$background: #f5f6fa;
$text: #9c9c9c;
$input-bg-color: #fff;
$input-text-color: #a3a3a3;
$input-placeholder-text-color: rgba(#8091F1, 0.5);
$button-bg-color: #7f8ff4;
$button-text-color: #fff;
//** root
:root {
background: $background;
color: $text;
font: 1rem "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html,
body,
.container {
height: 100%;
}
a {
color: inherit;
&:hover {
color: $button-bg-color;
}
}
//** helper
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.uppercase {
// text-transform: uppercase;
text-transform: none;
}
//** button
.btn {
display: inline-block;
background: transparent;
color: inherit;
font: inherit;
border: 0;
// outline: 0;
padding: 0;
transition: all 200ms ease-in;
cursor: pointer;
&--primary {
background: $button-bg-color;
color: $button-text-color;
box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1);
border-radius: 2px;
padding: 12px 36px;
&:hover {
background: darken($button-bg-color, 4%);
}
&:active {
background: $button-bg-color;
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2);
}
&:focus {
background: rgba(darken($button-bg-color, 5%), 1);
outline: 0;
}
}
&--inside {
margin-left: -96px;
}
}
//** form
.form {
&__field {
// width: 360px;
width: 380px;
background: #fff;
color: $input-text-color;
font: inherit;
box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1);
border: 0;
// outline: 0;
padding: 22px 18px;
transition: all .4s;
&:hover {
background: darken($input-bg-color, 4%);
}
&:active {
}
&:focus {
outline: 0;
background: rgba(darken($button-bg-color, 5%), 0.05);
}
}
}
::-webkit-input-placeholder {
color: $input-placeholder-text-color;
}
:-moz-placeholder { /* Firefox 18- */
color: $input-placeholder-text-color;
}
::-moz-placeholder { /* Firefox 19+ */
color: $input-placeholder-text-color;
}
:-ms-input-placeholder {
color: $input-placeholder-text-color;
}