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,232 @@
|
|
1
|
+
.container {
|
2
|
+
max-width: 46rem;
|
3
|
+
section[role="main"] {
|
4
|
+
background-color: $main-background-color;
|
5
|
+
article {
|
6
|
+
header {
|
7
|
+
h1, h2, h3, h4, h5 {
|
8
|
+
@extend .text-xs-center;
|
9
|
+
line-height: 200%;
|
10
|
+
}
|
11
|
+
|
12
|
+
p {
|
13
|
+
@extend .text-xs-center;
|
14
|
+
@extend .lead;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
margin-top: 40px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.no-margin-no-padding {
|
24
|
+
margin: 0;
|
25
|
+
padding: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Features "portfolio" section
|
29
|
+
.portfolio-page {
|
30
|
+
|
31
|
+
.project {
|
32
|
+
|
33
|
+
margin-top: 10px;
|
34
|
+
margin-bottom: 20px;
|
35
|
+
//border: 1px solid rgba(0, 0, 0, 0.125);
|
36
|
+
|
37
|
+
.project-info {
|
38
|
+
|
39
|
+
// Features organization button
|
40
|
+
a[role="button"] {
|
41
|
+
border-radius: 0;
|
42
|
+
position: absolute;
|
43
|
+
top: 0px;
|
44
|
+
left: 0px;
|
45
|
+
|
46
|
+
@include media-breakpoint-down(sm) {
|
47
|
+
padding: 10px;
|
48
|
+
font-size: 20px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// End button featuring
|
53
|
+
|
54
|
+
h1, h2, h3, h4, h5, h6 {
|
55
|
+
font-size: 20px;
|
56
|
+
text-align: center;
|
57
|
+
width: 100%;
|
58
|
+
}
|
59
|
+
|
60
|
+
background-color: #f5f5f5;
|
61
|
+
padding: 50px;
|
62
|
+
|
63
|
+
.description {
|
64
|
+
@extend .text-justify;
|
65
|
+
font-size: 15px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.technologies {
|
69
|
+
@extend .m-x-auto;
|
70
|
+
@extend .text-xs-center;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.project-image {
|
75
|
+
padding: 0;
|
76
|
+
|
77
|
+
img {
|
78
|
+
@extend .img-fluid;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
// Features "nosotros" section
|
85
|
+
|
86
|
+
.us-page {
|
87
|
+
|
88
|
+
.card {
|
89
|
+
border-radius: 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
img {
|
93
|
+
@extend .m-x-auto;
|
94
|
+
@extend .d-block;
|
95
|
+
@extend .img-fluid;
|
96
|
+
width: 80%;
|
97
|
+
margin: 2rem;
|
98
|
+
border-radius: 0 !important;
|
99
|
+
}
|
100
|
+
|
101
|
+
div.description {
|
102
|
+
@extend .text-justify;
|
103
|
+
}
|
104
|
+
|
105
|
+
div.social-container {
|
106
|
+
i.fa {
|
107
|
+
color: white;
|
108
|
+
display: inline-block;
|
109
|
+
line-height: 1;
|
110
|
+
padding: 0.4em;
|
111
|
+
border-radius: 0.1em;
|
112
|
+
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
|
113
|
+
|
114
|
+
.fa {
|
115
|
+
&.fa-code { background-color: $social_livecoding; }
|
116
|
+
&.fa-envelope { background-color: $social_mail; }
|
117
|
+
&.fa-github { background-color: $social_github;}
|
118
|
+
&.fa-gitlab { background-color: $social_gitlab;}
|
119
|
+
&.fa-linkedin { background-color: $social_linkedin;}
|
120
|
+
&.fa-google-plus-square { background-color:$social_google-plus-square;}
|
121
|
+
&.fa-twitter { background-color: $social_twitter;}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
// Greater images on small devices
|
127
|
+
@include media-breakpoint-up(sm) {
|
128
|
+
img {
|
129
|
+
width: 70%;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
@include media-breakpoint-up(md) {
|
134
|
+
img {
|
135
|
+
width: 50%;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
@include media-breakpoint-up(lg) {
|
140
|
+
img {
|
141
|
+
width: 40%;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.presentation-page {
|
147
|
+
|
148
|
+
padding: 0;
|
149
|
+
|
150
|
+
.jumbotron {
|
151
|
+
background-color: #f1f3f3;
|
152
|
+
border-radius: 0;
|
153
|
+
//border: 1px solid rgba(0, 0, 0, 0.125);
|
154
|
+
padding: 2rem 1rem;
|
155
|
+
|
156
|
+
h1, h2, h3, h4, h5, h6 {
|
157
|
+
@extend .text-xs-center;
|
158
|
+
}
|
159
|
+
|
160
|
+
p {
|
161
|
+
padding: 1em;
|
162
|
+
}
|
163
|
+
img {}
|
164
|
+
}
|
165
|
+
|
166
|
+
.row {
|
167
|
+
margin-left: 0px;
|
168
|
+
margin-right: 0px;
|
169
|
+
}
|
170
|
+
|
171
|
+
.service {
|
172
|
+
|
173
|
+
h1, h2, h3, h4, h5, h6 {
|
174
|
+
@extend .text-xs-center;
|
175
|
+
}
|
176
|
+
|
177
|
+
p {
|
178
|
+
padding: 2em;
|
179
|
+
|
180
|
+
@include media-breakpoint-up (md) {
|
181
|
+
font-size: 0.9em;
|
182
|
+
padding: 0;
|
183
|
+
}
|
184
|
+
|
185
|
+
em {
|
186
|
+
font-style: normal;
|
187
|
+
font-weight: bold;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
.fa {
|
192
|
+
@extend .text-xs-center;
|
193
|
+
width: 100%;
|
194
|
+
line-height: 200%;
|
195
|
+
font-size: 2em; // .fa-2x
|
196
|
+
|
197
|
+
@include media-breakpoint-down(md) {
|
198
|
+
font-size: 3em; // .fa-3x
|
199
|
+
}
|
200
|
+
|
201
|
+
@include media-breakpoint-down(sm) {
|
202
|
+
font-size: 4em;// .fa-4x
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
.fa-gamepad {
|
207
|
+
color: $main-color;
|
208
|
+
}
|
209
|
+
|
210
|
+
.fa-android {
|
211
|
+
color: #92c71c;
|
212
|
+
}
|
213
|
+
|
214
|
+
.fa-wrench {
|
215
|
+
color: grey;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
.contact-page {
|
221
|
+
.row {
|
222
|
+
padding: 0 1em;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
/* Small. Above 34em (544px) */
|
227
|
+
|
228
|
+
/* Medium. Above 48em (768px) */
|
229
|
+
|
230
|
+
/* Large. Above 62em (992px) */
|
231
|
+
|
232
|
+
/* Extra large. Above 75em (1200px) */
|
@@ -0,0 +1,56 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.alert {
|
6
|
+
padding: $alert-padding;
|
7
|
+
margin-bottom: $spacer-y;
|
8
|
+
border: $alert-border-width solid transparent;
|
9
|
+
@include border-radius($alert-border-radius);
|
10
|
+
}
|
11
|
+
|
12
|
+
// Headings for larger alerts
|
13
|
+
.alert-heading {
|
14
|
+
// Specified to prevent conflicts of changing $headings-color
|
15
|
+
color: inherit;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Provide class for links that match alerts
|
19
|
+
.alert-link {
|
20
|
+
font-weight: $alert-link-font-weight;
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
// Dismissible alerts
|
25
|
+
//
|
26
|
+
// Expand the right padding and account for the close button's positioning.
|
27
|
+
|
28
|
+
.alert-dismissible {
|
29
|
+
padding-right: ($alert-padding * 2);
|
30
|
+
|
31
|
+
// Adjust close link position
|
32
|
+
.close {
|
33
|
+
position: relative;
|
34
|
+
top: -.125rem;
|
35
|
+
right: -$alert-padding;
|
36
|
+
color: inherit;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Alternate styles
|
42
|
+
//
|
43
|
+
// Generate contextual modifier classes for colorizing the alert.
|
44
|
+
|
45
|
+
.alert-success {
|
46
|
+
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
47
|
+
}
|
48
|
+
.alert-info {
|
49
|
+
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
50
|
+
}
|
51
|
+
.alert-warning {
|
52
|
+
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
|
53
|
+
}
|
54
|
+
.alert-danger {
|
55
|
+
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
56
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.fade {
|
2
|
+
opacity: 0;
|
3
|
+
transition: opacity .15s linear;
|
4
|
+
|
5
|
+
&.in {
|
6
|
+
opacity: 1;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.collapse {
|
11
|
+
display: none;
|
12
|
+
|
13
|
+
&.in {
|
14
|
+
display: block;
|
15
|
+
}
|
16
|
+
// tr&.in { display: table-row; }
|
17
|
+
// tbody&.in { display: table-row-group; }
|
18
|
+
}
|
19
|
+
|
20
|
+
.collapsing {
|
21
|
+
position: relative;
|
22
|
+
height: 0;
|
23
|
+
overflow: hidden;
|
24
|
+
transition-timing-function: ease;
|
25
|
+
transition-duration: .35s;
|
26
|
+
transition-property: height;
|
27
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.breadcrumb {
|
2
|
+
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
3
|
+
margin-bottom: $spacer-y;
|
4
|
+
list-style: none;
|
5
|
+
background-color: $breadcrumb-bg;
|
6
|
+
@include border-radius($border-radius);
|
7
|
+
@include clearfix;
|
8
|
+
}
|
9
|
+
|
10
|
+
.breadcrumb-item {
|
11
|
+
float: left;
|
12
|
+
|
13
|
+
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
14
|
+
+ .breadcrumb-item::before {
|
15
|
+
display: inline-block; // Suppress underlining of the separator in modern browsers
|
16
|
+
padding-right: $breadcrumb-item-padding;
|
17
|
+
padding-left: $breadcrumb-item-padding;
|
18
|
+
color: $breadcrumb-divider-color;
|
19
|
+
content: "#{$breadcrumb-divider}";
|
20
|
+
}
|
21
|
+
|
22
|
+
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
|
23
|
+
// without `<ul>`s. The `::before` pseudo-element generates an element
|
24
|
+
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
|
25
|
+
//
|
26
|
+
// To trick IE into suppressing the underline, we give the pseudo-element an
|
27
|
+
// underline and then immediately remove it.
|
28
|
+
+ .breadcrumb-item:hover::before {
|
29
|
+
text-decoration: underline;
|
30
|
+
}
|
31
|
+
+ .breadcrumb-item:hover::before {
|
32
|
+
text-decoration: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
&.active {
|
36
|
+
color: $breadcrumb-active-color;
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,234 @@
|
|
1
|
+
// scss-lint:disable QualifyingElement
|
2
|
+
|
3
|
+
// Make the div behave like a button
|
4
|
+
.btn-group,
|
5
|
+
.btn-group-vertical {
|
6
|
+
position: relative;
|
7
|
+
display: inline-block;
|
8
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
9
|
+
|
10
|
+
> .btn {
|
11
|
+
position: relative;
|
12
|
+
float: left;
|
13
|
+
|
14
|
+
// Bring the "active" button to the front
|
15
|
+
&:focus,
|
16
|
+
&:active,
|
17
|
+
&.active {
|
18
|
+
z-index: 2;
|
19
|
+
}
|
20
|
+
@include hover {
|
21
|
+
z-index: 2;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// Prevent double borders when buttons are next to each other
|
27
|
+
.btn-group {
|
28
|
+
.btn + .btn,
|
29
|
+
.btn + .btn-group,
|
30
|
+
.btn-group + .btn,
|
31
|
+
.btn-group + .btn-group {
|
32
|
+
margin-left: -$input-btn-border-width;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
// Optional: Group multiple button groups together for a toolbar
|
37
|
+
.btn-toolbar {
|
38
|
+
margin-left: -$btn-toolbar-margin; // Offset the first child's margin
|
39
|
+
@include clearfix();
|
40
|
+
|
41
|
+
.btn-group,
|
42
|
+
.input-group {
|
43
|
+
float: left;
|
44
|
+
}
|
45
|
+
|
46
|
+
> .btn,
|
47
|
+
> .btn-group,
|
48
|
+
> .input-group {
|
49
|
+
margin-left: $btn-toolbar-margin;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
54
|
+
border-radius: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
58
|
+
.btn-group > .btn:first-child {
|
59
|
+
margin-left: 0;
|
60
|
+
|
61
|
+
&:not(:last-child):not(.dropdown-toggle) {
|
62
|
+
@include border-right-radius(0);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
66
|
+
.btn-group > .btn:last-child:not(:first-child),
|
67
|
+
.btn-group > .dropdown-toggle:not(:first-child) {
|
68
|
+
@include border-left-radius(0);
|
69
|
+
}
|
70
|
+
|
71
|
+
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
72
|
+
.btn-group > .btn-group {
|
73
|
+
float: left;
|
74
|
+
}
|
75
|
+
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
76
|
+
border-radius: 0;
|
77
|
+
}
|
78
|
+
.btn-group > .btn-group:first-child:not(:last-child) {
|
79
|
+
> .btn:last-child,
|
80
|
+
> .dropdown-toggle {
|
81
|
+
@include border-right-radius(0);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
85
|
+
@include border-left-radius(0);
|
86
|
+
}
|
87
|
+
|
88
|
+
// On active and open, don't show outline
|
89
|
+
.btn-group .dropdown-toggle:active,
|
90
|
+
.btn-group.open .dropdown-toggle {
|
91
|
+
outline: 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
// Sizing
|
96
|
+
//
|
97
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
98
|
+
|
99
|
+
.btn-group-sm > .btn { @extend .btn-sm; }
|
100
|
+
.btn-group-lg > .btn { @extend .btn-lg; }
|
101
|
+
|
102
|
+
|
103
|
+
//
|
104
|
+
// Split button dropdowns
|
105
|
+
//
|
106
|
+
|
107
|
+
.btn + .dropdown-toggle-split {
|
108
|
+
padding-right: $btn-padding-x * .75;
|
109
|
+
padding-left: $btn-padding-x * .75;
|
110
|
+
|
111
|
+
&::after {
|
112
|
+
margin-left: 0;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.btn-sm + .dropdown-toggle-split {
|
117
|
+
padding-right: $btn-padding-x-sm * .75;
|
118
|
+
padding-left: $btn-padding-x-sm * .75;
|
119
|
+
}
|
120
|
+
|
121
|
+
.btn-lg + .dropdown-toggle-split {
|
122
|
+
padding-right: $btn-padding-x-lg * .75;
|
123
|
+
padding-left: $btn-padding-x-lg * .75;
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
// The clickable button for toggling the menu
|
128
|
+
// Remove the gradient and set the same inset shadow as the :active state
|
129
|
+
.btn-group.open .dropdown-toggle {
|
130
|
+
@include box-shadow($btn-active-box-shadow);
|
131
|
+
|
132
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
133
|
+
&.btn-link {
|
134
|
+
@include box-shadow(none);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
|
139
|
+
// Reposition the caret
|
140
|
+
.btn .caret {
|
141
|
+
margin-left: 0;
|
142
|
+
}
|
143
|
+
// Carets in other button sizes
|
144
|
+
.btn-lg .caret {
|
145
|
+
border-width: $caret-width-lg $caret-width-lg 0;
|
146
|
+
border-bottom-width: 0;
|
147
|
+
}
|
148
|
+
// Upside down carets for .dropup
|
149
|
+
.dropup .btn-lg .caret {
|
150
|
+
border-width: 0 $caret-width-lg $caret-width-lg;
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
//
|
156
|
+
// Vertical button groups
|
157
|
+
//
|
158
|
+
|
159
|
+
.btn-group-vertical {
|
160
|
+
> .btn,
|
161
|
+
> .btn-group,
|
162
|
+
> .btn-group > .btn {
|
163
|
+
display: block;
|
164
|
+
float: none;
|
165
|
+
width: 100%;
|
166
|
+
max-width: 100%;
|
167
|
+
}
|
168
|
+
|
169
|
+
// Clear floats so dropdown menus can be properly placed
|
170
|
+
> .btn-group {
|
171
|
+
@include clearfix();
|
172
|
+
|
173
|
+
> .btn {
|
174
|
+
float: none;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
> .btn + .btn,
|
179
|
+
> .btn + .btn-group,
|
180
|
+
> .btn-group + .btn,
|
181
|
+
> .btn-group + .btn-group {
|
182
|
+
margin-top: -$input-btn-border-width;
|
183
|
+
margin-left: 0;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.btn-group-vertical > .btn {
|
188
|
+
&:not(:first-child):not(:last-child) {
|
189
|
+
border-radius: 0;
|
190
|
+
}
|
191
|
+
&:first-child:not(:last-child) {
|
192
|
+
@include border-bottom-radius(0);
|
193
|
+
}
|
194
|
+
&:last-child:not(:first-child) {
|
195
|
+
@include border-top-radius(0);
|
196
|
+
}
|
197
|
+
}
|
198
|
+
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
199
|
+
border-radius: 0;
|
200
|
+
}
|
201
|
+
.btn-group-vertical > .btn-group:first-child:not(:last-child) {
|
202
|
+
> .btn:last-child,
|
203
|
+
> .dropdown-toggle {
|
204
|
+
@include border-bottom-radius(0);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
208
|
+
@include border-top-radius(0);
|
209
|
+
}
|
210
|
+
|
211
|
+
|
212
|
+
// Checkbox and radio options
|
213
|
+
//
|
214
|
+
// In order to support the browser's form validation feedback, powered by the
|
215
|
+
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
216
|
+
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
217
|
+
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
218
|
+
// certain cases which is prevented by using `clip` and `pointer-events`.
|
219
|
+
// This way, we ensure a DOM element is visible to position the popover from.
|
220
|
+
//
|
221
|
+
// See https://github.com/twbs/bootstrap/pull/12794 and
|
222
|
+
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
223
|
+
|
224
|
+
[data-toggle="buttons"] {
|
225
|
+
> .btn,
|
226
|
+
> .btn-group > .btn {
|
227
|
+
input[type="radio"],
|
228
|
+
input[type="checkbox"] {
|
229
|
+
position: absolute;
|
230
|
+
clip: rect(0,0,0,0);
|
231
|
+
pointer-events: none;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|