devme-jekyll-theme 0.1.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.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gemspec +9 -0
  3. data/.gitignore +8 -0
  4. data/Gemfile +30 -0
  5. data/Gemfile.lock +255 -0
  6. data/README.md +2 -0
  7. data/_config.yml +57 -0
  8. data/_includes/head.html +7 -0
  9. data/_includes/scripts.html +2 -0
  10. data/_layouts/default.html +12 -0
  11. data/_sass/bootstrap-jekyll-theme.scss +4 -0
  12. data/_sass/bootstrap/scss/_alert.scss +51 -0
  13. data/_sass/bootstrap/scss/_badge.scss +54 -0
  14. data/_sass/bootstrap/scss/_breadcrumb.scss +42 -0
  15. data/_sass/bootstrap/scss/_button-group.scss +163 -0
  16. data/_sass/bootstrap/scss/_buttons.scss +139 -0
  17. data/_sass/bootstrap/scss/_card.scss +278 -0
  18. data/_sass/bootstrap/scss/_carousel.scss +197 -0
  19. data/_sass/bootstrap/scss/_close.scss +41 -0
  20. data/_sass/bootstrap/scss/_code.scss +48 -0
  21. data/_sass/bootstrap/scss/_custom-forms.scss +521 -0
  22. data/_sass/bootstrap/scss/_dropdown.scss +191 -0
  23. data/_sass/bootstrap/scss/_forms.scss +338 -0
  24. data/_sass/bootstrap/scss/_functions.scss +134 -0
  25. data/_sass/bootstrap/scss/_grid.scss +69 -0
  26. data/_sass/bootstrap/scss/_images.scss +42 -0
  27. data/_sass/bootstrap/scss/_input-group.scss +191 -0
  28. data/_sass/bootstrap/scss/_jumbotron.scss +17 -0
  29. data/_sass/bootstrap/scss/_list-group.scss +158 -0
  30. data/_sass/bootstrap/scss/_media.scss +8 -0
  31. data/_sass/bootstrap/scss/_mixins.scss +47 -0
  32. data/_sass/bootstrap/scss/_modal.scss +239 -0
  33. data/_sass/bootstrap/scss/_nav.scss +120 -0
  34. data/_sass/bootstrap/scss/_navbar.scss +324 -0
  35. data/_sass/bootstrap/scss/_pagination.scss +73 -0
  36. data/_sass/bootstrap/scss/_popover.scss +170 -0
  37. data/_sass/bootstrap/scss/_print.scss +141 -0
  38. data/_sass/bootstrap/scss/_progress.scss +46 -0
  39. data/_sass/bootstrap/scss/_reboot.scss +482 -0
  40. data/_sass/bootstrap/scss/_root.scss +20 -0
  41. data/_sass/bootstrap/scss/_spinners.scss +55 -0
  42. data/_sass/bootstrap/scss/_tables.scss +185 -0
  43. data/_sass/bootstrap/scss/_toasts.scss +44 -0
  44. data/_sass/bootstrap/scss/_tooltip.scss +115 -0
  45. data/_sass/bootstrap/scss/_transitions.scss +20 -0
  46. data/_sass/bootstrap/scss/_type.scss +125 -0
  47. data/_sass/bootstrap/scss/_utilities.scss +17 -0
  48. data/_sass/bootstrap/scss/_variables.scss +1143 -0
  49. data/_sass/bootstrap/scss/bootstrap-grid.scss +29 -0
  50. data/_sass/bootstrap/scss/bootstrap-reboot.scss +12 -0
  51. data/_sass/bootstrap/scss/bootstrap.scss +44 -0
  52. data/_sass/bootstrap/scss/mixins/_alert.scss +13 -0
  53. data/_sass/bootstrap/scss/mixins/_background-variant.scss +22 -0
  54. data/_sass/bootstrap/scss/mixins/_badge.scss +17 -0
  55. data/_sass/bootstrap/scss/mixins/_border-radius.scss +63 -0
  56. data/_sass/bootstrap/scss/mixins/_box-shadow.scss +20 -0
  57. data/_sass/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  58. data/_sass/bootstrap/scss/mixins/_buttons.scss +110 -0
  59. data/_sass/bootstrap/scss/mixins/_caret.scss +62 -0
  60. data/_sass/bootstrap/scss/mixins/_clearfix.scss +7 -0
  61. data/_sass/bootstrap/scss/mixins/_deprecate.scss +10 -0
  62. data/_sass/bootstrap/scss/mixins/_float.scss +14 -0
  63. data/_sass/bootstrap/scss/mixins/_forms.scss +177 -0
  64. data/_sass/bootstrap/scss/mixins/_gradients.scss +45 -0
  65. data/_sass/bootstrap/scss/mixins/_grid-framework.scss +71 -0
  66. data/_sass/bootstrap/scss/mixins/_grid.scss +69 -0
  67. data/_sass/bootstrap/scss/mixins/_hover.scss +37 -0
  68. data/_sass/bootstrap/scss/mixins/_image.scss +36 -0
  69. data/_sass/bootstrap/scss/mixins/_list-group.scss +21 -0
  70. data/_sass/bootstrap/scss/mixins/_lists.scss +7 -0
  71. data/_sass/bootstrap/scss/mixins/_nav-divider.scss +11 -0
  72. data/_sass/bootstrap/scss/mixins/_pagination.scss +22 -0
  73. data/_sass/bootstrap/scss/mixins/_reset-text.scss +17 -0
  74. data/_sass/bootstrap/scss/mixins/_resize.scss +6 -0
  75. data/_sass/bootstrap/scss/mixins/_screen-reader.scss +34 -0
  76. data/_sass/bootstrap/scss/mixins/_size.scss +7 -0
  77. data/_sass/bootstrap/scss/mixins/_table-row.scss +39 -0
  78. data/_sass/bootstrap/scss/mixins/_text-emphasis.scss +17 -0
  79. data/_sass/bootstrap/scss/mixins/_text-hide.scss +11 -0
  80. data/_sass/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  81. data/_sass/bootstrap/scss/mixins/_transition.scss +16 -0
  82. data/_sass/bootstrap/scss/mixins/_visibility.scss +8 -0
  83. data/_sass/bootstrap/scss/utilities/_align.scss +8 -0
  84. data/_sass/bootstrap/scss/utilities/_background.scss +19 -0
  85. data/_sass/bootstrap/scss/utilities/_borders.scss +75 -0
  86. data/_sass/bootstrap/scss/utilities/_clearfix.scss +3 -0
  87. data/_sass/bootstrap/scss/utilities/_display.scss +26 -0
  88. data/_sass/bootstrap/scss/utilities/_embed.scss +39 -0
  89. data/_sass/bootstrap/scss/utilities/_flex.scss +51 -0
  90. data/_sass/bootstrap/scss/utilities/_float.scss +11 -0
  91. data/_sass/bootstrap/scss/utilities/_overflow.scss +5 -0
  92. data/_sass/bootstrap/scss/utilities/_position.scss +32 -0
  93. data/_sass/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  94. data/_sass/bootstrap/scss/utilities/_shadows.scss +6 -0
  95. data/_sass/bootstrap/scss/utilities/_sizing.scss +20 -0
  96. data/_sass/bootstrap/scss/utilities/_spacing.scss +73 -0
  97. data/_sass/bootstrap/scss/utilities/_stretched-link.scss +19 -0
  98. data/_sass/bootstrap/scss/utilities/_text.scss +72 -0
  99. data/_sass/bootstrap/scss/utilities/_visibility.scss +13 -0
  100. data/_sass/bootstrap/scss/vendor/_rfs.scss +204 -0
  101. data/assets/css/style.scss +3 -0
  102. data/assets/js/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
  103. data/assets/js/jquery/dist/jquery.min.js +2 -0
  104. data/gulpfile.js +46 -0
  105. data/index.html +5 -0
  106. data/package-lock.json +4258 -0
  107. data/package.json +11 -0
  108. metadata +147 -0
@@ -0,0 +1,158 @@
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
+ }
13
+
14
+
15
+ // Interactive list items
16
+ //
17
+ // Use anchor or button elements instead of `li`s or `div`s to create interactive
18
+ // list items. Includes an extra `.active` modifier class for selected items.
19
+
20
+ .list-group-item-action {
21
+ width: 100%; // For `<button>`s (anchors become 100% by default though)
22
+ color: $list-group-action-color;
23
+ text-align: inherit; // For `<button>`s (anchors inherit)
24
+
25
+ // Hover state
26
+ @include hover-focus() {
27
+ z-index: 1; // Place hover/focus items above their siblings for proper border styling
28
+ color: $list-group-action-hover-color;
29
+ text-decoration: none;
30
+ background-color: $list-group-hover-bg;
31
+ }
32
+
33
+ &:active {
34
+ color: $list-group-action-active-color;
35
+ background-color: $list-group-action-active-bg;
36
+ }
37
+ }
38
+
39
+
40
+ // Individual list items
41
+ //
42
+ // Use on `li`s or `div`s within the `.list-group` parent.
43
+
44
+ .list-group-item {
45
+ position: relative;
46
+ display: block;
47
+ padding: $list-group-item-padding-y $list-group-item-padding-x;
48
+ color: $list-group-color;
49
+ background-color: $list-group-bg;
50
+ border: $list-group-border-width solid $list-group-border-color;
51
+
52
+ &:first-child {
53
+ @include border-top-radius($list-group-border-radius);
54
+ }
55
+
56
+ &:last-child {
57
+ @include border-bottom-radius($list-group-border-radius);
58
+ }
59
+
60
+ &.disabled,
61
+ &:disabled {
62
+ color: $list-group-disabled-color;
63
+ pointer-events: none;
64
+ background-color: $list-group-disabled-bg;
65
+ }
66
+
67
+ // Include both here for `<a>`s and `<button>`s
68
+ &.active {
69
+ z-index: 2; // Place active items above their siblings for proper border styling
70
+ color: $list-group-active-color;
71
+ background-color: $list-group-active-bg;
72
+ border-color: $list-group-active-border-color;
73
+ }
74
+
75
+ & + & {
76
+ border-top-width: 0;
77
+
78
+ &.active {
79
+ margin-top: -$list-group-border-width;
80
+ border-top-width: $list-group-border-width;
81
+ }
82
+ }
83
+ }
84
+
85
+
86
+ // Horizontal
87
+ //
88
+ // Change the layout of list group items from vertical (default) to horizontal.
89
+
90
+ @each $breakpoint in map-keys($grid-breakpoints) {
91
+ @include media-breakpoint-up($breakpoint) {
92
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
93
+
94
+ .list-group-horizontal#{$infix} {
95
+ flex-direction: row;
96
+
97
+ .list-group-item {
98
+ &:first-child {
99
+ @include border-bottom-left-radius($list-group-border-radius);
100
+ @include border-top-right-radius(0);
101
+ }
102
+
103
+ &:last-child {
104
+ @include border-top-right-radius($list-group-border-radius);
105
+ @include border-bottom-left-radius(0);
106
+ }
107
+
108
+ &.active {
109
+ margin-top: 0;
110
+ }
111
+
112
+ & + .list-group-item {
113
+ border-top-width: $list-group-border-width;
114
+ border-left-width: 0;
115
+
116
+ &.active {
117
+ margin-left: -$list-group-border-width;
118
+ border-left-width: $list-group-border-width;
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+
126
+
127
+ // Flush list items
128
+ //
129
+ // Remove borders and border-radius to keep list group items edge-to-edge. Most
130
+ // useful within other components (e.g., cards).
131
+
132
+ .list-group-flush {
133
+ .list-group-item {
134
+ border-right-width: 0;
135
+ border-left-width: 0;
136
+ @include border-radius(0);
137
+
138
+ &:first-child {
139
+ border-top-width: 0;
140
+ }
141
+ }
142
+
143
+ &:last-child {
144
+ .list-group-item:last-child {
145
+ border-bottom-width: 0;
146
+ }
147
+ }
148
+ }
149
+
150
+
151
+ // Contextual variants
152
+ //
153
+ // Add modifier classes to change text and background color on individual items.
154
+ // Organizationally, this must come after the `:hover` states.
155
+
156
+ @each $color, $value in $theme-colors {
157
+ @include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
158
+ }
@@ -0,0 +1,8 @@
1
+ .media {
2
+ display: flex;
3
+ align-items: flex-start;
4
+ }
5
+
6
+ .media-body {
7
+ flex: 1;
8
+ }
@@ -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,239 @@
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
+ content: "";
87
+ }
88
+
89
+ // Ensure `.modal-body` shows scrollbar (IE10/11)
90
+ &.modal-dialog-scrollable {
91
+ flex-direction: column;
92
+ justify-content: center;
93
+ height: 100%;
94
+
95
+ .modal-content {
96
+ max-height: none;
97
+ }
98
+
99
+ &::before {
100
+ content: none;
101
+ }
102
+ }
103
+ }
104
+
105
+ // Actual modal
106
+ .modal-content {
107
+ position: relative;
108
+ display: flex;
109
+ flex-direction: column;
110
+ width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`
111
+ // counteract the pointer-events: none; in the .modal-dialog
112
+ color: $modal-content-color;
113
+ pointer-events: auto;
114
+ background-color: $modal-content-bg;
115
+ background-clip: padding-box;
116
+ border: $modal-content-border-width solid $modal-content-border-color;
117
+ @include border-radius($modal-content-border-radius);
118
+ @include box-shadow($modal-content-box-shadow-xs);
119
+ // Remove focus outline from opened modal
120
+ outline: 0;
121
+ }
122
+
123
+ // Modal background
124
+ .modal-backdrop {
125
+ position: fixed;
126
+ top: 0;
127
+ left: 0;
128
+ z-index: $zindex-modal-backdrop;
129
+ width: 100vw;
130
+ height: 100vh;
131
+ background-color: $modal-backdrop-bg;
132
+
133
+ // Fade for backdrop
134
+ &.fade { opacity: 0; }
135
+ &.show { opacity: $modal-backdrop-opacity; }
136
+ }
137
+
138
+ // Modal header
139
+ // Top section of the modal w/ title and dismiss
140
+ .modal-header {
141
+ display: flex;
142
+ align-items: flex-start; // so the close btn always stays on the upper right corner
143
+ justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
144
+ padding: $modal-header-padding;
145
+ border-bottom: $modal-header-border-width solid $modal-header-border-color;
146
+ @include border-top-radius($modal-content-inner-border-radius);
147
+
148
+ .close {
149
+ padding: $modal-header-padding;
150
+ // auto on the left force icon to the right even when there is no .modal-title
151
+ margin: (-$modal-header-padding-y) (-$modal-header-padding-x) (-$modal-header-padding-y) auto;
152
+ }
153
+ }
154
+
155
+ // Title text within header
156
+ .modal-title {
157
+ margin-bottom: 0;
158
+ line-height: $modal-title-line-height;
159
+ }
160
+
161
+ // Modal body
162
+ // Where all modal content resides (sibling of .modal-header and .modal-footer)
163
+ .modal-body {
164
+ position: relative;
165
+ // Enable `flex-grow: 1` so that the body take up as much space as possible
166
+ // when there should be a fixed height on `.modal-dialog`.
167
+ flex: 1 1 auto;
168
+ padding: $modal-inner-padding;
169
+ }
170
+
171
+ // Footer (for actions)
172
+ .modal-footer {
173
+ display: flex;
174
+ flex-wrap: wrap;
175
+ align-items: center; // vertically center
176
+ justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items
177
+ padding: $modal-inner-padding - $modal-footer-margin-between / 2;
178
+ border-top: $modal-footer-border-width solid $modal-footer-border-color;
179
+ @include border-bottom-radius($modal-content-inner-border-radius);
180
+
181
+ // Place margin between footer elements
182
+ // This solution is far from ideal because of the universal selector usage,
183
+ // but is needed to fix https://github.com/twbs/bootstrap/issues/24800
184
+ // stylelint-disable-next-line selector-max-universal
185
+ > * {
186
+ margin: $modal-footer-margin-between / 2;
187
+ }
188
+ }
189
+
190
+ // Measure scrollbar width for padding body during modal show/hide
191
+ .modal-scrollbar-measure {
192
+ position: absolute;
193
+ top: -9999px;
194
+ width: 50px;
195
+ height: 50px;
196
+ overflow: scroll;
197
+ }
198
+
199
+ // Scale up the modal
200
+ @include media-breakpoint-up(sm) {
201
+ // Automatically set modal's width for larger viewports
202
+ .modal-dialog {
203
+ max-width: $modal-md;
204
+ margin: $modal-dialog-margin-y-sm-up auto;
205
+ }
206
+
207
+ .modal-dialog-scrollable {
208
+ max-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
209
+
210
+ .modal-content {
211
+ max-height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
212
+ }
213
+ }
214
+
215
+ .modal-dialog-centered {
216
+ min-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
217
+
218
+ &::before {
219
+ height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
220
+ }
221
+ }
222
+
223
+ .modal-content {
224
+ @include box-shadow($modal-content-box-shadow-sm-up);
225
+ }
226
+
227
+ .modal-sm { max-width: $modal-sm; }
228
+ }
229
+
230
+ @include media-breakpoint-up(lg) {
231
+ .modal-lg,
232
+ .modal-xl {
233
+ max-width: $modal-lg;
234
+ }
235
+ }
236
+
237
+ @include media-breakpoint-up(xl) {
238
+ .modal-xl { max-width: $modal-xl; }
239
+ }