vv5cv 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +138 -0
- data/_includes/colorpicker.html +7 -0
- data/_includes/head.html +13 -0
- data/_includes/icon-at.svg +4 -0
- data/_includes/icon-globe.svg +4 -0
- data/_includes/icon-marker.svg +4 -0
- data/_includes/icon-phone.svg +4 -0
- data/_includes/zone-languages.html +27 -0
- data/_includes/zone-otherskills.html +22 -0
- data/_includes/zone-profile.html +32 -0
- data/_includes/zone-software.html +20 -0
- data/_layouts/default.html +10 -0
- data/_layouts/home.html +27 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +5 -0
- data/_sass/_bootstrap-grid.scss +37 -0
- data/_sass/_bootstrap-reboot.scss +9 -0
- data/_sass/_bootstrap.scss +41 -0
- data/_sass/_custom.scss +123 -0
- data/_sass/_fonts.scss +1 -0
- data/_sass/_variables.scss +33 -0
- data/_sass/bootstrap/_alert.scss +48 -0
- data/_sass/bootstrap/_badge.scss +48 -0
- data/_sass/bootstrap/_breadcrumb.scss +38 -0
- data/_sass/bootstrap/_button-group.scss +198 -0
- data/_sass/bootstrap/_buttons.scss +141 -0
- data/_sass/bootstrap/_card.scss +223 -0
- data/_sass/bootstrap/_carousel.scss +185 -0
- data/_sass/bootstrap/_close.scss +29 -0
- data/_sass/bootstrap/_code.scss +64 -0
- data/_sass/bootstrap/_custom-forms.scss +254 -0
- data/_sass/bootstrap/_dropdown.scss +128 -0
- data/_sass/bootstrap/_forms.scss +390 -0
- data/_sass/bootstrap/_functions.scss +90 -0
- data/_sass/bootstrap/_grid.scss +53 -0
- data/_sass/bootstrap/_images.scss +43 -0
- data/_sass/bootstrap/_input-group.scss +176 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +114 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +41 -0
- data/_sass/bootstrap/_modal.scss +142 -0
- data/_sass/bootstrap/_nav.scss +118 -0
- data/_sass/bootstrap/_navbar.scss +284 -0
- data/_sass/bootstrap/_pagination.scss +66 -0
- data/_sass/bootstrap/_popover.scss +195 -0
- data/_sass/bootstrap/_print.scss +111 -0
- data/_sass/bootstrap/_progress.scss +32 -0
- data/_sass/bootstrap/_reboot.scss +481 -0
- data/_sass/bootstrap/_tables.scss +168 -0
- data/_sass/bootstrap/_tooltip.scss +107 -0
- data/_sass/bootstrap/_transitions.scss +34 -0
- data/_sass/bootstrap/_type.scss +123 -0
- data/_sass/bootstrap/_utilities.scss +14 -0
- data/_sass/bootstrap/_variables.scss +839 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_badge.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +105 -0
- data/_sass/bootstrap/mixins/_buttons.scss +83 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +9 -0
- data/_sass/bootstrap/mixins/_forms.scss +81 -0
- data/_sass/bootstrap/mixins/_gradients.scss +37 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +56 -0
- data/_sass/bootstrap/mixins/_grid.scss +47 -0
- data/_sass/bootstrap/mixins/_hover.scss +60 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +26 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_navbar-align.scss +9 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +35 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +30 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +8 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +9 -0
- data/_sass/bootstrap/mixins/_visibility.scss +5 -0
- data/_sass/bootstrap/utilities/_align.scss +6 -0
- data/_sass/bootstrap/utilities/_background.scss +6 -0
- data/_sass/bootstrap/utilities/_borders.scss +52 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +53 -0
- data/_sass/bootstrap/utilities/_embed.scss +52 -0
- data/_sass/bootstrap/utilities/_flex.scss +44 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_position.scss +25 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_sizing.scss +10 -0
- data/_sass/bootstrap/utilities/_spacing.scss +41 -0
- data/_sass/bootstrap/utilities/_text.scss +49 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/icons/android.svg +1 -0
- data/assets/icons/angular.svg +1 -0
- data/assets/icons/apple.svg +1 -0
- data/assets/icons/freebsd.svg +1 -0
- data/assets/icons/github.svg +1 -0
- data/assets/icons/line.svg +1 -0
- data/assets/icons/playstation.svg +1 -0
- data/assets/icons/slack.svg +1 -0
- data/assets/main.scss +10 -0
- metadata +183 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
.close {
|
2
|
+
float: right;
|
3
|
+
font-size: $close-font-size;
|
4
|
+
font-weight: $close-font-weight;
|
5
|
+
line-height: 1;
|
6
|
+
color: $close-color;
|
7
|
+
text-shadow: $close-text-shadow;
|
8
|
+
opacity: .5;
|
9
|
+
|
10
|
+
@include hover-focus {
|
11
|
+
color: $close-color;
|
12
|
+
text-decoration: none;
|
13
|
+
opacity: .75;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
// Additional properties for button version
|
18
|
+
// iOS requires the button element instead of an anchor tag.
|
19
|
+
// If you want the anchor version, it requires `href="#"`.
|
20
|
+
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
21
|
+
|
22
|
+
// scss-lint:disable QualifyingElement
|
23
|
+
button.close {
|
24
|
+
padding: 0;
|
25
|
+
background: transparent;
|
26
|
+
border: 0;
|
27
|
+
-webkit-appearance: none;
|
28
|
+
}
|
29
|
+
// scss-lint:enable QualifyingElement
|
@@ -0,0 +1,64 @@
|
|
1
|
+
// Inline and block code styles
|
2
|
+
code,
|
3
|
+
kbd,
|
4
|
+
pre,
|
5
|
+
samp {
|
6
|
+
font-family: $font-family-monospace;
|
7
|
+
}
|
8
|
+
|
9
|
+
// Inline code
|
10
|
+
code {
|
11
|
+
padding: $code-padding-y $code-padding-x;
|
12
|
+
font-size: $code-font-size;
|
13
|
+
color: $code-color;
|
14
|
+
background-color: $code-bg;
|
15
|
+
@include border-radius($border-radius);
|
16
|
+
|
17
|
+
// Streamline the style when inside anchors to avoid broken underline and more
|
18
|
+
a > & {
|
19
|
+
padding: 0;
|
20
|
+
color: inherit;
|
21
|
+
background-color: inherit;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// User input typically entered via keyboard
|
26
|
+
kbd {
|
27
|
+
padding: $code-padding-y $code-padding-x;
|
28
|
+
font-size: $code-font-size;
|
29
|
+
color: $kbd-color;
|
30
|
+
background-color: $kbd-bg;
|
31
|
+
@include border-radius($border-radius-sm);
|
32
|
+
@include box-shadow($kbd-box-shadow);
|
33
|
+
|
34
|
+
kbd {
|
35
|
+
padding: 0;
|
36
|
+
font-size: 100%;
|
37
|
+
font-weight: $nested-kbd-font-weight;
|
38
|
+
@include box-shadow(none);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// Blocks of code
|
43
|
+
pre {
|
44
|
+
display: block;
|
45
|
+
margin-top: 0;
|
46
|
+
margin-bottom: 1rem;
|
47
|
+
font-size: $code-font-size;
|
48
|
+
color: $pre-color;
|
49
|
+
|
50
|
+
// Account for some code outputs that place code tags in pre tags
|
51
|
+
code {
|
52
|
+
padding: 0;
|
53
|
+
font-size: inherit;
|
54
|
+
color: inherit;
|
55
|
+
background-color: transparent;
|
56
|
+
border-radius: 0;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
// Enable scrollable blocks of code
|
61
|
+
.pre-scrollable {
|
62
|
+
max-height: $pre-scrollable-max-height;
|
63
|
+
overflow-y: scroll;
|
64
|
+
}
|
@@ -0,0 +1,254 @@
|
|
1
|
+
// scss-lint:disable PropertyCount, VendorPrefix
|
2
|
+
|
3
|
+
// Embedded icons from Open Iconic.
|
4
|
+
// Released under MIT and copyright 2014 Waybury.
|
5
|
+
// https://useiconic.com/open
|
6
|
+
|
7
|
+
|
8
|
+
// Checkboxes and radios
|
9
|
+
//
|
10
|
+
// Base class takes care of all the key behavioral aspects.
|
11
|
+
|
12
|
+
.custom-control {
|
13
|
+
position: relative;
|
14
|
+
display: inline-flex;
|
15
|
+
min-height: (1rem * $line-height-base);
|
16
|
+
padding-left: $custom-control-gutter;
|
17
|
+
margin-right: $custom-control-spacer-x;
|
18
|
+
}
|
19
|
+
|
20
|
+
.custom-control-input {
|
21
|
+
position: absolute;
|
22
|
+
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
23
|
+
opacity: 0;
|
24
|
+
|
25
|
+
&:checked ~ .custom-control-indicator {
|
26
|
+
color: $custom-control-indicator-checked-color;
|
27
|
+
background-color: $custom-control-indicator-checked-bg;
|
28
|
+
@include box-shadow($custom-control-indicator-checked-box-shadow);
|
29
|
+
}
|
30
|
+
|
31
|
+
&:focus ~ .custom-control-indicator {
|
32
|
+
// the mixin is not used here to make sure there is feedback
|
33
|
+
box-shadow: $custom-control-indicator-focus-box-shadow;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:active ~ .custom-control-indicator {
|
37
|
+
color: $custom-control-indicator-active-color;
|
38
|
+
background-color: $custom-control-indicator-active-bg;
|
39
|
+
@include box-shadow($custom-control-indicator-active-box-shadow);
|
40
|
+
}
|
41
|
+
|
42
|
+
&:disabled {
|
43
|
+
~ .custom-control-indicator {
|
44
|
+
background-color: $custom-control-indicator-disabled-bg;
|
45
|
+
}
|
46
|
+
|
47
|
+
~ .custom-control-description {
|
48
|
+
color: $custom-control-description-disabled-color;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
// Custom indicator
|
54
|
+
//
|
55
|
+
// Generates a shadow element to create our makeshift checkbox/radio background.
|
56
|
+
|
57
|
+
.custom-control-indicator {
|
58
|
+
position: absolute;
|
59
|
+
top: (($line-height-base - $custom-control-indicator-size) / 2);
|
60
|
+
left: 0;
|
61
|
+
display: block;
|
62
|
+
width: $custom-control-indicator-size;
|
63
|
+
height: $custom-control-indicator-size;
|
64
|
+
pointer-events: none;
|
65
|
+
user-select: none;
|
66
|
+
background-color: $custom-control-indicator-bg;
|
67
|
+
background-repeat: no-repeat;
|
68
|
+
background-position: center center;
|
69
|
+
background-size: $custom-control-indicator-bg-size;
|
70
|
+
@include box-shadow($custom-control-indicator-box-shadow);
|
71
|
+
}
|
72
|
+
|
73
|
+
// Checkboxes
|
74
|
+
//
|
75
|
+
// Tweak just a few things for checkboxes.
|
76
|
+
|
77
|
+
.custom-checkbox {
|
78
|
+
.custom-control-indicator {
|
79
|
+
@include border-radius($custom-checkbox-indicator-border-radius);
|
80
|
+
}
|
81
|
+
|
82
|
+
.custom-control-input:checked ~ .custom-control-indicator {
|
83
|
+
background-image: $custom-checkbox-indicator-icon-checked;
|
84
|
+
}
|
85
|
+
|
86
|
+
.custom-control-input:indeterminate ~ .custom-control-indicator {
|
87
|
+
background-color: $custom-checkbox-indicator-indeterminate-bg;
|
88
|
+
background-image: $custom-checkbox-indicator-icon-indeterminate;
|
89
|
+
@include box-shadow($custom-checkbox-indicator-indeterminate-box-shadow);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// Radios
|
94
|
+
//
|
95
|
+
// Tweak just a few things for radios.
|
96
|
+
|
97
|
+
.custom-radio {
|
98
|
+
.custom-control-indicator {
|
99
|
+
border-radius: $custom-radio-indicator-border-radius;
|
100
|
+
}
|
101
|
+
|
102
|
+
.custom-control-input:checked ~ .custom-control-indicator {
|
103
|
+
background-image: $custom-radio-indicator-icon-checked;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
// Layout options
|
109
|
+
//
|
110
|
+
// By default radios and checkboxes are `inline-block` with no additional spacing
|
111
|
+
// set. Use these optional classes to tweak the layout.
|
112
|
+
|
113
|
+
.custom-controls-stacked {
|
114
|
+
display: flex;
|
115
|
+
flex-direction: column;
|
116
|
+
|
117
|
+
.custom-control {
|
118
|
+
margin-bottom: $custom-control-spacer-y;
|
119
|
+
|
120
|
+
+ .custom-control {
|
121
|
+
margin-left: 0;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
// Select
|
128
|
+
//
|
129
|
+
// Replaces the browser default select with a custom one, mostly pulled from
|
130
|
+
// http://primercss.io.
|
131
|
+
//
|
132
|
+
|
133
|
+
.custom-select {
|
134
|
+
display: inline-block;
|
135
|
+
max-width: 100%;
|
136
|
+
height: $input-height;
|
137
|
+
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
|
138
|
+
line-height: $custom-select-line-height;
|
139
|
+
color: $custom-select-color;
|
140
|
+
vertical-align: middle;
|
141
|
+
background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center;
|
142
|
+
background-size: $custom-select-bg-size;
|
143
|
+
border: $custom-select-border-width solid $custom-select-border-color;
|
144
|
+
@if $enable-rounded {
|
145
|
+
border-radius: $custom-select-border-radius;
|
146
|
+
} @else {
|
147
|
+
border-radius: 0;
|
148
|
+
}
|
149
|
+
appearance: none;
|
150
|
+
|
151
|
+
&:focus {
|
152
|
+
border-color: $custom-select-focus-border-color;
|
153
|
+
outline: none;
|
154
|
+
@include box-shadow($custom-select-focus-box-shadow);
|
155
|
+
|
156
|
+
&::-ms-value {
|
157
|
+
// For visual consistency with other platforms/browsers,
|
158
|
+
// supress the default white text on blue background highlight given to
|
159
|
+
// the selected option text when the (still closed) <select> receives focus
|
160
|
+
// in IE and (under certain conditions) Edge.
|
161
|
+
// See https://github.com/twbs/bootstrap/issues/19398.
|
162
|
+
color: $input-color;
|
163
|
+
background-color: $input-bg;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
&:disabled {
|
168
|
+
color: $custom-select-disabled-color;
|
169
|
+
background-color: $custom-select-disabled-bg;
|
170
|
+
}
|
171
|
+
|
172
|
+
// Hides the default caret in IE11
|
173
|
+
&::-ms-expand {
|
174
|
+
opacity: 0;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
.custom-select-sm {
|
179
|
+
height: $custom-select-height-sm;
|
180
|
+
padding-top: $custom-select-padding-y;
|
181
|
+
padding-bottom: $custom-select-padding-y;
|
182
|
+
font-size: $custom-select-font-size-sm;
|
183
|
+
}
|
184
|
+
|
185
|
+
|
186
|
+
// File
|
187
|
+
//
|
188
|
+
// Custom file input.
|
189
|
+
|
190
|
+
.custom-file {
|
191
|
+
position: relative;
|
192
|
+
display: inline-block;
|
193
|
+
max-width: 100%;
|
194
|
+
height: $custom-file-height;
|
195
|
+
margin-bottom: 0;
|
196
|
+
}
|
197
|
+
|
198
|
+
.custom-file-input {
|
199
|
+
min-width: $custom-file-width;
|
200
|
+
max-width: 100%;
|
201
|
+
height: $custom-file-height;
|
202
|
+
margin: 0;
|
203
|
+
opacity: 0;
|
204
|
+
|
205
|
+
&:focus ~ .custom-file-control {
|
206
|
+
@include box-shadow($custom-file-focus-box-shadow);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
.custom-file-control {
|
211
|
+
position: absolute;
|
212
|
+
top: 0;
|
213
|
+
right: 0;
|
214
|
+
left: 0;
|
215
|
+
z-index: 5;
|
216
|
+
height: $custom-file-height;
|
217
|
+
padding: $custom-file-padding-x $custom-file-padding-y;
|
218
|
+
line-height: $custom-file-line-height;
|
219
|
+
color: $custom-file-color;
|
220
|
+
pointer-events: none;
|
221
|
+
user-select: none;
|
222
|
+
background-color: $custom-file-bg;
|
223
|
+
border: $custom-file-border-width solid $custom-file-border-color;
|
224
|
+
@include border-radius($custom-file-border-radius);
|
225
|
+
@include box-shadow($custom-file-box-shadow);
|
226
|
+
|
227
|
+
@each $lang, $text in map-get($custom-file-text, placeholder) {
|
228
|
+
&:lang(#{$lang}):empty::after {
|
229
|
+
content: $text;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
&::before {
|
234
|
+
position: absolute;
|
235
|
+
top: -$custom-file-border-width;
|
236
|
+
right: -$custom-file-border-width;
|
237
|
+
bottom: -$custom-file-border-width;
|
238
|
+
z-index: 6;
|
239
|
+
display: block;
|
240
|
+
height: $custom-file-height;
|
241
|
+
padding: $custom-file-padding-x $custom-file-padding-y;
|
242
|
+
line-height: $custom-file-line-height;
|
243
|
+
color: $custom-file-button-color;
|
244
|
+
background-color: $custom-file-button-bg;
|
245
|
+
border: $custom-file-border-width solid $custom-file-border-color;
|
246
|
+
@include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
|
247
|
+
}
|
248
|
+
|
249
|
+
@each $lang, $text in map-get($custom-file-text, button-label) {
|
250
|
+
&:lang(#{$lang})::before {
|
251
|
+
content: $text;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
// The dropdown wrapper (`<div>`)
|
2
|
+
.dropup,
|
3
|
+
.dropdown {
|
4
|
+
position: relative;
|
5
|
+
}
|
6
|
+
|
7
|
+
.dropdown-toggle {
|
8
|
+
// Generate the caret automatically
|
9
|
+
&::after {
|
10
|
+
display: inline-block;
|
11
|
+
width: 0;
|
12
|
+
height: 0;
|
13
|
+
margin-left: $caret-width * .85;
|
14
|
+
vertical-align: $caret-width * .85;
|
15
|
+
content: "";
|
16
|
+
border-top: $caret-width solid;
|
17
|
+
border-right: $caret-width solid transparent;
|
18
|
+
border-left: $caret-width solid transparent;
|
19
|
+
}
|
20
|
+
|
21
|
+
&:empty::after {
|
22
|
+
margin-left: 0;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
27
|
+
// Just add .dropup after the standard .dropdown class and you're set.
|
28
|
+
.dropup {
|
29
|
+
.dropdown-menu {
|
30
|
+
margin-top: 0;
|
31
|
+
margin-bottom: $dropdown-spacer;
|
32
|
+
}
|
33
|
+
|
34
|
+
.dropdown-toggle {
|
35
|
+
&::after {
|
36
|
+
border-top: 0;
|
37
|
+
border-bottom: $caret-width solid;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// The dropdown menu
|
43
|
+
.dropdown-menu {
|
44
|
+
position: absolute;
|
45
|
+
top: 100%;
|
46
|
+
left: 0;
|
47
|
+
z-index: $zindex-dropdown;
|
48
|
+
display: none; // none by default, but block on "open" of the menu
|
49
|
+
float: left;
|
50
|
+
min-width: $dropdown-min-width;
|
51
|
+
padding: $dropdown-padding-y 0;
|
52
|
+
margin: $dropdown-spacer 0 0; // override default ul
|
53
|
+
font-size: $font-size-base; // Redeclare because nesting can cause inheritance issues
|
54
|
+
color: $body-color;
|
55
|
+
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
56
|
+
list-style: none;
|
57
|
+
background-color: $dropdown-bg;
|
58
|
+
background-clip: padding-box;
|
59
|
+
border: $dropdown-border-width solid $dropdown-border-color;
|
60
|
+
@include border-radius($border-radius);
|
61
|
+
@include box-shadow($dropdown-box-shadow);
|
62
|
+
}
|
63
|
+
|
64
|
+
// Dividers (basically an `<hr>`) within the dropdown
|
65
|
+
.dropdown-divider {
|
66
|
+
@include nav-divider($dropdown-divider-bg);
|
67
|
+
}
|
68
|
+
|
69
|
+
// Links, buttons, and more within the dropdown menu
|
70
|
+
//
|
71
|
+
// `<button>`-specific styles are denoted with `// For <button>s`
|
72
|
+
.dropdown-item {
|
73
|
+
display: block;
|
74
|
+
width: 100%; // For `<button>`s
|
75
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
76
|
+
clear: both;
|
77
|
+
font-weight: $font-weight-normal;
|
78
|
+
color: $dropdown-link-color;
|
79
|
+
text-align: inherit; // For `<button>`s
|
80
|
+
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
81
|
+
background: none; // For `<button>`s
|
82
|
+
border: 0; // For `<button>`s
|
83
|
+
|
84
|
+
@include hover-focus {
|
85
|
+
color: $dropdown-link-hover-color;
|
86
|
+
text-decoration: none;
|
87
|
+
background-color: $dropdown-link-hover-bg;
|
88
|
+
}
|
89
|
+
|
90
|
+
&.active,
|
91
|
+
&:active {
|
92
|
+
color: $dropdown-link-active-color;
|
93
|
+
text-decoration: none;
|
94
|
+
background-color: $dropdown-link-active-bg;
|
95
|
+
}
|
96
|
+
|
97
|
+
&.disabled,
|
98
|
+
&:disabled {
|
99
|
+
color: $dropdown-link-disabled-color;
|
100
|
+
background-color: transparent;
|
101
|
+
// Remove CSS gradients if they're enabled
|
102
|
+
@if $enable-gradients {
|
103
|
+
background-image: none;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// Open state for the dropdown
|
109
|
+
.show {
|
110
|
+
// Remove the outline when :focus is triggered
|
111
|
+
> a {
|
112
|
+
outline: 0;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.dropdown-menu.show {
|
117
|
+
display: block;
|
118
|
+
}
|
119
|
+
|
120
|
+
// Dropdown section headers
|
121
|
+
.dropdown-header {
|
122
|
+
display: block;
|
123
|
+
padding: $dropdown-padding-y $dropdown-item-padding-x;
|
124
|
+
margin-bottom: 0; // for use with heading elements
|
125
|
+
font-size: $font-size-sm;
|
126
|
+
color: $dropdown-header-color;
|
127
|
+
white-space: nowrap; // as with > li > a
|
128
|
+
}
|