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
@@ -0,0 +1,35 @@
|
|
1
|
+
// Single side border-radius
|
2
|
+
|
3
|
+
@mixin border-radius($radius: $border-radius) {
|
4
|
+
@if $enable-rounded {
|
5
|
+
border-radius: $radius;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
@mixin border-top-radius($radius) {
|
10
|
+
@if $enable-rounded {
|
11
|
+
border-top-left-radius: $radius;
|
12
|
+
border-top-right-radius: $radius;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
@mixin border-right-radius($radius) {
|
17
|
+
@if $enable-rounded {
|
18
|
+
border-top-right-radius: $radius;
|
19
|
+
border-bottom-right-radius: $radius;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@mixin border-bottom-radius($radius) {
|
24
|
+
@if $enable-rounded {
|
25
|
+
border-bottom-right-radius: $radius;
|
26
|
+
border-bottom-left-radius: $radius;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin border-left-radius($radius) {
|
31
|
+
@if $enable-rounded {
|
32
|
+
border-top-left-radius: $radius;
|
33
|
+
border-bottom-left-radius: $radius;
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
// Breakpoint viewport sizes and media queries.
|
2
|
+
//
|
3
|
+
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
|
4
|
+
//
|
5
|
+
// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)
|
6
|
+
//
|
7
|
+
// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
|
8
|
+
|
9
|
+
// Name of the next breakpoint, or null for the last breakpoint.
|
10
|
+
//
|
11
|
+
// >> breakpoint-next(sm)
|
12
|
+
// md
|
13
|
+
// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
14
|
+
// md
|
15
|
+
// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
|
16
|
+
// md
|
17
|
+
@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
|
18
|
+
$n: index($breakpoint-names, $name);
|
19
|
+
@return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
|
20
|
+
}
|
21
|
+
|
22
|
+
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|
23
|
+
//
|
24
|
+
// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
25
|
+
// 576px
|
26
|
+
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
|
27
|
+
$min: map-get($breakpoints, $name);
|
28
|
+
@return if($min != 0, $min, null);
|
29
|
+
}
|
30
|
+
|
31
|
+
// Maximum breakpoint width. Null for the largest (last) breakpoint.
|
32
|
+
// The maximum value is calculated as the minimum of the next one less 0.1.
|
33
|
+
//
|
34
|
+
// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
35
|
+
// 767px
|
36
|
+
@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
|
37
|
+
$next: breakpoint-next($name, $breakpoints);
|
38
|
+
@return if($next, breakpoint-min($next, $breakpoints) - 1px, null);
|
39
|
+
}
|
40
|
+
|
41
|
+
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
|
42
|
+
// Useful for making responsive utilities.
|
43
|
+
//
|
44
|
+
// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
45
|
+
// "" (Returns a blank string)
|
46
|
+
// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
47
|
+
// "-sm"
|
48
|
+
@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
|
49
|
+
@return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");
|
50
|
+
}
|
51
|
+
|
52
|
+
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
53
|
+
// Makes the @content apply to the given breakpoint and wider.
|
54
|
+
@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
|
55
|
+
$min: breakpoint-min($name, $breakpoints);
|
56
|
+
@if $min {
|
57
|
+
@media (min-width: $min) {
|
58
|
+
@content;
|
59
|
+
}
|
60
|
+
} @else {
|
61
|
+
@content;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
66
|
+
// Makes the @content apply to the given breakpoint and narrower.
|
67
|
+
@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
|
68
|
+
$max: breakpoint-max($name, $breakpoints);
|
69
|
+
@if $max {
|
70
|
+
@media (max-width: $max) {
|
71
|
+
@content;
|
72
|
+
}
|
73
|
+
} @else {
|
74
|
+
@content;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
// Media that spans multiple breakpoint widths.
|
79
|
+
// Makes the @content apply between the min and max breakpoints
|
80
|
+
@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
|
81
|
+
$min: breakpoint-min($lower, $breakpoints);
|
82
|
+
$max: breakpoint-max($upper, $breakpoints);
|
83
|
+
|
84
|
+
@media (min-width: $min) and (max-width: $max) {
|
85
|
+
@content;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// Media between the breakpoint's minimum and maximum widths.
|
90
|
+
// No minimum for the smallest breakpoint, and no maximum for the largest one.
|
91
|
+
// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
|
92
|
+
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
93
|
+
$min: breakpoint-min($name, $breakpoints);
|
94
|
+
$max: breakpoint-max($name, $breakpoints);
|
95
|
+
|
96
|
+
@if $min != null and $max != null {
|
97
|
+
@media (min-width: $min) and (max-width: $max) {
|
98
|
+
@content;
|
99
|
+
}
|
100
|
+
} @else if $max == null {
|
101
|
+
@include media-breakpoint-up($name)
|
102
|
+
} @else if $min == null {
|
103
|
+
@include media-breakpoint-down($name)
|
104
|
+
}
|
105
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
// Button variants
|
2
|
+
//
|
3
|
+
// Easily pump out default styles, as well as :hover, :focus, :active,
|
4
|
+
// and disabled options for all buttons
|
5
|
+
|
6
|
+
@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
|
7
|
+
@include color-yiq($background);
|
8
|
+
background-color: $background;
|
9
|
+
border-color: $border;
|
10
|
+
@include box-shadow($btn-box-shadow);
|
11
|
+
|
12
|
+
&:hover {
|
13
|
+
@include color-yiq($background);
|
14
|
+
background-color: $active-background;
|
15
|
+
border-color: $active-border;
|
16
|
+
}
|
17
|
+
|
18
|
+
&:focus,
|
19
|
+
&.focus {
|
20
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
21
|
+
@if $enable-shadows {
|
22
|
+
box-shadow: $btn-box-shadow, 0 0 0 3px rgba($border, .5);
|
23
|
+
} @else {
|
24
|
+
box-shadow: 0 0 0 3px rgba($border, .5);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Disabled comes first so active can properly restyle
|
29
|
+
&.disabled,
|
30
|
+
&:disabled {
|
31
|
+
background-color: $background;
|
32
|
+
border-color: $border;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:active,
|
36
|
+
&.active,
|
37
|
+
.show > &.dropdown-toggle {
|
38
|
+
background-color: $active-background;
|
39
|
+
background-image: none; // Remove the gradient for the pressed/active state
|
40
|
+
border-color: $active-border;
|
41
|
+
@include box-shadow($btn-active-box-shadow);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
@mixin button-outline-variant($color, $color-hover: #fff) {
|
46
|
+
color: $color;
|
47
|
+
background-color: transparent;
|
48
|
+
background-image: none;
|
49
|
+
border-color: $color;
|
50
|
+
|
51
|
+
@include hover {
|
52
|
+
color: $color-hover;
|
53
|
+
background-color: $color;
|
54
|
+
border-color: $color;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:focus,
|
58
|
+
&.focus {
|
59
|
+
box-shadow: 0 0 0 3px rgba($color, .5);
|
60
|
+
}
|
61
|
+
|
62
|
+
&.disabled,
|
63
|
+
&:disabled {
|
64
|
+
color: $color;
|
65
|
+
background-color: transparent;
|
66
|
+
}
|
67
|
+
|
68
|
+
&:active,
|
69
|
+
&.active,
|
70
|
+
.show > &.dropdown-toggle {
|
71
|
+
color: $color-hover;
|
72
|
+
background-color: $color;
|
73
|
+
border-color: $color;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
// Button sizes
|
78
|
+
@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
|
79
|
+
padding: $padding-y $padding-x;
|
80
|
+
font-size: $font-size;
|
81
|
+
line-height: $line-height;
|
82
|
+
@include border-radius($border-radius);
|
83
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
// Form control focus state
|
2
|
+
//
|
3
|
+
// Generate a customized focus state and for any input with the specified color,
|
4
|
+
// which defaults to the `@input-border-color-focus` variable.
|
5
|
+
//
|
6
|
+
// We highly encourage you to not customize the default value, but instead use
|
7
|
+
// this to tweak colors on an as-needed basis. This aesthetic change is based on
|
8
|
+
// WebKit's default styles, but applicable to a wider range of browsers. Its
|
9
|
+
// usability and accessibility should be taken into account with any change.
|
10
|
+
//
|
11
|
+
// Example usage: change the default blue border and shadow to white for better
|
12
|
+
// contrast against a dark gray background.
|
13
|
+
@mixin form-control-focus() {
|
14
|
+
&:focus {
|
15
|
+
color: $input-focus-color;
|
16
|
+
background-color: $input-focus-bg;
|
17
|
+
border-color: $input-focus-border-color;
|
18
|
+
outline: none;
|
19
|
+
@include box-shadow($input-focus-box-shadow);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
@mixin form-validation-state($state, $color) {
|
25
|
+
|
26
|
+
.form-control,
|
27
|
+
.custom-select {
|
28
|
+
.was-validated &:#{$state},
|
29
|
+
&.is-#{$state} {
|
30
|
+
border-color: $color;
|
31
|
+
|
32
|
+
&:focus {
|
33
|
+
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
34
|
+
}
|
35
|
+
|
36
|
+
~ .invalid-feedback,
|
37
|
+
~ .invalid-tooltip {
|
38
|
+
display: block;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
// TODO: redo check markup lol crap
|
45
|
+
.form-check-input {
|
46
|
+
.was-validated &:#{$state},
|
47
|
+
&.is-#{$state} {
|
48
|
+
+ .form-check-label {
|
49
|
+
color: $color;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
// custom radios and checks
|
55
|
+
.custom-control-input {
|
56
|
+
.was-validated &:#{$state},
|
57
|
+
&.is-#{$state} {
|
58
|
+
~ .custom-control-indicator {
|
59
|
+
background-color: rgba($color, .25);
|
60
|
+
}
|
61
|
+
~ .custom-control-description {
|
62
|
+
color: $color;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// custom file
|
68
|
+
.custom-file-input {
|
69
|
+
.was-validated &:#{$state},
|
70
|
+
&.is-#{$state} {
|
71
|
+
~ .custom-file-control {
|
72
|
+
border-color: $color;
|
73
|
+
|
74
|
+
&::before { border-color: inherit; }
|
75
|
+
}
|
76
|
+
&:focus {
|
77
|
+
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// Gradients
|
2
|
+
|
3
|
+
// Horizontal gradient, from left to right
|
4
|
+
//
|
5
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
6
|
+
@mixin gradient-x($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
|
7
|
+
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);
|
8
|
+
background-repeat: repeat-x;
|
9
|
+
}
|
10
|
+
|
11
|
+
// Vertical gradient, from top to bottom
|
12
|
+
//
|
13
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
14
|
+
@mixin gradient-y($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
|
15
|
+
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);
|
16
|
+
background-repeat: repeat-x;
|
17
|
+
}
|
18
|
+
|
19
|
+
@mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
|
20
|
+
background-image: linear-gradient($deg, $start-color, $end-color);
|
21
|
+
background-repeat: repeat-x;
|
22
|
+
}
|
23
|
+
@mixin gradient-x-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
24
|
+
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
|
25
|
+
background-repeat: no-repeat;
|
26
|
+
}
|
27
|
+
@mixin gradient-y-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
28
|
+
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
29
|
+
background-repeat: no-repeat;
|
30
|
+
}
|
31
|
+
@mixin gradient-radial($inner-color: #555, $outer-color: #333) {
|
32
|
+
background-image: radial-gradient(circle, $inner-color, $outer-color);
|
33
|
+
background-repeat: no-repeat;
|
34
|
+
}
|
35
|
+
@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
|
36
|
+
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
37
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
// Framework grid generation
|
2
|
+
//
|
3
|
+
// Used only by Bootstrap to generate the correct number of grid classes given
|
4
|
+
// any value of `$grid-columns`.
|
5
|
+
|
6
|
+
@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
|
7
|
+
// Common properties for all breakpoints
|
8
|
+
%grid-column {
|
9
|
+
position: relative;
|
10
|
+
width: 100%;
|
11
|
+
min-height: 1px; // Prevent columns from collapsing when empty
|
12
|
+
padding-right: ($gutter / 2);
|
13
|
+
padding-left: ($gutter / 2);
|
14
|
+
}
|
15
|
+
|
16
|
+
@each $breakpoint in map-keys($breakpoints) {
|
17
|
+
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
18
|
+
|
19
|
+
// Allow columns to stretch full width below their breakpoints
|
20
|
+
@for $i from 1 through $columns {
|
21
|
+
.col#{$infix}-#{$i} {
|
22
|
+
@extend %grid-column;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.col#{$infix},
|
26
|
+
.col#{$infix}-auto {
|
27
|
+
@extend %grid-column;
|
28
|
+
}
|
29
|
+
|
30
|
+
@include media-breakpoint-up($breakpoint, $breakpoints) {
|
31
|
+
// Provide basic `.col-{bp}` classes for equal-width flexbox columns
|
32
|
+
.col#{$infix} {
|
33
|
+
flex-basis: 0;
|
34
|
+
flex-grow: 1;
|
35
|
+
max-width: 100%;
|
36
|
+
}
|
37
|
+
.col#{$infix}-auto {
|
38
|
+
flex: 0 0 auto;
|
39
|
+
width: auto;
|
40
|
+
max-width: none; // Reset earlier grid tiers
|
41
|
+
}
|
42
|
+
|
43
|
+
@for $i from 1 through $columns {
|
44
|
+
.col#{$infix}-#{$i} {
|
45
|
+
@include make-col($i, $columns);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@for $i from 1 through $columns {
|
50
|
+
.order#{$infix}-#{$i} {
|
51
|
+
order: $i;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|