viniBaxter-spa_landing 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/viniBaxter/sass/spa_landing.scss +0 -12
- data/lib/viniBaxter/sass/spa_landing/theme/_functions.scss +1 -1
- data/lib/viniBaxter/spa_landing/version.rb +1 -1
- metadata +2 -94
- data/lib/viniBaxter/sass/spa_landing/_some_airbnb_variables.scss +0 -48
- data/lib/viniBaxter/sass/spa_landing/_user.scss +0 -6
- data/lib/viniBaxter/sass/spa_landing/scss/_alert.scss +0 -51
- data/lib/viniBaxter/sass/spa_landing/scss/_badge.scss +0 -54
- data/lib/viniBaxter/sass/spa_landing/scss/_breadcrumb.scss +0 -42
- data/lib/viniBaxter/sass/spa_landing/scss/_button-group.scss +0 -163
- data/lib/viniBaxter/sass/spa_landing/scss/_buttons.scss +0 -139
- data/lib/viniBaxter/sass/spa_landing/scss/_card.scss +0 -278
- data/lib/viniBaxter/sass/spa_landing/scss/_carousel.scss +0 -197
- data/lib/viniBaxter/sass/spa_landing/scss/_close.scss +0 -41
- data/lib/viniBaxter/sass/spa_landing/scss/_code.scss +0 -48
- data/lib/viniBaxter/sass/spa_landing/scss/_custom-forms.scss +0 -521
- data/lib/viniBaxter/sass/spa_landing/scss/_dropdown.scss +0 -191
- data/lib/viniBaxter/sass/spa_landing/scss/_forms.scss +0 -338
- data/lib/viniBaxter/sass/spa_landing/scss/_functions.scss +0 -134
- data/lib/viniBaxter/sass/spa_landing/scss/_grid.scss +0 -69
- data/lib/viniBaxter/sass/spa_landing/scss/_images.scss +0 -42
- data/lib/viniBaxter/sass/spa_landing/scss/_input-group.scss +0 -191
- data/lib/viniBaxter/sass/spa_landing/scss/_jumbotron.scss +0 -17
- data/lib/viniBaxter/sass/spa_landing/scss/_list-group.scss +0 -158
- data/lib/viniBaxter/sass/spa_landing/scss/_media.scss +0 -8
- data/lib/viniBaxter/sass/spa_landing/scss/_mixins.scss +0 -47
- data/lib/viniBaxter/sass/spa_landing/scss/_modal.scss +0 -239
- data/lib/viniBaxter/sass/spa_landing/scss/_nav.scss +0 -120
- data/lib/viniBaxter/sass/spa_landing/scss/_navbar.scss +0 -324
- data/lib/viniBaxter/sass/spa_landing/scss/_pagination.scss +0 -73
- data/lib/viniBaxter/sass/spa_landing/scss/_popover.scss +0 -170
- data/lib/viniBaxter/sass/spa_landing/scss/_print.scss +0 -141
- data/lib/viniBaxter/sass/spa_landing/scss/_progress.scss +0 -46
- data/lib/viniBaxter/sass/spa_landing/scss/_reboot.scss +0 -482
- data/lib/viniBaxter/sass/spa_landing/scss/_root.scss +0 -20
- data/lib/viniBaxter/sass/spa_landing/scss/_spinners.scss +0 -55
- data/lib/viniBaxter/sass/spa_landing/scss/_tables.scss +0 -185
- data/lib/viniBaxter/sass/spa_landing/scss/_toasts.scss +0 -44
- data/lib/viniBaxter/sass/spa_landing/scss/_tooltip.scss +0 -115
- data/lib/viniBaxter/sass/spa_landing/scss/_transitions.scss +0 -20
- data/lib/viniBaxter/sass/spa_landing/scss/_type.scss +0 -125
- data/lib/viniBaxter/sass/spa_landing/scss/_utilities.scss +0 -17
- data/lib/viniBaxter/sass/spa_landing/scss/_variables.scss +0 -1143
- data/lib/viniBaxter/sass/spa_landing/scss/bootstrap-grid.scss +0 -29
- data/lib/viniBaxter/sass/spa_landing/scss/bootstrap-reboot.scss +0 -12
- data/lib/viniBaxter/sass/spa_landing/scss/bootstrap.scss +0 -44
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_alert.scss +0 -13
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_background-variant.scss +0 -22
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_badge.scss +0 -17
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_border-radius.scss +0 -63
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_box-shadow.scss +0 -20
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_breakpoints.scss +0 -123
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_buttons.scss +0 -110
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_caret.scss +0 -62
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_clearfix.scss +0 -7
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_deprecate.scss +0 -10
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_float.scss +0 -14
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_forms.scss +0 -177
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_gradients.scss +0 -45
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_grid-framework.scss +0 -71
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_grid.scss +0 -69
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_hover.scss +0 -37
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_image.scss +0 -36
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_list-group.scss +0 -21
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_lists.scss +0 -7
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_nav-divider.scss +0 -11
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_pagination.scss +0 -22
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_reset-text.scss +0 -17
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_resize.scss +0 -6
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_screen-reader.scss +0 -34
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_size.scss +0 -7
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_table-row.scss +0 -39
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_text-emphasis.scss +0 -17
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_text-hide.scss +0 -11
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_text-truncate.scss +0 -8
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_transition.scss +0 -16
- data/lib/viniBaxter/sass/spa_landing/scss/mixins/_visibility.scss +0 -8
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_align.scss +0 -8
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_background.scss +0 -19
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_borders.scss +0 -75
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_clearfix.scss +0 -3
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_display.scss +0 -26
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_embed.scss +0 -39
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_flex.scss +0 -51
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_float.scss +0 -11
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_overflow.scss +0 -5
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_position.scss +0 -32
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_screenreaders.scss +0 -11
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_shadows.scss +0 -6
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_sizing.scss +0 -20
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_spacing.scss +0 -73
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_stretched-link.scss +0 -19
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_text.scss +0 -72
- data/lib/viniBaxter/sass/spa_landing/scss/utilities/_visibility.scss +0 -13
- data/lib/viniBaxter/sass/spa_landing/scss/vendor/_rfs.scss +0 -204
- data/lib/viniBaxter/sass/spa_landing/theme/_variables.scss +0 -565
@@ -1,134 +0,0 @@
|
|
1
|
-
// Bootstrap functions
|
2
|
-
//
|
3
|
-
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
|
4
|
-
|
5
|
-
// Ascending
|
6
|
-
// Used to evaluate Sass maps like our grid breakpoints.
|
7
|
-
@mixin _assert-ascending($map, $map-name) {
|
8
|
-
$prev-key: null;
|
9
|
-
$prev-num: null;
|
10
|
-
@each $key, $num in $map {
|
11
|
-
@if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
|
12
|
-
// Do nothing
|
13
|
-
} @else if not comparable($prev-num, $num) {
|
14
|
-
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
15
|
-
} @else if $prev-num >= $num {
|
16
|
-
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
17
|
-
}
|
18
|
-
$prev-key: $key;
|
19
|
-
$prev-num: $num;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
// Starts at zero
|
24
|
-
// Used to ensure the min-width of the lowest breakpoint starts at 0.
|
25
|
-
@mixin _assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
|
26
|
-
$values: map-values($map);
|
27
|
-
$first-value: nth($values, 1);
|
28
|
-
@if $first-value != 0 {
|
29
|
-
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
// Replace `$search` with `$replace` in `$string`
|
34
|
-
// Used on our SVG icon backgrounds for custom forms.
|
35
|
-
//
|
36
|
-
// @author Hugo Giraudel
|
37
|
-
// @param {String} $string - Initial string
|
38
|
-
// @param {String} $search - Substring to replace
|
39
|
-
// @param {String} $replace ('') - New value
|
40
|
-
// @return {String} - Updated string
|
41
|
-
@function str-replace($string, $search, $replace: "") {
|
42
|
-
$index: str-index($string, $search);
|
43
|
-
|
44
|
-
@if $index {
|
45
|
-
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
46
|
-
}
|
47
|
-
|
48
|
-
@return $string;
|
49
|
-
}
|
50
|
-
|
51
|
-
// See https://codepen.io/kevinweber/pen/dXWoRw
|
52
|
-
@function escape-svg($string) {
|
53
|
-
@if str-index($string, "data:image/svg+xml") {
|
54
|
-
@each $char, $encoded in $escaped-characters {
|
55
|
-
$string: str-replace($string, $char, $encoded);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
@return $string;
|
60
|
-
}
|
61
|
-
|
62
|
-
// Color contrast
|
63
|
-
@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
|
64
|
-
$r: red($color);
|
65
|
-
$g: green($color);
|
66
|
-
$b: blue($color);
|
67
|
-
|
68
|
-
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
|
69
|
-
|
70
|
-
@if ($yiq >= $yiq-contrasted-threshold) {
|
71
|
-
@return $dark;
|
72
|
-
} @else {
|
73
|
-
@return $light;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
// Retrieve color Sass maps
|
78
|
-
@function color($key: "blue") {
|
79
|
-
@return map-get($colors, $key);
|
80
|
-
}
|
81
|
-
|
82
|
-
@function theme-color($key: "primary") {
|
83
|
-
@return map-get($theme-colors, $key);
|
84
|
-
}
|
85
|
-
|
86
|
-
@function gray($key: "100") {
|
87
|
-
@return map-get($grays, $key);
|
88
|
-
}
|
89
|
-
|
90
|
-
// Request a theme color level
|
91
|
-
@function theme-color-level($color-name: "primary", $level: 0) {
|
92
|
-
$color: theme-color($color-name);
|
93
|
-
$color-base: if($level > 0, $black, $white);
|
94
|
-
$level: abs($level);
|
95
|
-
|
96
|
-
@return mix($color-base, $color, $level * $theme-color-interval);
|
97
|
-
}
|
98
|
-
|
99
|
-
// Return valid calc
|
100
|
-
@function add($value1, $value2, $return-calc: true) {
|
101
|
-
@if $value1 == null {
|
102
|
-
@return $value2;
|
103
|
-
}
|
104
|
-
|
105
|
-
@if $value2 == null {
|
106
|
-
@return $value1;
|
107
|
-
}
|
108
|
-
|
109
|
-
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
110
|
-
@return $value1 + $value2;
|
111
|
-
}
|
112
|
-
|
113
|
-
@return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2);
|
114
|
-
}
|
115
|
-
|
116
|
-
@function subtract($value1, $value2, $return-calc: true) {
|
117
|
-
@if $value1 == null and $value2 == null {
|
118
|
-
@return null;
|
119
|
-
}
|
120
|
-
|
121
|
-
@if $value1 == null {
|
122
|
-
@return -$value2;
|
123
|
-
}
|
124
|
-
|
125
|
-
@if $value2 == null {
|
126
|
-
@return $value1;
|
127
|
-
}
|
128
|
-
|
129
|
-
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
130
|
-
@return $value1 - $value2;
|
131
|
-
}
|
132
|
-
|
133
|
-
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
|
134
|
-
}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
// Container widths
|
2
|
-
//
|
3
|
-
// Set the container width, and override it for fixed navbars in media queries.
|
4
|
-
|
5
|
-
@if $enable-grid-classes {
|
6
|
-
// Single container class with breakpoint max-widths
|
7
|
-
.container {
|
8
|
-
@include make-container();
|
9
|
-
@include make-container-max-widths();
|
10
|
-
}
|
11
|
-
|
12
|
-
// 100% wide container at all breakpoints
|
13
|
-
.container-fluid {
|
14
|
-
@include make-container();
|
15
|
-
}
|
16
|
-
|
17
|
-
// Responsive containers that are 100% wide until a breakpoint
|
18
|
-
@each $breakpoint, $container-max-width in $container-max-widths {
|
19
|
-
.container-#{$breakpoint} {
|
20
|
-
@extend .container-fluid;
|
21
|
-
}
|
22
|
-
|
23
|
-
@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
|
24
|
-
%responsive-container-#{$breakpoint} {
|
25
|
-
max-width: $container-max-width;
|
26
|
-
}
|
27
|
-
|
28
|
-
@each $name, $width in $grid-breakpoints {
|
29
|
-
@if ($container-max-width > $width or $breakpoint == $name) {
|
30
|
-
.container#{breakpoint-infix($name, $grid-breakpoints)} {
|
31
|
-
@extend %responsive-container-#{$breakpoint};
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
|
40
|
-
// Row
|
41
|
-
//
|
42
|
-
// Rows contain your columns.
|
43
|
-
|
44
|
-
@if $enable-grid-classes {
|
45
|
-
.row {
|
46
|
-
@include make-row();
|
47
|
-
}
|
48
|
-
|
49
|
-
// Remove the negative margin from default .row, then the horizontal padding
|
50
|
-
// from all immediate children columns (to prevent runaway style inheritance).
|
51
|
-
.no-gutters {
|
52
|
-
margin-right: 0;
|
53
|
-
margin-left: 0;
|
54
|
-
|
55
|
-
> .col,
|
56
|
-
> [class*="col-"] {
|
57
|
-
padding-right: 0;
|
58
|
-
padding-left: 0;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
// Columns
|
64
|
-
//
|
65
|
-
// Common styles for small and large grid columns
|
66
|
-
|
67
|
-
@if $enable-grid-classes {
|
68
|
-
@include make-grid-columns();
|
69
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
// Responsive images (ensure images don't scale beyond their parents)
|
2
|
-
//
|
3
|
-
// This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
|
4
|
-
// We previously tried the "images are responsive by default" approach in Bootstrap v2,
|
5
|
-
// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
|
6
|
-
// which weren't expecting the images within themselves to be involuntarily resized.
|
7
|
-
// See also https://github.com/twbs/bootstrap/issues/18178
|
8
|
-
.img-fluid {
|
9
|
-
@include img-fluid();
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
// Image thumbnails
|
14
|
-
.img-thumbnail {
|
15
|
-
padding: $thumbnail-padding;
|
16
|
-
background-color: $thumbnail-bg;
|
17
|
-
border: $thumbnail-border-width solid $thumbnail-border-color;
|
18
|
-
@include border-radius($thumbnail-border-radius);
|
19
|
-
@include box-shadow($thumbnail-box-shadow);
|
20
|
-
|
21
|
-
// Keep them at most 100% wide
|
22
|
-
@include img-fluid();
|
23
|
-
}
|
24
|
-
|
25
|
-
//
|
26
|
-
// Figures
|
27
|
-
//
|
28
|
-
|
29
|
-
.figure {
|
30
|
-
// Ensures the caption's text aligns with the image.
|
31
|
-
display: inline-block;
|
32
|
-
}
|
33
|
-
|
34
|
-
.figure-img {
|
35
|
-
margin-bottom: $spacer / 2;
|
36
|
-
line-height: 1;
|
37
|
-
}
|
38
|
-
|
39
|
-
.figure-caption {
|
40
|
-
@include font-size($figure-caption-font-size);
|
41
|
-
color: $figure-caption-color;
|
42
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
2
|
-
|
3
|
-
//
|
4
|
-
// Base styles
|
5
|
-
//
|
6
|
-
|
7
|
-
.input-group {
|
8
|
-
position: relative;
|
9
|
-
display: flex;
|
10
|
-
flex-wrap: wrap; // For form validation feedback
|
11
|
-
align-items: stretch;
|
12
|
-
width: 100%;
|
13
|
-
|
14
|
-
> .form-control,
|
15
|
-
> .form-control-plaintext,
|
16
|
-
> .custom-select,
|
17
|
-
> .custom-file {
|
18
|
-
position: relative; // For focus state's z-index
|
19
|
-
flex: 1 1 0%;
|
20
|
-
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
|
21
|
-
margin-bottom: 0;
|
22
|
-
|
23
|
-
+ .form-control,
|
24
|
-
+ .custom-select,
|
25
|
-
+ .custom-file {
|
26
|
-
margin-left: -$input-border-width;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// Bring the "active" form control to the top of surrounding elements
|
31
|
-
> .form-control:focus,
|
32
|
-
> .custom-select:focus,
|
33
|
-
> .custom-file .custom-file-input:focus ~ .custom-file-label {
|
34
|
-
z-index: 3;
|
35
|
-
}
|
36
|
-
|
37
|
-
// Bring the custom file input above the label
|
38
|
-
> .custom-file .custom-file-input:focus {
|
39
|
-
z-index: 4;
|
40
|
-
}
|
41
|
-
|
42
|
-
> .form-control,
|
43
|
-
> .custom-select {
|
44
|
-
&:not(:last-child) { @include border-right-radius(0); }
|
45
|
-
&:not(:first-child) { @include border-left-radius(0); }
|
46
|
-
}
|
47
|
-
|
48
|
-
// Custom file inputs have more complex markup, thus requiring different
|
49
|
-
// border-radius overrides.
|
50
|
-
> .custom-file {
|
51
|
-
display: flex;
|
52
|
-
align-items: center;
|
53
|
-
|
54
|
-
&:not(:last-child) .custom-file-label,
|
55
|
-
&:not(:last-child) .custom-file-label::after { @include border-right-radius(0); }
|
56
|
-
&:not(:first-child) .custom-file-label { @include border-left-radius(0); }
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
|
61
|
-
// Prepend and append
|
62
|
-
//
|
63
|
-
// While it requires one extra layer of HTML for each, dedicated prepend and
|
64
|
-
// append elements allow us to 1) be less clever, 2) simplify our selectors, and
|
65
|
-
// 3) support HTML5 form validation.
|
66
|
-
|
67
|
-
.input-group-prepend,
|
68
|
-
.input-group-append {
|
69
|
-
display: flex;
|
70
|
-
|
71
|
-
// Ensure buttons are always above inputs for more visually pleasing borders.
|
72
|
-
// This isn't needed for `.input-group-text` since it shares the same border-color
|
73
|
-
// as our inputs.
|
74
|
-
.btn {
|
75
|
-
position: relative;
|
76
|
-
z-index: 2;
|
77
|
-
|
78
|
-
&:focus {
|
79
|
-
z-index: 3;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
.btn + .btn,
|
84
|
-
.btn + .input-group-text,
|
85
|
-
.input-group-text + .input-group-text,
|
86
|
-
.input-group-text + .btn {
|
87
|
-
margin-left: -$input-border-width;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
.input-group-prepend { margin-right: -$input-border-width; }
|
92
|
-
.input-group-append { margin-left: -$input-border-width; }
|
93
|
-
|
94
|
-
|
95
|
-
// Textual addons
|
96
|
-
//
|
97
|
-
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
98
|
-
// to prepend or append to an input.
|
99
|
-
|
100
|
-
.input-group-text {
|
101
|
-
display: flex;
|
102
|
-
align-items: center;
|
103
|
-
padding: $input-padding-y $input-padding-x;
|
104
|
-
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
105
|
-
@include font-size($input-font-size); // Match inputs
|
106
|
-
font-weight: $font-weight-normal;
|
107
|
-
line-height: $input-line-height;
|
108
|
-
color: $input-group-addon-color;
|
109
|
-
text-align: center;
|
110
|
-
white-space: nowrap;
|
111
|
-
background-color: $input-group-addon-bg;
|
112
|
-
border: $input-border-width solid $input-group-addon-border-color;
|
113
|
-
@include border-radius($input-border-radius);
|
114
|
-
|
115
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
116
|
-
input[type="radio"],
|
117
|
-
input[type="checkbox"] {
|
118
|
-
margin-top: 0;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
|
123
|
-
// Sizing
|
124
|
-
//
|
125
|
-
// Remix the default form control sizing classes into new ones for easier
|
126
|
-
// manipulation.
|
127
|
-
|
128
|
-
.input-group-lg > .form-control:not(textarea),
|
129
|
-
.input-group-lg > .custom-select {
|
130
|
-
height: $input-height-lg;
|
131
|
-
}
|
132
|
-
|
133
|
-
.input-group-lg > .form-control,
|
134
|
-
.input-group-lg > .custom-select,
|
135
|
-
.input-group-lg > .input-group-prepend > .input-group-text,
|
136
|
-
.input-group-lg > .input-group-append > .input-group-text,
|
137
|
-
.input-group-lg > .input-group-prepend > .btn,
|
138
|
-
.input-group-lg > .input-group-append > .btn {
|
139
|
-
padding: $input-padding-y-lg $input-padding-x-lg;
|
140
|
-
@include font-size($input-font-size-lg);
|
141
|
-
line-height: $input-line-height-lg;
|
142
|
-
@include border-radius($input-border-radius-lg);
|
143
|
-
}
|
144
|
-
|
145
|
-
.input-group-sm > .form-control:not(textarea),
|
146
|
-
.input-group-sm > .custom-select {
|
147
|
-
height: $input-height-sm;
|
148
|
-
}
|
149
|
-
|
150
|
-
.input-group-sm > .form-control,
|
151
|
-
.input-group-sm > .custom-select,
|
152
|
-
.input-group-sm > .input-group-prepend > .input-group-text,
|
153
|
-
.input-group-sm > .input-group-append > .input-group-text,
|
154
|
-
.input-group-sm > .input-group-prepend > .btn,
|
155
|
-
.input-group-sm > .input-group-append > .btn {
|
156
|
-
padding: $input-padding-y-sm $input-padding-x-sm;
|
157
|
-
@include font-size($input-font-size-sm);
|
158
|
-
line-height: $input-line-height-sm;
|
159
|
-
@include border-radius($input-border-radius-sm);
|
160
|
-
}
|
161
|
-
|
162
|
-
.input-group-lg > .custom-select,
|
163
|
-
.input-group-sm > .custom-select {
|
164
|
-
padding-right: $custom-select-padding-x + $custom-select-indicator-padding;
|
165
|
-
}
|
166
|
-
|
167
|
-
|
168
|
-
// Prepend and append rounded corners
|
169
|
-
//
|
170
|
-
// These rulesets must come after the sizing ones to properly override sm and lg
|
171
|
-
// border-radius values when extending. They're more specific than we'd like
|
172
|
-
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
173
|
-
|
174
|
-
|
175
|
-
.input-group > .input-group-prepend > .btn,
|
176
|
-
.input-group > .input-group-prepend > .input-group-text,
|
177
|
-
.input-group > .input-group-append:not(:last-child) > .btn,
|
178
|
-
.input-group > .input-group-append:not(:last-child) > .input-group-text,
|
179
|
-
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
180
|
-
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
|
181
|
-
@include border-right-radius(0);
|
182
|
-
}
|
183
|
-
|
184
|
-
.input-group > .input-group-append > .btn,
|
185
|
-
.input-group > .input-group-append > .input-group-text,
|
186
|
-
.input-group > .input-group-prepend:not(:first-child) > .btn,
|
187
|
-
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
|
188
|
-
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
|
189
|
-
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
|
190
|
-
@include border-left-radius(0);
|
191
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
.jumbotron {
|
2
|
-
padding: $jumbotron-padding ($jumbotron-padding / 2);
|
3
|
-
margin-bottom: $jumbotron-padding;
|
4
|
-
color: $jumbotron-color;
|
5
|
-
background-color: $jumbotron-bg;
|
6
|
-
@include border-radius($border-radius-lg);
|
7
|
-
|
8
|
-
@include media-breakpoint-up(sm) {
|
9
|
-
padding: ($jumbotron-padding * 2) $jumbotron-padding;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.jumbotron-fluid {
|
14
|
-
padding-right: 0;
|
15
|
-
padding-left: 0;
|
16
|
-
@include border-radius(0);
|
17
|
-
}
|