anchor_ui-sprockets 5.2.0.1
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/README.md +67 -0
- data/Rakefile +20 -0
- data/app/assets/fonts/coreui-icons/CoreUI-Icons-Linear-Free.eot +0 -0
- data/app/assets/fonts/coreui-icons/CoreUI-Icons-Linear-Free.svg +110 -0
- data/app/assets/fonts/coreui-icons/CoreUI-Icons-Linear-Free.ttf +0 -0
- data/app/assets/fonts/coreui-icons/CoreUI-Icons-Linear-Free.woff +0 -0
- data/app/assets/javascripts/core.min.js +10 -0
- data/app/assets/javascripts/core.min.js.map +1 -0
- data/app/assets/javascripts/coreui/coreui-utilities.js +1072 -0
- data/app/assets/javascripts/coreui/coreui-utilities.js.map +1 -0
- data/app/assets/javascripts/coreui/coreui-utilities.min.js +7 -0
- data/app/assets/javascripts/coreui/coreui-utilities.min.js.map +1 -0
- data/app/assets/javascripts/coreui/coreui.js +1962 -0
- data/app/assets/javascripts/coreui/coreui.js.map +1 -0
- data/app/assets/javascripts/coreui/coreui.min.js +7 -0
- data/app/assets/javascripts/coreui/coreui.min.js.map +1 -0
- data/app/assets/javascripts/custom-tooltips.min.js +2 -0
- data/app/assets/javascripts/custom-tooltips.min.js.map +1 -0
- data/app/assets/javascripts/pace.min.js +2 -0
- data/app/assets/javascripts/perfect-scrollbar.min.js +6 -0
- data/app/assets/stylesheets/coreui-icons/_core.scss +33 -0
- data/app/assets/stylesheets/coreui-icons/_functions.scss +3 -0
- data/app/assets/stylesheets/coreui-icons/_variables.scss +106 -0
- data/app/assets/stylesheets/coreui-icons/coreui-icons.scss +11 -0
- data/app/assets/stylesheets/coreui/_animate.scss +27 -0
- data/app/assets/stylesheets/coreui/_aside.scss +65 -0
- data/app/assets/stylesheets/coreui/_avatars.scss +44 -0
- data/app/assets/stylesheets/coreui/_badge.scss +3 -0
- data/app/assets/stylesheets/coreui/_brand-buttons.scss +60 -0
- data/app/assets/stylesheets/coreui/_brand-card.scss +65 -0
- data/app/assets/stylesheets/coreui/_breadcrumb-menu.scss +44 -0
- data/app/assets/stylesheets/coreui/_breadcrumb.scss +16 -0
- data/app/assets/stylesheets/coreui/_buttons.scss +32 -0
- data/app/assets/stylesheets/coreui/_callout.scss +73 -0
- data/app/assets/stylesheets/coreui/_card.scss +117 -0
- data/app/assets/stylesheets/coreui/_charts.scss +55 -0
- data/app/assets/stylesheets/coreui/_dropdown-menu-right.scss +8 -0
- data/app/assets/stylesheets/coreui/_dropdown.scss +69 -0
- data/app/assets/stylesheets/coreui/_footer.scss +9 -0
- data/app/assets/stylesheets/coreui/_grid.scss +15 -0
- data/app/assets/stylesheets/coreui/_header.scss +135 -0
- data/app/assets/stylesheets/coreui/_ie-custom-properties.scss +14 -0
- data/app/assets/stylesheets/coreui/_images.scss +6 -0
- data/app/assets/stylesheets/coreui/_input-group.scss +5 -0
- data/app/assets/stylesheets/coreui/_layout.scss +483 -0
- data/app/assets/stylesheets/coreui/_list-group.scss +35 -0
- data/app/assets/stylesheets/coreui/_mixins.scss +7 -0
- data/app/assets/stylesheets/coreui/_modal.scss +13 -0
- data/app/assets/stylesheets/coreui/_nav.scss +57 -0
- data/app/assets/stylesheets/coreui/_navbar.scss +135 -0
- data/app/assets/stylesheets/coreui/_others.scss +4 -0
- data/app/assets/stylesheets/coreui/_progress-group.scss +40 -0
- data/app/assets/stylesheets/coreui/_progress.scss +15 -0
- data/app/assets/stylesheets/coreui/_rtl.scss +27 -0
- data/app/assets/stylesheets/coreui/_sidebar.scss +606 -0
- data/app/assets/stylesheets/coreui/_switches.scss +173 -0
- data/app/assets/stylesheets/coreui/_tables.scss +20 -0
- data/app/assets/stylesheets/coreui/_utilities.scss +4 -0
- data/app/assets/stylesheets/coreui/_variables.scss +204 -0
- data/app/assets/stylesheets/coreui/_vendors.scss +1 -0
- data/app/assets/stylesheets/coreui/_widgets.scss +1 -0
- data/app/assets/stylesheets/coreui/bootstrap.scss +4 -0
- data/app/assets/stylesheets/coreui/bootstrap/_alert.scss +51 -0
- data/app/assets/stylesheets/coreui/bootstrap/_badge.scss +47 -0
- data/app/assets/stylesheets/coreui/bootstrap/_breadcrumb.scss +41 -0
- data/app/assets/stylesheets/coreui/bootstrap/_button-group.scss +172 -0
- data/app/assets/stylesheets/coreui/bootstrap/_buttons.scss +143 -0
- data/app/assets/stylesheets/coreui/bootstrap/_card.scss +301 -0
- data/app/assets/stylesheets/coreui/bootstrap/_carousel.scss +236 -0
- data/app/assets/stylesheets/coreui/bootstrap/_close.scss +35 -0
- data/app/assets/stylesheets/coreui/bootstrap/_code.scss +48 -0
- data/app/assets/stylesheets/coreui/bootstrap/_custom-forms.scss +433 -0
- data/app/assets/stylesheets/coreui/bootstrap/_dropdown.scss +166 -0
- data/app/assets/stylesheets/coreui/bootstrap/_forms.scss +333 -0
- data/app/assets/stylesheets/coreui/bootstrap/_functions.scss +86 -0
- data/app/assets/stylesheets/coreui/bootstrap/_grid.scss +52 -0
- data/app/assets/stylesheets/coreui/bootstrap/_images.scss +42 -0
- data/app/assets/stylesheets/coreui/bootstrap/_input-group.scss +173 -0
- data/app/assets/stylesheets/coreui/bootstrap/_jumbotron.scss +16 -0
- data/app/assets/stylesheets/coreui/bootstrap/_list-group.scss +115 -0
- data/app/assets/stylesheets/coreui/bootstrap/_media.scss +8 -0
- data/app/assets/stylesheets/coreui/bootstrap/_mixins.scss +41 -0
- data/app/assets/stylesheets/coreui/bootstrap/_modal.scss +180 -0
- data/app/assets/stylesheets/coreui/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/coreui/bootstrap/_navbar.scss +299 -0
- data/app/assets/stylesheets/coreui/bootstrap/_pagination.scss +78 -0
- data/app/assets/stylesheets/coreui/bootstrap/_popover.scss +183 -0
- data/app/assets/stylesheets/coreui/bootstrap/_print.scss +141 -0
- data/app/assets/stylesheets/coreui/bootstrap/_progress.scss +34 -0
- data/app/assets/stylesheets/coreui/bootstrap/_reboot.scss +483 -0
- data/app/assets/stylesheets/coreui/bootstrap/_root.scss +19 -0
- data/app/assets/stylesheets/coreui/bootstrap/_tables.scss +187 -0
- data/app/assets/stylesheets/coreui/bootstrap/_tooltip.scss +115 -0
- data/app/assets/stylesheets/coreui/bootstrap/_transitions.scss +22 -0
- data/app/assets/stylesheets/coreui/bootstrap/_type.scss +125 -0
- data/app/assets/stylesheets/coreui/bootstrap/_utilities.scss +15 -0
- data/app/assets/stylesheets/coreui/bootstrap/_variables.scss +952 -0
- data/app/assets/stylesheets/coreui/bootstrap/bootstrap-grid.scss +32 -0
- data/app/assets/stylesheets/coreui/bootstrap/bootstrap-reboot.scss +12 -0
- data/app/assets/stylesheets/coreui/bootstrap/bootstrap.scss +42 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_alert.scss +13 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_background-variant.scss +21 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_badge.scss +12 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_border-radius.scss +35 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_box-shadow.scss +5 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_breakpoints.scss +123 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_buttons.scss +109 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_caret.scss +66 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_float.scss +11 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_forms.scss +147 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_gradients.scss +45 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_grid-framework.scss +67 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_grid.scss +52 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_hover.scss +37 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_image.scss +36 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_list-group.scss +21 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_lists.scss +7 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_pagination.scss +22 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_reset-text.scss +17 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_screen-reader.scss +33 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_size.scss +6 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_table-row.scss +30 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_text-hide.scss +13 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_text-truncate.scss +8 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_transition.scss +13 -0
- data/app/assets/stylesheets/coreui/bootstrap/mixins/_visibility.scss +7 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_align.scss +8 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_background.scss +19 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_borders.scss +59 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_display.scss +38 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_embed.scss +52 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_flex.scss +51 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_float.scss +9 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_position.scss +37 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_screenreaders.scss +11 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_shadows.scss +6 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_sizing.scss +12 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_spacing.scss +51 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_text.scss +58 -0
- data/app/assets/stylesheets/coreui/bootstrap/utilities/_visibility.scss +11 -0
- data/app/assets/stylesheets/coreui/coreui-standalone.scss +65 -0
- data/app/assets/stylesheets/coreui/coreui.scss +64 -0
- data/app/assets/stylesheets/coreui/mixins/_avatars.scss +17 -0
- data/app/assets/stylesheets/coreui/mixins/_borders.scss +31 -0
- data/app/assets/stylesheets/coreui/mixins/_buttons.scss +41 -0
- data/app/assets/stylesheets/coreui/mixins/_card-accent.scss +4 -0
- data/app/assets/stylesheets/coreui/mixins/_list-group.scss +7 -0
- data/app/assets/stylesheets/coreui/mixins/_sidebar-width.scss +18 -0
- data/app/assets/stylesheets/coreui/mixins/_switches.scss +78 -0
- data/app/assets/stylesheets/coreui/utilities/_background.scss +28 -0
- data/app/assets/stylesheets/coreui/utilities/_borders.scss +19 -0
- data/app/assets/stylesheets/coreui/utilities/_display.scss +18 -0
- data/app/assets/stylesheets/coreui/utilities/_typography.scss +55 -0
- data/app/assets/stylesheets/coreui/variables/_colors.scss +146 -0
- data/app/assets/stylesheets/coreui/variables/bootstrap/_variables.scss +62 -0
- data/app/assets/stylesheets/coreui/vendors/_perfect-scrollbar.scss +94 -0
- data/lib/anchor_ui/sprockets.rb +21 -0
- data/lib/anchor_ui/sprockets/assets.rb +21 -0
- data/lib/anchor_ui/sprockets/assets/base.rb +24 -0
- data/lib/anchor_ui/sprockets/assets/core.rb +24 -0
- data/lib/anchor_ui/sprockets/assets/core_ui.rb +93 -0
- data/lib/anchor_ui/sprockets/assets/core_ui_icons.rb +73 -0
- data/lib/anchor_ui/sprockets/assets/custom_tooltips.rb +24 -0
- data/lib/anchor_ui/sprockets/assets/javascript.rb +39 -0
- data/lib/anchor_ui/sprockets/assets/pace.rb +19 -0
- data/lib/anchor_ui/sprockets/assets/perfect_scrollbar.rb +19 -0
- data/lib/anchor_ui/sprockets/engine.rb +6 -0
- data/lib/anchor_ui/sprockets/paths.rb +21 -0
- data/lib/anchor_ui/sprockets/updater.rb +23 -0
- data/lib/anchor_ui/sprockets/version.rb +7 -0
- data/lib/generators/anchor_ui/sprockets/install_generator.rb +37 -0
- data/lib/generators/anchor_ui/sprockets/templates/_coreui.scss +35 -0
- data/lib/generators/anchor_ui/sprockets/templates/_variables.scss +411 -0
- data/lib/generators/anchor_ui/sprockets/templates/application.js +11 -0
- data/lib/generators/anchor_ui/sprockets/templates/application.scss +7 -0
- metadata +420 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.switch {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: $switch-width;
|
|
8
|
+
height: $switch-height;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.switch-input {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.switch-slider {
|
|
16
|
+
position: relative;
|
|
17
|
+
display: block;
|
|
18
|
+
height: inherit;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
border: $border-width solid $border-color;
|
|
22
|
+
transition: .15s ease-out;
|
|
23
|
+
@include border-radius($border-radius);
|
|
24
|
+
|
|
25
|
+
&::before {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: $switch-handle-margin;
|
|
28
|
+
left: $switch-handle-margin;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
width: $switch-height - ($switch-handle-margin * 2) - ($border-width * 2);
|
|
31
|
+
height: $switch-height - ($switch-handle-margin * 2) - ($border-width * 2);
|
|
32
|
+
content: "";
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
border: 1px solid $border-color;
|
|
35
|
+
transition: .15s ease-out;
|
|
36
|
+
@include border-radius($border-radius / 2);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.switch-input:checked ~ .switch-slider {
|
|
41
|
+
&::before {
|
|
42
|
+
transform: translateX($switch-width - $switch-height);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.switch-input:disabled ~ .switch-slider {
|
|
47
|
+
cursor: not-allowed;
|
|
48
|
+
opacity: .5;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
//
|
|
52
|
+
// Switch Sizes
|
|
53
|
+
//
|
|
54
|
+
|
|
55
|
+
.switch-lg {
|
|
56
|
+
@include switch-size($switch-lg-width, $switch-lg-height, $switch-lg-font-size, $switch-handle-margin);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.switch-sm {
|
|
60
|
+
@include switch-size($switch-sm-width, $switch-sm-height, $switch-sm-font-size, $switch-handle-margin);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
//
|
|
64
|
+
// Switch with label
|
|
65
|
+
//
|
|
66
|
+
.switch-label {
|
|
67
|
+
width: $switch-label-width;
|
|
68
|
+
|
|
69
|
+
.switch-slider {
|
|
70
|
+
&::before {
|
|
71
|
+
z-index: 2;
|
|
72
|
+
}
|
|
73
|
+
&::after {
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 50%;
|
|
76
|
+
right: 1px;
|
|
77
|
+
z-index: 1;
|
|
78
|
+
width: 50%;
|
|
79
|
+
margin-top: -.5em;
|
|
80
|
+
font-size: $switch-font-size;
|
|
81
|
+
font-weight: 600;
|
|
82
|
+
line-height: 1;
|
|
83
|
+
color: $gray-300;
|
|
84
|
+
text-align: center;
|
|
85
|
+
text-transform: uppercase;
|
|
86
|
+
content: attr(data-unchecked);
|
|
87
|
+
transition: inherit;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.switch-input:checked ~ .switch-slider {
|
|
92
|
+
&::before {
|
|
93
|
+
transform: translateX($switch-label-width - $switch-height);
|
|
94
|
+
}
|
|
95
|
+
&::after {
|
|
96
|
+
left: 1px;
|
|
97
|
+
color: #fff;
|
|
98
|
+
content: attr(data-checked);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Sizes
|
|
103
|
+
&.switch-lg {
|
|
104
|
+
@include switch-size($switch-label-lg-width, $switch-lg-height, $switch-lg-font-size, $switch-handle-margin);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.switch-sm {
|
|
108
|
+
@include switch-size($switch-label-sm-width, $switch-sm-height, $switch-sm-font-size, $switch-handle-margin);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
//
|
|
113
|
+
// Switch 3d
|
|
114
|
+
//
|
|
115
|
+
|
|
116
|
+
.switch-3d {
|
|
117
|
+
.switch-slider {
|
|
118
|
+
background-color: $gray-100;
|
|
119
|
+
border-radius: 50em;
|
|
120
|
+
|
|
121
|
+
&::before {
|
|
122
|
+
top: -1px;
|
|
123
|
+
left: -1px;
|
|
124
|
+
width: $switch-height;
|
|
125
|
+
height: $switch-height;
|
|
126
|
+
border: 0;
|
|
127
|
+
border-radius: 50em;
|
|
128
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Sizes
|
|
133
|
+
&.switch-lg {
|
|
134
|
+
@include switch-3d-size($switch-lg-width, $switch-lg-height);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.switch-sm {
|
|
138
|
+
@include switch-3d-size($switch-sm-width, $switch-sm-height);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
//
|
|
143
|
+
// Switch Variants
|
|
144
|
+
//
|
|
145
|
+
|
|
146
|
+
@each $color, $value in $theme-colors {
|
|
147
|
+
//normal style
|
|
148
|
+
.switch-#{$color} {
|
|
149
|
+
@include switch-variant($value);
|
|
150
|
+
}
|
|
151
|
+
//outline style
|
|
152
|
+
.switch-outline-#{$color} {
|
|
153
|
+
@include switch-outline-variant($value);
|
|
154
|
+
}
|
|
155
|
+
//outline alternative style
|
|
156
|
+
.switch-outline-#{$color}-alt {
|
|
157
|
+
@include switch-outline-variant-alt($value);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
//
|
|
162
|
+
// Pill Style
|
|
163
|
+
//
|
|
164
|
+
|
|
165
|
+
.switch-pill {
|
|
166
|
+
.switch-slider {
|
|
167
|
+
border-radius: 50em;
|
|
168
|
+
|
|
169
|
+
&::before {
|
|
170
|
+
border-radius: 50em;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// Import CoreUI default colors
|
|
2
|
+
@import "variables/colors";
|
|
3
|
+
|
|
4
|
+
// Customized Bootstrap variables
|
|
5
|
+
@import "variables/bootstrap/variables";
|
|
6
|
+
|
|
7
|
+
// Import Bootstrap variables after customization for use below
|
|
8
|
+
@import "node_modules/bootstrap/scss/functions"; // from bootstrap node_modules
|
|
9
|
+
@import "node_modules/bootstrap/scss/variables"; // from bootstrap node_modules
|
|
10
|
+
|
|
11
|
+
// CoreUI Variables
|
|
12
|
+
|
|
13
|
+
// stylelint-disable
|
|
14
|
+
$enable-sidebar-nav-rounded: false !default;
|
|
15
|
+
$layout-transition-speed: .25s !default;
|
|
16
|
+
|
|
17
|
+
// Navbar
|
|
18
|
+
|
|
19
|
+
$navbar-height: 55px !default;
|
|
20
|
+
$navbar-bg: #fff !default;
|
|
21
|
+
$navbar-border: (
|
|
22
|
+
bottom: (
|
|
23
|
+
size: 1px,
|
|
24
|
+
style: solid,
|
|
25
|
+
color: $border-color
|
|
26
|
+
)
|
|
27
|
+
) !default;
|
|
28
|
+
$navbar-brand-width: 155px !default;
|
|
29
|
+
$navbar-brand-bg: transparent !default;
|
|
30
|
+
$navbar-brand-border: 0 !default;
|
|
31
|
+
|
|
32
|
+
$navbar-brand-minimized-width: 50px !default;
|
|
33
|
+
$navbar-brand-minimized-bg: $navbar-brand-bg !default;
|
|
34
|
+
$navbar-brand-minimized-border: $navbar-brand-border !default;
|
|
35
|
+
|
|
36
|
+
$navbar-color: $gray-600 !default;
|
|
37
|
+
$navbar-hover-color: $gray-800 !default;
|
|
38
|
+
$navbar-active-color: $gray-800 !default;
|
|
39
|
+
$navbar-disabled-color: $gray-300 !default;
|
|
40
|
+
|
|
41
|
+
$navbar-toggler-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-color}' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
42
|
+
$navbar-toggler-icon-hover: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-hover-color}' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
43
|
+
|
|
44
|
+
// Sidebar
|
|
45
|
+
|
|
46
|
+
$sidebar-width: 200px !default;
|
|
47
|
+
$sidebar-padding: 0 !default;
|
|
48
|
+
$sidebar-minimized-width: 50px !default;
|
|
49
|
+
$sidebar-minimized-height: $sidebar-minimized-width !default;
|
|
50
|
+
$sidebar-compact-width: 150px !default;
|
|
51
|
+
$sidebar-compact-height: $sidebar-compact-width !default;
|
|
52
|
+
$sidebar-color: #fff !default;
|
|
53
|
+
$sidebar-bg: $gray-800 !default;
|
|
54
|
+
$sidebar-borders: none !default;
|
|
55
|
+
$mobile-sidebar-width: 220px !default;
|
|
56
|
+
|
|
57
|
+
// Sidebar Header
|
|
58
|
+
|
|
59
|
+
$sidebar-header-height: auto !default;
|
|
60
|
+
$sidebar-header-bg: rgba(0,0,0,.2) !default;
|
|
61
|
+
$sidebar-header-padding-y: .75rem !default;
|
|
62
|
+
$sidebar-header-padding-x: 1rem !default;
|
|
63
|
+
|
|
64
|
+
// Sidebar Form
|
|
65
|
+
|
|
66
|
+
$sidebar-form-border: 0 !default;
|
|
67
|
+
$sidebar-form-bg: darken($sidebar-bg,10%) !default;
|
|
68
|
+
$sidebar-form-color: #fff !default;
|
|
69
|
+
$sidebar-form-placeholder-color: rgba(255,255,255,.7) !default;
|
|
70
|
+
|
|
71
|
+
// Sidebar Navigation
|
|
72
|
+
|
|
73
|
+
$sidebar-nav-color: #fff !default;
|
|
74
|
+
$sidebar-nav-title-padding-y: .75rem !default;
|
|
75
|
+
$sidebar-nav-title-padding-x: 1rem !default;
|
|
76
|
+
$sidebar-nav-title-color: $gray-200 !default;
|
|
77
|
+
$sidebar-nav-link-padding-y: .75rem !default;
|
|
78
|
+
$sidebar-nav-link-padding-x: 1rem !default;
|
|
79
|
+
$sidebar-nav-link-color: #fff !default;
|
|
80
|
+
$sidebar-nav-link-bg: transparent !default;
|
|
81
|
+
$sidebar-nav-link-icon-color: $gray-600 !default;
|
|
82
|
+
$sidebar-nav-link-borders: 0 !default;
|
|
83
|
+
|
|
84
|
+
$sidebar-nav-link-hover-color: #fff !default;
|
|
85
|
+
$sidebar-nav-link-hover-bg: theme-color("primary") !default;
|
|
86
|
+
$sidebar-nav-link-hover-icon-color: #fff !default;
|
|
87
|
+
$sidebar-nav-link-hover-borders: 0 !default;
|
|
88
|
+
|
|
89
|
+
$sidebar-nav-link-active-color: #fff !default;
|
|
90
|
+
$sidebar-nav-link-active-bg: lighten($sidebar-bg, 5%) !default;
|
|
91
|
+
$sidebar-nav-link-active-icon-color: theme-color("primary") !default;
|
|
92
|
+
$sidebar-nav-link-active-borders: 0 !default;
|
|
93
|
+
|
|
94
|
+
$sidebar-nav-link-disabled-color: darken(#fff, 30%) !default;
|
|
95
|
+
$sidebar-nav-link-disabled-bg: $sidebar-bg !default;
|
|
96
|
+
$sidebar-nav-link-disabled-icon-color: $sidebar-nav-link-icon-color !default;
|
|
97
|
+
$sidebar-nav-link-disabled-borders: 0 !default;
|
|
98
|
+
|
|
99
|
+
$sidebar-nav-dropdown-color: #fff !default;
|
|
100
|
+
$sidebar-nav-dropdown-bg: rgba(0,0,0,.2) !default;
|
|
101
|
+
$sidebar-nav-dropdown-borders: 0 !default;
|
|
102
|
+
$sidebar-nav-dropdown-indicator-color:$gray-600 !default;
|
|
103
|
+
$sidebar-nav-dropdown-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-nav-dropdown-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
104
|
+
$sidebar-nav-dropdown-indicator-hover-color:$sidebar-nav-link-hover-color;
|
|
105
|
+
$sidebar-nav-dropdown-indicator-hover:str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-nav-dropdown-indicator-hover-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
106
|
+
|
|
107
|
+
// Sidebar Footer
|
|
108
|
+
|
|
109
|
+
$sidebar-footer-height: auto !default;
|
|
110
|
+
$sidebar-footer-bg: rgba(0,0,0,.2) !default;
|
|
111
|
+
$sidebar-footer-padding-y: .75rem !default;
|
|
112
|
+
$sidebar-footer-padding-x: 1rem !default;
|
|
113
|
+
$sidebar-footer-borders: 0 !default;
|
|
114
|
+
|
|
115
|
+
// Sidebar Minimizer
|
|
116
|
+
|
|
117
|
+
$sidebar-minimizer-height: 50px !default;
|
|
118
|
+
$sidebar-minimizer-bg: rgba(0,0,0,.2) !default;
|
|
119
|
+
$sidebar-minimizer-borders: 0 !default;
|
|
120
|
+
$sidebar-minimizer-indicator-color: $gray-600 !default;
|
|
121
|
+
$sidebar-minimizer-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
122
|
+
$sidebar-minimizer-hover-bg: rgba(0,0,0,.3) !default;
|
|
123
|
+
$sidebar-minimizer-hover-indicator-color:$sidebar-nav-link-hover-color !default;
|
|
124
|
+
$sidebar-minimizer-hover-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-hover-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
125
|
+
|
|
126
|
+
// Breadcrumb
|
|
127
|
+
$breadcrumb-borders: (
|
|
128
|
+
bottom: (
|
|
129
|
+
size: 1px,
|
|
130
|
+
style: solid,
|
|
131
|
+
color: $border-color
|
|
132
|
+
)
|
|
133
|
+
) !default;
|
|
134
|
+
|
|
135
|
+
// Aside
|
|
136
|
+
|
|
137
|
+
$aside-menu-width: 250px !default;
|
|
138
|
+
$aside-menu-color: $gray-800 !default;
|
|
139
|
+
$aside-menu-bg: #fff !default;
|
|
140
|
+
$aside-menu-borders: (
|
|
141
|
+
left: (
|
|
142
|
+
size: 1px,
|
|
143
|
+
style: solid,
|
|
144
|
+
color: $border-color
|
|
145
|
+
)
|
|
146
|
+
) !default;
|
|
147
|
+
|
|
148
|
+
$aside-menu-nav-padding-y: .75rem !default;
|
|
149
|
+
$aside-menu-nav-padding-x: 1rem !default;
|
|
150
|
+
|
|
151
|
+
// Footer
|
|
152
|
+
|
|
153
|
+
$footer-height: 50px !default;
|
|
154
|
+
$footer-bg: $gray-100 !default;
|
|
155
|
+
$footer-color: $body-color !default;
|
|
156
|
+
$footer-borders: (
|
|
157
|
+
top: (
|
|
158
|
+
size: 1px,
|
|
159
|
+
style: solid,
|
|
160
|
+
color: $border-color
|
|
161
|
+
)
|
|
162
|
+
) !default;
|
|
163
|
+
|
|
164
|
+
// Avatars
|
|
165
|
+
|
|
166
|
+
$avatar-width: 36px !default;
|
|
167
|
+
$avatar-status-width: 10px !default;
|
|
168
|
+
|
|
169
|
+
$avatar-lg-width: 72px !default;
|
|
170
|
+
$avatar-lg-status-width: 12px !default;
|
|
171
|
+
|
|
172
|
+
$avatar-sm-width: 24px !default;
|
|
173
|
+
$avatar-sm-status-width: 8px !default;
|
|
174
|
+
|
|
175
|
+
$avatar-xs-width: 20px !default;
|
|
176
|
+
$avatar-xs-status-width: 8px !default;
|
|
177
|
+
|
|
178
|
+
// Cards
|
|
179
|
+
|
|
180
|
+
$card-icon-bg: transparent !default;
|
|
181
|
+
$card-icon-color: $body-color !default;
|
|
182
|
+
|
|
183
|
+
// Switches
|
|
184
|
+
|
|
185
|
+
$switch-width: 40px !default;
|
|
186
|
+
$switch-height: 26px !default;
|
|
187
|
+
$switch-font-size: 10px !default;
|
|
188
|
+
|
|
189
|
+
$switch-lg-width: 48px !default;
|
|
190
|
+
$switch-lg-height: 30px !default;
|
|
191
|
+
$switch-lg-font-size: 12px !default;
|
|
192
|
+
|
|
193
|
+
$switch-sm-width: 32px !default;
|
|
194
|
+
$switch-sm-height: 22px !default;
|
|
195
|
+
$switch-sm-font-size: 8px !default;
|
|
196
|
+
|
|
197
|
+
$switch-label-width: 48px !default;
|
|
198
|
+
$switch-label-lg-width: 56px !default;
|
|
199
|
+
$switch-label-sm-width: 40px !default;
|
|
200
|
+
|
|
201
|
+
$switch-handle-margin: 2px !default;
|
|
202
|
+
|
|
203
|
+
// Cursor
|
|
204
|
+
$cursor-disabled: default !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "vendors/perfect-scrollbar";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// ...
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.alert {
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: $alert-padding-y $alert-padding-x;
|
|
8
|
+
margin-bottom: $alert-margin-bottom;
|
|
9
|
+
border: $alert-border-width solid transparent;
|
|
10
|
+
@include border-radius($alert-border-radius);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Headings for larger alerts
|
|
14
|
+
.alert-heading {
|
|
15
|
+
// Specified to prevent conflicts of changing $headings-color
|
|
16
|
+
color: inherit;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Provide class for links that match alerts
|
|
20
|
+
.alert-link {
|
|
21
|
+
font-weight: $alert-link-font-weight;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
// Dismissible alerts
|
|
26
|
+
//
|
|
27
|
+
// Expand the right padding and account for the close button's positioning.
|
|
28
|
+
|
|
29
|
+
.alert-dismissible {
|
|
30
|
+
padding-right: ($close-font-size + $alert-padding-x * 2);
|
|
31
|
+
|
|
32
|
+
// Adjust close link position
|
|
33
|
+
.close {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
padding: $alert-padding-y $alert-padding-x;
|
|
38
|
+
color: inherit;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// Alternate styles
|
|
44
|
+
//
|
|
45
|
+
// Generate contextual modifier classes for colorizing the alert.
|
|
46
|
+
|
|
47
|
+
@each $color, $value in $theme-colors {
|
|
48
|
+
.alert-#{$color} {
|
|
49
|
+
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
|
|
50
|
+
}
|
|
51
|
+
}
|