chulapa-jekyll 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +27 -0
- data/LICENSE +21 -0
- data/README.md +126 -0
- data/_includes/components/author.html +40 -0
- data/_includes/components/breadcrumbdatesocial.html +63 -0
- data/_includes/components/categories.html +15 -0
- data/_includes/components/disqus.html +24 -0
- data/_includes/components/headers.html +124 -0
- data/_includes/components/indexcards.html +48 -0
- data/_includes/components/navbeforeafter.html +22 -0
- data/_includes/components/tags.html +15 -0
- data/_includes/components/toc.html +112 -0
- data/_includes/custom/custom_bottomscripts.html +5 -0
- data/_includes/custom/custom_head.html +8 -0
- data/_includes/custom/custom_head_before_css.html +5 -0
- data/_includes/custom/giscus.html +1 -0
- data/_includes/footer.html +129 -0
- data/_includes/head.html +309 -0
- data/_includes/navbar.html +205 -0
- data/_includes/search/algolia.html +3 -0
- data/_includes/search/google.html +11 -0
- data/_includes/search/lunr.html +7 -0
- data/_includes/snippets/bootstrapdemo.html +1390 -0
- data/_includes/snippets/carousel.html +61 -0
- data/_includes/snippets/datetranslate.html +48 -0
- data/_includes/snippets/masonry.html +23 -0
- data/_includes/snippets/video.html +26 -0
- data/_includes/snippets/youtube.html +6 -0
- data/_layouts/archive.html +82 -0
- data/_layouts/cloudcategory.html +89 -0
- data/_layouts/cloudtag.html +86 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +39 -0
- data/_layouts/indexcategory.html +36 -0
- data/_layouts/landingpage.html +51 -0
- data/_layouts/minimal.html +21 -0
- data/_layouts/search.html +59 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +54 -0
- data/_sass/bootstrap/_breadcrumb.scss +44 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +142 -0
- data/_sass/bootstrap/_card.scss +282 -0
- data/_sass/bootstrap/_carousel.scss +197 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_code.scss +48 -0
- data/_sass/bootstrap/_custom-forms.scss +522 -0
- data/_sass/bootstrap/_dropdown.scss +192 -0
- data/_sass/bootstrap/_forms.scss +347 -0
- data/_sass/bootstrap/_functions.scss +141 -0
- data/_sass/bootstrap/_grid.scss +77 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +192 -0
- data/_sass/bootstrap/_jumbotron.scss +17 -0
- data/_sass/bootstrap/_list-group.scss +154 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +47 -0
- data/_sass/bootstrap/_modal.scss +241 -0
- data/_sass/bootstrap/_nav.scss +121 -0
- data/_sass/bootstrap/_navbar.scss +324 -0
- data/_sass/bootstrap/_pagination.scss +74 -0
- data/_sass/bootstrap/_popover.scss +170 -0
- data/_sass/bootstrap/_print.scss +141 -0
- data/_sass/bootstrap/_progress.scss +47 -0
- data/_sass/bootstrap/_reboot.scss +480 -0
- data/_sass/bootstrap/_root.scss +20 -0
- data/_sass/bootstrap/_spinners.scss +56 -0
- data/_sass/bootstrap/_tables.scss +185 -0
- data/_sass/bootstrap/_toasts.scss +44 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +20 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +18 -0
- data/_sass/bootstrap/_variables.scss +1147 -0
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
- data/_sass/bootstrap/mixins/_badge.scss +17 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +110 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_float.scss +14 -0
- data/_sass/bootstrap/mixins/_forms.scss +177 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +69 -0
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
- data/_sass/bootstrap/mixins/_size.scss +7 -0
- data/_sass/bootstrap/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_visibility.scss +8 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +75 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +26 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +11 -0
- data/_sass/bootstrap/utilities/_interactions.scss +5 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
- data/_sass/bootstrap/utilities/_text.scss +71 -0
- data/_sass/bootstrap/utilities/_visibility.scss +13 -0
- data/_sass/bootstrap/vendor/_rfs.scss +204 -0
- data/_sass/bootstrapv5-migration.scss +79 -0
- data/_sass/chulapa-classes.scss +844 -0
- data/_sass/chulapa-master.scss +11 -0
- data/_sass/chulapa-misc.scss +105 -0
- data/_sass/chulapa-mixins.scss +77 -0
- data/_sass/chulapa-vars.scss +48 -0
- data/_sass/highlight/README.md +23 -0
- data/_sass/highlight/UNLICENSE.txt +24 -0
- data/_sass/highlight/autumn.scss +58 -0
- data/_sass/highlight/borland.scss +46 -0
- data/_sass/highlight/bw.scss +34 -0
- data/_sass/highlight/colorful.scss +61 -0
- data/_sass/highlight/cran.scss +169 -0
- data/_sass/highlight/default.scss +61 -0
- data/_sass/highlight/dracula.scss +169 -0
- data/_sass/highlight/emacs.scss +61 -0
- data/_sass/highlight/friendly.scss +61 -0
- data/_sass/highlight/fruity.scss +70 -0
- data/_sass/highlight/github.scss +61 -0
- data/_sass/highlight/gruvbox.light.scss +84 -0
- data/_sass/highlight/manni.scss +61 -0
- data/_sass/highlight/monokai.scss +65 -0
- data/_sass/highlight/murphy.scss +61 -0
- data/_sass/highlight/native.scss +70 -0
- data/_sass/highlight/pastie.scss +60 -0
- data/_sass/highlight/perldoc.scss +58 -0
- data/_sass/highlight/skeletor.scss +140 -0
- data/_sass/highlight/tango.scss +69 -0
- data/_sass/highlight/thankful_eyes.scss +173 -0
- data/_sass/highlight/trac.scss +59 -0
- data/_sass/highlight/vim.scss +70 -0
- data/_sass/highlight/vs.scss +33 -0
- data/_sass/highlight/zenburn.scss +136 -0
- data/_sass/reset-algolia.scss +24 -0
- data/_sass/skins/academia.scss +26 -0
- data/_sass/skins/auto.scss +26 -0
- data/_sass/skins/chulapa.scss +52 -0
- data/_sass/skins/deeply.scss +89 -0
- data/_sass/skins/graymor.scss +26 -0
- data/_sass/skins/hootstrap.scss +17 -0
- data/_sass/skins/journal.scss +142 -0
- data/_sass/skins/lux.scss +377 -0
- data/_sass/skins/lymcha.scss +14 -0
- data/_sass/skins/minty.scss +165 -0
- data/_sass/skins/none.scss +2 -0
- data/_sass/skins/pear.scss +21 -0
- data/_sass/skins/preptor.scss +19 -0
- data/_sass/skins/sketchy.scss +745 -0
- data/_sass/skins/sunset.scss +14 -0
- data/_sass/skins/twitter-dim.scss +30 -0
- data/_sass/skins/twitter-lights-out.scss +31 -0
- data/_sass/skins/twitter.scss +30 -0
- data/_sass/skins/universal.scss +24 -0
- data/_sass/skins/wandoo.scss +15 -0
- data/assets/atom.xml +72 -0
- data/assets/css/custom.scss +4 -0
- data/assets/css/highlighter.scss +5 -0
- data/assets/css/main.scss +35 -0
- data/assets/fonts/Chulapa/Chulapa-Bold.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.1.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.2.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_v2.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Bold_vmod.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Light.otf +0 -0
- data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
- data/assets/fonts/Chulapa/LICENCIA DE USO.txt +2 -0
- data/assets/fonts/Ferpal/Ferpal-Regular.otf +0 -0
- data/assets/js/algolia/algolia-search.js +148 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +81 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.min.js +1 -0
- data/assets/js/clipboardrouge.js +95 -0
- data/assets/js/google/google-search.js +24 -0
- data/assets/js/lunr/lunr-search.js +122 -0
- data/assets/js/lunr/lunr-store.js +35 -0
- data/assets/rss.xml +65 -0
- metadata +356 -0
@@ -0,0 +1,192 @@
|
|
1
|
+
// stylelint-disable selector-no-qualifying-type
|
2
|
+
|
3
|
+
//
|
4
|
+
// Base styles
|
5
|
+
//
|
6
|
+
|
7
|
+
.input-group {
|
8
|
+
position: relative;
|
9
|
+
display: flex;
|
10
|
+
flex-wrap: wrap; // For form validation feedback
|
11
|
+
align-items: stretch;
|
12
|
+
width: 100%;
|
13
|
+
|
14
|
+
> .form-control,
|
15
|
+
> .form-control-plaintext,
|
16
|
+
> .custom-select,
|
17
|
+
> .custom-file {
|
18
|
+
position: relative; // For focus state's z-index
|
19
|
+
flex: 1 1 auto;
|
20
|
+
width: 1%;
|
21
|
+
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
|
22
|
+
margin-bottom: 0;
|
23
|
+
|
24
|
+
+ .form-control,
|
25
|
+
+ .custom-select,
|
26
|
+
+ .custom-file {
|
27
|
+
margin-left: -$input-border-width;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Bring the "active" form control to the top of surrounding elements
|
32
|
+
> .form-control:focus,
|
33
|
+
> .custom-select:focus,
|
34
|
+
> .custom-file .custom-file-input:focus ~ .custom-file-label {
|
35
|
+
z-index: 3;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Bring the custom file input above the label
|
39
|
+
> .custom-file .custom-file-input:focus {
|
40
|
+
z-index: 4;
|
41
|
+
}
|
42
|
+
|
43
|
+
> .form-control,
|
44
|
+
> .custom-select {
|
45
|
+
&:not(:last-child) { @include border-right-radius(0); }
|
46
|
+
&:not(:first-child) { @include border-left-radius(0); }
|
47
|
+
}
|
48
|
+
|
49
|
+
// Custom file inputs have more complex markup, thus requiring different
|
50
|
+
// border-radius overrides.
|
51
|
+
> .custom-file {
|
52
|
+
display: flex;
|
53
|
+
align-items: center;
|
54
|
+
|
55
|
+
&:not(:last-child) .custom-file-label,
|
56
|
+
&:not(:last-child) .custom-file-label::after { @include border-right-radius(0); }
|
57
|
+
&:not(:first-child) .custom-file-label { @include border-left-radius(0); }
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
// Prepend and append
|
63
|
+
//
|
64
|
+
// While it requires one extra layer of HTML for each, dedicated prepend and
|
65
|
+
// append elements allow us to 1) be less clever, 2) simplify our selectors, and
|
66
|
+
// 3) support HTML5 form validation.
|
67
|
+
|
68
|
+
.input-group-prepend,
|
69
|
+
.input-group-append {
|
70
|
+
display: flex;
|
71
|
+
|
72
|
+
// Ensure buttons are always above inputs for more visually pleasing borders.
|
73
|
+
// This isn't needed for `.input-group-text` since it shares the same border-color
|
74
|
+
// as our inputs.
|
75
|
+
.btn {
|
76
|
+
position: relative;
|
77
|
+
z-index: 2;
|
78
|
+
|
79
|
+
&:focus {
|
80
|
+
z-index: 3;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.btn + .btn,
|
85
|
+
.btn + .input-group-text,
|
86
|
+
.input-group-text + .input-group-text,
|
87
|
+
.input-group-text + .btn {
|
88
|
+
margin-left: -$input-border-width;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.input-group-prepend { margin-right: -$input-border-width; }
|
93
|
+
.input-group-append { margin-left: -$input-border-width; }
|
94
|
+
|
95
|
+
|
96
|
+
// Textual addons
|
97
|
+
//
|
98
|
+
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
99
|
+
// to prepend or append to an input.
|
100
|
+
|
101
|
+
.input-group-text {
|
102
|
+
display: flex;
|
103
|
+
align-items: center;
|
104
|
+
padding: $input-padding-y $input-padding-x;
|
105
|
+
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
106
|
+
@include font-size($input-font-size); // Match inputs
|
107
|
+
font-weight: $font-weight-normal;
|
108
|
+
line-height: $input-line-height;
|
109
|
+
color: $input-group-addon-color;
|
110
|
+
text-align: center;
|
111
|
+
white-space: nowrap;
|
112
|
+
background-color: $input-group-addon-bg;
|
113
|
+
border: $input-border-width solid $input-group-addon-border-color;
|
114
|
+
@include border-radius($input-border-radius);
|
115
|
+
|
116
|
+
// Nuke default margins from checkboxes and radios to vertically center within.
|
117
|
+
input[type="radio"],
|
118
|
+
input[type="checkbox"] {
|
119
|
+
margin-top: 0;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
// Sizing
|
125
|
+
//
|
126
|
+
// Remix the default form control sizing classes into new ones for easier
|
127
|
+
// manipulation.
|
128
|
+
|
129
|
+
.input-group-lg > .form-control:not(textarea),
|
130
|
+
.input-group-lg > .custom-select {
|
131
|
+
height: $input-height-lg;
|
132
|
+
}
|
133
|
+
|
134
|
+
.input-group-lg > .form-control,
|
135
|
+
.input-group-lg > .custom-select,
|
136
|
+
.input-group-lg > .input-group-prepend > .input-group-text,
|
137
|
+
.input-group-lg > .input-group-append > .input-group-text,
|
138
|
+
.input-group-lg > .input-group-prepend > .btn,
|
139
|
+
.input-group-lg > .input-group-append > .btn {
|
140
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
141
|
+
@include font-size($input-font-size-lg);
|
142
|
+
line-height: $input-line-height-lg;
|
143
|
+
@include border-radius($input-border-radius-lg);
|
144
|
+
}
|
145
|
+
|
146
|
+
.input-group-sm > .form-control:not(textarea),
|
147
|
+
.input-group-sm > .custom-select {
|
148
|
+
height: $input-height-sm;
|
149
|
+
}
|
150
|
+
|
151
|
+
.input-group-sm > .form-control,
|
152
|
+
.input-group-sm > .custom-select,
|
153
|
+
.input-group-sm > .input-group-prepend > .input-group-text,
|
154
|
+
.input-group-sm > .input-group-append > .input-group-text,
|
155
|
+
.input-group-sm > .input-group-prepend > .btn,
|
156
|
+
.input-group-sm > .input-group-append > .btn {
|
157
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
158
|
+
@include font-size($input-font-size-sm);
|
159
|
+
line-height: $input-line-height-sm;
|
160
|
+
@include border-radius($input-border-radius-sm);
|
161
|
+
}
|
162
|
+
|
163
|
+
.input-group-lg > .custom-select,
|
164
|
+
.input-group-sm > .custom-select {
|
165
|
+
padding-right: $custom-select-padding-x + $custom-select-indicator-padding;
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
// Prepend and append rounded corners
|
170
|
+
//
|
171
|
+
// These rulesets must come after the sizing ones to properly override sm and lg
|
172
|
+
// border-radius values when extending. They're more specific than we'd like
|
173
|
+
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
174
|
+
|
175
|
+
|
176
|
+
.input-group > .input-group-prepend > .btn,
|
177
|
+
.input-group > .input-group-prepend > .input-group-text,
|
178
|
+
.input-group > .input-group-append:not(:last-child) > .btn,
|
179
|
+
.input-group > .input-group-append:not(:last-child) > .input-group-text,
|
180
|
+
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
181
|
+
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
|
182
|
+
@include border-right-radius(0);
|
183
|
+
}
|
184
|
+
|
185
|
+
.input-group > .input-group-append > .btn,
|
186
|
+
.input-group > .input-group-append > .input-group-text,
|
187
|
+
.input-group > .input-group-prepend:not(:first-child) > .btn,
|
188
|
+
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
|
189
|
+
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
|
190
|
+
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
|
191
|
+
@include border-left-radius(0);
|
192
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.jumbotron {
|
2
|
+
padding: $jumbotron-padding ($jumbotron-padding / 2);
|
3
|
+
margin-bottom: $jumbotron-padding;
|
4
|
+
color: $jumbotron-color;
|
5
|
+
background-color: $jumbotron-bg;
|
6
|
+
@include border-radius($border-radius-lg);
|
7
|
+
|
8
|
+
@include media-breakpoint-up(sm) {
|
9
|
+
padding: ($jumbotron-padding * 2) $jumbotron-padding;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.jumbotron-fluid {
|
14
|
+
padding-right: 0;
|
15
|
+
padding-left: 0;
|
16
|
+
@include border-radius(0);
|
17
|
+
}
|
@@ -0,0 +1,154 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Easily usable on <ul>, <ol>, or <div>.
|
4
|
+
|
5
|
+
.list-group {
|
6
|
+
display: flex;
|
7
|
+
flex-direction: column;
|
8
|
+
|
9
|
+
// No need to set list-style: none; since .list-group-item is block level
|
10
|
+
padding-left: 0; // reset padding because ul and ol
|
11
|
+
margin-bottom: 0;
|
12
|
+
@include border-radius($list-group-border-radius);
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
// Interactive list items
|
17
|
+
//
|
18
|
+
// Use anchor or button elements instead of `li`s or `div`s to create interactive
|
19
|
+
// list items. Includes an extra `.active` modifier class for selected items.
|
20
|
+
|
21
|
+
.list-group-item-action {
|
22
|
+
width: 100%; // For `<button>`s (anchors become 100% by default though)
|
23
|
+
color: $list-group-action-color;
|
24
|
+
text-align: inherit; // For `<button>`s (anchors inherit)
|
25
|
+
|
26
|
+
// Hover state
|
27
|
+
@include hover-focus() {
|
28
|
+
z-index: 1; // Place hover/focus items above their siblings for proper border styling
|
29
|
+
color: $list-group-action-hover-color;
|
30
|
+
text-decoration: none;
|
31
|
+
background-color: $list-group-hover-bg;
|
32
|
+
}
|
33
|
+
|
34
|
+
&:active {
|
35
|
+
color: $list-group-action-active-color;
|
36
|
+
background-color: $list-group-action-active-bg;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Individual list items
|
42
|
+
//
|
43
|
+
// Use on `li`s or `div`s within the `.list-group` parent.
|
44
|
+
|
45
|
+
.list-group-item {
|
46
|
+
position: relative;
|
47
|
+
display: block;
|
48
|
+
padding: $list-group-item-padding-y $list-group-item-padding-x;
|
49
|
+
color: $list-group-color;
|
50
|
+
text-decoration: if($link-decoration == none, null, none);
|
51
|
+
background-color: $list-group-bg;
|
52
|
+
border: $list-group-border-width solid $list-group-border-color;
|
53
|
+
|
54
|
+
&:first-child {
|
55
|
+
@include border-top-radius(inherit);
|
56
|
+
}
|
57
|
+
|
58
|
+
&:last-child {
|
59
|
+
@include border-bottom-radius(inherit);
|
60
|
+
}
|
61
|
+
|
62
|
+
&.disabled,
|
63
|
+
&:disabled {
|
64
|
+
color: $list-group-disabled-color;
|
65
|
+
pointer-events: none;
|
66
|
+
background-color: $list-group-disabled-bg;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Include both here for `<a>`s and `<button>`s
|
70
|
+
&.active {
|
71
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
72
|
+
color: $list-group-active-color;
|
73
|
+
background-color: $list-group-active-bg;
|
74
|
+
border-color: $list-group-active-border-color;
|
75
|
+
}
|
76
|
+
|
77
|
+
& + & {
|
78
|
+
border-top-width: 0;
|
79
|
+
|
80
|
+
&.active {
|
81
|
+
margin-top: -$list-group-border-width;
|
82
|
+
border-top-width: $list-group-border-width;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
// Horizontal
|
89
|
+
//
|
90
|
+
// Change the layout of list group items from vertical (default) to horizontal.
|
91
|
+
|
92
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
93
|
+
@include media-breakpoint-up($breakpoint) {
|
94
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
95
|
+
|
96
|
+
.list-group-horizontal#{$infix} {
|
97
|
+
flex-direction: row;
|
98
|
+
|
99
|
+
> .list-group-item {
|
100
|
+
&:first-child {
|
101
|
+
@include border-bottom-left-radius($list-group-border-radius);
|
102
|
+
@include border-top-right-radius(0);
|
103
|
+
}
|
104
|
+
|
105
|
+
&:last-child {
|
106
|
+
@include border-top-right-radius($list-group-border-radius);
|
107
|
+
@include border-bottom-left-radius(0);
|
108
|
+
}
|
109
|
+
|
110
|
+
&.active {
|
111
|
+
margin-top: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
& + .list-group-item {
|
115
|
+
border-top-width: $list-group-border-width;
|
116
|
+
border-left-width: 0;
|
117
|
+
|
118
|
+
&.active {
|
119
|
+
margin-left: -$list-group-border-width;
|
120
|
+
border-left-width: $list-group-border-width;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
// Flush list items
|
130
|
+
//
|
131
|
+
// Remove borders and border-radius to keep list group items edge-to-edge. Most
|
132
|
+
// useful within other components (e.g., cards).
|
133
|
+
|
134
|
+
.list-group-flush {
|
135
|
+
@include border-radius(0);
|
136
|
+
|
137
|
+
> .list-group-item {
|
138
|
+
border-width: 0 0 $list-group-border-width;
|
139
|
+
|
140
|
+
&:last-child {
|
141
|
+
border-bottom-width: 0;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
// Contextual variants
|
148
|
+
//
|
149
|
+
// Add modifier classes to change text and background color on individual items.
|
150
|
+
// Organizationally, this must come after the `:hover` states.
|
151
|
+
|
152
|
+
@each $color, $value in $theme-colors {
|
153
|
+
@include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
|
154
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
// Toggles
|
2
|
+
//
|
3
|
+
// Used in conjunction with global variables to enable certain theme features.
|
4
|
+
|
5
|
+
// Vendor
|
6
|
+
@import "vendor/rfs";
|
7
|
+
|
8
|
+
// Deprecate
|
9
|
+
@import "mixins/deprecate";
|
10
|
+
|
11
|
+
// Utilities
|
12
|
+
@import "mixins/breakpoints";
|
13
|
+
@import "mixins/hover";
|
14
|
+
@import "mixins/image";
|
15
|
+
@import "mixins/badge";
|
16
|
+
@import "mixins/resize";
|
17
|
+
@import "mixins/screen-reader";
|
18
|
+
@import "mixins/size";
|
19
|
+
@import "mixins/reset-text";
|
20
|
+
@import "mixins/text-emphasis";
|
21
|
+
@import "mixins/text-hide";
|
22
|
+
@import "mixins/text-truncate";
|
23
|
+
@import "mixins/visibility";
|
24
|
+
|
25
|
+
// Components
|
26
|
+
@import "mixins/alert";
|
27
|
+
@import "mixins/buttons";
|
28
|
+
@import "mixins/caret";
|
29
|
+
@import "mixins/pagination";
|
30
|
+
@import "mixins/lists";
|
31
|
+
@import "mixins/list-group";
|
32
|
+
@import "mixins/nav-divider";
|
33
|
+
@import "mixins/forms";
|
34
|
+
@import "mixins/table-row";
|
35
|
+
|
36
|
+
// Skins
|
37
|
+
@import "mixins/background-variant";
|
38
|
+
@import "mixins/border-radius";
|
39
|
+
@import "mixins/box-shadow";
|
40
|
+
@import "mixins/gradients";
|
41
|
+
@import "mixins/transition";
|
42
|
+
|
43
|
+
// Layout
|
44
|
+
@import "mixins/clearfix";
|
45
|
+
@import "mixins/grid-framework";
|
46
|
+
@import "mixins/grid";
|
47
|
+
@import "mixins/float";
|
@@ -0,0 +1,241 @@
|
|
1
|
+
// .modal-open - body class for killing the scroll
|
2
|
+
// .modal - container to scroll within
|
3
|
+
// .modal-dialog - positioning shell for the actual modal
|
4
|
+
// .modal-content - actual modal w/ bg and corners and stuff
|
5
|
+
|
6
|
+
|
7
|
+
.modal-open {
|
8
|
+
// Kill the scroll on the body
|
9
|
+
overflow: hidden;
|
10
|
+
|
11
|
+
.modal {
|
12
|
+
overflow-x: hidden;
|
13
|
+
overflow-y: auto;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
// Container that the modal scrolls within
|
18
|
+
.modal {
|
19
|
+
position: fixed;
|
20
|
+
top: 0;
|
21
|
+
left: 0;
|
22
|
+
z-index: $zindex-modal;
|
23
|
+
display: none;
|
24
|
+
width: 100%;
|
25
|
+
height: 100%;
|
26
|
+
overflow: hidden;
|
27
|
+
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
28
|
+
// https://github.com/twbs/bootstrap/pull/10951.
|
29
|
+
outline: 0;
|
30
|
+
// We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
|
31
|
+
// gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
|
32
|
+
// See also https://github.com/twbs/bootstrap/issues/17695
|
33
|
+
}
|
34
|
+
|
35
|
+
// Shell div to position the modal with bottom padding
|
36
|
+
.modal-dialog {
|
37
|
+
position: relative;
|
38
|
+
width: auto;
|
39
|
+
margin: $modal-dialog-margin;
|
40
|
+
// allow clicks to pass through for custom click handling to close modal
|
41
|
+
pointer-events: none;
|
42
|
+
|
43
|
+
// When fading in the modal, animate it to slide down
|
44
|
+
.modal.fade & {
|
45
|
+
@include transition($modal-transition);
|
46
|
+
transform: $modal-fade-transform;
|
47
|
+
}
|
48
|
+
.modal.show & {
|
49
|
+
transform: $modal-show-transform;
|
50
|
+
}
|
51
|
+
|
52
|
+
// When trying to close, animate focus to scale
|
53
|
+
.modal.modal-static & {
|
54
|
+
transform: $modal-scale-transform;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.modal-dialog-scrollable {
|
59
|
+
display: flex; // IE10/11
|
60
|
+
max-height: subtract(100%, $modal-dialog-margin * 2);
|
61
|
+
|
62
|
+
.modal-content {
|
63
|
+
max-height: subtract(100vh, $modal-dialog-margin * 2); // IE10/11
|
64
|
+
overflow: hidden;
|
65
|
+
}
|
66
|
+
|
67
|
+
.modal-header,
|
68
|
+
.modal-footer {
|
69
|
+
flex-shrink: 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
.modal-body {
|
73
|
+
overflow-y: auto;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.modal-dialog-centered {
|
78
|
+
display: flex;
|
79
|
+
align-items: center;
|
80
|
+
min-height: subtract(100%, $modal-dialog-margin * 2);
|
81
|
+
|
82
|
+
// Ensure `modal-dialog-centered` extends the full height of the view (IE10/11)
|
83
|
+
&::before {
|
84
|
+
display: block; // IE10
|
85
|
+
height: subtract(100vh, $modal-dialog-margin * 2);
|
86
|
+
height: min-content; // Reset height to 0 except on IE
|
87
|
+
content: "";
|
88
|
+
}
|
89
|
+
|
90
|
+
// Ensure `.modal-body` shows scrollbar (IE10/11)
|
91
|
+
&.modal-dialog-scrollable {
|
92
|
+
flex-direction: column;
|
93
|
+
justify-content: center;
|
94
|
+
height: 100%;
|
95
|
+
|
96
|
+
.modal-content {
|
97
|
+
max-height: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
&::before {
|
101
|
+
content: none;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Actual modal
|
107
|
+
.modal-content {
|
108
|
+
position: relative;
|
109
|
+
display: flex;
|
110
|
+
flex-direction: column;
|
111
|
+
width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`
|
112
|
+
// counteract the pointer-events: none; in the .modal-dialog
|
113
|
+
color: $modal-content-color;
|
114
|
+
pointer-events: auto;
|
115
|
+
background-color: $modal-content-bg;
|
116
|
+
background-clip: padding-box;
|
117
|
+
border: $modal-content-border-width solid $modal-content-border-color;
|
118
|
+
@include border-radius($modal-content-border-radius);
|
119
|
+
@include box-shadow($modal-content-box-shadow-xs);
|
120
|
+
// Remove focus outline from opened modal
|
121
|
+
outline: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
// Modal background
|
125
|
+
.modal-backdrop {
|
126
|
+
position: fixed;
|
127
|
+
top: 0;
|
128
|
+
left: 0;
|
129
|
+
z-index: $zindex-modal-backdrop;
|
130
|
+
width: 100vw;
|
131
|
+
height: 100vh;
|
132
|
+
background-color: $modal-backdrop-bg;
|
133
|
+
|
134
|
+
// Fade for backdrop
|
135
|
+
&.fade { opacity: 0; }
|
136
|
+
&.show { opacity: $modal-backdrop-opacity; }
|
137
|
+
}
|
138
|
+
|
139
|
+
// Modal header
|
140
|
+
// Top section of the modal w/ title and dismiss
|
141
|
+
.modal-header {
|
142
|
+
display: flex;
|
143
|
+
align-items: flex-start; // so the close btn always stays on the upper right corner
|
144
|
+
justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
|
145
|
+
padding: $modal-header-padding;
|
146
|
+
border-bottom: $modal-header-border-width solid $modal-header-border-color;
|
147
|
+
@include border-top-radius($modal-content-inner-border-radius);
|
148
|
+
|
149
|
+
.close {
|
150
|
+
padding: $modal-header-padding;
|
151
|
+
// auto on the left force icon to the right even when there is no .modal-title
|
152
|
+
margin: (-$modal-header-padding-y) (-$modal-header-padding-x) (-$modal-header-padding-y) auto;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
// Title text within header
|
157
|
+
.modal-title {
|
158
|
+
margin-bottom: 0;
|
159
|
+
line-height: $modal-title-line-height;
|
160
|
+
}
|
161
|
+
|
162
|
+
// Modal body
|
163
|
+
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
164
|
+
.modal-body {
|
165
|
+
position: relative;
|
166
|
+
// Enable `flex-grow: 1` so that the body take up as much space as possible
|
167
|
+
// when there should be a fixed height on `.modal-dialog`.
|
168
|
+
flex: 1 1 auto;
|
169
|
+
padding: $modal-inner-padding;
|
170
|
+
}
|
171
|
+
|
172
|
+
// Footer (for actions)
|
173
|
+
.modal-footer {
|
174
|
+
display: flex;
|
175
|
+
flex-wrap: wrap;
|
176
|
+
align-items: center; // vertically center
|
177
|
+
justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items
|
178
|
+
padding: $modal-inner-padding - $modal-footer-margin-between / 2;
|
179
|
+
border-top: $modal-footer-border-width solid $modal-footer-border-color;
|
180
|
+
@include border-bottom-radius($modal-content-inner-border-radius);
|
181
|
+
|
182
|
+
// Place margin between footer elements
|
183
|
+
// This solution is far from ideal because of the universal selector usage,
|
184
|
+
// but is needed to fix https://github.com/twbs/bootstrap/issues/24800
|
185
|
+
// stylelint-disable-next-line selector-max-universal
|
186
|
+
> * {
|
187
|
+
margin: $modal-footer-margin-between / 2;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
// Measure scrollbar width for padding body during modal show/hide
|
192
|
+
.modal-scrollbar-measure {
|
193
|
+
position: absolute;
|
194
|
+
top: -9999px;
|
195
|
+
width: 50px;
|
196
|
+
height: 50px;
|
197
|
+
overflow: scroll;
|
198
|
+
}
|
199
|
+
|
200
|
+
// Scale up the modal
|
201
|
+
@include media-breakpoint-up(sm) {
|
202
|
+
// Automatically set modal's width for larger viewports
|
203
|
+
.modal-dialog {
|
204
|
+
max-width: $modal-md;
|
205
|
+
margin: $modal-dialog-margin-y-sm-up auto;
|
206
|
+
}
|
207
|
+
|
208
|
+
.modal-dialog-scrollable {
|
209
|
+
max-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
|
210
|
+
|
211
|
+
.modal-content {
|
212
|
+
max-height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
.modal-dialog-centered {
|
217
|
+
min-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
|
218
|
+
|
219
|
+
&::before {
|
220
|
+
height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
|
221
|
+
height: min-content;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
.modal-content {
|
226
|
+
@include box-shadow($modal-content-box-shadow-sm-up);
|
227
|
+
}
|
228
|
+
|
229
|
+
.modal-sm { max-width: $modal-sm; }
|
230
|
+
}
|
231
|
+
|
232
|
+
@include media-breakpoint-up(lg) {
|
233
|
+
.modal-lg,
|
234
|
+
.modal-xl {
|
235
|
+
max-width: $modal-lg;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
@include media-breakpoint-up(xl) {
|
240
|
+
.modal-xl { max-width: $modal-xl; }
|
241
|
+
}
|