geekyll 0.0.9
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/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/footer.html +20 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +18 -0
- data/_includes/image.html +14 -0
- data/_includes/javascripts.html +7 -0
- data/_includes/navigation.html +16 -0
- data/_includes/social.html +15 -0
- data/_layouts/default.html +10 -0
- data/_layouts/index.html +48 -0
- data/_layouts/page.html +23 -0
- data/_layouts/post.html +5 -0
- data/_layouts/root.html +14 -0
- data/_sass/geekyll/_icons.scss +9 -0
- data/_sass/geekyll/_layout.scss +233 -0
- data/_sass/geekyll/_pages.scss +232 -0
- data/_sass/geekyll/_typography.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_alert.scss +56 -0
- data/_sass/geekyll/bootstrap4alpha4/_animation.scss +27 -0
- data/_sass/geekyll/bootstrap4alpha4/_breadcrumb.scss +38 -0
- data/_sass/geekyll/bootstrap4alpha4/_button-group.scss +234 -0
- data/_sass/geekyll/bootstrap4alpha4/_buttons.scss +176 -0
- data/_sass/geekyll/bootstrap4alpha4/_card.scss +320 -0
- data/_sass/geekyll/bootstrap4alpha4/_carousel.scss +253 -0
- data/_sass/geekyll/bootstrap4alpha4/_close.scss +31 -0
- data/_sass/geekyll/bootstrap4alpha4/_code.scss +57 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom-forms.scss +265 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_dropdown.scss +179 -0
- data/_sass/geekyll/bootstrap4alpha4/_forms.scss +364 -0
- data/_sass/geekyll/bootstrap4alpha4/_grid.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_images.scss +52 -0
- data/_sass/geekyll/bootstrap4alpha4/_input-group.scss +188 -0
- data/_sass/geekyll/bootstrap4alpha4/_jumbotron.scss +20 -0
- data/_sass/geekyll/bootstrap4alpha4/_list-group.scss +123 -0
- data/_sass/geekyll/bootstrap4alpha4/_media.scss +81 -0
- data/_sass/geekyll/bootstrap4alpha4/_mixins.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/_modal.scss +132 -0
- data/_sass/geekyll/bootstrap4alpha4/_nav.scss +157 -0
- data/_sass/geekyll/bootstrap4alpha4/_navbar.scss +256 -0
- data/_sass/geekyll/bootstrap4alpha4/_normalize.scss +424 -0
- data/_sass/geekyll/bootstrap4alpha4/_pagination.scss +73 -0
- data/_sass/geekyll/bootstrap4alpha4/_popover.scss +147 -0
- data/_sass/geekyll/bootstrap4alpha4/_print.scss +116 -0
- data/_sass/geekyll/bootstrap4alpha4/_progress.scss +145 -0
- data/_sass/geekyll/bootstrap4alpha4/_reboot.scss +393 -0
- data/_sass/geekyll/bootstrap4alpha4/_responsive-embed.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_tables.scss +196 -0
- data/_sass/geekyll/bootstrap4alpha4/_tags.scss +77 -0
- data/_sass/geekyll/bootstrap4alpha4/_tooltip.scss +87 -0
- data/_sass/geekyll/bootstrap4alpha4/_type.scss +150 -0
- data/_sass/geekyll/bootstrap4alpha4/_utilities.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/_variables.scss +830 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-flex.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-grid.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-reboot.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_alert.scss +14 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_background-variant.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_border-radius.scss +35 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_breakpoints.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_buttons.scss +113 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_cards.scss +44 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_clearfix.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_forms.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_gradients.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid-framework.scss +70 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid.scss +84 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_hover.scss +60 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_image.scss +34 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_list-group.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_lists.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_nav-divider.scss +10 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_navbar-align.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pagination.scss +21 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_progress.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pulls.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-filter.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-text.scss +17 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_resize.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss +32 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_size.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tab-focus.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_table-row.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tag.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-emphasis.scss +12 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-hide.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-truncate.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_background.scss +19 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_clearfix.scss +3 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_display.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_flex.scss +37 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_pulls.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_screenreaders.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_text.scss +51 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_visibility.scss +55 -0
- data/_sass/geekyll/reset.scss +9 -0
- data/_sass/geekyll/social.scss +5 -0
- data/_sass/geekyll.scss +39 -0
- data/screenshot.png +0 -0
- metadata +188 -0
@@ -0,0 +1,188 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.input-group {
|
6
|
+
position: relative;
|
7
|
+
width: 100%;
|
8
|
+
|
9
|
+
@if $enable-flex {
|
10
|
+
display: flex;
|
11
|
+
} @else {
|
12
|
+
display: table;
|
13
|
+
// Prevent input groups from inheriting border styles from table cells when
|
14
|
+
// placed within a table.
|
15
|
+
border-collapse: separate;
|
16
|
+
}
|
17
|
+
|
18
|
+
.form-control {
|
19
|
+
// Ensure that the input is always above the *appended* addon button for
|
20
|
+
// proper border colors.
|
21
|
+
position: relative;
|
22
|
+
z-index: 2;
|
23
|
+
// Bring the "active" form control to the front
|
24
|
+
@include hover-focus-active {
|
25
|
+
z-index: 3;
|
26
|
+
}
|
27
|
+
@if $enable-flex {
|
28
|
+
flex: 1;
|
29
|
+
} @else {
|
30
|
+
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
31
|
+
// select elements in input groups. To fix it, we float the input. Details:
|
32
|
+
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
33
|
+
float: left;
|
34
|
+
width: 100%;
|
35
|
+
}
|
36
|
+
margin-bottom: 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.input-group-addon,
|
41
|
+
.input-group-btn,
|
42
|
+
.input-group .form-control {
|
43
|
+
@if not $enable-flex {
|
44
|
+
display: table-cell;
|
45
|
+
}
|
46
|
+
|
47
|
+
&:not(:first-child):not(:last-child) {
|
48
|
+
@include border-radius(0);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.input-group-addon,
|
53
|
+
.input-group-btn {
|
54
|
+
@if not $enable-flex {
|
55
|
+
width: 1%;
|
56
|
+
}
|
57
|
+
white-space: nowrap;
|
58
|
+
vertical-align: middle; // Match the inputs
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
// Sizing options
|
63
|
+
//
|
64
|
+
// Remix the default form control sizing classes into new ones for easier
|
65
|
+
// manipulation.
|
66
|
+
|
67
|
+
.input-group-lg > .form-control,
|
68
|
+
.input-group-lg > .input-group-addon,
|
69
|
+
.input-group-lg > .input-group-btn > .btn {
|
70
|
+
@extend .form-control-lg;
|
71
|
+
}
|
72
|
+
.input-group-sm > .form-control,
|
73
|
+
.input-group-sm > .input-group-addon,
|
74
|
+
.input-group-sm > .input-group-btn > .btn {
|
75
|
+
@extend .form-control-sm;
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
//
|
80
|
+
// Text input groups
|
81
|
+
//
|
82
|
+
|
83
|
+
.input-group-addon {
|
84
|
+
padding: $input-padding-y $input-padding-x;
|
85
|
+
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
86
|
+
font-size: $font-size-base;
|
87
|
+
font-weight: normal;
|
88
|
+
line-height: $input-line-height;
|
89
|
+
color: $input-color;
|
90
|
+
text-align: center;
|
91
|
+
background-color: $input-group-addon-bg;
|
92
|
+
border: $input-btn-border-width solid $input-group-addon-border-color;
|
93
|
+
@include border-radius($input-border-radius);
|
94
|
+
|
95
|
+
// Sizing
|
96
|
+
&.form-control-sm {
|
97
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
98
|
+
font-size: $font-size-sm;
|
99
|
+
@include border-radius($input-border-radius-sm);
|
100
|
+
}
|
101
|
+
&.form-control-lg {
|
102
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
103
|
+
font-size: $font-size-lg;
|
104
|
+
@include border-radius($input-border-radius-lg);
|
105
|
+
}
|
106
|
+
|
107
|
+
// scss-lint:disable QualifyingElement
|
108
|
+
// Nuke default margins from checkboxes and radios to vertically center within.
|
109
|
+
input[type="radio"],
|
110
|
+
input[type="checkbox"] {
|
111
|
+
margin-top: 0;
|
112
|
+
}
|
113
|
+
// scss-lint:enable QualifyingElement
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
//
|
118
|
+
// Reset rounded corners
|
119
|
+
//
|
120
|
+
|
121
|
+
.input-group .form-control:not(:last-child),
|
122
|
+
.input-group-addon:not(:last-child),
|
123
|
+
.input-group-btn:not(:last-child) > .btn,
|
124
|
+
.input-group-btn:not(:last-child) > .btn-group > .btn,
|
125
|
+
.input-group-btn:not(:last-child) > .dropdown-toggle,
|
126
|
+
.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
|
127
|
+
.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn {
|
128
|
+
@include border-right-radius(0);
|
129
|
+
}
|
130
|
+
.input-group-addon:not(:last-child) {
|
131
|
+
border-right: 0;
|
132
|
+
}
|
133
|
+
.input-group .form-control:not(:first-child),
|
134
|
+
.input-group-addon:not(:first-child),
|
135
|
+
.input-group-btn:not(:first-child) > .btn,
|
136
|
+
.input-group-btn:not(:first-child) > .btn-group > .btn,
|
137
|
+
.input-group-btn:not(:first-child) > .dropdown-toggle,
|
138
|
+
.input-group-btn:not(:last-child) > .btn:not(:first-child),
|
139
|
+
.input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn {
|
140
|
+
@include border-left-radius(0);
|
141
|
+
}
|
142
|
+
.form-control + .input-group-addon:not(:first-child) {
|
143
|
+
border-left: 0;
|
144
|
+
}
|
145
|
+
|
146
|
+
//
|
147
|
+
// Button input groups
|
148
|
+
//
|
149
|
+
|
150
|
+
.input-group-btn {
|
151
|
+
position: relative;
|
152
|
+
// Jankily prevent input button groups from wrapping with `white-space` and
|
153
|
+
// `font-size` in combination with `inline-block` on buttons.
|
154
|
+
font-size: 0;
|
155
|
+
white-space: nowrap;
|
156
|
+
|
157
|
+
// Negative margin for spacing, position for bringing hovered/focused/actived
|
158
|
+
// element above the siblings.
|
159
|
+
> .btn {
|
160
|
+
position: relative;
|
161
|
+
+ .btn {
|
162
|
+
margin-left: (-$input-btn-border-width);
|
163
|
+
}
|
164
|
+
// Bring the "active" button to the front
|
165
|
+
@include hover-focus-active {
|
166
|
+
z-index: 3;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
// Negative margin to only have a single, shared border between the two
|
171
|
+
&:not(:last-child) {
|
172
|
+
> .btn,
|
173
|
+
> .btn-group {
|
174
|
+
margin-right: (-$input-btn-border-width);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
&:not(:first-child) {
|
178
|
+
> .btn,
|
179
|
+
> .btn-group {
|
180
|
+
z-index: 2;
|
181
|
+
margin-left: (-$input-btn-border-width);
|
182
|
+
// Because specificity
|
183
|
+
@include hover-focus-active {
|
184
|
+
z-index: 3;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.jumbotron {
|
2
|
+
padding: $jumbotron-padding ($jumbotron-padding / 2);
|
3
|
+
margin-bottom: $jumbotron-padding;
|
4
|
+
background-color: $jumbotron-bg;
|
5
|
+
@include border-radius($border-radius-lg);
|
6
|
+
|
7
|
+
@include media-breakpoint-up(sm) {
|
8
|
+
padding: ($jumbotron-padding * 2) $jumbotron-padding;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.jumbotron-hr {
|
13
|
+
border-top-color: darken($jumbotron-bg, 10%);
|
14
|
+
}
|
15
|
+
|
16
|
+
.jumbotron-fluid {
|
17
|
+
padding-right: 0;
|
18
|
+
padding-left: 0;
|
19
|
+
@include border-radius(0);
|
20
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Easily usable on <ul>, <ol>, or <div>.
|
4
|
+
|
5
|
+
.list-group {
|
6
|
+
// No need to set list-style: none; since .list-group-item is block level
|
7
|
+
padding-left: 0; // reset padding because ul and ol
|
8
|
+
margin-bottom: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
|
12
|
+
// Individual list items
|
13
|
+
//
|
14
|
+
// Use on `li`s or `div`s within the `.list-group` parent.
|
15
|
+
|
16
|
+
.list-group-item {
|
17
|
+
position: relative;
|
18
|
+
display: block;
|
19
|
+
padding: $list-group-item-padding-y $list-group-item-padding-x;
|
20
|
+
// Place the border on the list items and negative margin up for better styling
|
21
|
+
margin-bottom: -$list-group-border-width;
|
22
|
+
background-color: $list-group-bg;
|
23
|
+
border: $list-group-border-width solid $list-group-border-color;
|
24
|
+
|
25
|
+
&:first-child {
|
26
|
+
@include border-top-radius($list-group-border-radius);
|
27
|
+
}
|
28
|
+
|
29
|
+
&:last-child {
|
30
|
+
margin-bottom: 0;
|
31
|
+
@include border-bottom-radius($list-group-border-radius);
|
32
|
+
}
|
33
|
+
|
34
|
+
&.disabled {
|
35
|
+
@include plain-hover-focus {
|
36
|
+
color: $list-group-disabled-color;
|
37
|
+
cursor: $cursor-disabled;
|
38
|
+
background-color: $list-group-disabled-bg;
|
39
|
+
|
40
|
+
// Force color to inherit for custom content
|
41
|
+
.list-group-item-heading {
|
42
|
+
color: inherit;
|
43
|
+
}
|
44
|
+
.list-group-item-text {
|
45
|
+
color: $list-group-disabled-text-color;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
&.active {
|
51
|
+
@include plain-hover-focus {
|
52
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
53
|
+
color: $list-group-active-color;
|
54
|
+
text-decoration: none; // Repeat here because it inherits global a:hover otherwise
|
55
|
+
background-color: $list-group-active-bg;
|
56
|
+
border-color: $list-group-active-border;
|
57
|
+
|
58
|
+
// Force color to inherit for custom content
|
59
|
+
.list-group-item-heading,
|
60
|
+
.list-group-item-heading > small,
|
61
|
+
.list-group-item-heading > .small {
|
62
|
+
color: inherit;
|
63
|
+
}
|
64
|
+
.list-group-item-text {
|
65
|
+
color: $list-group-active-text-color;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.list-group-flush {
|
72
|
+
.list-group-item {
|
73
|
+
border-radius: 0;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
// Interactive list items
|
79
|
+
//
|
80
|
+
// Use anchor or button elements instead of `li`s or `div`s to create interactive
|
81
|
+
// list items. Includes an extra `.active` modifier class for selected items.
|
82
|
+
|
83
|
+
.list-group-item-action {
|
84
|
+
width: 100%; // For `<button>`s (anchors become 100% by default though)
|
85
|
+
color: $list-group-link-color;
|
86
|
+
text-align: inherit; // For `<button>`s (anchors inherit)
|
87
|
+
|
88
|
+
.list-group-item-heading {
|
89
|
+
color: $list-group-link-heading-color;
|
90
|
+
}
|
91
|
+
|
92
|
+
// Hover state
|
93
|
+
@include hover-focus {
|
94
|
+
color: $list-group-link-hover-color;
|
95
|
+
text-decoration: none;
|
96
|
+
background-color: $list-group-hover-bg;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// Contextual variants
|
102
|
+
//
|
103
|
+
// Add modifier classes to change text and background color on individual items.
|
104
|
+
// Organizationally, this must come after the `:hover` states.
|
105
|
+
|
106
|
+
@include list-group-item-variant(success, $state-success-bg, $state-success-text);
|
107
|
+
@include list-group-item-variant(info, $state-info-bg, $state-info-text);
|
108
|
+
@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);
|
109
|
+
@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
|
110
|
+
|
111
|
+
|
112
|
+
// Custom content options
|
113
|
+
//
|
114
|
+
// Extra classes for creating well-formatted content within `.list-group-item`s.
|
115
|
+
|
116
|
+
.list-group-item-heading {
|
117
|
+
margin-top: 0;
|
118
|
+
margin-bottom: $list-group-item-heading-margin-bottom;
|
119
|
+
}
|
120
|
+
.list-group-item-text {
|
121
|
+
margin-bottom: 0;
|
122
|
+
line-height: 1.3;
|
123
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
@if $enable-flex {
|
2
|
+
.media {
|
3
|
+
display: flex;
|
4
|
+
}
|
5
|
+
.media-body {
|
6
|
+
flex: 1;
|
7
|
+
}
|
8
|
+
.media-middle {
|
9
|
+
align-self: center;
|
10
|
+
}
|
11
|
+
.media-bottom {
|
12
|
+
align-self: flex-end;
|
13
|
+
}
|
14
|
+
} @else {
|
15
|
+
.media,
|
16
|
+
.media-body {
|
17
|
+
overflow: hidden;
|
18
|
+
}
|
19
|
+
.media-body {
|
20
|
+
width: 10000px;
|
21
|
+
}
|
22
|
+
.media-left,
|
23
|
+
.media-right,
|
24
|
+
.media-body {
|
25
|
+
display: table-cell;
|
26
|
+
vertical-align: top;
|
27
|
+
}
|
28
|
+
.media-middle {
|
29
|
+
vertical-align: middle;
|
30
|
+
}
|
31
|
+
.media-bottom {
|
32
|
+
vertical-align: bottom;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
//
|
38
|
+
// Images/elements as the media anchor
|
39
|
+
//
|
40
|
+
|
41
|
+
.media-object {
|
42
|
+
display: block;
|
43
|
+
|
44
|
+
// Fix collapse in webkit from max-width: 100% and display: table-cell.
|
45
|
+
&.img-thumbnail {
|
46
|
+
max-width: none;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
//
|
52
|
+
// Alignment
|
53
|
+
//
|
54
|
+
|
55
|
+
.media-right {
|
56
|
+
padding-left: $media-alignment-padding-x;
|
57
|
+
}
|
58
|
+
|
59
|
+
.media-left {
|
60
|
+
padding-right: $media-alignment-padding-x;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
//
|
65
|
+
// Headings
|
66
|
+
//
|
67
|
+
|
68
|
+
.media-heading {
|
69
|
+
margin-top: 0;
|
70
|
+
margin-bottom: $media-heading-margin-bottom;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
//
|
75
|
+
// Media list variation
|
76
|
+
//
|
77
|
+
|
78
|
+
.media-list {
|
79
|
+
padding-left: 0;
|
80
|
+
list-style: none;
|
81
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
// Toggles
|
2
|
+
//
|
3
|
+
// Used in conjunction with global variables to enable certain theme features.
|
4
|
+
|
5
|
+
@mixin box-shadow($shadow...) {
|
6
|
+
@if $enable-shadows {
|
7
|
+
box-shadow: $shadow;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
@mixin transition($transition...) {
|
12
|
+
@if $enable-transitions {
|
13
|
+
transition: $transition;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
// Utilities
|
18
|
+
@import "mixins/breakpoints";
|
19
|
+
@import "mixins/hover";
|
20
|
+
@import "mixins/image";
|
21
|
+
@import "mixins/tag";
|
22
|
+
@import "mixins/reset-filter";
|
23
|
+
@import "mixins/resize";
|
24
|
+
@import "mixins/screen-reader";
|
25
|
+
@import "mixins/size";
|
26
|
+
@import "mixins/tab-focus";
|
27
|
+
@import "mixins/reset-text";
|
28
|
+
@import "mixins/text-emphasis";
|
29
|
+
@import "mixins/text-hide";
|
30
|
+
@import "mixins/text-truncate";
|
31
|
+
|
32
|
+
// // Components
|
33
|
+
@import "mixins/alert";
|
34
|
+
@import "mixins/buttons";
|
35
|
+
@import "mixins/cards";
|
36
|
+
@import "mixins/pagination";
|
37
|
+
@import "mixins/lists";
|
38
|
+
@import "mixins/list-group";
|
39
|
+
@import "mixins/nav-divider";
|
40
|
+
@import "mixins/forms";
|
41
|
+
@import "mixins/progress";
|
42
|
+
@import "mixins/table-row";
|
43
|
+
|
44
|
+
// // Skins
|
45
|
+
@import "mixins/background-variant";
|
46
|
+
@import "mixins/border-radius";
|
47
|
+
@import "mixins/gradients";
|
48
|
+
|
49
|
+
// // Layout
|
50
|
+
@import "mixins/clearfix";
|
51
|
+
// @import "mixins/navbar-align";
|
52
|
+
@import "mixins/grid-framework";
|
53
|
+
@import "mixins/grid";
|
54
|
+
@import "mixins/pulls";
|
@@ -0,0 +1,132 @@
|
|
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 shit
|
5
|
+
|
6
|
+
|
7
|
+
// Kill the scroll on the body
|
8
|
+
.modal-open {
|
9
|
+
overflow: hidden;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Container that the modal scrolls within
|
13
|
+
.modal {
|
14
|
+
position: fixed;
|
15
|
+
top: 0;
|
16
|
+
right: 0;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
z-index: $zindex-modal;
|
20
|
+
display: none;
|
21
|
+
overflow: hidden;
|
22
|
+
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
23
|
+
// https://github.com/twbs/bootstrap/pull/10951.
|
24
|
+
outline: 0;
|
25
|
+
-webkit-overflow-scrolling: touch;
|
26
|
+
|
27
|
+
// When fading in the modal, animate it to slide down
|
28
|
+
&.fade .modal-dialog {
|
29
|
+
transition: transform .3s ease-out;
|
30
|
+
transform: translate(0, -25%);
|
31
|
+
}
|
32
|
+
&.in .modal-dialog { transform: translate(0, 0); }
|
33
|
+
}
|
34
|
+
.modal-open .modal {
|
35
|
+
overflow-x: hidden;
|
36
|
+
overflow-y: auto;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Shell div to position the modal with bottom padding
|
40
|
+
.modal-dialog {
|
41
|
+
position: relative;
|
42
|
+
width: auto;
|
43
|
+
margin: $modal-dialog-margin;
|
44
|
+
}
|
45
|
+
|
46
|
+
// Actual modal
|
47
|
+
.modal-content {
|
48
|
+
position: relative;
|
49
|
+
background-color: $modal-content-bg;
|
50
|
+
background-clip: padding-box;
|
51
|
+
border: $modal-content-border-width solid $modal-content-border-color;
|
52
|
+
@include border-radius($border-radius-lg);
|
53
|
+
@include box-shadow($modal-content-xs-box-shadow);
|
54
|
+
// Remove focus outline from opened modal
|
55
|
+
outline: 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Modal background
|
59
|
+
.modal-backdrop {
|
60
|
+
position: fixed;
|
61
|
+
top: 0;
|
62
|
+
right: 0;
|
63
|
+
bottom: 0;
|
64
|
+
left: 0;
|
65
|
+
z-index: $zindex-modal-bg;
|
66
|
+
background-color: $modal-backdrop-bg;
|
67
|
+
|
68
|
+
// Fade for backdrop
|
69
|
+
&.fade { opacity: 0; }
|
70
|
+
&.in { opacity: $modal-backdrop-opacity; }
|
71
|
+
}
|
72
|
+
|
73
|
+
// Modal header
|
74
|
+
// Top section of the modal w/ title and dismiss
|
75
|
+
.modal-header {
|
76
|
+
padding: $modal-title-padding;
|
77
|
+
border-bottom: $modal-header-border-width solid $modal-header-border-color;
|
78
|
+
@include clearfix;
|
79
|
+
}
|
80
|
+
// Close icon
|
81
|
+
.modal-header .close {
|
82
|
+
margin-top: -2px;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Title text within header
|
86
|
+
.modal-title {
|
87
|
+
margin: 0;
|
88
|
+
line-height: $modal-title-line-height;
|
89
|
+
}
|
90
|
+
|
91
|
+
// Modal body
|
92
|
+
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
93
|
+
.modal-body {
|
94
|
+
position: relative;
|
95
|
+
padding: $modal-inner-padding;
|
96
|
+
}
|
97
|
+
|
98
|
+
// Footer (for actions)
|
99
|
+
.modal-footer {
|
100
|
+
padding: $modal-inner-padding;
|
101
|
+
text-align: right; // right align buttons
|
102
|
+
border-top: $modal-footer-border-width solid $modal-footer-border-color;
|
103
|
+
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
104
|
+
}
|
105
|
+
|
106
|
+
// Measure scrollbar width for padding body during modal show/hide
|
107
|
+
.modal-scrollbar-measure {
|
108
|
+
position: absolute;
|
109
|
+
top: -9999px;
|
110
|
+
width: 50px;
|
111
|
+
height: 50px;
|
112
|
+
overflow: scroll;
|
113
|
+
}
|
114
|
+
|
115
|
+
// Scale up the modal
|
116
|
+
@include media-breakpoint-up(sm) {
|
117
|
+
// Automatically set modal's width for larger viewports
|
118
|
+
.modal-dialog {
|
119
|
+
max-width: $modal-md;
|
120
|
+
margin: $modal-dialog-sm-up-margin-y auto;
|
121
|
+
}
|
122
|
+
|
123
|
+
.modal-content {
|
124
|
+
@include box-shadow($modal-content-sm-up-box-shadow);
|
125
|
+
}
|
126
|
+
|
127
|
+
.modal-sm { max-width: $modal-sm; }
|
128
|
+
}
|
129
|
+
|
130
|
+
@include media-breakpoint-up(lg) {
|
131
|
+
.modal-lg { max-width: $modal-lg; }
|
132
|
+
}
|