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,44 @@
|
|
|
1
|
+
.breadcrumb-menu {
|
|
2
|
+
margin-left: auto;
|
|
3
|
+
|
|
4
|
+
&::before {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.btn-group {
|
|
9
|
+
vertical-align: top;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.btn {
|
|
13
|
+
padding: 0 $input-btn-padding-x;
|
|
14
|
+
color: $text-muted;
|
|
15
|
+
vertical-align: top;
|
|
16
|
+
border: 0;
|
|
17
|
+
|
|
18
|
+
&:hover,
|
|
19
|
+
&.active {
|
|
20
|
+
color: $body-color;
|
|
21
|
+
background: transparent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.open {
|
|
26
|
+
.btn {
|
|
27
|
+
color: $body-color;
|
|
28
|
+
background: transparent;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dropdown-menu {
|
|
33
|
+
min-width: 180px;
|
|
34
|
+
line-height: $line-height-base;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Right-to-Left Support
|
|
39
|
+
*[dir="rtl"] {
|
|
40
|
+
.breadcrumb-menu {
|
|
41
|
+
margin-right: auto;
|
|
42
|
+
margin-left: initial;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.breadcrumb {
|
|
2
|
+
position: relative;
|
|
3
|
+
@include border-radius($breadcrumb-border-radius);
|
|
4
|
+
@include borders($breadcrumb-borders);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
*[dir="rtl"] {
|
|
8
|
+
.breadcrumb-item::before {
|
|
9
|
+
padding-right: 0;
|
|
10
|
+
padding-left: $breadcrumb-item-padding;
|
|
11
|
+
}
|
|
12
|
+
.breadcrumb-item {
|
|
13
|
+
padding-right: $breadcrumb-item-padding;
|
|
14
|
+
padding-left: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//button {
|
|
2
|
+
// @extend .btn;
|
|
3
|
+
//}
|
|
4
|
+
|
|
5
|
+
.btn-transparent {
|
|
6
|
+
color: #fff;
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
border-color: transparent;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.btn {
|
|
12
|
+
[class^="icon-"],
|
|
13
|
+
[class*=" icon-"] {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
margin-top: -2px;
|
|
16
|
+
vertical-align: middle;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.btn-pill {
|
|
21
|
+
border-radius: 50em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.btn-square {
|
|
25
|
+
border-radius: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@each $color, $value in $theme-colors {
|
|
29
|
+
.btn-ghost-#{$color} {
|
|
30
|
+
@include button-ghost-variant($value);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.callout {
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: 0 $spacer;
|
|
8
|
+
margin: $spacer 0;
|
|
9
|
+
border-left: 4px solid $border-color;
|
|
10
|
+
|
|
11
|
+
@if $enable-rounded {
|
|
12
|
+
border-radius: $border-radius;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.chart-wrapper {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 10px;
|
|
18
|
+
left: 50%;
|
|
19
|
+
float: right;
|
|
20
|
+
width: 50%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.callout-bordered {
|
|
25
|
+
border: 1px solid $border-color;
|
|
26
|
+
border-left-width: 4px;
|
|
27
|
+
}
|
|
28
|
+
.callout code {
|
|
29
|
+
border-radius: $border-radius;
|
|
30
|
+
}
|
|
31
|
+
.callout h4 {
|
|
32
|
+
margin-top: 0;
|
|
33
|
+
margin-bottom: .25rem;
|
|
34
|
+
}
|
|
35
|
+
.callout p:last-child {
|
|
36
|
+
margin-bottom: 0;
|
|
37
|
+
}
|
|
38
|
+
.callout + .callout {
|
|
39
|
+
margin-top: - .25rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//
|
|
43
|
+
// Variants
|
|
44
|
+
//
|
|
45
|
+
|
|
46
|
+
@each $color, $value in $theme-colors {
|
|
47
|
+
.callout-#{$color} {
|
|
48
|
+
border-left-color: $value;
|
|
49
|
+
|
|
50
|
+
h4 {
|
|
51
|
+
color: $value;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Right-to-Left Support
|
|
57
|
+
*[dir="rtl"] {
|
|
58
|
+
.callout {
|
|
59
|
+
border-right: 4px solid $border-color;
|
|
60
|
+
border-left: 0;
|
|
61
|
+
|
|
62
|
+
@each $color, $value in $theme-colors {
|
|
63
|
+
&.callout-#{$color} {
|
|
64
|
+
border-right-color: $value;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.chart-wrapper {
|
|
69
|
+
left: 0;
|
|
70
|
+
float: left;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
margin-bottom: ($spacer * 1.5);
|
|
3
|
+
|
|
4
|
+
// Cards with color accent
|
|
5
|
+
@each $color, $value in $theme-colors {
|
|
6
|
+
&.bg-#{$color} {
|
|
7
|
+
border-color: darken($value, 12.5%);
|
|
8
|
+
.card-header {
|
|
9
|
+
background-color: darken($value, 3%);
|
|
10
|
+
border-color: darken($value, 12.5%);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.drag,
|
|
16
|
+
.drag {
|
|
17
|
+
cursor: move;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.card-placeholder {
|
|
22
|
+
background: rgba(0, 0, 0, .025);
|
|
23
|
+
border: 1px dashed $gray-300;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.card-header {
|
|
27
|
+
> i {
|
|
28
|
+
margin-right: $spacer / 2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.nav-tabs {
|
|
32
|
+
margin-top: -$card-spacer-y;
|
|
33
|
+
margin-bottom: -$card-spacer-y;
|
|
34
|
+
border-bottom: 0;
|
|
35
|
+
|
|
36
|
+
.nav-item {
|
|
37
|
+
border-top: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.nav-link {
|
|
41
|
+
padding: $card-spacer-y ($card-spacer-x / 2);
|
|
42
|
+
color: $text-muted;
|
|
43
|
+
border-top: 0;
|
|
44
|
+
|
|
45
|
+
&.active {
|
|
46
|
+
color: $body-color;
|
|
47
|
+
background: #fff;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
*[dir="rtl"] .card-header > i {
|
|
54
|
+
margin-right: 0;
|
|
55
|
+
margin-left: $spacer / 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.card-header-icon-bg {
|
|
59
|
+
display: inline-block;
|
|
60
|
+
width: ($card-spacer-y * 2) + ($font-size-base * $line-height-base);
|
|
61
|
+
padding: $card-spacer-y 0;
|
|
62
|
+
margin: (- $card-spacer-y) $card-spacer-x (- $card-spacer-y) (- $card-spacer-x);
|
|
63
|
+
line-height: inherit;
|
|
64
|
+
color: $card-icon-color;
|
|
65
|
+
text-align: center;
|
|
66
|
+
background: $card-icon-bg;
|
|
67
|
+
border-right: $card-border-width solid $card-border-color;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.card-header-actions {
|
|
71
|
+
display: inline-block;
|
|
72
|
+
float: right;
|
|
73
|
+
margin-right: - ($spacer / 4);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
*[dir="rtl"] {
|
|
77
|
+
.card-header-actions {
|
|
78
|
+
float: left;
|
|
79
|
+
margin-right: auto;
|
|
80
|
+
margin-left: - ($spacer / 4);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.card-header-action {
|
|
85
|
+
padding: 0 ($spacer / 4);
|
|
86
|
+
color: $gray-600;
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
color: $body-color;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
// Cards with color accent
|
|
96
|
+
@each $color, $value in $theme-colors {
|
|
97
|
+
.card-accent-#{$color} {
|
|
98
|
+
@include card-accent-variant($value);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.card-full {
|
|
103
|
+
margin-top: - $spacer;
|
|
104
|
+
margin-right: - $grid-gutter-width / 2;
|
|
105
|
+
margin-left: - $grid-gutter-width / 2;
|
|
106
|
+
border: 0;
|
|
107
|
+
border-bottom: $card-border-width solid $border-color;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@include media-breakpoint-up(sm) {
|
|
111
|
+
.card-columns {
|
|
112
|
+
|
|
113
|
+
&.cols-2 {
|
|
114
|
+
column-count: 2;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.chart-wrapper canvas {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
// stylelint-disable selector-no-qualifying-type, selector-type-no-unknown
|
|
5
|
+
base-chart.chart {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
canvas {
|
|
10
|
+
user-select: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.chartjs-tooltip {
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: $zindex-sticky + 1;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
padding: ($spacer * .25) ($spacer * .5);
|
|
19
|
+
color: #fff;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
background: rgba(0, 0, 0, .7);
|
|
22
|
+
opacity: 0;
|
|
23
|
+
transition: all $layout-transition-speed ease;
|
|
24
|
+
transform: translate(-50%, 0);
|
|
25
|
+
@include border-radius($border-radius);
|
|
26
|
+
|
|
27
|
+
.tooltip-header {
|
|
28
|
+
margin-bottom: ($spacer * .5);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tooltip-header-item {
|
|
32
|
+
font-size: $font-size-sm;
|
|
33
|
+
font-weight: $font-weight-bold;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tooltip-body-item {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
font-size: $font-size-sm;
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tooltip-body-item-color {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
width: $font-size-base;
|
|
46
|
+
height: $font-size-base;
|
|
47
|
+
margin-right: $font-size-base;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tooltip-body-item-value {
|
|
51
|
+
padding-left: $spacer;
|
|
52
|
+
margin-left: auto;
|
|
53
|
+
font-weight: $font-weight-bold;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// Links, buttons, and more within the dropdown menu
|
|
2
|
+
.dropdown-item {
|
|
3
|
+
position: relative;
|
|
4
|
+
padding: 10px 20px;
|
|
5
|
+
border-bottom: 1px solid $dropdown-border-color;
|
|
6
|
+
|
|
7
|
+
&:last-child {
|
|
8
|
+
border-bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
i {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
width: 20px;
|
|
14
|
+
margin-right: 10px;
|
|
15
|
+
margin-left: -10px;
|
|
16
|
+
color: $dropdown-border-color;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.badge {
|
|
21
|
+
position: absolute;
|
|
22
|
+
right: 10px;
|
|
23
|
+
margin-top: 2px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Dropdown section headers
|
|
28
|
+
.dropdown-header {
|
|
29
|
+
padding: 8px 20px;
|
|
30
|
+
background: $dropdown-divider-bg;
|
|
31
|
+
border-bottom: 1px solid $dropdown-border-color;
|
|
32
|
+
|
|
33
|
+
.btn {
|
|
34
|
+
margin-top: -7px;
|
|
35
|
+
color: $dropdown-header-color;
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
color: $body-color;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.pull-right {
|
|
42
|
+
margin-right: -20px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dropdown-menu-lg {
|
|
48
|
+
width: 250px;
|
|
49
|
+
}
|
|
50
|
+
.app-header {
|
|
51
|
+
.navbar-nav {
|
|
52
|
+
.dropdown-menu {
|
|
53
|
+
position: absolute;
|
|
54
|
+
}
|
|
55
|
+
// Menu positioning
|
|
56
|
+
//
|
|
57
|
+
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
|
|
58
|
+
// menu with the parent.
|
|
59
|
+
.dropdown-menu-right {
|
|
60
|
+
right: 0;
|
|
61
|
+
left: auto; // Reset the default from `.dropdown-menu`
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dropdown-menu-left {
|
|
65
|
+
right: auto;
|
|
66
|
+
left: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.row.row-equal {
|
|
2
|
+
padding-right: ($grid-gutter-width / 4);
|
|
3
|
+
padding-left: ($grid-gutter-width / 4);
|
|
4
|
+
margin-right: ($grid-gutter-width / -2);
|
|
5
|
+
margin-left: ($grid-gutter-width / -2);
|
|
6
|
+
|
|
7
|
+
[class*="col-"] {
|
|
8
|
+
padding-right: ($grid-gutter-width / 4);
|
|
9
|
+
padding-left: ($grid-gutter-width / 4);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.main .container-fluid {
|
|
14
|
+
padding: 0 30px;
|
|
15
|
+
}
|