viniBaxter-desk_front 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +35 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/app/assets/images/desk_front/.DS_Store +0 -0
- data/app/assets/images/desk_front/avatar-group-hover-last.svg +9 -0
- data/app/assets/images/desk_front/avatar-group-hover.svg +10 -0
- data/app/assets/images/desk_front/avatar-group.svg +9 -0
- data/app/assets/images/desk_front/avatar-status.svg +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/image_setUP.md +5 -0
- data/lib/viniBaxter/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/engine.rb +17 -0
- data/lib/viniBaxter/desk_front/version.rb +5 -0
- data/lib/viniBaxter/desk_front.rb +8 -0
- data/lib/viniBaxter/sass/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/_user-variables.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/_user.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +107 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_app-container.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_attributes.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_field-unit.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_flashes.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_main-content.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_navigation.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_pagination.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_search.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/administrate/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_data-label.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss +447 -0
- data/lib/viniBaxter/sass/desk_front/administrate/utilities/_text-color.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +163 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +139 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +278 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +41 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +521 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +338 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +134 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +158 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +239 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +120 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +324 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +170 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +141 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +482 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +185 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +125 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +1143 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +63 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +123 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +110 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +62 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +177 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +71 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +204 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_alert.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_badge.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_breadcrumb.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +298 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_chart.scss +79 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_checklist.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_close.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_code.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_comment.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_custom-forms.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +38 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +124 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_forms.scss +272 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_header.scss +58 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_jumbotron.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_kanban.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +53 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_main-content.scss +70 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_mixins.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_modal.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +112 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +722 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_popover.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_progress.scss +27 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_root.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_tables.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_toasts.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_type.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_utilities.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_vendors.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_overrides-dark.scss +60 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_variables-dark.scss +219 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_badge.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_breakpoints.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_background.scss +80 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_borders.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_lift.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_sizing.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_type.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_dropzone.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_flatpickr.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_list.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_quill.scss +283 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_select2.scss +128 -0
- data/lib/viniBaxter/sass/desk_front/theme-dark.scss +30 -0
- data/lib/viniBaxter/sass/desk_front/theme.scss +24 -0
- data/lib/viniBaxter/sass/desk_front.scss +23 -0
- data/viniBaxter-desk_front.gemspec +33 -0
- metadata +275 -0
@@ -0,0 +1,272 @@
|
|
1
|
+
//
|
2
|
+
// forms.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
//
|
7
|
+
// Bootstrap Overrides ===================================
|
8
|
+
//
|
9
|
+
|
10
|
+
// Help text
|
11
|
+
|
12
|
+
.form-text {
|
13
|
+
margin-top: 0;
|
14
|
+
margin-bottom: $label-margin-bottom;
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
// Form validation
|
19
|
+
|
20
|
+
.was-validated .form-control:valid:focus, .form-control.is-valid:focus,
|
21
|
+
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
|
22
|
+
box-shadow: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
//
|
27
|
+
// Dashkit ===================================
|
28
|
+
//
|
29
|
+
|
30
|
+
// Form control flush
|
31
|
+
//
|
32
|
+
// Removes borders and paddings from inputs and text areas
|
33
|
+
|
34
|
+
.form-control-flush {
|
35
|
+
padding-left: 0;
|
36
|
+
padding-right: 0;
|
37
|
+
border-color: transparent !important;
|
38
|
+
background-color: transparent !important;
|
39
|
+
resize: none;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
// Form control auto
|
44
|
+
//
|
45
|
+
// Sets the height of the input to auto
|
46
|
+
|
47
|
+
.form-control-auto {
|
48
|
+
height: auto;
|
49
|
+
padding-top: 0;
|
50
|
+
padding-bottom: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
// Form control rounded
|
55
|
+
//
|
56
|
+
// Makes input border radius round
|
57
|
+
|
58
|
+
.form-control-rounded {
|
59
|
+
border-radius: 20rem;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
// Input group merge
|
64
|
+
//
|
65
|
+
// Makes input group text and form control visually the same element
|
66
|
+
|
67
|
+
.input-group.input-group-merge {
|
68
|
+
|
69
|
+
> .form-control {
|
70
|
+
border-radius: $input-border-radius;
|
71
|
+
|
72
|
+
&:focus {
|
73
|
+
box-shadow: none;
|
74
|
+
|
75
|
+
~ [class*="input-group"] {
|
76
|
+
|
77
|
+
> .input-group-text {
|
78
|
+
border-color: $input-focus-border-color;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
> .form-control.is-valid ~ [class*="input-group"] > .input-group-text {
|
85
|
+
border-color: $success;
|
86
|
+
}
|
87
|
+
|
88
|
+
> .form-control.is-invalid ~ [class*="input-group"] > .input-group-text {
|
89
|
+
border-color: $danger;
|
90
|
+
}
|
91
|
+
|
92
|
+
> .form-control-prepended {
|
93
|
+
padding-left: $input-padding-x / 2;
|
94
|
+
border-top-left-radius: 0 !important;
|
95
|
+
border-bottom-left-radius: 0 !important;
|
96
|
+
border-left-width: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
> .form-control-appended {
|
100
|
+
padding-right: $input-padding-x / 2;
|
101
|
+
border-top-right-radius: 0 !important;
|
102
|
+
border-bottom-right-radius: 0 !important;
|
103
|
+
border-right-width: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
> .input-group-prepend {
|
107
|
+
order: -1; // prepend always goes first
|
108
|
+
|
109
|
+
> .input-group-text {
|
110
|
+
padding-right: $input-padding-x / 2;
|
111
|
+
border-top-left-radius: $input-border-radius;
|
112
|
+
border-bottom-left-radius: $input-border-radius;
|
113
|
+
border-right-width: 0;
|
114
|
+
transition: $input-transition;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
> .input-group-append {
|
119
|
+
|
120
|
+
> .input-group-text {
|
121
|
+
padding-left: $input-padding-x / 2;
|
122
|
+
border-top-right-radius: $input-border-radius;
|
123
|
+
border-bottom-right-radius: $input-border-radius;
|
124
|
+
border-left-width: 0;
|
125
|
+
transition: $input-transition;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.input-group-lg.input-group-merge {
|
131
|
+
|
132
|
+
> .form-control {
|
133
|
+
border-radius: $input-border-radius-lg;
|
134
|
+
}
|
135
|
+
|
136
|
+
> .form-control-prepended {
|
137
|
+
padding-left: $input-padding-x-lg / 2;
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
> .form-control-appended {
|
142
|
+
padding-right: $input-padding-x-lg / 2;
|
143
|
+
|
144
|
+
}
|
145
|
+
|
146
|
+
> .input-group-prepend {
|
147
|
+
|
148
|
+
> .input-group-text {
|
149
|
+
padding-right: $input-padding-x-lg / 2;
|
150
|
+
border-top-left-radius: $input-border-radius-lg;
|
151
|
+
border-bottom-left-radius: $input-border-radius-lg;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
> .input-group-append {
|
156
|
+
|
157
|
+
> .input-group-text {
|
158
|
+
padding-left: $input-padding-x-lg / 2;
|
159
|
+
border-top-right-radius: $input-border-radius-lg;
|
160
|
+
border-bottom-right-radius: $input-border-radius-lg;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
.input-group-sm.input-group-merge {
|
166
|
+
|
167
|
+
> .form-control {
|
168
|
+
border-radius: $input-border-radius-sm;
|
169
|
+
}
|
170
|
+
|
171
|
+
> .form-control-prepended {
|
172
|
+
padding-left: $input-padding-x-sm / 2;
|
173
|
+
|
174
|
+
}
|
175
|
+
|
176
|
+
> .form-control-appended {
|
177
|
+
padding-right: $input-padding-x-sm / 2;
|
178
|
+
}
|
179
|
+
|
180
|
+
> .input-group-prepend {
|
181
|
+
|
182
|
+
> .input-group-text {
|
183
|
+
padding-right: $input-padding-x-sm / 2;
|
184
|
+
border-top-left-radius: $input-border-radius-sm;
|
185
|
+
border-bottom-left-radius: $input-border-radius-sm;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
> .input-group-append {
|
190
|
+
|
191
|
+
> .input-group-text {
|
192
|
+
padding-left: $input-padding-x-sm / 2;
|
193
|
+
border-top-right-radius: $input-border-radius-sm;
|
194
|
+
border-bottom-right-radius: $input-border-radius-sm;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.input-group-rounded.input-group-merge {
|
200
|
+
|
201
|
+
> .form-control {
|
202
|
+
border-radius: 20rem;
|
203
|
+
}
|
204
|
+
|
205
|
+
> .input-group-prepend {
|
206
|
+
|
207
|
+
> .input-group-text {
|
208
|
+
border-top-left-radius: 20rem;
|
209
|
+
border-bottom-left-radius: 20rem;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
> .input-group-append {
|
214
|
+
|
215
|
+
> .input-group-text {
|
216
|
+
border-top-right-radius: 20rem;
|
217
|
+
border-bottom-right-radius: 20rem;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
.input-group-flush {
|
223
|
+
|
224
|
+
> .form-control {
|
225
|
+
padding-top: 0;
|
226
|
+
padding-bottom: 0;
|
227
|
+
border-color: transparent !important;
|
228
|
+
background-color: transparent !important;
|
229
|
+
}
|
230
|
+
|
231
|
+
> .input-group-prepend,
|
232
|
+
> .input-group-append {
|
233
|
+
|
234
|
+
> .input-group-text {
|
235
|
+
padding: 0;
|
236
|
+
border-width: 0;
|
237
|
+
background-color: transparent;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
|
243
|
+
// Font size
|
244
|
+
|
245
|
+
.form-control {
|
246
|
+
|
247
|
+
&.h1, &.h2, &.h3, &.h4, &.h5 {
|
248
|
+
margin-bottom: 0;
|
249
|
+
font-weight: $headings-font-weight;
|
250
|
+
letter-spacing: $headings-letter-spacing;
|
251
|
+
}
|
252
|
+
|
253
|
+
&.h1 {
|
254
|
+
font-size: $h1-font-size;
|
255
|
+
}
|
256
|
+
|
257
|
+
&.h2 {
|
258
|
+
font-size: $h2-font-size;
|
259
|
+
}
|
260
|
+
|
261
|
+
&.h3 {
|
262
|
+
font-size: $h3-font-size;
|
263
|
+
}
|
264
|
+
|
265
|
+
&.h4 {
|
266
|
+
font-size: $h4-font-size;
|
267
|
+
}
|
268
|
+
|
269
|
+
&.h5 {
|
270
|
+
font-size: $h5-font-size;
|
271
|
+
}
|
272
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
//
|
2
|
+
// header.scss
|
3
|
+
// Dashkit component
|
4
|
+
//
|
5
|
+
|
6
|
+
// Header
|
7
|
+
//
|
8
|
+
// General styles
|
9
|
+
|
10
|
+
.header {
|
11
|
+
margin-bottom: $header-margin-bottom;
|
12
|
+
}
|
13
|
+
|
14
|
+
.header-img-top {
|
15
|
+
width: 100%; height: auto;
|
16
|
+
}
|
17
|
+
|
18
|
+
.header-body {
|
19
|
+
padding-top: $header-spacing-y;
|
20
|
+
padding-bottom: $header-spacing-y;
|
21
|
+
border-bottom: $header-body-border-width solid $header-body-border-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
.header.bg-dark .header-body,
|
25
|
+
.header.bg-hero .header-body {
|
26
|
+
border-bottom-color: $header-body-border-color-dark;
|
27
|
+
}
|
28
|
+
|
29
|
+
.header-footer {
|
30
|
+
padding-top: $header-spacing-y;
|
31
|
+
padding-bottom: $header-spacing-y;
|
32
|
+
}
|
33
|
+
|
34
|
+
.header-pretitle {
|
35
|
+
text-transform: uppercase;
|
36
|
+
letter-spacing: .08em;
|
37
|
+
color: $text-muted;
|
38
|
+
}
|
39
|
+
|
40
|
+
.header-title {
|
41
|
+
margin-bottom: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
.header-subtitle {
|
45
|
+
margin-top: map-get($spacers, 2);
|
46
|
+
margin-bottom: 0;
|
47
|
+
color: $text-muted;
|
48
|
+
}
|
49
|
+
|
50
|
+
.header-tabs {
|
51
|
+
margin-bottom: -$header-spacing-y;
|
52
|
+
border-bottom-width: 0;
|
53
|
+
|
54
|
+
.nav-link {
|
55
|
+
padding-top: $header-spacing-y;
|
56
|
+
padding-bottom: $header-spacing-y;
|
57
|
+
}
|
58
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
//
|
2
|
+
// icon.scss
|
3
|
+
// Dashkit component
|
4
|
+
//
|
5
|
+
|
6
|
+
// Icon
|
7
|
+
//
|
8
|
+
// General styles
|
9
|
+
|
10
|
+
.icon {
|
11
|
+
display: inline-block;
|
12
|
+
|
13
|
+
// Feather icon
|
14
|
+
|
15
|
+
> .fe {
|
16
|
+
display: block;
|
17
|
+
min-width: 1em * $line-height-base;
|
18
|
+
min-height: 1em * $line-height-base;
|
19
|
+
text-align: center;
|
20
|
+
font-size: $font-size-lg;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Active state
|
24
|
+
|
25
|
+
&.active {
|
26
|
+
position: relative;
|
27
|
+
|
28
|
+
// Feather icon
|
29
|
+
|
30
|
+
> .fe {
|
31
|
+
mask-image: url(#{$path-to-img}/masks/icon-status.svg);
|
32
|
+
mask-size: 100% 100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
// Indicator
|
36
|
+
|
37
|
+
&::after {
|
38
|
+
content: "";
|
39
|
+
position: absolute;
|
40
|
+
top: 10%; right: 20%;
|
41
|
+
width: 20%; height: 20%;
|
42
|
+
border-radius: 50%;
|
43
|
+
background-color: $primary;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
// Feather icons
|
49
|
+
//
|
50
|
+
// Fixes icon / font vertical alignment issue
|
51
|
+
|
52
|
+
.fe {
|
53
|
+
line-height: inherit;
|
54
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//
|
2
|
+
// jumbotron.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
//
|
7
|
+
// Bootstrap Overrides =====================================
|
8
|
+
//
|
9
|
+
|
10
|
+
.jumbotron {
|
11
|
+
padding: ($jumbotron-padding / 2);
|
12
|
+
@include media-breakpoint-up(sm) {
|
13
|
+
padding: $jumbotron-padding;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
//
|
2
|
+
// kanban.scss
|
3
|
+
// Dashkit component
|
4
|
+
//
|
5
|
+
|
6
|
+
// Container
|
7
|
+
|
8
|
+
.container-fluid.kanban-container {
|
9
|
+
min-height: calc(100vh - 129px);
|
10
|
+
}
|
11
|
+
|
12
|
+
.container.kanban-container {
|
13
|
+
min-height: calc(100vh - 129px - 69px);
|
14
|
+
}
|
15
|
+
|
16
|
+
.kanban-container {
|
17
|
+
overflow-x: scroll;
|
18
|
+
-webkit-overflow-scrolling: touch;
|
19
|
+
}
|
20
|
+
|
21
|
+
.kanban-container > .row {
|
22
|
+
flex-wrap: nowrap;
|
23
|
+
}
|
24
|
+
|
25
|
+
.kanban-container > .row > [class*="col"] {
|
26
|
+
max-width: $kanban-col-width;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
// Category
|
31
|
+
|
32
|
+
.kanban-category {
|
33
|
+
min-height: 1rem;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
// Item
|
38
|
+
|
39
|
+
.kanban-item {
|
40
|
+
outline: none;
|
41
|
+
user-select: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
.kanban-item.draggable-source--is-dragging {
|
45
|
+
opacity: .2;
|
46
|
+
}
|
47
|
+
|
48
|
+
.kanban-item.draggable-mirror {
|
49
|
+
z-index: $zindex-fixed;
|
50
|
+
}
|
51
|
+
|
52
|
+
.card-body .kanban-item.draggable-mirror > .card {
|
53
|
+
transform: rotateZ(-3deg);
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
// Card
|
58
|
+
|
59
|
+
.kanban-item > .card[data-toggle="modal"] {
|
60
|
+
cursor: pointer;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
// Add form
|
65
|
+
|
66
|
+
.kanban-add-form .form-control[data-toggle="flatpickr"] {
|
67
|
+
width: 12ch; // there is no CSS way to set input's width to auto so hardcoding this value
|
68
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//
|
2
|
+
// list-group.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
//
|
7
|
+
// Bootstrap Overrides =====================================
|
8
|
+
//
|
9
|
+
|
10
|
+
// Contextual variants
|
11
|
+
//
|
12
|
+
// Changing the Bootstrap color modifier classes to be full opacity background with yiq calculated font color
|
13
|
+
|
14
|
+
@each $color, $value in $theme-colors {
|
15
|
+
@include list-group-item-variant($color, $value, color-yiq($value));
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// List group large
|
20
|
+
|
21
|
+
.list-group-lg .list-group-item {
|
22
|
+
padding-top: $list-group-item-padding-y-lg;
|
23
|
+
padding-bottom: $list-group-item-padding-y-lg;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
// List group flush
|
28
|
+
|
29
|
+
.list-group-flush > .list-group-item {
|
30
|
+
padding-left: 0;
|
31
|
+
padding-right: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
//
|
36
|
+
// Dashkit ===================================
|
37
|
+
//
|
38
|
+
|
39
|
+
|
40
|
+
// Activity
|
41
|
+
|
42
|
+
.list-group-activity .list-group-item {
|
43
|
+
border: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.list-group-activity .list-group-item:not(:last-child)::before {
|
47
|
+
content: '';
|
48
|
+
position: absolute;
|
49
|
+
top: $list-group-item-padding-y;
|
50
|
+
left: $avatar-size-sm / 2;
|
51
|
+
height: 100%;
|
52
|
+
border-left: $border-width solid $border-color;
|
53
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
//
|
2
|
+
// main-content.scss
|
3
|
+
// Dashkit component
|
4
|
+
//
|
5
|
+
|
6
|
+
// Main content
|
7
|
+
//
|
8
|
+
// General styles
|
9
|
+
|
10
|
+
.navbar-vertical:not([style*="display: none"]) ~ .main-content,
|
11
|
+
.navbar-vertical-sm:not([style*="display: none"]) ~ .main-content {
|
12
|
+
|
13
|
+
.container,
|
14
|
+
.container-fluid {
|
15
|
+
|
16
|
+
@include media-breakpoint-up(md) {
|
17
|
+
padding-left: ($main-content-padding-x + $grid-gutter-width / 2) !important;
|
18
|
+
padding-right: ($main-content-padding-x + $grid-gutter-width / 2) !important;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
// Main content offset
|
25
|
+
//
|
26
|
+
// Offsets the main content depending on the sidebar positioning
|
27
|
+
|
28
|
+
.navbar-vertical.navbar-expand {
|
29
|
+
|
30
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
31
|
+
&-#{$breakpoint} {
|
32
|
+
@include media-breakpoint-up(#{$breakpoint}) {
|
33
|
+
|
34
|
+
// Left
|
35
|
+
|
36
|
+
&.fixed-left:not([style*="display: none"]) ~ .main-content {
|
37
|
+
margin-left: $navbar-vertical-width;
|
38
|
+
}
|
39
|
+
|
40
|
+
// Right
|
41
|
+
|
42
|
+
&.fixed-right:not([style*="display: none"]) ~ .main-content {
|
43
|
+
margin-right: $navbar-vertical-width;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
.navbar-vertical-sm.navbar-expand {
|
51
|
+
|
52
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
53
|
+
&-#{$breakpoint} {
|
54
|
+
@include media-breakpoint-up(#{$breakpoint}) {
|
55
|
+
|
56
|
+
// Left
|
57
|
+
|
58
|
+
&.fixed-left:not([style*="display: none"]) ~ .main-content {
|
59
|
+
margin-left: $navbar-vertical-width-sm;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Right
|
63
|
+
|
64
|
+
&.fixed-right:not([style*="display: none"]) ~ .main-content {
|
65
|
+
margin-right: $navbar-vertical-width-sm;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
//
|
2
|
+
// modal.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
//
|
7
|
+
// Bootstrap Overrides =======================
|
8
|
+
//
|
9
|
+
|
10
|
+
.modal-dialog {
|
11
|
+
|
12
|
+
// When fading in the modal, animate it to slide down
|
13
|
+
.modal.fade & {
|
14
|
+
transform: translate(0, -150px);
|
15
|
+
}
|
16
|
+
|
17
|
+
.modal.show & {
|
18
|
+
transform: translate(0, 0);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.modal-header .close {
|
23
|
+
margin: -1.5rem -1.5rem -1.5rem auto;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
//
|
28
|
+
// Dashkit ===================================
|
29
|
+
//
|
30
|
+
|
31
|
+
// Modal dialog vertical
|
32
|
+
//
|
33
|
+
// Creates a vertically aligned version of the modal dialog
|
34
|
+
|
35
|
+
.modal-dialog-vertical {
|
36
|
+
height: 100%;
|
37
|
+
max-width: $modal-dialog-vertical-width;
|
38
|
+
margin: 0;
|
39
|
+
|
40
|
+
.modal-content {
|
41
|
+
height: inherit;
|
42
|
+
border-width: 0 $modal-content-border-width 0 0;
|
43
|
+
border-radius: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.modal-header {
|
47
|
+
border-radius: inherit;
|
48
|
+
}
|
49
|
+
|
50
|
+
.modal-body {
|
51
|
+
height: inherit;
|
52
|
+
overflow-y: auto;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.modal.fade .modal-dialog-vertical {
|
57
|
+
transform: translateX(-100%);
|
58
|
+
}
|
59
|
+
|
60
|
+
.modal.show .modal-dialog-vertical {
|
61
|
+
transform: translateX(0);
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
// Positioning
|
66
|
+
|
67
|
+
.modal.fixed-right {
|
68
|
+
padding-right: 0 !important;
|
69
|
+
}
|
70
|
+
|
71
|
+
.modal.fixed-right .modal-dialog-vertical {
|
72
|
+
margin-left: auto;
|
73
|
+
}
|
74
|
+
|
75
|
+
.modal.fixed-right.fade .modal-dialog-vertical {
|
76
|
+
transform: translateX(100%);
|
77
|
+
}
|
78
|
+
|
79
|
+
.modal.fixed-right.show .modal-dialog-vertical {
|
80
|
+
transform: translateX(0);
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
// Modal card
|
85
|
+
|
86
|
+
.modal-card {
|
87
|
+
margin-bottom: 0;
|
88
|
+
|
89
|
+
.card-body {
|
90
|
+
max-height: $modal-card-body-max-height;
|
91
|
+
overflow-y: auto;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Modal tabs
|
97
|
+
|
98
|
+
.modal-header-tabs {
|
99
|
+
margin-top: -$modal-header-padding-y;
|
100
|
+
margin-bottom: calc(-#{$modal-header-padding-y} - #{$border-width});
|
101
|
+
}
|