vv5cv 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +138 -0
- data/_includes/colorpicker.html +7 -0
- data/_includes/head.html +13 -0
- data/_includes/icon-at.svg +4 -0
- data/_includes/icon-globe.svg +4 -0
- data/_includes/icon-marker.svg +4 -0
- data/_includes/icon-phone.svg +4 -0
- data/_includes/zone-languages.html +27 -0
- data/_includes/zone-otherskills.html +22 -0
- data/_includes/zone-profile.html +32 -0
- data/_includes/zone-software.html +20 -0
- data/_layouts/default.html +10 -0
- data/_layouts/home.html +27 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +5 -0
- data/_sass/_bootstrap-grid.scss +37 -0
- data/_sass/_bootstrap-reboot.scss +9 -0
- data/_sass/_bootstrap.scss +41 -0
- data/_sass/_custom.scss +123 -0
- data/_sass/_fonts.scss +1 -0
- data/_sass/_variables.scss +33 -0
- data/_sass/bootstrap/_alert.scss +48 -0
- data/_sass/bootstrap/_badge.scss +48 -0
- data/_sass/bootstrap/_breadcrumb.scss +38 -0
- data/_sass/bootstrap/_button-group.scss +198 -0
- data/_sass/bootstrap/_buttons.scss +141 -0
- data/_sass/bootstrap/_card.scss +223 -0
- data/_sass/bootstrap/_carousel.scss +185 -0
- data/_sass/bootstrap/_close.scss +29 -0
- data/_sass/bootstrap/_code.scss +64 -0
- data/_sass/bootstrap/_custom-forms.scss +254 -0
- data/_sass/bootstrap/_dropdown.scss +128 -0
- data/_sass/bootstrap/_forms.scss +390 -0
- data/_sass/bootstrap/_functions.scss +90 -0
- data/_sass/bootstrap/_grid.scss +53 -0
- data/_sass/bootstrap/_images.scss +43 -0
- data/_sass/bootstrap/_input-group.scss +176 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +114 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +41 -0
- data/_sass/bootstrap/_modal.scss +142 -0
- data/_sass/bootstrap/_nav.scss +118 -0
- data/_sass/bootstrap/_navbar.scss +284 -0
- data/_sass/bootstrap/_pagination.scss +66 -0
- data/_sass/bootstrap/_popover.scss +195 -0
- data/_sass/bootstrap/_print.scss +111 -0
- data/_sass/bootstrap/_progress.scss +32 -0
- data/_sass/bootstrap/_reboot.scss +481 -0
- data/_sass/bootstrap/_tables.scss +168 -0
- data/_sass/bootstrap/_tooltip.scss +107 -0
- data/_sass/bootstrap/_transitions.scss +34 -0
- data/_sass/bootstrap/_type.scss +123 -0
- data/_sass/bootstrap/_utilities.scss +14 -0
- data/_sass/bootstrap/_variables.scss +839 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_badge.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +105 -0
- data/_sass/bootstrap/mixins/_buttons.scss +83 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +9 -0
- data/_sass/bootstrap/mixins/_forms.scss +81 -0
- data/_sass/bootstrap/mixins/_gradients.scss +37 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +56 -0
- data/_sass/bootstrap/mixins/_grid.scss +47 -0
- data/_sass/bootstrap/mixins/_hover.scss +60 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +26 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_navbar-align.scss +9 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +35 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +30 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +8 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +9 -0
- data/_sass/bootstrap/mixins/_visibility.scss +5 -0
- data/_sass/bootstrap/utilities/_align.scss +6 -0
- data/_sass/bootstrap/utilities/_background.scss +6 -0
- data/_sass/bootstrap/utilities/_borders.scss +52 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +53 -0
- data/_sass/bootstrap/utilities/_embed.scss +52 -0
- data/_sass/bootstrap/utilities/_flex.scss +44 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_position.scss +25 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_sizing.scss +10 -0
- data/_sass/bootstrap/utilities/_spacing.scss +41 -0
- data/_sass/bootstrap/utilities/_text.scss +49 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/icons/android.svg +1 -0
- data/assets/icons/angular.svg +1 -0
- data/assets/icons/apple.svg +1 -0
- data/assets/icons/freebsd.svg +1 -0
- data/assets/icons/github.svg +1 -0
- data/assets/icons/line.svg +1 -0
- data/assets/icons/playstation.svg +1 -0
- data/assets/icons/slack.svg +1 -0
- data/assets/main.scss +10 -0
- metadata +183 -0
data/_sass/_custom.scss
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
// Declaration of color classes
|
2
|
+
|
3
|
+
@each $color, $val in $colors {
|
4
|
+
.bg-color-#{$color} {
|
5
|
+
background-color: $val;
|
6
|
+
}
|
7
|
+
.text-color-#{$color} {
|
8
|
+
color: $val;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
// Profile CSS
|
13
|
+
|
14
|
+
.profile-pic {
|
15
|
+
border-style: solid;
|
16
|
+
border-width: $spacer;
|
17
|
+
border-color: theme-color(primary);
|
18
|
+
}
|
19
|
+
|
20
|
+
.profile-icon {
|
21
|
+
height: $spacer*1.5;
|
22
|
+
width: $spacer*1.5;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Name CSS
|
26
|
+
.name {
|
27
|
+
hr {
|
28
|
+
border-top-width: $spacer/2;
|
29
|
+
border-color: theme-color(primary);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Main CSS
|
34
|
+
|
35
|
+
.experience {
|
36
|
+
|
37
|
+
background-color: theme-color(secondary);
|
38
|
+
padding-bottom: $spacer;
|
39
|
+
|
40
|
+
h2 {
|
41
|
+
text-transform: uppercase;
|
42
|
+
text-align: center;
|
43
|
+
background-color: theme-color(primary);
|
44
|
+
padding: $spacer/2 0 $spacer/2 0;
|
45
|
+
|
46
|
+
// Simulación de espacio en blanco
|
47
|
+
border-top-style: solid;
|
48
|
+
border-top-color: color("white");
|
49
|
+
border-top-width: $spacer;
|
50
|
+
}
|
51
|
+
|
52
|
+
p, ul {
|
53
|
+
padding-left: $spacer*2;
|
54
|
+
padding-right: $spacer*2;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
// Skill Meters CSS
|
59
|
+
|
60
|
+
.skill {
|
61
|
+
img {
|
62
|
+
float: left;
|
63
|
+
width: $spacer*3;
|
64
|
+
height: $spacer*3;
|
65
|
+
}
|
66
|
+
|
67
|
+
span {
|
68
|
+
float:left;
|
69
|
+
font-size: $spacer*2.5;
|
70
|
+
font-family: 'Ubuntu', sans-serif;
|
71
|
+
}
|
72
|
+
|
73
|
+
.note {
|
74
|
+
margin-left: $spacer*4;
|
75
|
+
margin-top: $spacer*2;
|
76
|
+
}
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
.skill-meter {
|
81
|
+
|
82
|
+
$marker-size: $spacer*1.5;
|
83
|
+
|
84
|
+
@function marker-units($units: 1, $scale: true){
|
85
|
+
|
86
|
+
@if $scale {
|
87
|
+
@return $marker-size * $units*0.8;
|
88
|
+
}
|
89
|
+
@else {
|
90
|
+
@return $marker-size * $units;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
@function marker-displacement($units){
|
95
|
+
@return (marker-units($units, false) + $marker-size/2)*0.8;
|
96
|
+
}
|
97
|
+
|
98
|
+
width: 80%;
|
99
|
+
margin-left: $spacer*3.5;
|
100
|
+
|
101
|
+
hr {
|
102
|
+
border-top-width: $spacer/2;
|
103
|
+
width: marker-units(10);
|
104
|
+
}
|
105
|
+
|
106
|
+
div {
|
107
|
+
height: $marker-size;
|
108
|
+
width: 100%;
|
109
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"/></svg>');
|
110
|
+
background-size: contain;
|
111
|
+
background-repeat: no-repeat;
|
112
|
+
margin-top: $spacer*-1/2;
|
113
|
+
|
114
|
+
@for $value from 0 through 10 {
|
115
|
+
&.skill-#{$value*10} {
|
116
|
+
padding-top: $marker-size;
|
117
|
+
background-position: marker-displacement($value) 0% ;
|
118
|
+
padding-left: marker-displacement($value);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
}
|
123
|
+
}
|
data/_sass/_fonts.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Condensed|Ubuntu+Mono');
|
@@ -0,0 +1,33 @@
|
|
1
|
+
$bluesaur: #17A2B8;
|
2
|
+
$planti: #7FC24E;
|
3
|
+
$silver: #78909C;
|
4
|
+
$darks: #343A40;
|
5
|
+
$blue: #007bff;
|
6
|
+
$red: #ec2224;
|
7
|
+
$orange: #fd7e14;
|
8
|
+
$green: #28a745;
|
9
|
+
$jellow: #ffc107;
|
10
|
+
$guaya: #ff5f72;
|
11
|
+
$purple: #6f42c1;
|
12
|
+
$gris2: #455A64;
|
13
|
+
$tomato: #CB2027;
|
14
|
+
$gray: #eee;
|
15
|
+
|
16
|
+
$colors: (
|
17
|
+
bluesaur: $bluesaur,
|
18
|
+
planti: $planti,
|
19
|
+
"silver": $silver,
|
20
|
+
darks: $darks,
|
21
|
+
"blue": $blue,
|
22
|
+
"red": $red,
|
23
|
+
"orange": $orange,
|
24
|
+
"green": $green,
|
25
|
+
jellow: $jellow,
|
26
|
+
guaya: $guaya,
|
27
|
+
"purple": $purple,
|
28
|
+
gris2: $gris2,
|
29
|
+
"tomato": $tomato,
|
30
|
+
"white": $white,
|
31
|
+
"gray": $gray,
|
32
|
+
gray-dark: $gray-800,
|
33
|
+
);
|
@@ -0,0 +1,48 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.alert {
|
6
|
+
padding: $alert-padding-y $alert-padding-x;
|
7
|
+
margin-bottom: $alert-margin-bottom;
|
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
|
+
// Adjust close link position
|
30
|
+
.close {
|
31
|
+
position: relative;
|
32
|
+
top: -$alert-padding-y;
|
33
|
+
right: -$alert-padding-x;
|
34
|
+
padding: $alert-padding-y $alert-padding-x;
|
35
|
+
color: inherit;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
// Alternate styles
|
41
|
+
//
|
42
|
+
// Generate contextual modifier classes for colorizing the alert.
|
43
|
+
|
44
|
+
@each $color, $value in $theme-colors {
|
45
|
+
.alert-#{$color} {
|
46
|
+
@include alert-variant(theme-color-level($color, -10), theme-color-level($color, -9), theme-color-level($color, 6));
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Requires one of the contextual, color modifier classes for `color` and
|
4
|
+
// `background-color`.
|
5
|
+
|
6
|
+
.badge {
|
7
|
+
display: inline-block;
|
8
|
+
padding: $badge-padding-y $badge-padding-x;
|
9
|
+
font-size: $badge-font-size;
|
10
|
+
font-weight: $badge-font-weight;
|
11
|
+
line-height: 1;
|
12
|
+
color: $badge-color;
|
13
|
+
text-align: center;
|
14
|
+
white-space: nowrap;
|
15
|
+
vertical-align: baseline;
|
16
|
+
@include border-radius();
|
17
|
+
|
18
|
+
// Empty badges collapse automatically
|
19
|
+
&:empty {
|
20
|
+
display: none;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
// Quick fix for badges in buttons
|
25
|
+
.btn .badge {
|
26
|
+
position: relative;
|
27
|
+
top: -1px;
|
28
|
+
}
|
29
|
+
|
30
|
+
// Pill badges
|
31
|
+
//
|
32
|
+
// Make them extra rounded with a modifier to replace v3's badges.
|
33
|
+
|
34
|
+
.badge-pill {
|
35
|
+
padding-right: $badge-pill-padding-x;
|
36
|
+
padding-left: $badge-pill-padding-x;
|
37
|
+
@include border-radius($badge-pill-border-radius);
|
38
|
+
}
|
39
|
+
|
40
|
+
// Colors
|
41
|
+
//
|
42
|
+
// Contextual variations (linked badges get darker on :hover).
|
43
|
+
|
44
|
+
@each $color, $value in $theme-colors {
|
45
|
+
.badge-#{$color} {
|
46
|
+
@include badge-variant($value);
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.breadcrumb {
|
2
|
+
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
3
|
+
margin-bottom: 1rem;
|
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,198 @@
|
|
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-flex;
|
8
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
9
|
+
|
10
|
+
> .btn {
|
11
|
+
position: relative;
|
12
|
+
flex: 0 1 auto;
|
13
|
+
margin-bottom: 0;
|
14
|
+
|
15
|
+
// Bring the hover, focused, and "active" buttons to the front to overlay
|
16
|
+
// the borders properly
|
17
|
+
@include hover {
|
18
|
+
z-index: 2;
|
19
|
+
}
|
20
|
+
&:focus,
|
21
|
+
&:active,
|
22
|
+
&.active {
|
23
|
+
z-index: 2;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
// Prevent double borders when buttons are next to each other
|
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
|
+
display: flex;
|
39
|
+
flex-wrap: wrap;
|
40
|
+
justify-content: flex-start;
|
41
|
+
|
42
|
+
.input-group {
|
43
|
+
width: auto;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
48
|
+
border-radius: 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
// 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
|
52
|
+
.btn-group > .btn:first-child {
|
53
|
+
margin-left: 0;
|
54
|
+
|
55
|
+
&:not(:last-child):not(.dropdown-toggle) {
|
56
|
+
@include border-right-radius(0);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
60
|
+
.btn-group > .btn:last-child:not(:first-child),
|
61
|
+
.btn-group > .dropdown-toggle:not(:first-child) {
|
62
|
+
@include border-left-radius(0);
|
63
|
+
}
|
64
|
+
|
65
|
+
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
66
|
+
.btn-group > .btn-group {
|
67
|
+
float: left;
|
68
|
+
}
|
69
|
+
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
70
|
+
border-radius: 0;
|
71
|
+
}
|
72
|
+
.btn-group > .btn-group:first-child:not(:last-child) {
|
73
|
+
> .btn:last-child,
|
74
|
+
> .dropdown-toggle {
|
75
|
+
@include border-right-radius(0);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
79
|
+
@include border-left-radius(0);
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
// Sizing
|
84
|
+
//
|
85
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
86
|
+
|
87
|
+
.btn-group-sm > .btn { @extend .btn-sm; }
|
88
|
+
.btn-group-lg > .btn { @extend .btn-lg; }
|
89
|
+
|
90
|
+
|
91
|
+
//
|
92
|
+
// Split button dropdowns
|
93
|
+
//
|
94
|
+
|
95
|
+
.btn + .dropdown-toggle-split {
|
96
|
+
padding-right: $input-btn-padding-x * .75;
|
97
|
+
padding-left: $input-btn-padding-x * .75;
|
98
|
+
|
99
|
+
&::after {
|
100
|
+
margin-left: 0;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.btn-sm + .dropdown-toggle-split {
|
105
|
+
padding-right: $input-btn-padding-x-sm * .75;
|
106
|
+
padding-left: $input-btn-padding-x-sm * .75;
|
107
|
+
}
|
108
|
+
|
109
|
+
.btn-lg + .dropdown-toggle-split {
|
110
|
+
padding-right: $input-btn-padding-x-lg * .75;
|
111
|
+
padding-left: $input-btn-padding-x-lg * .75;
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
// The clickable button for toggling the menu
|
116
|
+
// Set the same inset shadow as the :active state
|
117
|
+
.btn-group.show .dropdown-toggle {
|
118
|
+
@include box-shadow($btn-active-box-shadow);
|
119
|
+
|
120
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
121
|
+
&.btn-link {
|
122
|
+
@include box-shadow(none);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
//
|
128
|
+
// Vertical button groups
|
129
|
+
//
|
130
|
+
|
131
|
+
.btn-group-vertical {
|
132
|
+
display: inline-flex;
|
133
|
+
flex-direction: column;
|
134
|
+
align-items: flex-start;
|
135
|
+
justify-content: center;
|
136
|
+
|
137
|
+
.btn,
|
138
|
+
.btn-group {
|
139
|
+
width: 100%;
|
140
|
+
}
|
141
|
+
|
142
|
+
> .btn + .btn,
|
143
|
+
> .btn + .btn-group,
|
144
|
+
> .btn-group + .btn,
|
145
|
+
> .btn-group + .btn-group {
|
146
|
+
margin-top: -$input-btn-border-width;
|
147
|
+
margin-left: 0;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
.btn-group-vertical > .btn {
|
152
|
+
&:not(:first-child):not(:last-child) {
|
153
|
+
border-radius: 0;
|
154
|
+
}
|
155
|
+
&:first-child:not(:last-child) {
|
156
|
+
@include border-bottom-radius(0);
|
157
|
+
}
|
158
|
+
&:last-child:not(:first-child) {
|
159
|
+
@include border-top-radius(0);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
163
|
+
border-radius: 0;
|
164
|
+
}
|
165
|
+
.btn-group-vertical > .btn-group:first-child:not(:last-child) {
|
166
|
+
> .btn:last-child,
|
167
|
+
> .dropdown-toggle {
|
168
|
+
@include border-bottom-radius(0);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
172
|
+
@include border-top-radius(0);
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
// Checkbox and radio options
|
177
|
+
//
|
178
|
+
// In order to support the browser's form validation feedback, powered by the
|
179
|
+
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
180
|
+
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
181
|
+
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
182
|
+
// certain cases which is prevented by using `clip` and `pointer-events`.
|
183
|
+
// This way, we ensure a DOM element is visible to position the popover from.
|
184
|
+
//
|
185
|
+
// See https://github.com/twbs/bootstrap/pull/12794 and
|
186
|
+
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
187
|
+
|
188
|
+
[data-toggle="buttons"] {
|
189
|
+
> .btn,
|
190
|
+
> .btn-group > .btn {
|
191
|
+
input[type="radio"],
|
192
|
+
input[type="checkbox"] {
|
193
|
+
position: absolute;
|
194
|
+
clip: rect(0,0,0,0);
|
195
|
+
pointer-events: none;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|