forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_utilities.scss
executable file
·344 lines (288 loc) · 5.96 KB
/
_utilities.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
/*
*
* utilities
*
*/
.archive-panel {
padding: 10px 5px;
height: 100px;
width: 100%;
display: none;
}
.reading-time {
font-style: italic;
font-size: 12px;
display: block;
color: rgba(13, 86, 125, 0.55);
}
.break {
margin-bottom: 20px!important;
}
/*
*
* tables
*
*/
table {
border: 1px solid rgba(204, 204, 204, 0.29);
margin: 0 0 15px 0;
width: 100%;
}
table>tbody>tr:nth-of-type(even) {
background-color: #f7f7f7;
}
td,
th {
padding: 10px;
}
th,
td.th {
font-weight: bold;
padding: 7px 10px 7px 10px;
text-align: left;
}
thead {
background: $table-head;
}
i.fa.fa-indent,
i.fa.fa-outdent {
color: $white;
padding: 16px 15px 0 0;
font-size: 1.5rem;
opacity: 0.5;
}
.block {
padding: 0 15px 10px 15px;
}
/*
*
* Inline graphics and icons (like the whale menu icon in d4mac, d4win)
*
*/
img.inline {
display: inline;
}
/*
* Search *********************************************************************
*
*/
.search-form {
float: left;
margin: 5px 0 0;
// width: 200px;
& input[type=text] {
background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
color: #0C5176;
border-radius: 0;
margin: 0;
transition: all 0.2s ease;
width: 230px;
}
}
.nav-secondary-tabs .search-form input[type=search] {
background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
box-shadow: none;
color: #fff;
border-radius: 0;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
padding: 0 0 0 35px;
width: 100%;
}
.search-form input[type=text]:focus {
background: #fff;
box-shadow: 0;
}
input[type=text],
.nav-secondary-tabs.affix input[type=text] {
background: #10628e;
border: 0;
margin: 0;
}
.nav-secondary-tabs .search-form input[type=search]:focus {
background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
.nav-secondary-tabs.affix input[type=search],
input[type=text] {
background: rgba(0, 0, 0, 0.17) url(/images/search.png) no-repeat 10px 9px;
border: 1px solid transparent;
box-shadow: none;
transition: all 0.2s ease;
}
.nav-secondary input[type=search] {
background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
box-shadow: none;
color: #fff;
border-radius: 0;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
padding: 0 0 0 35px;
}
.nav-secondary .search-form input[type=search]:focus {
background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
.search-form input[type=search]::-webkit-input-placeholder {
color: #fff;
opacity: 1;
}
.search-form input[type=search]:-moz-placeholder {
/* Firefox 18- */
color: #fff;
opacity: 1;
}
.search-form input[type=search]::-moz-placeholder {
/* Firefox 19+ */
color: #fff;
opacity: 1;
}
.search-form input[type=search]:-ms-input-placeholder {
color: #fff;
opacity: 1;
}
// .search-form input[type=text]::-webkit-input-placeholder {
// color: #fff;
// }
// .search-form input[type=text]:-moz-placeholder {
// /* Firefox 18- */
// color: #fff;
// }
// .search-form input[type=text]::-moz-placeholder {
// /* Firefox 19+ */
// color: #fff;
// }
// .search-form input[type=text]:-ms-input-placeholder {
// color: #fff;
// }
/*
*
* autocompleteResults **********************************************************
*
*/
div#autocompleteResults {
display: none;
}
div#autocompleteResults {
background: #E6F5FD;
border: 1px solid #eee;
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.28);
padding: 20px 0 15px 0;
margin: 10px 0 0 0;
position: absolute;
width: 600px;
z-index: 9999;
}
ul.autocompleteList {
list-style: none;
max-width: 100%;
@include before-lg-width {
padding: 0;
}
}
.autocompleteList li {
padding: 5px 0 7px 0;
max-width: 100%;
}
div#autocompleteResults span {
background: transparent!important;
color: #518cad;
}
.autocompleteTitle {
font-weight: bold;
font-size: large;
}
.autocompleteSelected {
background-color: #f5f5f5;
}
.autocompleteList {
list-style-type: none;
width: 400px;
/* commented out 0 padding to allow inherit padding, search results on autocompleteList were getting smashed up against left margin due to this */
/* padding: 0; */
margin-bottom: 0;
}
.autoCompleteResult {
border-bottom: 1px solid rgba(203, 205, 209, 0.4);
padding: 15px;
&:hover {
cursor: pointer;
}
}
#autocompleteShowAll {
padding: 20px 15px;
}
.autocompleteList li {
width: 380px;
border: 0;
padding-right: 20px;
margin: 0;
}
/*
*
* google-Results **********************************************************
*
*/
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus {
display: none!important;
}
/*
*
* moved from temp css
*
*/
@media print
{
.footer
{
display: none !important;
}
.col-toc
{
display: none !important;
}
.col-nav
{
display: none !important;
}
.glyphicon-tags
{
display: none !important;
}
#ratings-div
{
display: none !important;
}
}
.alert-info {
border: 0 #bce8f1;
border-radius: 0;
background-color: #3F51B5!important;
text-align: center;
color: #fff;
margin-bottom: 0;
}
.alert-info ul {
list-style-type: none;
}
.close {
float: right;
font-size: 21px;
font-weight: 700;
line-height: 1;
color: #fffdfd;
text-shadow: 0 1px 0 #fff;
filter: alpha(opacity=20);
opacity: .2;
margin: 10px 15px 0 0;
}
/* Make table headings bold, give tables some breathing room */
.content table {
margin-top: 20px;
margin-bottom: 20px;
}