/
_general.scss
195 lines (166 loc) · 2.76 KB
/
_general.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
html {
position: relative;
height: 100%;
min-height: 100%;
}
body {
@include font-size(16, 30);
display: flex;
height: 100%;
font-family: $base-font-family;
flex-direction: column;
}
h1,
h2 {
font-family: $base-title-font-family;
font-weight: 300;
text-align: center;
}
.browserupgrade {
padding: .2em 0;
margin: .2em 0;
color: #000;
background: #ccc;
}
a,
a:hover,
a:focus {
font-weight: normal;
color: $color-link;
}
pre {
background-color: #f8f8f8;
}
code {
padding: 0 4px;
background-color: #f8f8f8;
}
.glyphicon {
position: relative;
top: 1px;
width: 14px;
height: 14px;
fill: currentColor;
}
.stat-icon {
float: left;
height: 45px;
margin-right: 10px;
fill: currentColor;
}
.collapsing {
transition-duration: .5s !important;
}
.alert {
margin-top: 20px;
margin-bottom: 0;
}
.form-error {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #a94442;
}
.form-input-error {
border-color: #a94442;
}
.help-block {
font-size: 14px;
}
input[type="checkbox"] {
margin-top: 2px;
}
.dropdown-menu {
// copied from bootstrap
li .btn-link {
display: block;
width: 100%; // custom
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333;
text-align: left; // custom
white-space: nowrap;
}
// copied from bootstrap
li .btn-link:hover,
li .btn-link:focus,
li > a:hover,
li > a:focus {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333;
text-decoration: none;
white-space: nowrap;
background-color: #f5f5f5;
}
li > a,
li .btn-link {
font-size: 16px;
}
}
.panel-body-part {
padding: 15px;
border-top: 1px solid #ddd;
h4 {
margin-top: 0;
}
}
.section-heading {
&:hover a.hover-link {
opacity: 1;
}
a.hover-link {
display: inline-block;
margin-left: -1.2em;
font-size: 16px;
color: #555;
border: 0;
opacity: 0;
transition: opacity .3s ease-in-out;
}
}
// Responsive: Portrait tablets and up
@include min-screen(768px) {
.container {
width: auto;
max-width: 1000px;
}
// Remove the padding we set earlier
.header,
.marketing,
.footer {
padding-right: 0;
padding-left: 0;
}
// Remove the bottom border on the jumbotron for visual effect
.jumbotron {
border-bottom: 0;
}
}
.read-only-mode {
padding: 10px;
font-size: 1.2em;
font-weight: bold;
color: #721c24;
background-color: #f8d7da;
}
.pull-left-non-mobile {
@media (min-width: 768px) {
float: left !important;
}
}
.form-label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: 700;
}
button.full-width {
width: 100%;
line-height: 2em;
}