viniBaxter-desk_front 22.0.0 → 30.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/viniBaxter/desk_front/version.rb +6 -1
- data/lib/viniBaxter/sass/desk_front.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_mixins.scss +19 -15
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_new_nav.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_variables.scss +923 -911
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_white-content.scss +319 -291
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-normal.scss +139 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-ntf.scss +146 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/caret-color.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_dropdown.scss +372 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_fixed-plugin.scss +335 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_misc.scss +226 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_navbar.scss +496 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_sidebar-and-main-panel.scss +885 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_white-content.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_alert.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_badge.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_breadcrumb.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_button-group.scss +163 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_buttons.scss +184 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_card.scss +287 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_carousel.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_close.scss +40 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_code.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_custom-forms.scss +556 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_dropdown.scss +192 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_forms.scss +364 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_grid.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_images.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_input-group.scss +192 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_jumbotron.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_list-group.scss +153 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_media.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_mixins.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_modal.scss +248 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_nav.scss +123 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_navbar.scss +318 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_pagination.scss +74 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_popover.scss +170 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_print.scss +141 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_progress.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_reboot.scss +497 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_root.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_spinners.scss +56 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_tables.scss +183 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_toasts.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_tooltip.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_transitions.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_type.scss +149 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_utilities.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap-grid.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap-reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap.scss +43 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_alert.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss +23 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_badge.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_border-radius.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_box-shadow.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_breakpoints.scss +123 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_buttons.scss +153 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_caret.scss +62 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_deprecate.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_float.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_forms.scss +178 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_gradients.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_grid-framework.scss +80 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_grid.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_hover.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_image.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_list-group.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_lists.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_nav-divider.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_pagination.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_reset-text.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_resize.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_screen-reader.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_size.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_table-row.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-emphasis.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-hide.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-truncate.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_transition.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_visibility.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_align.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_background.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_borders.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_clearfix.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_display.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_embed.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_flex.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_float.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_interactions.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_overflow.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_position.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_screenreaders.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_shadows.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_sizing.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_spacing.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_stretched-link.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_text.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_visibility.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/vendor/_rfs.scss +204 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +2 -2
- data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +3 -7
- data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +16 -15
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_theme.scss +0 -52
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_sizing.scss +2 -11
- data/lib/viniBaxter/sass/desk_front/theme-dark.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/theme.scss +1 -11
- metadata +101 -44
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_alert.scss +0 -18
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_aos.scss +0 -32
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_avatar.scss +0 -192
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_button-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_buttons.scss +0 -115
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_carousel.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_close.scss +0 -11
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_code.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_collapse.scss +0 -15
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_custom-forms.scss +0 -65
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_device.scss +0 -110
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_dropdown.scss +0 -106
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_fancybox.scss +0 -14
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_feather.scss +0 -1093
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_flickity.scss +0 -112
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_footer.scss +0 -10
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_forms.scss +0 -92
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_grid.scss +0 -9
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_highlight.scss +0 -8
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_icon.scss +0 -56
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_images.scss +0 -32
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_input-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_jumbotron.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list-group.scss +0 -22
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list.scss +0 -27
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_media.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_modal.scss +0 -21
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_nav.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_navbar.scss +0 -377
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_pagination.scss +0 -34
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_popover.scss +0 -15
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_print.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_progress.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_reboot.scss +0 -17
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_root.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_screenshot.scss +0 -9
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_section.scss +0 -19
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_sidenav.scss +0 -28
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tables.scss +0 -23
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tooltip.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_transitions.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_type.scss +0 -169
@@ -0,0 +1,19 @@
|
|
1
|
+
//
|
2
|
+
// Stretched link
|
3
|
+
//
|
4
|
+
|
5
|
+
.stretched-link {
|
6
|
+
&::after {
|
7
|
+
position: absolute;
|
8
|
+
top: 0;
|
9
|
+
right: 0;
|
10
|
+
bottom: 0;
|
11
|
+
left: 0;
|
12
|
+
z-index: 1;
|
13
|
+
// Just in case `pointer-events: none` is set on a parent
|
14
|
+
pointer-events: auto;
|
15
|
+
content: "";
|
16
|
+
// IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color
|
17
|
+
background-color: rgba(0, 0, 0, 0);
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
//
|
4
|
+
// Text
|
5
|
+
//
|
6
|
+
|
7
|
+
.text-monospace { font-family: $font-family-monospace !important; }
|
8
|
+
|
9
|
+
// Alignment
|
10
|
+
|
11
|
+
.text-justify { text-align: justify !important; }
|
12
|
+
.text-wrap { white-space: normal !important; }
|
13
|
+
.text-nowrap { white-space: nowrap !important; }
|
14
|
+
.text-truncate { @include text-truncate(); }
|
15
|
+
|
16
|
+
// Responsive alignment
|
17
|
+
|
18
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
19
|
+
@include media-breakpoint-up($breakpoint) {
|
20
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
21
|
+
|
22
|
+
.text#{$infix}-left { text-align: left !important; }
|
23
|
+
.text#{$infix}-right { text-align: right !important; }
|
24
|
+
.text#{$infix}-center { text-align: center !important; }
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Transformation
|
29
|
+
|
30
|
+
.text-lowercase { text-transform: lowercase !important; }
|
31
|
+
.text-uppercase { text-transform: uppercase !important; }
|
32
|
+
.text-capitalize { text-transform: capitalize !important; }
|
33
|
+
|
34
|
+
// Weight and italics
|
35
|
+
|
36
|
+
.font-weight-light { font-weight: $font-weight-light !important; }
|
37
|
+
.font-weight-lighter { font-weight: $font-weight-lighter !important; }
|
38
|
+
.font-weight-normal { font-weight: $font-weight-normal !important; }
|
39
|
+
.font-weight-bold { font-weight: $font-weight-bold !important; }
|
40
|
+
.font-weight-bolder { font-weight: $font-weight-bolder !important; }
|
41
|
+
.font-italic { font-style: italic !important; }
|
42
|
+
|
43
|
+
// Contextual colors
|
44
|
+
|
45
|
+
.text-white { color: $white !important; }
|
46
|
+
|
47
|
+
@each $color, $value in $theme-colors {
|
48
|
+
@include text-emphasis-variant(".text-#{$color}", $value, true);
|
49
|
+
}
|
50
|
+
|
51
|
+
.text-body { color: $body-color !important; }
|
52
|
+
.text-muted { color: $text-muted !important; }
|
53
|
+
|
54
|
+
.text-black-50 { color: rgba($black, .5) !important; }
|
55
|
+
.text-white-50 { color: rgba($white, .5) !important; }
|
56
|
+
|
57
|
+
// Misc
|
58
|
+
|
59
|
+
.text-hide {
|
60
|
+
@include text-hide($ignore-warning: true);
|
61
|
+
}
|
62
|
+
|
63
|
+
.text-decoration-none { text-decoration: none !important; }
|
64
|
+
|
65
|
+
.text-break {
|
66
|
+
word-break: break-word !important; // IE & < Edge 18
|
67
|
+
overflow-wrap: break-word !important;
|
68
|
+
}
|
69
|
+
|
70
|
+
// Reset
|
71
|
+
|
72
|
+
.text-reset { color: inherit !important; }
|
@@ -0,0 +1,204 @@
|
|
1
|
+
// stylelint-disable property-blacklist, scss/dollar-variable-default
|
2
|
+
|
3
|
+
// SCSS RFS mixin
|
4
|
+
//
|
5
|
+
// Automated font-resizing
|
6
|
+
//
|
7
|
+
// See https://github.com/twbs/rfs
|
8
|
+
|
9
|
+
// Configuration
|
10
|
+
|
11
|
+
// Base font size
|
12
|
+
$rfs-base-font-size: 1.25rem !default;
|
13
|
+
$rfs-font-size-unit: rem !default;
|
14
|
+
|
15
|
+
// Breakpoint at where font-size starts decreasing if screen width is smaller
|
16
|
+
$rfs-breakpoint: 1200px !default;
|
17
|
+
$rfs-breakpoint-unit: px !default;
|
18
|
+
|
19
|
+
// Resize font-size based on screen height and width
|
20
|
+
$rfs-two-dimensional: false !default;
|
21
|
+
|
22
|
+
// Factor of decrease
|
23
|
+
$rfs-factor: 10 !default;
|
24
|
+
|
25
|
+
@if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
|
26
|
+
@error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";
|
27
|
+
}
|
28
|
+
|
29
|
+
// Generate enable or disable classes. Possibilities: false, "enable" or "disable"
|
30
|
+
$rfs-class: false !default;
|
31
|
+
|
32
|
+
// 1 rem = $rfs-rem-value px
|
33
|
+
$rfs-rem-value: 16 !default;
|
34
|
+
|
35
|
+
// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14
|
36
|
+
$rfs-safari-iframe-resize-bug-fix: false !default;
|
37
|
+
|
38
|
+
// Disable RFS by setting $enable-responsive-font-sizes to false
|
39
|
+
$enable-responsive-font-sizes: true !default;
|
40
|
+
|
41
|
+
// Cache $rfs-base-font-size unit
|
42
|
+
$rfs-base-font-size-unit: unit($rfs-base-font-size);
|
43
|
+
|
44
|
+
// Remove px-unit from $rfs-base-font-size for calculations
|
45
|
+
@if $rfs-base-font-size-unit == "px" {
|
46
|
+
$rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1);
|
47
|
+
}
|
48
|
+
@else if $rfs-base-font-size-unit == "rem" {
|
49
|
+
$rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1 / $rfs-rem-value);
|
50
|
+
}
|
51
|
+
|
52
|
+
// Cache $rfs-breakpoint unit to prevent multiple calls
|
53
|
+
$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
|
54
|
+
|
55
|
+
// Remove unit from $rfs-breakpoint for calculations
|
56
|
+
@if $rfs-breakpoint-unit-cache == "px" {
|
57
|
+
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
|
58
|
+
}
|
59
|
+
@else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {
|
60
|
+
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1 / $rfs-rem-value);
|
61
|
+
}
|
62
|
+
|
63
|
+
// Responsive font-size mixin
|
64
|
+
@mixin rfs($fs, $important: false) {
|
65
|
+
// Cache $fs unit
|
66
|
+
$fs-unit: if(type-of($fs) == "number", unit($fs), false);
|
67
|
+
|
68
|
+
// Add !important suffix if needed
|
69
|
+
$rfs-suffix: if($important, " !important", "");
|
70
|
+
|
71
|
+
// If $fs isn't a number (like inherit) or $fs has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
72
|
+
@if not $fs-unit or $fs-unit != "" and $fs-unit != "px" and $fs-unit != "rem" or $fs == 0 {
|
73
|
+
font-size: #{$fs}#{$rfs-suffix};
|
74
|
+
}
|
75
|
+
@else {
|
76
|
+
// Variables for storing static and fluid rescaling
|
77
|
+
$rfs-static: null;
|
78
|
+
$rfs-fluid: null;
|
79
|
+
|
80
|
+
// Remove px-unit from $fs for calculations
|
81
|
+
@if $fs-unit == "px" {
|
82
|
+
$fs: $fs / ($fs * 0 + 1);
|
83
|
+
}
|
84
|
+
@else if $fs-unit == "rem" {
|
85
|
+
$fs: $fs / ($fs * 0 + 1 / $rfs-rem-value);
|
86
|
+
}
|
87
|
+
|
88
|
+
// Set default font-size
|
89
|
+
@if $rfs-font-size-unit == rem {
|
90
|
+
$rfs-static: #{$fs / $rfs-rem-value}rem#{$rfs-suffix};
|
91
|
+
}
|
92
|
+
@else if $rfs-font-size-unit == px {
|
93
|
+
$rfs-static: #{$fs}px#{$rfs-suffix};
|
94
|
+
}
|
95
|
+
@else {
|
96
|
+
@error "`#{$rfs-font-size-unit}` is not a valid unit for $rfs-font-size-unit. Use `px` or `rem`.";
|
97
|
+
}
|
98
|
+
|
99
|
+
// Only add media query if font-size is bigger as the minimum font-size
|
100
|
+
// If $rfs-factor == 1, no rescaling will take place
|
101
|
+
@if $fs > $rfs-base-font-size and $enable-responsive-font-sizes {
|
102
|
+
$min-width: null;
|
103
|
+
$variable-unit: null;
|
104
|
+
|
105
|
+
// Calculate minimum font-size for given font-size
|
106
|
+
$fs-min: $rfs-base-font-size + ($fs - $rfs-base-font-size) / $rfs-factor;
|
107
|
+
|
108
|
+
// Calculate difference between given font-size and minimum font-size for given font-size
|
109
|
+
$fs-diff: $fs - $fs-min;
|
110
|
+
|
111
|
+
// Base font-size formatting
|
112
|
+
// No need to check if the unit is valid, because we did that before
|
113
|
+
$min-width: if($rfs-font-size-unit == rem, #{$fs-min / $rfs-rem-value}rem, #{$fs-min}px);
|
114
|
+
|
115
|
+
// If two-dimensional, use smallest of screen width and height
|
116
|
+
$variable-unit: if($rfs-two-dimensional, vmin, vw);
|
117
|
+
|
118
|
+
// Calculate the variable width between 0 and $rfs-breakpoint
|
119
|
+
$variable-width: #{$fs-diff * 100 / $rfs-breakpoint}#{$variable-unit};
|
120
|
+
|
121
|
+
// Set the calculated font-size.
|
122
|
+
$rfs-fluid: calc(#{$min-width} + #{$variable-width}) #{$rfs-suffix};
|
123
|
+
}
|
124
|
+
|
125
|
+
// Rendering
|
126
|
+
@if $rfs-fluid == null {
|
127
|
+
// Only render static font-size if no fluid font-size is available
|
128
|
+
font-size: $rfs-static;
|
129
|
+
}
|
130
|
+
@else {
|
131
|
+
$mq-value: null;
|
132
|
+
|
133
|
+
// RFS breakpoint formatting
|
134
|
+
@if $rfs-breakpoint-unit == em or $rfs-breakpoint-unit == rem {
|
135
|
+
$mq-value: #{$rfs-breakpoint / $rfs-rem-value}#{$rfs-breakpoint-unit};
|
136
|
+
}
|
137
|
+
@else if $rfs-breakpoint-unit == px {
|
138
|
+
$mq-value: #{$rfs-breakpoint}px;
|
139
|
+
}
|
140
|
+
@else {
|
141
|
+
@error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";
|
142
|
+
}
|
143
|
+
|
144
|
+
@if $rfs-class == "disable" {
|
145
|
+
// Adding an extra class increases specificity,
|
146
|
+
// which prevents the media query to override the font size
|
147
|
+
&,
|
148
|
+
.disable-responsive-font-size &,
|
149
|
+
&.disable-responsive-font-size {
|
150
|
+
font-size: $rfs-static;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
@else {
|
154
|
+
font-size: $rfs-static;
|
155
|
+
}
|
156
|
+
|
157
|
+
@if $rfs-two-dimensional {
|
158
|
+
@media (max-width: #{$mq-value}), (max-height: #{$mq-value}) {
|
159
|
+
@if $rfs-class == "enable" {
|
160
|
+
.enable-responsive-font-size &,
|
161
|
+
&.enable-responsive-font-size {
|
162
|
+
font-size: $rfs-fluid;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
@else {
|
166
|
+
font-size: $rfs-fluid;
|
167
|
+
}
|
168
|
+
|
169
|
+
@if $rfs-safari-iframe-resize-bug-fix {
|
170
|
+
// stylelint-disable-next-line length-zero-no-unit
|
171
|
+
min-width: 0vw;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
@else {
|
176
|
+
@media (max-width: #{$mq-value}) {
|
177
|
+
@if $rfs-class == "enable" {
|
178
|
+
.enable-responsive-font-size &,
|
179
|
+
&.enable-responsive-font-size {
|
180
|
+
font-size: $rfs-fluid;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
@else {
|
184
|
+
font-size: $rfs-fluid;
|
185
|
+
}
|
186
|
+
|
187
|
+
@if $rfs-safari-iframe-resize-bug-fix {
|
188
|
+
// stylelint-disable-next-line length-zero-no-unit
|
189
|
+
min-width: 0vw;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
// The font-size & responsive-font-size mixin uses RFS to rescale font sizes
|
198
|
+
@mixin font-size($fs, $important: false) {
|
199
|
+
@include rfs($fs, $important);
|
200
|
+
}
|
201
|
+
|
202
|
+
@mixin responsive-font-size($fs, $important: false) {
|
203
|
+
@include rfs($fs, $important);
|
204
|
+
}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
@import 'list-group';
|
16
16
|
@import 'modal';
|
17
17
|
@import 'nav';
|
18
|
-
@import 'navbar';
|
18
|
+
// @import 'navbar';
|
19
19
|
@import 'popover';
|
20
20
|
@import 'progress';
|
21
21
|
@import 'reboot';
|
@@ -38,4 +38,4 @@
|
|
38
38
|
@import 'vendors';
|
39
39
|
|
40
40
|
// icon font is inside the app name => Feather
|
41
|
-
@import
|
41
|
+
@import 'feather';
|
@@ -15,29 +15,25 @@
|
|
15
15
|
@include list-group-item-variant($color, $value, color-yiq($value));
|
16
16
|
}
|
17
17
|
|
18
|
-
|
19
18
|
// List group large
|
20
19
|
|
21
20
|
.list-group-lg .list-group-item {
|
22
|
-
padding-top: $list-group-item-padding-y
|
23
|
-
padding-bottom: $list-group-item-padding-y
|
21
|
+
padding-top: $list-group-item-padding-y;
|
22
|
+
padding-bottom: $list-group-item-padding-y;
|
24
23
|
}
|
25
24
|
|
26
|
-
|
27
25
|
// List group flush
|
28
26
|
|
29
27
|
.list-group-flush > .list-group-item,
|
30
|
-
.list-group-flush > .dz-preview > .list-group-item{
|
28
|
+
.list-group-flush > .dz-preview > .list-group-item {
|
31
29
|
padding-left: 0;
|
32
30
|
padding-right: 0;
|
33
31
|
}
|
34
32
|
|
35
|
-
|
36
33
|
//
|
37
34
|
// Dashkit ===================================
|
38
35
|
//
|
39
36
|
|
40
|
-
|
41
37
|
// Activity
|
42
38
|
|
43
39
|
.list-group-activity .list-group-item {
|
@@ -1,15 +1,19 @@
|
|
1
|
-
//
|
1
|
+
//
|
2
2
|
// nav.scss
|
3
3
|
// Extended from Bootstrap
|
4
4
|
//
|
5
5
|
|
6
|
-
//
|
6
|
+
//
|
7
7
|
// Bootstrap Overrides =====================================
|
8
8
|
//
|
9
9
|
|
10
10
|
// Changing nav tabs to be bottom highlight style
|
11
11
|
|
12
12
|
.nav-tabs {
|
13
|
+
li > a {
|
14
|
+
font-weight: $font-weight-light;
|
15
|
+
@include font-size($font-size-sm);
|
16
|
+
}
|
13
17
|
|
14
18
|
.nav-item {
|
15
19
|
margin-left: $nav-tabs-link-margin-x;
|
@@ -22,7 +26,7 @@
|
|
22
26
|
border-left-width: 0;
|
23
27
|
border-right-width: 0;
|
24
28
|
border-top-width: 0;
|
25
|
-
|
29
|
+
|
26
30
|
&:not(.active) {
|
27
31
|
color: $gray-600;
|
28
32
|
|
@@ -30,7 +34,6 @@
|
|
30
34
|
color: $gray-700;
|
31
35
|
}
|
32
36
|
}
|
33
|
-
|
34
37
|
}
|
35
38
|
|
36
39
|
.nav-item:first-child {
|
@@ -45,11 +48,9 @@
|
|
45
48
|
.nav-item.show .nav-link {
|
46
49
|
border-color: transparent;
|
47
50
|
}
|
48
|
-
|
49
51
|
}
|
50
52
|
|
51
|
-
|
52
|
-
//
|
53
|
+
//
|
53
54
|
// Dashkit =====================================
|
54
55
|
//
|
55
56
|
|
@@ -70,7 +71,6 @@
|
|
70
71
|
}
|
71
72
|
}
|
72
73
|
|
73
|
-
|
74
74
|
// Creates a small version of the .nav-tabs
|
75
75
|
|
76
76
|
.nav-tabs-sm {
|
@@ -80,33 +80,34 @@
|
|
80
80
|
margin-left: $nav-tabs-sm-link-margin-x;
|
81
81
|
margin-right: $nav-tabs-sm-link-margin-x;
|
82
82
|
}
|
83
|
-
|
83
|
+
|
84
84
|
.nav-link {
|
85
85
|
// Calculates the exact padding necessary to vertically fill the .card-header
|
86
|
-
padding-top: (
|
87
|
-
|
86
|
+
padding-top: (
|
87
|
+
($font-size-base / $nav-tabs-sm-font-size) * $nav-tabs-link-padding-y
|
88
|
+
);
|
89
|
+
padding-bottom: (
|
90
|
+
($font-size-base / $nav-tabs-sm-font-size) * $nav-tabs-link-padding-y
|
91
|
+
);
|
88
92
|
}
|
89
93
|
}
|
90
94
|
|
91
95
|
// Creates a small version of the .nab
|
92
96
|
|
93
97
|
.nav-sm {
|
94
|
-
|
95
98
|
.nav-link {
|
96
99
|
font-size: $font-size-sm;
|
97
100
|
}
|
98
101
|
}
|
99
102
|
|
100
|
-
|
101
103
|
// Nav + button group
|
102
104
|
//
|
103
105
|
// Change the look of .btn-white when .active
|
104
106
|
|
105
107
|
.nav.btn-group {
|
106
|
-
|
107
108
|
.btn-white.active {
|
108
109
|
background-color: $primary;
|
109
110
|
border-color: $primary;
|
110
111
|
color: $white;
|
111
112
|
}
|
112
|
-
}
|
113
|
+
}
|