mazer-rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/Iconly---Bold.eot +0 -0
- data/assets/fonts/Iconly---Bold.svg +19 -0
- data/assets/fonts/Iconly---Bold.ttf +0 -0
- data/assets/fonts/Iconly---Bold.woff +0 -0
- data/assets/fonts/iconly/Iconly---Bold.eot +0 -0
- data/assets/fonts/iconly/Iconly---Bold.svg +19 -0
- data/assets/fonts/iconly/Iconly---Bold.ttf +0 -0
- data/assets/fonts/iconly/Iconly---Bold.woff +0 -0
- data/assets/images/bg/4853433.png +0 -0
- data/assets/images/faces/1.jpg +0 -0
- data/assets/images/faces/2.jpg +0 -0
- data/assets/images/faces/3.jpg +0 -0
- data/assets/images/faces/4.jpg +0 -0
- data/assets/images/faces/5.jpg +0 -0
- data/assets/images/faces/6.jpg +0 -0
- data/assets/images/faces/7.jpg +0 -0
- data/assets/images/faces/8.jpg +0 -0
- data/assets/images/logo/favicon.png +0 -0
- data/assets/images/logo/favicon.svg +1 -0
- data/assets/images/logo/logo.svg +1 -0
- data/assets/images/samples/1.png +0 -0
- data/assets/images/samples/2.png +0 -0
- data/assets/images/samples/3.png +0 -0
- data/assets/images/samples/4.png +0 -0
- data/assets/images/samples/architecture1.jpg +0 -0
- data/assets/images/samples/banana.jpg +0 -0
- data/assets/images/samples/bg-mountain.jpg +0 -0
- data/assets/images/samples/building.jpg +0 -0
- data/assets/images/samples/error-403.svg +94 -0
- data/assets/images/samples/error-404.svg +88 -0
- data/assets/images/samples/error-500.svg +76 -0
- data/assets/images/samples/jump.jpg +0 -0
- data/assets/images/samples/motorcycle.jpg +0 -0
- data/assets/images/samples/origami.jpg +0 -0
- data/assets/images/samples/water.jpg +0 -0
- data/assets/images/svg-loaders/audio.svg +29 -0
- data/assets/images/svg-loaders/ball-triangle.svg +1 -0
- data/assets/images/svg-loaders/bars.svg +1 -0
- data/assets/images/svg-loaders/circles.svg +20 -0
- data/assets/images/svg-loaders/grid.svg +1 -0
- data/assets/images/svg-loaders/hearts.svg +1 -0
- data/assets/images/svg-loaders/oval.svg +1 -0
- data/assets/images/svg-loaders/puff.svg +1 -0
- data/assets/images/svg-loaders/rings.svg +1 -0
- data/assets/images/svg-loaders/spinning-circles.svg +1 -0
- data/assets/images/svg-loaders/tail-spin.svg +1 -0
- data/assets/images/svg-loaders/three-dots.svg +1 -0
- data/assets/javascripts/app.js +9 -0
- data/assets/javascripts/bootstrap.js +6 -0
- data/assets/javascripts/components/dark.js +65 -0
- data/assets/javascripts/components/sidebar.js +185 -0
- data/assets/javascripts/helper/isDesktop.js +1 -0
- data/assets/javascripts/initTheme.js +5 -0
- data/assets/javascripts/mazer.js +9 -0
- data/assets/javascripts/pages/ckeditor.js +3 -0
- data/assets/javascripts/pages/component-toasts.js +9 -0
- data/assets/javascripts/pages/dashboard.js +158 -0
- data/assets/javascripts/pages/datatables.js +1 -0
- data/assets/javascripts/pages/filepond.js +181 -0
- data/assets/javascripts/pages/form-editor.js +27 -0
- data/assets/javascripts/pages/form-element-select.js +14 -0
- data/assets/javascripts/pages/horizontal-layout.js +43 -0
- data/assets/javascripts/pages/jquery.js +1 -0
- data/assets/javascripts/pages/jsvectormap.js +60 -0
- data/assets/javascripts/pages/parsley.js +55 -0
- data/assets/javascripts/pages/quill.js +27 -0
- data/assets/javascripts/pages/rater-js.js +38 -0
- data/assets/javascripts/pages/simple-datatables.js +46 -0
- data/assets/javascripts/pages/summernote.js +20 -0
- data/assets/javascripts/pages/sweetalert2.js +142 -0
- data/assets/javascripts/pages/tinymce.js +22 -0
- data/assets/javascripts/pages/toastify.js +81 -0
- data/assets/javascripts/pages/ui-apexchart.js +521 -0
- data/assets/javascripts/pages/ui-chartjs.js +445 -0
- data/assets/javascripts/pages/ui-todolist.js +5 -0
- data/assets/stylesheets/_fonts.scss +5 -0
- data/assets/stylesheets/_mazer.scss +103 -0
- data/assets/stylesheets/_utilities.scss +53 -0
- data/assets/stylesheets/_variables.scss +1626 -0
- data/assets/stylesheets/app.scss +20 -0
- data/assets/stylesheets/bootstrap.scss +58 -0
- data/assets/stylesheets/components/_alert.scss +43 -0
- data/assets/stylesheets/components/_avatar.scss +78 -0
- data/assets/stylesheets/components/_badge.scss +20 -0
- data/assets/stylesheets/components/_breadcrumb.scss +10 -0
- data/assets/stylesheets/components/_buttons.scss +62 -0
- data/assets/stylesheets/components/_card.scss +126 -0
- data/assets/stylesheets/components/_carousel.scss +6 -0
- data/assets/stylesheets/components/_divider.scss +37 -0
- data/assets/stylesheets/components/_dropdowns.scss +24 -0
- data/assets/stylesheets/components/_forms.scss +213 -0
- data/assets/stylesheets/components/_icons.scss +48 -0
- data/assets/stylesheets/components/_modal.scss +46 -0
- data/assets/stylesheets/components/_navbar.scss +280 -0
- data/assets/stylesheets/components/_navs.scss +32 -0
- data/assets/stylesheets/components/_pagination.scss +39 -0
- data/assets/stylesheets/components/_progress.scss +32 -0
- data/assets/stylesheets/components/_sidebar.scss +171 -0
- data/assets/stylesheets/components/_table.scss +36 -0
- data/assets/stylesheets/iconly.scss +327 -0
- data/assets/stylesheets/layouts/main.scss +48 -0
- data/assets/stylesheets/mixins/_navbar.scss +20 -0
- data/assets/stylesheets/pages/auth.scss +51 -0
- data/assets/stylesheets/pages/chat.scss +145 -0
- data/assets/stylesheets/pages/datatables.scss +7 -0
- data/assets/stylesheets/pages/dripicons.scss +20 -0
- data/assets/stylesheets/pages/email.scss +625 -0
- data/assets/stylesheets/pages/error.scss +22 -0
- data/assets/stylesheets/pages/form-element-select.scss +7 -0
- data/assets/stylesheets/pages/simple-datatables.scss +20 -0
- data/assets/stylesheets/pages/summernote.scss +4 -0
- data/assets/stylesheets/themes/dark/_mazer-dark.scss +82 -0
- data/assets/stylesheets/themes/dark/_root.scss +55 -0
- data/assets/stylesheets/themes/dark/_variables-dark.scss +329 -0
- data/assets/stylesheets/themes/dark/app-dark.scss +54 -0
- data/assets/stylesheets/widgets/chat.scss +26 -0
- data/assets/stylesheets/widgets/todo.scss +33 -0
- data/lib/mazer_rails/engine.rb +16 -0
- data/lib/mazer_rails/version.rb +5 -0
- data/lib/mazer_rails.rb +77 -0
- data/mazer-rails.gemspec +5 -5
- data/yarn.lock +9209 -0
- metadata +151 -4
- data/lib/mazer/rails/version.rb +0 -7
- data/lib/mazer/rails.rb +0 -10
@@ -0,0 +1,20 @@
|
|
1
|
+
// Import mazer Variables
|
2
|
+
@import "./variables";
|
3
|
+
|
4
|
+
// Bootstrap + Icons
|
5
|
+
@import "~bootstrap/scss/bootstrap";
|
6
|
+
@import "~bootstrap-icons/font/bootstrap-icons";
|
7
|
+
|
8
|
+
// Fix icon placement
|
9
|
+
body .bi::before, [class^=bi-]::before, [class*=" bi-"]::before {
|
10
|
+
vertical-align: sub;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Import fonts
|
14
|
+
@import "./fonts";
|
15
|
+
|
16
|
+
// Perfect Scrollbar
|
17
|
+
@import "~perfect-scrollbar/css/perfect-scrollbar.css";
|
18
|
+
|
19
|
+
// Mazer CSS
|
20
|
+
@import "./mazer";
|
@@ -0,0 +1,58 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v5.1.3 (https://getbootstrap.com/)
|
3
|
+
* Copyright 2011-2021 The Bootstrap Authors
|
4
|
+
* Copyright 2011-2021 Twitter, Inc.
|
5
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6
|
+
*/
|
7
|
+
|
8
|
+
// scss-docs-start import-stack
|
9
|
+
// Configuration
|
10
|
+
@import "~bootstrap/scss/functions";
|
11
|
+
@import "~bootstrap/scss/variables";
|
12
|
+
// Override variables
|
13
|
+
@import "variables";
|
14
|
+
@import "~bootstrap/scss/maps";
|
15
|
+
@import "~bootstrap/scss/mixins";
|
16
|
+
@import "~bootstrap/scss/utilities";
|
17
|
+
|
18
|
+
|
19
|
+
// Layout & components
|
20
|
+
@import "~bootstrap/scss/root";
|
21
|
+
@import "~bootstrap/scss/reboot";
|
22
|
+
@import "~bootstrap/scss/type";
|
23
|
+
@import "~bootstrap/scss/images";
|
24
|
+
@import "~bootstrap/scss/containers";
|
25
|
+
@import "~bootstrap/scss/grid";
|
26
|
+
@import "~bootstrap/scss/tables";
|
27
|
+
@import "~bootstrap/scss/forms";
|
28
|
+
@import "~bootstrap/scss/buttons";
|
29
|
+
@import "~bootstrap/scss/transitions";
|
30
|
+
@import "~bootstrap/scss/dropdown";
|
31
|
+
@import "~bootstrap/scss/button-group";
|
32
|
+
@import "~bootstrap/scss/nav";
|
33
|
+
@import "~bootstrap/scss/navbar";
|
34
|
+
@import "~bootstrap/scss/card";
|
35
|
+
@import "~bootstrap/scss/accordion";
|
36
|
+
@import "~bootstrap/scss/breadcrumb";
|
37
|
+
@import "~bootstrap/scss/pagination";
|
38
|
+
@import "~bootstrap/scss/badge";
|
39
|
+
@import "~bootstrap/scss/alert";
|
40
|
+
@import "~bootstrap/scss/progress";
|
41
|
+
@import "~bootstrap/scss/list-group";
|
42
|
+
@import "~bootstrap/scss/close";
|
43
|
+
@import "~bootstrap/scss/toasts";
|
44
|
+
@import "~bootstrap/scss/modal";
|
45
|
+
@import "~bootstrap/scss/tooltip";
|
46
|
+
@import "~bootstrap/scss/popover";
|
47
|
+
@import "~bootstrap/scss/carousel";
|
48
|
+
@import "~bootstrap/scss/spinners";
|
49
|
+
@import "~bootstrap/scss/offcanvas";
|
50
|
+
@import "~bootstrap/scss/placeholders";
|
51
|
+
|
52
|
+
|
53
|
+
// Helpers
|
54
|
+
@import "~bootstrap/scss/helpers";
|
55
|
+
|
56
|
+
// Utilities
|
57
|
+
@import "~bootstrap/scss/utilities/api";
|
58
|
+
// scss-docs-end import-stack
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
.alert {
|
3
|
+
border:none;
|
4
|
+
.alert-heading {
|
5
|
+
}
|
6
|
+
p {
|
7
|
+
margin-bottom: 0;
|
8
|
+
}
|
9
|
+
button.close {
|
10
|
+
padding: .75rem;
|
11
|
+
line-height: .75;
|
12
|
+
}
|
13
|
+
.alert-heading {
|
14
|
+
margin-left: .4rem;
|
15
|
+
& + p {
|
16
|
+
margin-left: .4rem;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
@each $key, $value in $alert-colors {
|
21
|
+
.alert-#{$key} {
|
22
|
+
background-color: map-get($value, 'background-color');
|
23
|
+
color: map-get($value, 'text-color');
|
24
|
+
|
25
|
+
a {
|
26
|
+
color: #fff;
|
27
|
+
font-weight: bold;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
@each $key, $value in $theme-colors-light {
|
32
|
+
.alert-light-#{$key} {
|
33
|
+
@if($dark-mode == true) {
|
34
|
+
background-color: lighten(saturate($value,30%),10%);
|
35
|
+
color: saturate(shade-color($value, 60%), 40%);
|
36
|
+
border: 1px solid tint-color($value, 10%);
|
37
|
+
}
|
38
|
+
@else {
|
39
|
+
background-color: saturate($value,10%);
|
40
|
+
color: saturate(shade-color($value, 60%), 40%);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
.avatar {
|
2
|
+
display: inline-flex;
|
3
|
+
border-radius: 50%;
|
4
|
+
text-align: center;
|
5
|
+
vertical-align: middle;
|
6
|
+
position: relative;
|
7
|
+
|
8
|
+
|
9
|
+
.avatar-content {
|
10
|
+
width: 32px;
|
11
|
+
height: 32px;
|
12
|
+
color: #fff;
|
13
|
+
display: flex;
|
14
|
+
justify-content: center;
|
15
|
+
align-items: center;
|
16
|
+
font-size: .875rem;
|
17
|
+
svg, i {
|
18
|
+
color: #fff;
|
19
|
+
font-size: 1rem;
|
20
|
+
height: 1rem;
|
21
|
+
}
|
22
|
+
i:before {
|
23
|
+
vertical-align: top;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
img {
|
28
|
+
width: 32px;
|
29
|
+
height: 32px;
|
30
|
+
border-radius: 50%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.avatar-status {
|
34
|
+
width: .7rem;
|
35
|
+
height: .7rem;
|
36
|
+
position: absolute;
|
37
|
+
border-radius: 50%;
|
38
|
+
border: 1px solid #fff;
|
39
|
+
bottom: 0;
|
40
|
+
right: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
&.avatar-sm {
|
44
|
+
.avatar-content, img {
|
45
|
+
width: 24px;
|
46
|
+
height: 24px;
|
47
|
+
font-size: .8rem;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
&.avatar-md {
|
51
|
+
.avatar-content, img {
|
52
|
+
width: 32px;
|
53
|
+
height: 32px;
|
54
|
+
font-size: .8rem;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
&.avatar-md2 {
|
58
|
+
.avatar-content, img {
|
59
|
+
width: 40px;
|
60
|
+
height: 40px;
|
61
|
+
font-size: .8rem;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
&.avatar-lg {
|
65
|
+
.avatar-content, img {
|
66
|
+
width: 48px;
|
67
|
+
height: 48px;
|
68
|
+
font-size: 1.2rem;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
&.avatar-xl {
|
72
|
+
.avatar-content, img {
|
73
|
+
width: 60px;
|
74
|
+
height: 60px;
|
75
|
+
font-size: 1.4rem;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.btn {
|
2
|
+
.badge {
|
3
|
+
border-radius: 50%;
|
4
|
+
margin-left: 5px;
|
5
|
+
&.bg-transparent {
|
6
|
+
background-color: rgba(255,255,255,.25) !important;
|
7
|
+
color: #fff;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.badge-notification {
|
13
|
+
position: absolute;
|
14
|
+
right: 20px;
|
15
|
+
padding: 3px;
|
16
|
+
}
|
17
|
+
|
18
|
+
a.badge:hover {
|
19
|
+
|
20
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
@use 'sass:map';
|
2
|
+
|
3
|
+
.btn {
|
4
|
+
i,svg {
|
5
|
+
width: 1rem;
|
6
|
+
height: 1rem;
|
7
|
+
}
|
8
|
+
&.icon {
|
9
|
+
padding: .4rem .6rem;
|
10
|
+
svg {
|
11
|
+
width: 1rem;
|
12
|
+
height: 1rem;
|
13
|
+
}
|
14
|
+
&.icon-left {
|
15
|
+
svg {
|
16
|
+
margin-right: 3px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
&.icon-right {
|
20
|
+
svg {
|
21
|
+
margin-left: 3px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
&.btn-outline-white {
|
26
|
+
color: #fff;
|
27
|
+
border-color: #fff;
|
28
|
+
&:hover {
|
29
|
+
color: #333;
|
30
|
+
background-color: #fff;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
@each $key, $value in $theme-colors-light {
|
35
|
+
&.btn-light-#{$key} {
|
36
|
+
background-color: $value;
|
37
|
+
color: darken($value,80%)
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@each $key, $value in $btn-colors {
|
42
|
+
&.btn-#{$key} {
|
43
|
+
color: map.get($btn-colors, "key", "text-color");
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
.btn-block {
|
48
|
+
width: 100%;
|
49
|
+
}
|
50
|
+
.btn-group {
|
51
|
+
&:not(.dropdown) .btn:not([class*="btn-"]) {
|
52
|
+
border: 1px solid #DFE3E7;
|
53
|
+
}
|
54
|
+
& > .btn {
|
55
|
+
border-radius: .267rem;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
.buttons {
|
59
|
+
.btn {
|
60
|
+
margin: 0 10px 10px 0;
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
.card {
|
2
|
+
margin-bottom: 2.2rem;
|
3
|
+
border: none;
|
4
|
+
|
5
|
+
&.card-statistic {
|
6
|
+
box-shadow: 1px 2px 5px rgba(#2FAAF4, .5);
|
7
|
+
background: linear-gradient(to bottom, #25a6f1, #54b9ff);
|
8
|
+
.card-title {
|
9
|
+
text-transform: uppercase;
|
10
|
+
color: rgba(255, 255, 255, 0.651);
|
11
|
+
letter-spacing: .8px;
|
12
|
+
font-weight: 400;
|
13
|
+
font-size: 1.3rem;
|
14
|
+
margin-bottom: 0;
|
15
|
+
margin-top: 5px;
|
16
|
+
}
|
17
|
+
.card-right {
|
18
|
+
p {
|
19
|
+
font-size: 1.5rem;
|
20
|
+
color: #fff;
|
21
|
+
margin-bottom: 0;
|
22
|
+
}
|
23
|
+
span.green {
|
24
|
+
color: rgb(111, 255, 111)
|
25
|
+
}
|
26
|
+
span.red {
|
27
|
+
color: rgb(255, 121, 121)
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.chart-wrapper {
|
31
|
+
height: 100px;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.card-header {
|
35
|
+
border: none;
|
36
|
+
|
37
|
+
h4 {
|
38
|
+
font-size: $card-title-font-size;
|
39
|
+
font-weight: bold;
|
40
|
+
}
|
41
|
+
& ~ .card-body {
|
42
|
+
padding-top: 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
.card-content {
|
46
|
+
position: relative;
|
47
|
+
}
|
48
|
+
.card-body {
|
49
|
+
padding: $card-cap-padding-y $card-cap-padding-x;
|
50
|
+
}
|
51
|
+
.card-heading {
|
52
|
+
color: #555;
|
53
|
+
font-size: 1.5rem;
|
54
|
+
}
|
55
|
+
.card-img-overlay {
|
56
|
+
background-color: rgba(0,0,0,.6);
|
57
|
+
|
58
|
+
p {
|
59
|
+
color: #eee;
|
60
|
+
}
|
61
|
+
|
62
|
+
.card-title {
|
63
|
+
color: #fff;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
}
|
69
|
+
.pricing {
|
70
|
+
.card {
|
71
|
+
box-shadow: none;
|
72
|
+
margin-bottom: 0;
|
73
|
+
border-right: 1px solid $gray-200;
|
74
|
+
box-shadow: 0 10px 10px $gray-200;
|
75
|
+
}
|
76
|
+
h1 {
|
77
|
+
text-align: center;
|
78
|
+
font-size: 4rem;
|
79
|
+
margin-bottom: 3rem;
|
80
|
+
}
|
81
|
+
.card-header {
|
82
|
+
.card-title {
|
83
|
+
font-size: 2rem !important;
|
84
|
+
margin-bottom: 0;
|
85
|
+
}
|
86
|
+
p {
|
87
|
+
font-size: .8rem;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
ul {
|
91
|
+
li {
|
92
|
+
list-style: none;
|
93
|
+
margin-bottom: .5rem;
|
94
|
+
i, svg {
|
95
|
+
width: 1rem;
|
96
|
+
color: map-get($theme-colors, 'success');
|
97
|
+
font-size: 1rem;
|
98
|
+
margin-right: 7px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
.card-highlighted {
|
103
|
+
background-color: map-get($theme-colors, 'primary');
|
104
|
+
padding-top: 20px;
|
105
|
+
padding-bottom: 20px;
|
106
|
+
.card-header, .card-body {
|
107
|
+
background-color: map-get($theme-colors, 'primary');
|
108
|
+
color: $card-bg;
|
109
|
+
}
|
110
|
+
ul {
|
111
|
+
li {
|
112
|
+
i, svg {
|
113
|
+
color: $teal-400;
|
114
|
+
}
|
115
|
+
color: #fff;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.card-footer {
|
119
|
+
background-color: map-get($theme-colors, 'primary');
|
120
|
+
}
|
121
|
+
.card-title {
|
122
|
+
color: #fff;
|
123
|
+
font-size: 1.8rem;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.divider {
|
2
|
+
display: block;
|
3
|
+
text-align: center;
|
4
|
+
overflow: hidden;
|
5
|
+
margin: 1rem 0;
|
6
|
+
.divider-text {
|
7
|
+
position: relative;
|
8
|
+
display: inline-block;
|
9
|
+
padding: 0 1rem;
|
10
|
+
background-color: $divider-text-bg;
|
11
|
+
&:before, &:after {
|
12
|
+
content: '';
|
13
|
+
position: absolute;
|
14
|
+
top: 50%;
|
15
|
+
width: 9999px;
|
16
|
+
border-top: 1px solid $divider-bg;
|
17
|
+
}
|
18
|
+
&:before {
|
19
|
+
right: 100%;
|
20
|
+
}
|
21
|
+
&:after {
|
22
|
+
left: 100%;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
&.divider-left .divider-text {
|
26
|
+
float: left;
|
27
|
+
}
|
28
|
+
&.divider-left-center .divider-text {
|
29
|
+
left: -25%;
|
30
|
+
}
|
31
|
+
&.divider-right-center .divider-text {
|
32
|
+
left: 25%;
|
33
|
+
}
|
34
|
+
&.divider-right .divider-text {
|
35
|
+
float: right;
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.btn:not(.btn-light):not([class^="btn-outline-"]) .dropdown-toggle:after {
|
2
|
+
color: #fff;
|
3
|
+
}
|
4
|
+
.dropdown-menu-large {
|
5
|
+
min-width: 16rem;
|
6
|
+
}
|
7
|
+
.dropdown-menu {
|
8
|
+
box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);
|
9
|
+
}
|
10
|
+
.dropdown-item {
|
11
|
+
transition: all .5s;
|
12
|
+
}
|
13
|
+
.dropdown-menu-end.show {
|
14
|
+
top: 100%;
|
15
|
+
right: 0;
|
16
|
+
}
|
17
|
+
.dropdown {
|
18
|
+
.avatar {
|
19
|
+
margin-right: .6rem;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.user-dropdown-status, .user-dropdown-name {
|
23
|
+
margin: 0;
|
24
|
+
}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
.form-group {
|
2
|
+
margin-bottom: .7rem;
|
3
|
+
label {
|
4
|
+
color: $form-label-color;
|
5
|
+
font-weight: 600;
|
6
|
+
}
|
7
|
+
small {
|
8
|
+
font-size: .7rem;
|
9
|
+
}
|
10
|
+
|
11
|
+
&.with-title {
|
12
|
+
position: relative;
|
13
|
+
label {
|
14
|
+
position: absolute;
|
15
|
+
top: 0;
|
16
|
+
left: 0;
|
17
|
+
padding: 5px;
|
18
|
+
font-size: .6rem;
|
19
|
+
background-color: $form-textarea-title-bg;
|
20
|
+
width: 100%;
|
21
|
+
border-width: 1px 1px 0 1px;
|
22
|
+
border-style: solid;
|
23
|
+
border-color: lighten($input-border-color, 5%);
|
24
|
+
transition: $input-transition;
|
25
|
+
}
|
26
|
+
.form-control, dataTable-input {
|
27
|
+
padding-top: 2rem;
|
28
|
+
&:focus ~ label {
|
29
|
+
border-left: 1px solid map-get($theme-colors, 'primary');
|
30
|
+
border-top: 1px solid map-get($theme-colors, 'primary');
|
31
|
+
border-right: 1px solid map-get($theme-colors, 'primary');
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
&[class*="has-icon-"] {
|
37
|
+
&.has-icon-left {
|
38
|
+
.form-control {
|
39
|
+
padding-left: 2.5rem;
|
40
|
+
}
|
41
|
+
.form-control-icon {
|
42
|
+
left: 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
&.has-icon-right {
|
46
|
+
.form-control {
|
47
|
+
padding-right: 2.5rem;
|
48
|
+
}
|
49
|
+
.form-control-icon {
|
50
|
+
right: 0;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
.form-control {
|
54
|
+
&:focus ~ .form-control-icon {
|
55
|
+
i, svg {
|
56
|
+
color: #5A8DEE
|
57
|
+
}
|
58
|
+
}
|
59
|
+
&.form-control-xl {
|
60
|
+
padding-left: 3rem;
|
61
|
+
& ~ .form-control-icon i{
|
62
|
+
font-size: 1.6rem;
|
63
|
+
&:before {
|
64
|
+
color: #a6a8aa
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.form-control-icon {
|
70
|
+
position: absolute;
|
71
|
+
padding: 0 .6rem;
|
72
|
+
i, svg {
|
73
|
+
width: 1.2rem;
|
74
|
+
color: $input-placeholder-color;
|
75
|
+
font-size: 1.2rem;
|
76
|
+
&:before {
|
77
|
+
vertical-align: sub;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
}
|
83
|
+
|
84
|
+
&.mandatory .form-label:first-child:after {
|
85
|
+
content: ' *';
|
86
|
+
color: $form-feedback-invalid-color;
|
87
|
+
}
|
88
|
+
|
89
|
+
&.is-invalid * {
|
90
|
+
color: $form-feedback-invalid-color;
|
91
|
+
border-color: $form-feedback-invalid-color;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.form-control {
|
95
|
+
& ~ .form-control-icon {
|
96
|
+
top: .28rem;
|
97
|
+
}
|
98
|
+
&.form-control-lg {
|
99
|
+
padding: .55rem 1rem;
|
100
|
+
font-size: 1.05rem;
|
101
|
+
& ~ .form-control-icon {
|
102
|
+
top: .55rem;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
&.form-control-xl {
|
106
|
+
padding: .85rem 1rem;
|
107
|
+
font-size: 1.2rem;
|
108
|
+
& ~ .form-control-icon {
|
109
|
+
top: .55rem;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
.form-check {
|
114
|
+
.form-check-input {
|
115
|
+
&[class*="bg-"] {
|
116
|
+
border: 0;
|
117
|
+
}
|
118
|
+
&:focus {
|
119
|
+
box-shadow: none;
|
120
|
+
}
|
121
|
+
@each $key, $value in $theme-colors {
|
122
|
+
&.form-check-#{$key} {
|
123
|
+
background-color: $value;
|
124
|
+
border-color: $value;
|
125
|
+
|
126
|
+
&:not(:checked) {
|
127
|
+
background-color: transparent;
|
128
|
+
border: 1px solid $gray-400;
|
129
|
+
}
|
130
|
+
|
131
|
+
&.form-check-glow {
|
132
|
+
box-shadow: 0 0 5px lighten($value,10%);
|
133
|
+
&:not(:checked) {
|
134
|
+
box-shadow: none;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
&.form-check-sm {
|
142
|
+
.form-check-input {
|
143
|
+
width: .9rem;
|
144
|
+
height: .9rem;
|
145
|
+
margin-top: .3em;
|
146
|
+
}
|
147
|
+
label {
|
148
|
+
font-size: .7rem;
|
149
|
+
|
150
|
+
}
|
151
|
+
}
|
152
|
+
&.form-check-lg {
|
153
|
+
.form-check-input {
|
154
|
+
width: 1.5rem;
|
155
|
+
height: 1.5rem;
|
156
|
+
margin-top: .3em;
|
157
|
+
}
|
158
|
+
label {
|
159
|
+
font-size: 1rem;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
@each $key, $value in $theme-colors {
|
164
|
+
&.form-check-#{$key} {
|
165
|
+
.form-check-input {
|
166
|
+
background-color: $value;
|
167
|
+
border-color: $value
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
// Vendor: Datatable
|
174
|
+
.dataTable-input {
|
175
|
+
min-height: calc(1.5em + 0.934rem + 2px);
|
176
|
+
padding: 0.467rem 0.6rem;
|
177
|
+
font-size: 0.9025rem;
|
178
|
+
font-weight: 400;
|
179
|
+
line-height: 1.5;
|
180
|
+
color: #555252;
|
181
|
+
background-color: white;
|
182
|
+
background-clip: padding-box;
|
183
|
+
border: 1px solid #DFE3E7;
|
184
|
+
-webkit-appearance: none;
|
185
|
+
-moz-appearance: none;
|
186
|
+
appearance: none;
|
187
|
+
border-radius: 0.25rem;
|
188
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
189
|
+
|
190
|
+
&:focus {
|
191
|
+
color: #555252;
|
192
|
+
background-color: $input-focus-bg;
|
193
|
+
border-color: $input-focus-border-color;
|
194
|
+
outline: 0;
|
195
|
+
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
// Vendor: Choices
|
200
|
+
.choices__inner {
|
201
|
+
background-color: $choices-bg;
|
202
|
+
border-color: $choices-border-color;
|
203
|
+
}
|
204
|
+
.choices__input {
|
205
|
+
background-color: $choices-bg !important;
|
206
|
+
color: $choices-input-color;
|
207
|
+
}
|
208
|
+
.choices__list {
|
209
|
+
background-color: $choices-dropdown-bg;
|
210
|
+
}
|
211
|
+
.choices__list--dropdown .choices__item--selectable.is-highlighted {
|
212
|
+
background-color: $choices-highlight-bg;
|
213
|
+
}
|