jekyll-bootstrap 4.0.0.pre.beta.2.1

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