ext_yarn 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +41 -47
- data/README.md +10 -0
- data/bin/yarn_after +12 -0
- data/lib/ext_yarn/version.rb +1 -1
- data/package.json +14 -13
- data/vendor/.yarn-integrity +35 -39
- data/vendor/bootswatch-sass/package.json +1 -1
- data/vendor/chart.js/dist/Chart.bundle.js +5754 -5711
- data/vendor/chart.js/dist/Chart.js +2118 -2046
- data/vendor/chart.js/package.json +1 -1
- data/vendor/chartkick/LICENSE.txt +1 -1
- data/vendor/chartkick/dist/chartkick.js +2239 -0
- data/vendor/chartkick/package.json +18 -8
- data/vendor/file-saver/dist/FileSaver.js +180 -0
- data/vendor/file-saver/package.json +16 -4
- data/vendor/jquery/dist/jquery.js +453 -342
- data/vendor/jquery/dist/jquery.slim.js +428 -319
- data/vendor/jquery/package.json +32 -21
- data/vendor/{tempusdominus-bootstrap-4 → jquery-touch-events}/LICENSE +21 -21
- data/vendor/jquery-touch-events/package.json +32 -0
- data/vendor/jquery-touch-events/src/jquery.mobile-events.js +920 -0
- data/vendor/jquery-ui-touch-punch-zoom-fork/jquery.ui.touch-punch.js +186 -0
- data/vendor/jquery-ujs/package.json +1 -1
- data/vendor/jquery-ujs/src/rails.js +14 -4
- data/vendor/{bootswatch → jquery.iframe-transport}/LICENSE +2 -2
- data/vendor/jquery.iframe-transport/jquery.iframe-transport.js +247 -0
- data/vendor/jquery.iframe-transport/package.json +28 -0
- data/vendor/jstz/dist/jstz.js +9 -1
- data/vendor/jstz/package.json +6 -4
- data/vendor/lazysizes/LICENSE +22 -0
- data/vendor/lazysizes/lazysizes-umd.js +706 -0
- data/vendor/lazysizes/lazysizes.js +703 -0
- data/vendor/lazysizes/package.json +65 -0
- data/vendor/lazysizes/plugins/artdirect/ls.artdirect.js +160 -0
- data/vendor/lazysizes/plugins/aspectratio/ls.aspectratio.js +209 -0
- data/vendor/lazysizes/plugins/attrchange/ls.attrchange.js +129 -0
- data/vendor/lazysizes/plugins/bgset/ls.bgset.js +198 -0
- data/vendor/lazysizes/plugins/blur-up/ls.blur-up.js +191 -0
- data/vendor/lazysizes/plugins/custommedia/ls.custommedia.js +75 -0
- data/vendor/lazysizes/plugins/fix-ios-sizes/fix-ios-sizes.js +80 -0
- data/vendor/lazysizes/plugins/include/ls.include.js +589 -0
- data/vendor/lazysizes/plugins/noscript/ls.noscript.js +87 -0
- data/vendor/lazysizes/plugins/object-fit/ls.object-fit.js +149 -0
- data/vendor/lazysizes/plugins/optimumx/ls.optimumx.js +273 -0
- data/vendor/lazysizes/plugins/parent-fit/ls.parent-fit.js +157 -0
- data/vendor/lazysizes/plugins/print/ls.print.js +51 -0
- data/vendor/lazysizes/plugins/progressive/ls.progressive.js +49 -0
- data/vendor/lazysizes/plugins/respimg/ls.respimg.js +314 -0
- data/vendor/lazysizes/plugins/rias/ls.rias.js +391 -0
- data/vendor/lazysizes/plugins/static-gecko-picture/ls.static-gecko-picture.js +82 -0
- data/vendor/lazysizes/plugins/twitter/ls.twitter.js +63 -0
- data/vendor/lazysizes/plugins/unload/ls.unload.js +155 -0
- data/vendor/lazysizes/plugins/unveilhooks/ls.unveilhooks.js +145 -0
- data/vendor/lazysizes/plugins/video-embed/ls.video-embed.js +114 -0
- data/vendor/lodash/core.js +75 -57
- data/vendor/lodash/lodash.js +105 -82
- data/vendor/lodash/package.json +2 -2
- data/vendor/moment/locale/af.js +58 -60
- data/vendor/moment/locale/ar-dz.js +45 -47
- data/vendor/moment/locale/ar-kw.js +45 -47
- data/vendor/moment/locale/ar-ly.js +106 -112
- data/vendor/moment/locale/ar-ma.js +45 -48
- data/vendor/moment/locale/ar-sa.js +88 -91
- data/vendor/moment/locale/ar-tn.js +45 -47
- data/vendor/moment/locale/ar.js +119 -128
- data/vendor/moment/locale/az.js +89 -91
- data/vendor/moment/locale/be.js +111 -115
- data/vendor/moment/locale/bg.js +73 -75
- data/vendor/moment/locale/bm.js +44 -47
- data/vendor/moment/locale/bn.js +103 -105
- data/vendor/moment/locale/bo.js +103 -105
- data/vendor/moment/locale/br.js +88 -90
- data/vendor/moment/locale/bs.js +133 -136
- data/vendor/moment/locale/ca.js +68 -70
- data/vendor/moment/locale/cs.js +160 -162
- data/vendor/moment/locale/cv.js +48 -50
- data/vendor/moment/locale/cy.js +64 -67
- data/vendor/moment/locale/da.js +46 -48
- data/vendor/moment/locale/de-at.js +61 -66
- data/vendor/moment/locale/de-ch.js +61 -65
- data/vendor/moment/locale/de.js +61 -65
- data/vendor/moment/locale/dv.js +82 -85
- data/vendor/moment/locale/el.js +82 -84
- data/vendor/moment/locale/en-au.js +53 -55
- data/vendor/moment/locale/en-ca.js +49 -51
- data/vendor/moment/locale/en-gb.js +53 -55
- data/vendor/moment/locale/en-ie.js +53 -55
- data/vendor/moment/locale/en-il.js +61 -0
- data/vendor/moment/locale/en-nz.js +53 -55
- data/vendor/moment/locale/eo.js +56 -60
- data/vendor/moment/locale/es-do.js +72 -73
- data/vendor/moment/locale/es-us.js +64 -66
- data/vendor/moment/locale/es.js +72 -74
- data/vendor/moment/locale/et.js +64 -67
- data/vendor/moment/locale/eu.js +52 -54
- data/vendor/moment/locale/fa.js +90 -93
- data/vendor/moment/locale/fi.js +93 -95
- data/vendor/moment/locale/fo.js +46 -48
- data/vendor/moment/locale/fr-ca.js +58 -60
- data/vendor/moment/locale/fr-ch.js +62 -64
- data/vendor/moment/locale/fr.js +66 -68
- data/vendor/moment/locale/fy.js +59 -61
- data/vendor/moment/locale/gd.js +57 -59
- data/vendor/moment/locale/gl.js +60 -62
- data/vendor/moment/locale/gom-latn.js +107 -109
- data/vendor/moment/locale/gu.js +108 -110
- data/vendor/moment/locale/he.js +77 -81
- data/vendor/moment/locale/hi.js +108 -110
- data/vendor/moment/locale/hr.js +136 -138
- data/vendor/moment/locale/hu.js +92 -94
- data/vendor/moment/locale/hy-am.js +78 -80
- data/vendor/moment/locale/id.js +67 -70
- data/vendor/moment/locale/is.js +110 -112
- data/vendor/moment/locale/it.js +53 -56
- data/vendor/moment/locale/ja.js +77 -67
- data/vendor/moment/locale/jv.js +67 -70
- data/vendor/moment/locale/ka.js +70 -72
- data/vendor/moment/locale/kk.js +72 -74
- data/vendor/moment/locale/km.js +96 -46
- data/vendor/moment/locale/kn.js +110 -112
- data/vendor/moment/locale/ko.js +66 -69
- data/vendor/moment/locale/ky.js +72 -75
- data/vendor/moment/locale/lb.js +113 -116
- data/vendor/moment/locale/lo.js +55 -57
- data/vendor/moment/locale/lt.js +100 -102
- data/vendor/moment/locale/lv.js +81 -84
- data/vendor/moment/locale/me.js +93 -95
- data/vendor/moment/locale/mi.js +50 -52
- data/vendor/moment/locale/mk.js +73 -75
- data/vendor/moment/locale/ml.js +66 -68
- data/vendor/moment/locale/mn.js +103 -0
- data/vendor/moment/locale/mr.js +140 -143
- data/vendor/moment/locale/ms-my.js +67 -70
- data/vendor/moment/locale/ms.js +67 -69
- data/vendor/moment/locale/mt.js +46 -48
- data/vendor/moment/locale/my.js +77 -82
- data/vendor/moment/locale/nb.js +48 -51
- data/vendor/moment/locale/ne.js +107 -109
- data/vendor/moment/locale/nl-be.js +68 -71
- data/vendor/moment/locale/nl.js +68 -71
- data/vendor/moment/locale/nn.js +46 -48
- data/vendor/moment/locale/pa-in.js +108 -110
- data/vendor/moment/locale/pl.js +104 -106
- data/vendor/moment/locale/pt-br.js +46 -48
- data/vendor/moment/locale/pt.js +50 -52
- data/vendor/moment/locale/ro.js +59 -62
- data/vendor/moment/locale/ru.js +153 -157
- data/vendor/moment/locale/sd.js +82 -84
- data/vendor/moment/locale/se.js +46 -49
- data/vendor/moment/locale/si.js +56 -58
- data/vendor/moment/locale/sk.js +138 -141
- data/vendor/moment/locale/sl.js +154 -156
- data/vendor/moment/locale/sq.js +54 -58
- data/vendor/moment/locale/sr-cyrl.js +93 -95
- data/vendor/moment/locale/sr.js +93 -95
- data/vendor/moment/locale/ss.js +72 -75
- data/vendor/moment/locale/sv.js +55 -57
- data/vendor/moment/locale/sw.js +45 -47
- data/vendor/moment/locale/ta.js +113 -116
- data/vendor/moment/locale/te.js +74 -76
- data/vendor/moment/locale/tet.js +53 -56
- data/vendor/moment/locale/tg.js +115 -0
- data/vendor/moment/locale/th.js +52 -54
- data/vendor/moment/locale/tl-ph.js +48 -50
- data/vendor/moment/locale/tlh.js +101 -103
- data/vendor/moment/locale/tr.js +80 -78
- data/vendor/moment/locale/tzl.js +75 -78
- data/vendor/moment/locale/tzm-latn.js +44 -46
- data/vendor/moment/locale/tzm.js +44 -46
- data/vendor/moment/locale/ug-cn.js +118 -0
- data/vendor/moment/locale/uk.js +129 -132
- data/vendor/moment/locale/ur.js +82 -85
- data/vendor/moment/locale/uz-latn.js +44 -46
- data/vendor/moment/locale/uz.js +44 -46
- data/vendor/moment/locale/vi.js +64 -66
- data/vendor/moment/locale/x-pseudo.js +54 -56
- data/vendor/moment/locale/yo.js +46 -48
- data/vendor/moment/locale/zh-cn.js +95 -98
- data/vendor/moment/locale/zh-hk.js +88 -92
- data/vendor/moment/locale/zh-tw.js +88 -91
- data/vendor/moment/min/locales.js +9701 -9581
- data/vendor/moment/min/moment-with-locales.js +13426 -13335
- data/vendor/moment/moment.js +3780 -3809
- data/vendor/moment/package.json +10 -10
- data/vendor/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +43 -35
- data/vendor/moment-timezone/builds/moment-timezone-with-data.js +290 -282
- data/vendor/moment-timezone/moment-timezone-utils.js +12 -10
- data/vendor/moment-timezone/moment-timezone.js +15 -7
- data/vendor/moment-timezone/package.json +5 -3
- data/vendor/{bootstrap → pako}/LICENSE +2 -3
- data/vendor/pako/dist/pako.js +6811 -0
- data/vendor/pako/dist/pako_deflate.js +3995 -0
- data/vendor/pako/dist/pako_inflate.js +3295 -0
- data/vendor/pako/package.json +48 -0
- data/yarn.lock +51 -78
- metadata +45 -155
- data/vendor/bootstrap/dist/js/bootstrap.bundle.js +0 -6461
- data/vendor/bootstrap/dist/js/bootstrap.js +0 -3944
- data/vendor/bootstrap/js/dist/alert.js +0 -204
- data/vendor/bootstrap/js/dist/button.js +0 -192
- data/vendor/bootstrap/js/dist/carousel.js +0 -567
- data/vendor/bootstrap/js/dist/collapse.js +0 -431
- data/vendor/bootstrap/js/dist/dropdown.js +0 -552
- data/vendor/bootstrap/js/dist/index.js +0 -23
- data/vendor/bootstrap/js/dist/modal.js +0 -634
- data/vendor/bootstrap/js/dist/popover.js +0 -266
- data/vendor/bootstrap/js/dist/scrollspy.js +0 -379
- data/vendor/bootstrap/js/dist/tab.js +0 -278
- data/vendor/bootstrap/js/dist/tooltip.js +0 -734
- data/vendor/bootstrap/js/dist/util.js +0 -144
- data/vendor/bootstrap/package.json +0 -217
- data/vendor/bootstrap/scss/_alert.scss +0 -51
- data/vendor/bootstrap/scss/_badge.scss +0 -47
- data/vendor/bootstrap/scss/_breadcrumb.scss +0 -41
- data/vendor/bootstrap/scss/_button-group.scss +0 -172
- data/vendor/bootstrap/scss/_buttons.scss +0 -143
- data/vendor/bootstrap/scss/_card.scss +0 -301
- data/vendor/bootstrap/scss/_carousel.scss +0 -236
- data/vendor/bootstrap/scss/_close.scss +0 -35
- data/vendor/bootstrap/scss/_code.scss +0 -48
- data/vendor/bootstrap/scss/_custom-forms.scss +0 -433
- data/vendor/bootstrap/scss/_dropdown.scss +0 -166
- data/vendor/bootstrap/scss/_forms.scss +0 -333
- data/vendor/bootstrap/scss/_functions.scss +0 -86
- data/vendor/bootstrap/scss/_grid.scss +0 -52
- data/vendor/bootstrap/scss/_images.scss +0 -42
- data/vendor/bootstrap/scss/_input-group.scss +0 -173
- data/vendor/bootstrap/scss/_jumbotron.scss +0 -16
- data/vendor/bootstrap/scss/_list-group.scss +0 -115
- data/vendor/bootstrap/scss/_media.scss +0 -8
- data/vendor/bootstrap/scss/_mixins.scss +0 -41
- data/vendor/bootstrap/scss/_modal.scss +0 -180
- data/vendor/bootstrap/scss/_nav.scss +0 -118
- data/vendor/bootstrap/scss/_navbar.scss +0 -299
- data/vendor/bootstrap/scss/_pagination.scss +0 -78
- data/vendor/bootstrap/scss/_popover.scss +0 -183
- data/vendor/bootstrap/scss/_print.scss +0 -141
- data/vendor/bootstrap/scss/_progress.scss +0 -34
- data/vendor/bootstrap/scss/_reboot.scss +0 -483
- data/vendor/bootstrap/scss/_root.scss +0 -19
- data/vendor/bootstrap/scss/_tables.scss +0 -187
- data/vendor/bootstrap/scss/_tooltip.scss +0 -115
- data/vendor/bootstrap/scss/_transitions.scss +0 -22
- data/vendor/bootstrap/scss/_type.scss +0 -125
- data/vendor/bootstrap/scss/_utilities.scss +0 -15
- data/vendor/bootstrap/scss/_variables.scss +0 -952
- data/vendor/bootstrap/scss/bootstrap-grid.scss +0 -32
- data/vendor/bootstrap/scss/bootstrap-reboot.scss +0 -12
- data/vendor/bootstrap/scss/bootstrap.scss +0 -42
- data/vendor/bootstrap/scss/mixins/_alert.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_background-variant.scss +0 -21
- data/vendor/bootstrap/scss/mixins/_badge.scss +0 -12
- data/vendor/bootstrap/scss/mixins/_border-radius.scss +0 -35
- data/vendor/bootstrap/scss/mixins/_box-shadow.scss +0 -5
- data/vendor/bootstrap/scss/mixins/_breakpoints.scss +0 -123
- data/vendor/bootstrap/scss/mixins/_buttons.scss +0 -109
- data/vendor/bootstrap/scss/mixins/_caret.scss +0 -66
- data/vendor/bootstrap/scss/mixins/_clearfix.scss +0 -7
- data/vendor/bootstrap/scss/mixins/_float.scss +0 -11
- data/vendor/bootstrap/scss/mixins/_forms.scss +0 -147
- data/vendor/bootstrap/scss/mixins/_gradients.scss +0 -45
- data/vendor/bootstrap/scss/mixins/_grid-framework.scss +0 -67
- data/vendor/bootstrap/scss/mixins/_grid.scss +0 -52
- data/vendor/bootstrap/scss/mixins/_hover.scss +0 -37
- data/vendor/bootstrap/scss/mixins/_image.scss +0 -36
- data/vendor/bootstrap/scss/mixins/_list-group.scss +0 -21
- data/vendor/bootstrap/scss/mixins/_lists.scss +0 -7
- data/vendor/bootstrap/scss/mixins/_nav-divider.scss +0 -10
- data/vendor/bootstrap/scss/mixins/_pagination.scss +0 -22
- data/vendor/bootstrap/scss/mixins/_reset-text.scss +0 -17
- data/vendor/bootstrap/scss/mixins/_resize.scss +0 -6
- data/vendor/bootstrap/scss/mixins/_screen-reader.scss +0 -33
- data/vendor/bootstrap/scss/mixins/_size.scss +0 -6
- data/vendor/bootstrap/scss/mixins/_table-row.scss +0 -30
- data/vendor/bootstrap/scss/mixins/_text-emphasis.scss +0 -14
- data/vendor/bootstrap/scss/mixins/_text-hide.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_text-truncate.scss +0 -8
- data/vendor/bootstrap/scss/mixins/_transition.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_visibility.scss +0 -7
- data/vendor/bootstrap/scss/utilities/_align.scss +0 -8
- data/vendor/bootstrap/scss/utilities/_background.scss +0 -19
- data/vendor/bootstrap/scss/utilities/_borders.scss +0 -59
- data/vendor/bootstrap/scss/utilities/_clearfix.scss +0 -3
- data/vendor/bootstrap/scss/utilities/_display.scss +0 -38
- data/vendor/bootstrap/scss/utilities/_embed.scss +0 -52
- data/vendor/bootstrap/scss/utilities/_flex.scss +0 -51
- data/vendor/bootstrap/scss/utilities/_float.scss +0 -9
- data/vendor/bootstrap/scss/utilities/_position.scss +0 -37
- data/vendor/bootstrap/scss/utilities/_screenreaders.scss +0 -11
- data/vendor/bootstrap/scss/utilities/_shadows.scss +0 -6
- data/vendor/bootstrap/scss/utilities/_sizing.scss +0 -12
- data/vendor/bootstrap/scss/utilities/_spacing.scss +0 -51
- data/vendor/bootstrap/scss/utilities/_text.scss +0 -58
- data/vendor/bootstrap/scss/utilities/_visibility.scss +0 -11
- data/vendor/bootswatch/dist/cerulean/_bootswatch.scss +0 -99
- data/vendor/bootswatch/dist/cerulean/_variables.scss +0 -57
- data/vendor/bootswatch/dist/cosmo/_bootswatch.scss +0 -38
- data/vendor/bootswatch/dist/cosmo/_variables.scss +0 -68
- data/vendor/bootswatch/dist/cyborg/_bootswatch.scss +0 -230
- data/vendor/bootswatch/dist/cyborg/_variables.scss +0 -173
- data/vendor/bootswatch/dist/darkly/_bootswatch.scss +0 -186
- data/vendor/bootswatch/dist/darkly/_variables.scss +0 -178
- data/vendor/bootswatch/dist/flatly/_bootswatch.scss +0 -185
- data/vendor/bootswatch/dist/flatly/_variables.scss +0 -113
- data/vendor/bootswatch/dist/journal/_bootswatch.scss +0 -73
- data/vendor/bootswatch/dist/journal/_variables.scss +0 -60
- data/vendor/bootswatch/dist/litera/_bootswatch.scss +0 -212
- data/vendor/bootswatch/dist/litera/_variables.scss +0 -77
- data/vendor/bootswatch/dist/lumen/_bootswatch.scss +0 -429
- data/vendor/bootswatch/dist/lumen/_variables.scss +0 -82
- data/vendor/bootswatch/dist/lux/_bootswatch.scss +0 -157
- data/vendor/bootswatch/dist/lux/_variables.scss +0 -120
- data/vendor/bootswatch/dist/materia/_bootswatch.scss +0 -677
- data/vendor/bootswatch/dist/materia/_variables.scss +0 -131
- data/vendor/bootswatch/dist/minty/_bootswatch.scss +0 -258
- data/vendor/bootswatch/dist/minty/_variables.scss +0 -97
- data/vendor/bootswatch/dist/pulse/_bootswatch.scss +0 -154
- data/vendor/bootswatch/dist/pulse/_variables.scss +0 -100
- data/vendor/bootswatch/dist/sandstone/_bootswatch.scss +0 -235
- data/vendor/bootswatch/dist/sandstone/_variables.scss +0 -143
- data/vendor/bootswatch/dist/simplex/_bootswatch.scss +0 -130
- data/vendor/bootswatch/dist/simplex/_variables.scss +0 -108
- data/vendor/bootswatch/dist/sketchy/_bootswatch.scss +0 -411
- data/vendor/bootswatch/dist/sketchy/_variables.scss +0 -164
- data/vendor/bootswatch/dist/slate/_bootswatch.scss +0 -425
- data/vendor/bootswatch/dist/slate/_variables.scss +0 -160
- data/vendor/bootswatch/dist/solar/_bootswatch.scss +0 -119
- data/vendor/bootswatch/dist/solar/_variables.scss +0 -175
- data/vendor/bootswatch/dist/spacelab/_bootswatch.scss +0 -167
- data/vendor/bootswatch/dist/spacelab/_variables.scss +0 -63
- data/vendor/bootswatch/dist/superhero/_bootswatch.scss +0 -200
- data/vendor/bootswatch/dist/superhero/_variables.scss +0 -148
- data/vendor/bootswatch/dist/united/_bootswatch.scss +0 -26
- data/vendor/bootswatch/dist/united/_variables.scss +0 -53
- data/vendor/bootswatch/dist/yeti/_bootswatch.scss +0 -468
- data/vendor/bootswatch/dist/yeti/_variables.scss +0 -110
- data/vendor/bootswatch/package.json +0 -38
- data/vendor/chartkick/chartkick.js +0 -1872
- data/vendor/file-saver/FileSaver.js +0 -188
- data/vendor/popper.js/dist/umd/popper-utils.js +0 -1133
- data/vendor/popper.js/dist/umd/popper.js +0 -2540
- data/vendor/popper.js/package.json +0 -54
- data/vendor/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js +0 -2779
- data/vendor/tempusdominus-bootstrap-4/package.json +0 -79
- data/vendor/tempusdominus-bootstrap-4/src/sass/_tempusdominus-bootstrap-4.scss +0 -342
- data/vendor/tempusdominus-bootstrap-4/src/sass/tempusdominus-bootstrap-4-build.scss +0 -12
@@ -1,48 +0,0 @@
|
|
1
|
-
// Inline code
|
2
|
-
code {
|
3
|
-
font-size: $code-font-size;
|
4
|
-
color: $code-color;
|
5
|
-
word-break: break-word;
|
6
|
-
|
7
|
-
// Streamline the style when inside anchors to avoid broken underline and more
|
8
|
-
a > & {
|
9
|
-
color: inherit;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
// User input typically entered via keyboard
|
14
|
-
kbd {
|
15
|
-
padding: $kbd-padding-y $kbd-padding-x;
|
16
|
-
font-size: $kbd-font-size;
|
17
|
-
color: $kbd-color;
|
18
|
-
background-color: $kbd-bg;
|
19
|
-
@include border-radius($border-radius-sm);
|
20
|
-
@include box-shadow($kbd-box-shadow);
|
21
|
-
|
22
|
-
kbd {
|
23
|
-
padding: 0;
|
24
|
-
font-size: 100%;
|
25
|
-
font-weight: $nested-kbd-font-weight;
|
26
|
-
@include box-shadow(none);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// Blocks of code
|
31
|
-
pre {
|
32
|
-
display: block;
|
33
|
-
font-size: $code-font-size;
|
34
|
-
color: $pre-color;
|
35
|
-
|
36
|
-
// Account for some code outputs that place code tags in pre tags
|
37
|
-
code {
|
38
|
-
font-size: inherit;
|
39
|
-
color: inherit;
|
40
|
-
word-break: normal;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
// Enable scrollable blocks of code
|
45
|
-
.pre-scrollable {
|
46
|
-
max-height: $pre-scrollable-max-height;
|
47
|
-
overflow-y: scroll;
|
48
|
-
}
|
@@ -1,433 +0,0 @@
|
|
1
|
-
// Embedded icons from Open Iconic.
|
2
|
-
// Released under MIT and copyright 2014 Waybury.
|
3
|
-
// https://useiconic.com/open
|
4
|
-
|
5
|
-
|
6
|
-
// Checkboxes and radios
|
7
|
-
//
|
8
|
-
// Base class takes care of all the key behavioral aspects.
|
9
|
-
|
10
|
-
.custom-control {
|
11
|
-
position: relative;
|
12
|
-
display: block;
|
13
|
-
min-height: ($font-size-base * $line-height-base);
|
14
|
-
padding-left: $custom-control-gutter;
|
15
|
-
}
|
16
|
-
|
17
|
-
.custom-control-inline {
|
18
|
-
display: inline-flex;
|
19
|
-
margin-right: $custom-control-spacer-x;
|
20
|
-
}
|
21
|
-
|
22
|
-
.custom-control-input {
|
23
|
-
position: absolute;
|
24
|
-
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
25
|
-
opacity: 0;
|
26
|
-
|
27
|
-
&:checked ~ .custom-control-label::before {
|
28
|
-
color: $custom-control-indicator-checked-color;
|
29
|
-
@include gradient-bg($custom-control-indicator-checked-bg);
|
30
|
-
@include box-shadow($custom-control-indicator-checked-box-shadow);
|
31
|
-
}
|
32
|
-
|
33
|
-
&:focus ~ .custom-control-label::before {
|
34
|
-
// the mixin is not used here to make sure there is feedback
|
35
|
-
box-shadow: $custom-control-indicator-focus-box-shadow;
|
36
|
-
}
|
37
|
-
|
38
|
-
&:active ~ .custom-control-label::before {
|
39
|
-
color: $custom-control-indicator-active-color;
|
40
|
-
background-color: $custom-control-indicator-active-bg;
|
41
|
-
@include box-shadow($custom-control-indicator-active-box-shadow);
|
42
|
-
}
|
43
|
-
|
44
|
-
&:disabled {
|
45
|
-
~ .custom-control-label {
|
46
|
-
color: $custom-control-label-disabled-color;
|
47
|
-
|
48
|
-
&::before {
|
49
|
-
background-color: $custom-control-indicator-disabled-bg;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
// Custom control indicators
|
56
|
-
//
|
57
|
-
// Build the custom controls out of pseudo-elements.
|
58
|
-
|
59
|
-
.custom-control-label {
|
60
|
-
position: relative;
|
61
|
-
margin-bottom: 0;
|
62
|
-
|
63
|
-
// Background-color and (when enabled) gradient
|
64
|
-
&::before {
|
65
|
-
position: absolute;
|
66
|
-
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
67
|
-
left: -$custom-control-gutter;
|
68
|
-
display: block;
|
69
|
-
width: $custom-control-indicator-size;
|
70
|
-
height: $custom-control-indicator-size;
|
71
|
-
pointer-events: none;
|
72
|
-
content: "";
|
73
|
-
user-select: none;
|
74
|
-
background-color: $custom-control-indicator-bg;
|
75
|
-
@include box-shadow($custom-control-indicator-box-shadow);
|
76
|
-
}
|
77
|
-
|
78
|
-
// Foreground (icon)
|
79
|
-
&::after {
|
80
|
-
position: absolute;
|
81
|
-
top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
|
82
|
-
left: -$custom-control-gutter;
|
83
|
-
display: block;
|
84
|
-
width: $custom-control-indicator-size;
|
85
|
-
height: $custom-control-indicator-size;
|
86
|
-
content: "";
|
87
|
-
background-repeat: no-repeat;
|
88
|
-
background-position: center center;
|
89
|
-
background-size: $custom-control-indicator-bg-size;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
|
94
|
-
// Checkboxes
|
95
|
-
//
|
96
|
-
// Tweak just a few things for checkboxes.
|
97
|
-
|
98
|
-
.custom-checkbox {
|
99
|
-
.custom-control-label::before {
|
100
|
-
@include border-radius($custom-checkbox-indicator-border-radius);
|
101
|
-
}
|
102
|
-
|
103
|
-
.custom-control-input:checked ~ .custom-control-label {
|
104
|
-
&::before {
|
105
|
-
@include gradient-bg($custom-control-indicator-checked-bg);
|
106
|
-
}
|
107
|
-
&::after {
|
108
|
-
background-image: $custom-checkbox-indicator-icon-checked;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
.custom-control-input:indeterminate ~ .custom-control-label {
|
113
|
-
&::before {
|
114
|
-
@include gradient-bg($custom-checkbox-indicator-indeterminate-bg);
|
115
|
-
@include box-shadow($custom-checkbox-indicator-indeterminate-box-shadow);
|
116
|
-
}
|
117
|
-
&::after {
|
118
|
-
background-image: $custom-checkbox-indicator-icon-indeterminate;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
.custom-control-input:disabled {
|
123
|
-
&:checked ~ .custom-control-label::before {
|
124
|
-
background-color: $custom-control-indicator-checked-disabled-bg;
|
125
|
-
}
|
126
|
-
&:indeterminate ~ .custom-control-label::before {
|
127
|
-
background-color: $custom-control-indicator-checked-disabled-bg;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
// Radios
|
133
|
-
//
|
134
|
-
// Tweak just a few things for radios.
|
135
|
-
|
136
|
-
.custom-radio {
|
137
|
-
.custom-control-label::before {
|
138
|
-
border-radius: $custom-radio-indicator-border-radius;
|
139
|
-
}
|
140
|
-
|
141
|
-
.custom-control-input:checked ~ .custom-control-label {
|
142
|
-
&::before {
|
143
|
-
@include gradient-bg($custom-control-indicator-checked-bg);
|
144
|
-
}
|
145
|
-
&::after {
|
146
|
-
background-image: $custom-radio-indicator-icon-checked;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
.custom-control-input:disabled {
|
151
|
-
&:checked ~ .custom-control-label::before {
|
152
|
-
background-color: $custom-control-indicator-checked-disabled-bg;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
|
158
|
-
// Select
|
159
|
-
//
|
160
|
-
// Replaces the browser default select with a custom one, mostly pulled from
|
161
|
-
// https://primer.github.io/.
|
162
|
-
//
|
163
|
-
|
164
|
-
.custom-select {
|
165
|
-
display: inline-block;
|
166
|
-
width: 100%;
|
167
|
-
height: $custom-select-height;
|
168
|
-
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
|
169
|
-
line-height: $custom-select-line-height;
|
170
|
-
color: $custom-select-color;
|
171
|
-
vertical-align: middle;
|
172
|
-
background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center;
|
173
|
-
background-size: $custom-select-bg-size;
|
174
|
-
border: $custom-select-border-width solid $custom-select-border-color;
|
175
|
-
@if $enable-rounded {
|
176
|
-
border-radius: $custom-select-border-radius;
|
177
|
-
} @else {
|
178
|
-
border-radius: 0;
|
179
|
-
}
|
180
|
-
@include box-shadow($custom-select-box-shadow);
|
181
|
-
appearance: none;
|
182
|
-
|
183
|
-
&:focus {
|
184
|
-
border-color: $custom-select-focus-border-color;
|
185
|
-
outline: 0;
|
186
|
-
@if $enable-shadows {
|
187
|
-
box-shadow: $custom-select-box-shadow, $custom-select-focus-box-shadow;
|
188
|
-
} @else {
|
189
|
-
box-shadow: $custom-select-focus-box-shadow;
|
190
|
-
}
|
191
|
-
|
192
|
-
&::-ms-value {
|
193
|
-
// For visual consistency with other platforms/browsers,
|
194
|
-
// suppress the default white text on blue background highlight given to
|
195
|
-
// the selected option text when the (still closed) <select> receives focus
|
196
|
-
// in IE and (under certain conditions) Edge.
|
197
|
-
// See https://github.com/twbs/bootstrap/issues/19398.
|
198
|
-
color: $input-color;
|
199
|
-
background-color: $input-bg;
|
200
|
-
}
|
201
|
-
}
|
202
|
-
|
203
|
-
&[multiple],
|
204
|
-
&[size]:not([size="1"]) {
|
205
|
-
height: auto;
|
206
|
-
padding-right: $custom-select-padding-x;
|
207
|
-
background-image: none;
|
208
|
-
}
|
209
|
-
|
210
|
-
&:disabled {
|
211
|
-
color: $custom-select-disabled-color;
|
212
|
-
background-color: $custom-select-disabled-bg;
|
213
|
-
}
|
214
|
-
|
215
|
-
// Hides the default caret in IE11
|
216
|
-
&::-ms-expand {
|
217
|
-
opacity: 0;
|
218
|
-
}
|
219
|
-
}
|
220
|
-
|
221
|
-
.custom-select-sm {
|
222
|
-
height: $custom-select-height-sm;
|
223
|
-
padding-top: $custom-select-padding-y;
|
224
|
-
padding-bottom: $custom-select-padding-y;
|
225
|
-
font-size: $custom-select-font-size-sm;
|
226
|
-
}
|
227
|
-
|
228
|
-
.custom-select-lg {
|
229
|
-
height: $custom-select-height-lg;
|
230
|
-
padding-top: $custom-select-padding-y;
|
231
|
-
padding-bottom: $custom-select-padding-y;
|
232
|
-
font-size: $custom-select-font-size-lg;
|
233
|
-
}
|
234
|
-
|
235
|
-
|
236
|
-
// File
|
237
|
-
//
|
238
|
-
// Custom file input.
|
239
|
-
|
240
|
-
.custom-file {
|
241
|
-
position: relative;
|
242
|
-
display: inline-block;
|
243
|
-
width: 100%;
|
244
|
-
height: $custom-file-height;
|
245
|
-
margin-bottom: 0;
|
246
|
-
}
|
247
|
-
|
248
|
-
.custom-file-input {
|
249
|
-
position: relative;
|
250
|
-
z-index: 2;
|
251
|
-
width: 100%;
|
252
|
-
height: $custom-file-height;
|
253
|
-
margin: 0;
|
254
|
-
opacity: 0;
|
255
|
-
|
256
|
-
&:focus ~ .custom-file-label {
|
257
|
-
border-color: $custom-file-focus-border-color;
|
258
|
-
box-shadow: $custom-file-focus-box-shadow;
|
259
|
-
|
260
|
-
&::after {
|
261
|
-
border-color: $custom-file-focus-border-color;
|
262
|
-
}
|
263
|
-
}
|
264
|
-
|
265
|
-
&:disabled ~ .custom-file-label {
|
266
|
-
background-color: $custom-file-disabled-bg;
|
267
|
-
}
|
268
|
-
|
269
|
-
@each $lang, $value in $custom-file-text {
|
270
|
-
&:lang(#{$lang}) ~ .custom-file-label::after {
|
271
|
-
content: $value;
|
272
|
-
}
|
273
|
-
}
|
274
|
-
}
|
275
|
-
|
276
|
-
.custom-file-label {
|
277
|
-
position: absolute;
|
278
|
-
top: 0;
|
279
|
-
right: 0;
|
280
|
-
left: 0;
|
281
|
-
z-index: 1;
|
282
|
-
height: $custom-file-height;
|
283
|
-
padding: $custom-file-padding-y $custom-file-padding-x;
|
284
|
-
line-height: $custom-file-line-height;
|
285
|
-
color: $custom-file-color;
|
286
|
-
background-color: $custom-file-bg;
|
287
|
-
border: $custom-file-border-width solid $custom-file-border-color;
|
288
|
-
@include border-radius($custom-file-border-radius);
|
289
|
-
@include box-shadow($custom-file-box-shadow);
|
290
|
-
|
291
|
-
&::after {
|
292
|
-
position: absolute;
|
293
|
-
top: 0;
|
294
|
-
right: 0;
|
295
|
-
bottom: 0;
|
296
|
-
z-index: 3;
|
297
|
-
display: block;
|
298
|
-
height: $custom-file-height-inner;
|
299
|
-
padding: $custom-file-padding-y $custom-file-padding-x;
|
300
|
-
line-height: $custom-file-line-height;
|
301
|
-
color: $custom-file-button-color;
|
302
|
-
content: "Browse";
|
303
|
-
@include gradient-bg($custom-file-button-bg);
|
304
|
-
border-left: $custom-file-border-width solid $custom-file-border-color;
|
305
|
-
@include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
// Range
|
310
|
-
//
|
311
|
-
// Style range inputs the same across browsers. Vendor-specific rules for pseudo
|
312
|
-
// elements cannot be mixed. As such, there are no shared styles for focus or
|
313
|
-
// active states on prefixed selectors.
|
314
|
-
|
315
|
-
.custom-range {
|
316
|
-
width: 100%;
|
317
|
-
padding-left: 0; // Firefox specific
|
318
|
-
background-color: transparent;
|
319
|
-
appearance: none;
|
320
|
-
|
321
|
-
&:focus {
|
322
|
-
outline: none;
|
323
|
-
|
324
|
-
// Pseudo-elements must be split across multiple rulesets to have an affect.
|
325
|
-
// No box-shadow() mixin for focus accessibility.
|
326
|
-
&::-webkit-slider-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
327
|
-
&::-moz-range-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
328
|
-
&::-ms-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
329
|
-
}
|
330
|
-
|
331
|
-
&::-moz-focus-outer {
|
332
|
-
border: 0;
|
333
|
-
}
|
334
|
-
|
335
|
-
&::-webkit-slider-thumb {
|
336
|
-
width: $custom-range-thumb-width;
|
337
|
-
height: $custom-range-thumb-height;
|
338
|
-
margin-top: (($custom-range-track-height - $custom-range-thumb-height) / 2); // Webkit specific
|
339
|
-
@include gradient-bg($custom-range-thumb-bg);
|
340
|
-
border: $custom-range-thumb-border;
|
341
|
-
@include border-radius($custom-range-thumb-border-radius);
|
342
|
-
@include box-shadow($custom-range-thumb-box-shadow);
|
343
|
-
@include transition($custom-forms-transition);
|
344
|
-
appearance: none;
|
345
|
-
|
346
|
-
&:active {
|
347
|
-
@include gradient-bg($custom-range-thumb-active-bg);
|
348
|
-
}
|
349
|
-
}
|
350
|
-
|
351
|
-
&::-webkit-slider-runnable-track {
|
352
|
-
width: $custom-range-track-width;
|
353
|
-
height: $custom-range-track-height;
|
354
|
-
color: transparent; // Why?
|
355
|
-
cursor: $custom-range-track-cursor;
|
356
|
-
background-color: $custom-range-track-bg;
|
357
|
-
border-color: transparent;
|
358
|
-
@include border-radius($custom-range-track-border-radius);
|
359
|
-
@include box-shadow($custom-range-track-box-shadow);
|
360
|
-
}
|
361
|
-
|
362
|
-
&::-moz-range-thumb {
|
363
|
-
width: $custom-range-thumb-width;
|
364
|
-
height: $custom-range-thumb-height;
|
365
|
-
@include gradient-bg($custom-range-thumb-bg);
|
366
|
-
border: $custom-range-thumb-border;
|
367
|
-
@include border-radius($custom-range-thumb-border-radius);
|
368
|
-
@include box-shadow($custom-range-thumb-box-shadow);
|
369
|
-
@include transition($custom-forms-transition);
|
370
|
-
appearance: none;
|
371
|
-
|
372
|
-
&:active {
|
373
|
-
@include gradient-bg($custom-range-thumb-active-bg);
|
374
|
-
}
|
375
|
-
}
|
376
|
-
|
377
|
-
&::-moz-range-track {
|
378
|
-
width: $custom-range-track-width;
|
379
|
-
height: $custom-range-track-height;
|
380
|
-
color: transparent;
|
381
|
-
cursor: $custom-range-track-cursor;
|
382
|
-
background-color: $custom-range-track-bg;
|
383
|
-
border-color: transparent; // Firefox specific?
|
384
|
-
@include border-radius($custom-range-track-border-radius);
|
385
|
-
@include box-shadow($custom-range-track-box-shadow);
|
386
|
-
}
|
387
|
-
|
388
|
-
&::-ms-thumb {
|
389
|
-
width: $custom-range-thumb-width;
|
390
|
-
height: $custom-range-thumb-height;
|
391
|
-
margin-top: 0; // Edge specific
|
392
|
-
margin-right: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
|
393
|
-
margin-left: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
|
394
|
-
@include gradient-bg($custom-range-thumb-bg);
|
395
|
-
border: $custom-range-thumb-border;
|
396
|
-
@include border-radius($custom-range-thumb-border-radius);
|
397
|
-
@include box-shadow($custom-range-thumb-box-shadow);
|
398
|
-
@include transition($custom-forms-transition);
|
399
|
-
appearance: none;
|
400
|
-
|
401
|
-
&:active {
|
402
|
-
@include gradient-bg($custom-range-thumb-active-bg);
|
403
|
-
}
|
404
|
-
}
|
405
|
-
|
406
|
-
&::-ms-track {
|
407
|
-
width: $custom-range-track-width;
|
408
|
-
height: $custom-range-track-height;
|
409
|
-
color: transparent;
|
410
|
-
cursor: $custom-range-track-cursor;
|
411
|
-
background-color: transparent;
|
412
|
-
border-color: transparent;
|
413
|
-
border-width: ($custom-range-thumb-height * .5);
|
414
|
-
@include box-shadow($custom-range-track-box-shadow);
|
415
|
-
}
|
416
|
-
|
417
|
-
&::-ms-fill-lower {
|
418
|
-
background-color: $custom-range-track-bg;
|
419
|
-
@include border-radius($custom-range-track-border-radius);
|
420
|
-
}
|
421
|
-
|
422
|
-
&::-ms-fill-upper {
|
423
|
-
margin-right: 15px; // arbitrary?
|
424
|
-
background-color: $custom-range-track-bg;
|
425
|
-
@include border-radius($custom-range-track-border-radius);
|
426
|
-
}
|
427
|
-
}
|
428
|
-
|
429
|
-
.custom-control-label::before,
|
430
|
-
.custom-file-label,
|
431
|
-
.custom-select {
|
432
|
-
@include transition($custom-forms-transition);
|
433
|
-
}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
// The dropdown wrapper (`<div>`)
|
2
|
-
.dropup,
|
3
|
-
.dropright,
|
4
|
-
.dropdown,
|
5
|
-
.dropleft {
|
6
|
-
position: relative;
|
7
|
-
}
|
8
|
-
|
9
|
-
.dropdown-toggle {
|
10
|
-
// Generate the caret automatically
|
11
|
-
@include caret;
|
12
|
-
}
|
13
|
-
|
14
|
-
// The dropdown menu
|
15
|
-
.dropdown-menu {
|
16
|
-
position: absolute;
|
17
|
-
top: 100%;
|
18
|
-
left: 0;
|
19
|
-
z-index: $zindex-dropdown;
|
20
|
-
display: none; // none by default, but block on "open" of the menu
|
21
|
-
float: left;
|
22
|
-
min-width: $dropdown-min-width;
|
23
|
-
padding: $dropdown-padding-y 0;
|
24
|
-
margin: $dropdown-spacer 0 0; // override default ul
|
25
|
-
font-size: $font-size-base; // Redeclare because nesting can cause inheritance issues
|
26
|
-
color: $body-color;
|
27
|
-
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
28
|
-
list-style: none;
|
29
|
-
background-color: $dropdown-bg;
|
30
|
-
background-clip: padding-box;
|
31
|
-
border: $dropdown-border-width solid $dropdown-border-color;
|
32
|
-
@include border-radius($dropdown-border-radius);
|
33
|
-
@include box-shadow($dropdown-box-shadow);
|
34
|
-
}
|
35
|
-
|
36
|
-
.dropdown-menu-right {
|
37
|
-
right: 0;
|
38
|
-
left: auto;
|
39
|
-
}
|
40
|
-
|
41
|
-
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
42
|
-
// Just add .dropup after the standard .dropdown class and you're set.
|
43
|
-
.dropup {
|
44
|
-
.dropdown-menu {
|
45
|
-
top: auto;
|
46
|
-
bottom: 100%;
|
47
|
-
margin-top: 0;
|
48
|
-
margin-bottom: $dropdown-spacer;
|
49
|
-
}
|
50
|
-
|
51
|
-
.dropdown-toggle {
|
52
|
-
@include caret(up);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
.dropright {
|
57
|
-
.dropdown-menu {
|
58
|
-
top: 0;
|
59
|
-
right: auto;
|
60
|
-
left: 100%;
|
61
|
-
margin-top: 0;
|
62
|
-
margin-left: $dropdown-spacer;
|
63
|
-
}
|
64
|
-
|
65
|
-
.dropdown-toggle {
|
66
|
-
@include caret(right);
|
67
|
-
&::after {
|
68
|
-
vertical-align: 0;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
.dropleft {
|
74
|
-
.dropdown-menu {
|
75
|
-
top: 0;
|
76
|
-
right: 100%;
|
77
|
-
left: auto;
|
78
|
-
margin-top: 0;
|
79
|
-
margin-right: $dropdown-spacer;
|
80
|
-
}
|
81
|
-
|
82
|
-
.dropdown-toggle {
|
83
|
-
@include caret(left);
|
84
|
-
&::before {
|
85
|
-
vertical-align: 0;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
// When enabled Popper.js, reset basic dropdown position
|
91
|
-
// stylelint-disable no-duplicate-selectors
|
92
|
-
.dropdown-menu {
|
93
|
-
&[x-placement^="top"],
|
94
|
-
&[x-placement^="right"],
|
95
|
-
&[x-placement^="bottom"],
|
96
|
-
&[x-placement^="left"] {
|
97
|
-
right: auto;
|
98
|
-
bottom: auto;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
// stylelint-enable no-duplicate-selectors
|
102
|
-
|
103
|
-
// Dividers (basically an `<hr>`) within the dropdown
|
104
|
-
.dropdown-divider {
|
105
|
-
@include nav-divider($dropdown-divider-bg);
|
106
|
-
}
|
107
|
-
|
108
|
-
// Links, buttons, and more within the dropdown menu
|
109
|
-
//
|
110
|
-
// `<button>`-specific styles are denoted with `// For <button>s`
|
111
|
-
.dropdown-item {
|
112
|
-
display: block;
|
113
|
-
width: 100%; // For `<button>`s
|
114
|
-
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
115
|
-
clear: both;
|
116
|
-
font-weight: $font-weight-normal;
|
117
|
-
color: $dropdown-link-color;
|
118
|
-
text-align: inherit; // For `<button>`s
|
119
|
-
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
120
|
-
background-color: transparent; // For `<button>`s
|
121
|
-
border: 0; // For `<button>`s
|
122
|
-
|
123
|
-
@include hover-focus {
|
124
|
-
color: $dropdown-link-hover-color;
|
125
|
-
text-decoration: none;
|
126
|
-
@include gradient-bg($dropdown-link-hover-bg);
|
127
|
-
}
|
128
|
-
|
129
|
-
&.active,
|
130
|
-
&:active {
|
131
|
-
color: $dropdown-link-active-color;
|
132
|
-
text-decoration: none;
|
133
|
-
@include gradient-bg($dropdown-link-active-bg);
|
134
|
-
}
|
135
|
-
|
136
|
-
&.disabled,
|
137
|
-
&:disabled {
|
138
|
-
color: $dropdown-link-disabled-color;
|
139
|
-
background-color: transparent;
|
140
|
-
// Remove CSS gradients if they're enabled
|
141
|
-
@if $enable-gradients {
|
142
|
-
background-image: none;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
.dropdown-menu.show {
|
148
|
-
display: block;
|
149
|
-
}
|
150
|
-
|
151
|
-
// Dropdown section headers
|
152
|
-
.dropdown-header {
|
153
|
-
display: block;
|
154
|
-
padding: $dropdown-padding-y $dropdown-item-padding-x;
|
155
|
-
margin-bottom: 0; // for use with heading elements
|
156
|
-
font-size: $font-size-sm;
|
157
|
-
color: $dropdown-header-color;
|
158
|
-
white-space: nowrap; // as with > li > a
|
159
|
-
}
|
160
|
-
|
161
|
-
// Dropdown text
|
162
|
-
.dropdown-item-text {
|
163
|
-
display: block;
|
164
|
-
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
165
|
-
color: $dropdown-link-color;
|
166
|
-
}
|