viniBaxter-desk_front 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +7 -0
  2. data/.DS_Store +0 -0
  3. data/.gitignore +11 -0
  4. data/.rspec +3 -0
  5. data/.travis.yml +7 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +4 -0
  8. data/Gemfile.lock +35 -0
  9. data/README.md +39 -0
  10. data/Rakefile +6 -0
  11. data/app/assets/images/desk_front/.DS_Store +0 -0
  12. data/app/assets/images/desk_front/avatar-group-hover-last.svg +9 -0
  13. data/app/assets/images/desk_front/avatar-group-hover.svg +10 -0
  14. data/app/assets/images/desk_front/avatar-group.svg +9 -0
  15. data/app/assets/images/desk_front/avatar-status.svg +9 -0
  16. data/bin/console +14 -0
  17. data/bin/setup +8 -0
  18. data/image_setUP.md +5 -0
  19. data/lib/viniBaxter/.DS_Store +0 -0
  20. data/lib/viniBaxter/desk_front/.DS_Store +0 -0
  21. data/lib/viniBaxter/desk_front/engine.rb +17 -0
  22. data/lib/viniBaxter/desk_front/version.rb +5 -0
  23. data/lib/viniBaxter/desk_front.rb +8 -0
  24. data/lib/viniBaxter/sass/.DS_Store +0 -0
  25. data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
  26. data/lib/viniBaxter/sass/desk_front/_user-variables.scss +8 -0
  27. data/lib/viniBaxter/sass/desk_front/_user.scss +4 -0
  28. data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +107 -0
  29. data/lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss +20 -0
  30. data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +19 -0
  31. data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +55 -0
  32. data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +45 -0
  33. data/lib/viniBaxter/sass/desk_front/administrate/components/_app-container.scss +9 -0
  34. data/lib/viniBaxter/sass/desk_front/administrate/components/_attributes.scss +26 -0
  35. data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +51 -0
  36. data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +47 -0
  37. data/lib/viniBaxter/sass/desk_front/administrate/components/_field-unit.scss +45 -0
  38. data/lib/viniBaxter/sass/desk_front/administrate/components/_flashes.scss +28 -0
  39. data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +3 -0
  40. data/lib/viniBaxter/sass/desk_front/administrate/components/_main-content.scss +29 -0
  41. data/lib/viniBaxter/sass/desk_front/administrate/components/_navigation.scss +32 -0
  42. data/lib/viniBaxter/sass/desk_front/administrate/components/_pagination.scss +18 -0
  43. data/lib/viniBaxter/sass/desk_front/administrate/components/_search.scss +46 -0
  44. data/lib/viniBaxter/sass/desk_front/administrate/desk_front/.DS_Store +0 -0
  45. data/lib/viniBaxter/sass/desk_front/administrate/index.scss +34 -0
  46. data/lib/viniBaxter/sass/desk_front/administrate/library/_clearfix.scss +7 -0
  47. data/lib/viniBaxter/sass/desk_front/administrate/library/_data-label.scss +8 -0
  48. data/lib/viniBaxter/sass/desk_front/administrate/library/_variables.scss +0 -0
  49. data/lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss +447 -0
  50. data/lib/viniBaxter/sass/desk_front/administrate/utilities/_text-color.scss +3 -0
  51. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +51 -0
  52. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +54 -0
  53. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +42 -0
  54. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +163 -0
  55. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +139 -0
  56. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +278 -0
  57. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +197 -0
  58. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +41 -0
  59. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +48 -0
  60. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +521 -0
  61. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +191 -0
  62. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +338 -0
  63. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +134 -0
  64. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +69 -0
  65. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +42 -0
  66. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +191 -0
  67. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +17 -0
  68. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +158 -0
  69. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +8 -0
  70. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +47 -0
  71. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +239 -0
  72. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +120 -0
  73. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +324 -0
  74. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +73 -0
  75. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +170 -0
  76. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +141 -0
  77. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +46 -0
  78. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +482 -0
  79. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +20 -0
  80. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +55 -0
  81. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +185 -0
  82. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +44 -0
  83. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +115 -0
  84. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +20 -0
  85. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +125 -0
  86. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +17 -0
  87. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +1143 -0
  88. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +29 -0
  89. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +12 -0
  90. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +44 -0
  91. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +13 -0
  92. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +22 -0
  93. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +17 -0
  94. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +63 -0
  95. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +20 -0
  96. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +123 -0
  97. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +110 -0
  98. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +62 -0
  99. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +7 -0
  100. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +10 -0
  101. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +14 -0
  102. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +177 -0
  103. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +45 -0
  104. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +71 -0
  105. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +69 -0
  106. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +37 -0
  107. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +36 -0
  108. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +21 -0
  109. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +7 -0
  110. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +11 -0
  111. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +22 -0
  112. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +17 -0
  113. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +6 -0
  114. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +34 -0
  115. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +7 -0
  116. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +39 -0
  117. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +17 -0
  118. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +11 -0
  119. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +8 -0
  120. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +16 -0
  121. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +8 -0
  122. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +8 -0
  123. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +19 -0
  124. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +75 -0
  125. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +3 -0
  126. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +26 -0
  127. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +39 -0
  128. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +51 -0
  129. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +11 -0
  130. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +5 -0
  131. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +32 -0
  132. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +11 -0
  133. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +6 -0
  134. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +20 -0
  135. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +73 -0
  136. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +19 -0
  137. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +72 -0
  138. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +13 -0
  139. data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +204 -0
  140. data/lib/viniBaxter/sass/desk_front/dashkit/_alert.scss +28 -0
  141. data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +197 -0
  142. data/lib/viniBaxter/sass/desk_front/dashkit/_badge.scss +28 -0
  143. data/lib/viniBaxter/sass/desk_front/dashkit/_breadcrumb.scss +55 -0
  144. data/lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss +68 -0
  145. data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +298 -0
  146. data/lib/viniBaxter/sass/desk_front/dashkit/_chart.scss +79 -0
  147. data/lib/viniBaxter/sass/desk_front/dashkit/_checklist.scss +36 -0
  148. data/lib/viniBaxter/sass/desk_front/dashkit/_close.scss +10 -0
  149. data/lib/viniBaxter/sass/desk_front/dashkit/_code.scss +16 -0
  150. data/lib/viniBaxter/sass/desk_front/dashkit/_comment.scss +34 -0
  151. data/lib/viniBaxter/sass/desk_front/dashkit/_custom-forms.scss +37 -0
  152. data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +38 -0
  153. data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +124 -0
  154. data/lib/viniBaxter/sass/desk_front/dashkit/_forms.scss +272 -0
  155. data/lib/viniBaxter/sass/desk_front/dashkit/_header.scss +58 -0
  156. data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +54 -0
  157. data/lib/viniBaxter/sass/desk_front/dashkit/_jumbotron.scss +15 -0
  158. data/lib/viniBaxter/sass/desk_front/dashkit/_kanban.scss +68 -0
  159. data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +53 -0
  160. data/lib/viniBaxter/sass/desk_front/dashkit/_main-content.scss +70 -0
  161. data/lib/viniBaxter/sass/desk_front/dashkit/_mixins.scss +16 -0
  162. data/lib/viniBaxter/sass/desk_front/dashkit/_modal.scss +101 -0
  163. data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +112 -0
  164. data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +722 -0
  165. data/lib/viniBaxter/sass/desk_front/dashkit/_popover.scss +101 -0
  166. data/lib/viniBaxter/sass/desk_front/dashkit/_progress.scss +27 -0
  167. data/lib/viniBaxter/sass/desk_front/dashkit/_reboot.scss +12 -0
  168. data/lib/viniBaxter/sass/desk_front/dashkit/_root.scss +12 -0
  169. data/lib/viniBaxter/sass/desk_front/dashkit/_tables.scss +76 -0
  170. data/lib/viniBaxter/sass/desk_front/dashkit/_toasts.scss +4 -0
  171. data/lib/viniBaxter/sass/desk_front/dashkit/_type.scss +115 -0
  172. data/lib/viniBaxter/sass/desk_front/dashkit/_utilities.scss +5 -0
  173. data/lib/viniBaxter/sass/desk_front/dashkit/_variables.scss +0 -0
  174. data/lib/viniBaxter/sass/desk_front/dashkit/_vendors.scss +5 -0
  175. data/lib/viniBaxter/sass/desk_front/dashkit/dark/_overrides-dark.scss +60 -0
  176. data/lib/viniBaxter/sass/desk_front/dashkit/dark/_variables-dark.scss +219 -0
  177. data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_badge.scss +16 -0
  178. data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_breakpoints.scss +9 -0
  179. data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_background.scss +80 -0
  180. data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_borders.scss +48 -0
  181. data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_lift.scss +20 -0
  182. data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_sizing.scss +10 -0
  183. data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_type.scss +34 -0
  184. data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_dropzone.scss +75 -0
  185. data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_flatpickr.scss +69 -0
  186. data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_list.scss +11 -0
  187. data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_quill.scss +283 -0
  188. data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_select2.scss +128 -0
  189. data/lib/viniBaxter/sass/desk_front/theme-dark.scss +30 -0
  190. data/lib/viniBaxter/sass/desk_front/theme.scss +24 -0
  191. data/lib/viniBaxter/sass/desk_front.scss +23 -0
  192. data/viniBaxter-desk_front.gemspec +33 -0
  193. metadata +275 -0
@@ -0,0 +1,80 @@
1
+ //
2
+ // background.scss
3
+ //
4
+
5
+
6
+ // Fixed at the bottom
7
+
8
+ .bg-fixed-bottom {
9
+ background-repeat: no-repeat;
10
+ background-position: right bottom;
11
+ background-size: 100% auto;
12
+ background-attachment: fixed;
13
+ }
14
+
15
+ // Calculate the width of the main container because
16
+ // the background-attachment property will use 100vw instead
17
+
18
+ .navbar-vertical ~ .main-content.bg-fixed-bottom {
19
+ background-size: 100%;
20
+
21
+ @include media-breakpoint-up(md) {
22
+ background-size: calc(100% - #{$navbar-vertical-width});
23
+ }
24
+ }
25
+
26
+
27
+ // Cover
28
+
29
+ .bg-cover {
30
+ background-repeat: no-repeat;
31
+ background-position: center center;
32
+ background-size: cover;
33
+ }
34
+
35
+
36
+ // Auth
37
+
38
+ .bg-auth {
39
+ background-color: $auth-bg;
40
+ }
41
+
42
+
43
+ // Ellipses
44
+
45
+ @each $color, $value in $theme-colors {
46
+
47
+ .bg-ellipses.bg-#{$color} {
48
+ background-color: transparent !important;
49
+ background-repeat: no-repeat;
50
+ background-image: radial-gradient(#{$value}, #{$value} 70%, transparent 70.1%);
51
+ background-size: 200% 150%;
52
+ background-position: center bottom;
53
+ }
54
+ }
55
+
56
+
57
+ // Hero
58
+
59
+ .bg-hero {
60
+ background-image: linear-gradient(to bottom, fade-out($black, .15), fade-out($black, .15)), url(#{$path-to-img}/covers/header-cover.jpg);
61
+ background-repeat: no-repeat, no-repeat;
62
+ background-position: center center, center center;
63
+ background-size: cover, cover;
64
+ }
65
+
66
+
67
+ // Colors
68
+
69
+ .bg-lighter {
70
+ background-color: $lighter !important;
71
+ }
72
+
73
+
74
+ // Soft colors
75
+
76
+ @each $color, $value in $theme-colors {
77
+ .bg-#{$color}-soft {
78
+ background-color: theme-color-level($color, $bg-soft-level) !important;
79
+ }
80
+ }
@@ -0,0 +1,48 @@
1
+ //
2
+ // borders.scss
3
+ //
4
+
5
+
6
+ // Sizing
7
+
8
+ $border-sizing: () !default;
9
+ $border-sizing: map-merge((
10
+ "2": 2,
11
+ "3": 3,
12
+ "4": 4,
13
+ "5": 5
14
+ ), $border-sizing);
15
+
16
+ @each $size, $value in $border-sizing {
17
+
18
+ .border-#{$size} {
19
+ border-width: $border-width * $value !important;
20
+ }
21
+
22
+ .border-top-#{$size} {
23
+ border-top-width: $border-width * $value !important;
24
+ }
25
+
26
+ .border-right-#{$size} {
27
+ border-right-width: $border-width * $value !important;
28
+ }
29
+
30
+ .border-bottom-#{$size} {
31
+ border-bottom-width: $border-width * $value !important;
32
+ }
33
+
34
+ .border-left-#{$size} {
35
+ border-left-width: $border-width * $value !important;
36
+ }
37
+ }
38
+
39
+
40
+ // Contextual classes
41
+
42
+ .border-body {
43
+ border-color: $body-bg !important;
44
+ }
45
+
46
+ .border-card {
47
+ border-color: $card-bg !important;
48
+ }
@@ -0,0 +1,20 @@
1
+ //
2
+ // lift.scss
3
+ // Theme utility
4
+ //
5
+
6
+ .lift {
7
+ transition: box-shadow .25s ease, transform .25s ease;
8
+ }
9
+
10
+ .lift:hover,
11
+ .lift:focus {
12
+ box-shadow: $box-shadow-lift !important;
13
+ transform: translate3d(0, -3px, 0);
14
+ }
15
+
16
+ .lift-lg:hover,
17
+ .lift-lg:focus {
18
+ box-shadow: $box-shadow-lift-lg !important;
19
+ transform: translate3d(0, -5px, 0);
20
+ }
@@ -0,0 +1,10 @@
1
+ //
2
+ // sizing.scss
3
+ //
4
+
5
+ .vw-100 {
6
+ width: 100vw !important;
7
+ }
8
+ .vh-100 {
9
+ height: 100vh !important;
10
+ }
@@ -0,0 +1,34 @@
1
+ //
2
+ // type.scss
3
+ // Extended from Bootstrap
4
+ //
5
+
6
+ // Font size
7
+
8
+ .font-size-base {
9
+ font-size: $font-size-base !important;
10
+ }
11
+
12
+ .font-size-sm {
13
+ font-size: $font-size-sm !important;
14
+ }
15
+
16
+ .font-size-lg {
17
+ font-size: $font-size-lg !important;
18
+ }
19
+
20
+
21
+ // Decoration
22
+
23
+ .text-decoration-underline {
24
+ text-decoration: underline !important;
25
+ }
26
+
27
+
28
+ // Gray colors
29
+
30
+ @each $color, $value in $grays {
31
+ .text-gray-#{$color} {
32
+ color: $value !important;
33
+ }
34
+ }
@@ -0,0 +1,75 @@
1
+ //
2
+ // dropzone.scss
3
+ // Dropzone plugin overrides
4
+ //
5
+
6
+ .dropzone {
7
+ position: relative;
8
+ display: flex;
9
+ flex-direction: column;
10
+ }
11
+
12
+ .dz-message {
13
+ padding: 5rem 1rem;
14
+ background-color: $input-bg;
15
+ border: $input-border-width dashed $input-border-color;
16
+ border-radius: $border-radius;
17
+ text-align: center;
18
+ color: $text-muted;
19
+ transition: $transition-base;
20
+ order: -1;
21
+ cursor: pointer;
22
+ z-index: 999;
23
+
24
+ &:hover {
25
+ border-color: $text-muted;
26
+ color: $body-color;
27
+ }
28
+ }
29
+
30
+ .dz-drag-hover .dz-message {
31
+ border-color: $primary;
32
+ color: $primary;
33
+ }
34
+
35
+ .dropzone-multiple .dz-message {
36
+ padding-top: 2rem;
37
+ padding-bottom: 2rem;
38
+ }
39
+
40
+ .dropzone-single.dz-max-files-reached .dz-message {
41
+ background-color: fade-out($black, .1);
42
+ color: white;
43
+ opacity: 0;
44
+
45
+ &:hover {
46
+ opacity: 1;
47
+ }
48
+ }
49
+
50
+ .dz-preview-single {
51
+ position: absolute;
52
+ top: 0; right: 0; bottom: 0; left: 0;
53
+ border-radius: $border-radius;
54
+ }
55
+
56
+ .dz-preview-cover {
57
+ position: absolute;
58
+ top: 0; right: 0; bottom: 0; left: 0;
59
+ border-radius: $border-radius;
60
+ }
61
+
62
+ .dz-preview-img {
63
+ object-fit: cover;
64
+ width: 100%; height: 100%;
65
+ border-radius: $border-radius;
66
+ }
67
+
68
+ .dz-preview-multiple .list-group-item:last-child {
69
+ padding-bottom: 0;
70
+ border-bottom: 0;
71
+ }
72
+
73
+ [data-dz-size] strong {
74
+ font-weight: $font-weight-normal;
75
+ }
@@ -0,0 +1,69 @@
1
+ //
2
+ // flatpickr.scss
3
+ // Flatpickr plugin overrides
4
+ //
5
+
6
+ .flatpickr-calendar {
7
+ background-color: $input-bg;
8
+ border: $input-border-width solid $input-border-color;
9
+ color: $input-color;
10
+ box-shadow: none;
11
+
12
+ * {
13
+ color: inherit !important;
14
+ fill: currentColor !important;
15
+ }
16
+
17
+ &.arrowTop:before {
18
+ border-bottom-color: $input-border-color;
19
+ }
20
+
21
+ &.arrowTop:after {
22
+ border-bottom-color: $input-bg;
23
+ }
24
+
25
+ .flatpickr-months {
26
+ padding-top: .625rem;
27
+ padding-bottom: .625rem;
28
+ }
29
+
30
+ .flatpickr-prev-month,
31
+ .flatpickr-next-month {
32
+ top: .625rem;
33
+ }
34
+
35
+ .flatpickr-current-month {
36
+ font-size: 115%;
37
+ }
38
+
39
+ .flatpickr-day {
40
+ border-radius: $border-radius;
41
+
42
+ &:hover {
43
+ background-color: $light;
44
+ border-color: $input-border-color;
45
+ }
46
+ }
47
+
48
+ .flatpickr-day.prevMonthDay {
49
+ color: $text-muted !important;
50
+ }
51
+
52
+ .flatpickr-day.today {
53
+ border-color: $border-color;
54
+ }
55
+
56
+ .flatpickr-day.selected {
57
+ background-color: $primary;
58
+ border-color: $primary;
59
+ color: $white !important;
60
+ }
61
+
62
+ .flatpickr-day.inRange {
63
+ background-color: $light;
64
+ border: none;
65
+ border-radius: 0;
66
+ box-shadow: -5px 0 0 $light, 5px 0 0 $light;
67
+ }
68
+
69
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // list.scss
3
+ //
4
+
5
+ [data-toggle="lists"] .pagination > li {
6
+ @extend .page-item;
7
+ }
8
+
9
+ [data-toggle="lists"] .pagination .page {
10
+ @extend .page-link;
11
+ }
@@ -0,0 +1,283 @@
1
+ //
2
+ // quill.scss
3
+ // Quill plugin overrides
4
+ //
5
+
6
+ .ql-container {
7
+ font-family: $font-family-base;
8
+ }
9
+
10
+ .ql-toolbar {
11
+ position: relative;
12
+ padding: $input-padding-y $input-padding-x;
13
+ background-color: $input-bg;
14
+ border: $input-border-width solid $input-border-color;
15
+ border-radius: $input-border-radius $input-border-radius 0 0;
16
+ color: $input-color;
17
+ }
18
+
19
+ .ql-toolbar + .ql-container {
20
+ margin-top: -$border-width;
21
+ }
22
+
23
+ .ql-toolbar + .ql-container .ql-editor {
24
+ border-top-left-radius: 0;
25
+ border-top-right-radius: 0;
26
+ }
27
+
28
+ .ql-editor {
29
+ min-height: $line-height-base * $font-size-base * 4;
30
+ display: block;
31
+ width: 100%;
32
+ padding: $input-padding-y $input-padding-x;
33
+ font-size: $font-size-base;
34
+ line-height: $input-line-height;
35
+ color: $input-color;
36
+ background-color: $input-bg;
37
+ background-clip: padding-box;
38
+ border: $input-border-width solid $input-border-color;
39
+
40
+ // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
41
+ @if $enable-rounded {
42
+ // Manually use the if/else instead of the mixin to account for iOS override
43
+ border-radius: $input-border-radius;
44
+ }
45
+
46
+ @else {
47
+ // Otherwise undo the iOS default
48
+ border-radius: 0;
49
+ }
50
+
51
+ @include box-shadow($input-box-shadow);
52
+ @include transition($input-transition);
53
+
54
+ // Unstyle the caret on `<select>`s in IE10+.
55
+ &::-ms-expand {
56
+ background-color: transparent;
57
+ border: 0;
58
+ }
59
+
60
+ // Customize the `:focus` state to imitate native WebKit styles.
61
+ @include form-control-focus($ignore-warning: true);
62
+ }
63
+
64
+ .ql-hidden {
65
+ position: absolute;
66
+ transform: scale(0);
67
+ }
68
+
69
+
70
+ // Placeholder
71
+
72
+ .ql-editor.ql-blank::before {
73
+ top: $input-padding-y;
74
+ left: $input-padding-x;
75
+ font-style: normal;
76
+ color: $input-placeholder-color;
77
+ }
78
+
79
+ .ql-editor:focus::before {
80
+ display: none;
81
+ }
82
+
83
+
84
+ // Toolbar
85
+
86
+ .ql-formats {
87
+ padding-left: .5rem;
88
+ padding-right: .5rem;
89
+
90
+ &:first-child {
91
+ padding-left: 0;
92
+ }
93
+
94
+ &:last-child {
95
+ padding-right: 0;
96
+ }
97
+ }
98
+
99
+ .ql-toolbar button {
100
+ padding: 0 .25rem;
101
+ background: none;
102
+ border: none;
103
+ color: $body-color;
104
+ cursor: pointer;
105
+ transition: $transition-base;
106
+
107
+ &:hover {
108
+ color: $primary;
109
+ }
110
+
111
+ &:first-child {
112
+ margin-left: -.25rem;
113
+ }
114
+ }
115
+
116
+ .ql-toolbar .ql-active {
117
+ color: $primary;
118
+ }
119
+
120
+ .ql-toolbar button svg {
121
+ height: $font-size-lg;
122
+ width: $font-size-lg;
123
+ }
124
+
125
+ .ql-toolbar .ql-stroke {
126
+ stroke: currentColor;
127
+ stroke-width: 2;
128
+ stroke-linecap: round;
129
+ stroke-linejoin: round;
130
+ fill: none;
131
+ }
132
+
133
+ .ql-toolbar .ql-thin {
134
+ stroke-width: 1;
135
+ }
136
+
137
+ .ql-toolbar .ql-fill {
138
+ fill: currentColor;
139
+ }
140
+
141
+ .ql-toolbar input.ql-image {
142
+ position: absolute;
143
+ transform: scale(0);
144
+ }
145
+
146
+
147
+ // Tooltip
148
+
149
+ .ql-tooltip {
150
+ position: absolute;
151
+ display: flex;
152
+ flex-wrap: nowrap;
153
+ width: 18.5rem;
154
+ background-color: $popover-bg;
155
+ border: $popover-border-width solid $popover-border-color;
156
+ border-radius: $popover-border-radius;
157
+ padding: $input-padding-y $input-padding-x;
158
+ margin-top: .6rem; // arrow width
159
+ box-shadow: $popover-box-shadow;
160
+
161
+ // Arrow
162
+
163
+ &:before, &:after {
164
+ content: '';
165
+ position: absolute;
166
+ left: 50%;
167
+ bottom: 100%;
168
+ transform: translateX(-50%);
169
+ }
170
+
171
+ &:before {
172
+ border-bottom: .6rem solid $popover-border-color;
173
+ border-left: .6rem solid transparent;
174
+ border-right: .6rem solid transparent;
175
+ }
176
+
177
+ &:after {
178
+ border-bottom: .5rem solid $popover-bg;
179
+ border-left: .5rem solid transparent;
180
+ border-right: .5rem solid transparent;
181
+ }
182
+ }
183
+
184
+ .ql-container .ql-tooltip:hover {
185
+ display: flex !important;
186
+ }
187
+
188
+ .ql-tooltip .ql-preview {
189
+ width: 100%;
190
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
191
+ @include transition($btn-transition);
192
+ }
193
+
194
+ .ql-tooltip.ql-editing .ql-preview {
195
+ display: none;
196
+ }
197
+
198
+ .ql-tooltip input {
199
+ display: none;
200
+ width: 100%;
201
+ padding-top: calc(#{$input-padding-y-sm} + #{$input-border-width});
202
+ padding-bottom: calc(#{$input-padding-y-sm} + #{$input-border-width});
203
+ background-color: transparent;
204
+ font-size: $font-size-sm;
205
+ line-height: $input-line-height-sm;
206
+ border: none;
207
+ color: $input-color;
208
+
209
+ &:focus {
210
+ outline: none;
211
+ }
212
+ }
213
+
214
+ .ql-tooltip.ql-editing input {
215
+ display: block;
216
+ }
217
+
218
+
219
+ .ql-tooltip .ql-action,
220
+ .ql-tooltip .ql-remove {
221
+ margin-left: .25rem;
222
+ }
223
+
224
+ .ql-tooltip .ql-action::before,
225
+ .ql-tooltip .ql-remove::before {
226
+ display: inline-block;
227
+ font-weight: $btn-font-weight;
228
+ text-align: center;
229
+ white-space: nowrap;
230
+ vertical-align: middle;
231
+ user-select: none;
232
+ border: $btn-border-width solid transparent;
233
+ cursor: pointer;
234
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
235
+ @include transition($btn-transition);
236
+
237
+ // Share hover and focus styles
238
+ @include hover-focus {
239
+ text-decoration: none;
240
+ }
241
+
242
+ &:focus,
243
+ &.focus {
244
+ outline: 0;
245
+ box-shadow: $btn-focus-box-shadow;
246
+ }
247
+ }
248
+
249
+ .ql-tooltip .ql-action::before,
250
+ .ql-tooltip.ql-editing .ql-action::before {
251
+ @include button-variant($primary, $primary);
252
+ }
253
+
254
+ .ql-tooltip .ql-action::before {
255
+ content: 'Edit';
256
+ }
257
+
258
+ .ql-tooltip.ql-editing .ql-action::before {
259
+ content: 'Save';
260
+ }
261
+
262
+ .ql-tooltip .ql-remove::before {
263
+ @include button-variant($white, $white);
264
+ content: 'Remove';
265
+ border-color: $gray-300;
266
+ }
267
+
268
+ .ql-tooltip.ql-editing .ql-remove::before {
269
+ display: none;
270
+ }
271
+
272
+
273
+ // Formatting
274
+
275
+ .ql-editor blockquote {
276
+ margin-bottom: $spacer;
277
+ font-size: $blockquote-font-size;
278
+ }
279
+
280
+ .ql-editor img {
281
+ max-width: 100%;
282
+ height: auto;
283
+ }