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,47 @@
1
+ .cell-label {
2
+ padding-top: 0.15em;
3
+
4
+ &:hover {
5
+ a {
6
+ color: $action-color;
7
+ }
8
+
9
+ svg {
10
+ fill: $action-color;
11
+ transform: rotate(180deg);
12
+ }
13
+ }
14
+
15
+ a {
16
+ color: inherit;
17
+ display: inline-block;
18
+ transition: color $base-duration $base-timing;
19
+ width: 100%;
20
+ }
21
+ }
22
+
23
+ .cell-label--asc,
24
+ .cell-label--desc {
25
+ font-weight: $bold-font-weight;
26
+ }
27
+
28
+ .cell-label__sort-indicator {
29
+ float: right;
30
+ margin-left: 5px;
31
+
32
+ svg {
33
+ fill: $hint-grey;
34
+ height: 13px;
35
+ transition: transform $base-duration $base-timing;
36
+ width: 13px;
37
+ }
38
+ }
39
+
40
+ .cell-label__sort-indicator--desc {
41
+ transform: rotate(180deg);
42
+ }
43
+
44
+ .cell-data--number,
45
+ .cell-label--number {
46
+ text-align: right;
47
+ }
@@ -0,0 +1,45 @@
1
+ .field-unit {
2
+ @include administrate-clearfix;
3
+ align-items: center;
4
+ display: flex;
5
+ margin-bottom: $base-spacing;
6
+ position: relative;
7
+ width: 100%;
8
+ }
9
+
10
+ .field-unit__label {
11
+ float: left;
12
+ margin-left: 1rem;
13
+ text-align: right;
14
+ width: calc(15% - 1rem);
15
+ }
16
+
17
+ .field-unit__field {
18
+ float: left;
19
+ margin-left: 2rem;
20
+ max-width: 50rem;
21
+ width: 100%;
22
+ }
23
+
24
+ .field-unit--nested {
25
+ border: $base-border;
26
+ margin-left: 7.5%;
27
+ max-width: 60rem;
28
+ padding: $small-spacing;
29
+ width: 100%;
30
+
31
+ .field-unit__field {
32
+ width: 100%;
33
+ }
34
+
35
+ .field-unit__label {
36
+ width: 10rem;
37
+ }
38
+ }
39
+
40
+ .field-unit--required {
41
+ label::after {
42
+ color: $red;
43
+ content: " *";
44
+ }
45
+ }
@@ -0,0 +1,28 @@
1
+ $base-spacing: 1.5em !default;
2
+ $flashes: (
3
+ "alert": #fff6bf,
4
+ "error": #fbe3e4,
5
+ "notice": #e5edf8,
6
+ "success": #e6efc2,
7
+ ) !default;
8
+
9
+ @each $flash-type, $color in $flashes {
10
+ .flash-#{$flash-type} {
11
+ background-color: $color;
12
+ color: mix($black, $color, 60%);
13
+ display: block;
14
+ margin-bottom: $base-spacing / 2;
15
+ padding: $base-spacing / 2;
16
+ text-align: center;
17
+
18
+ a {
19
+ color: mix($black, $color, 70%);
20
+ text-decoration: underline;
21
+
22
+ &:focus,
23
+ &:hover {
24
+ color: mix($black, $color, 90%);
25
+ }
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,3 @@
1
+ .form-actions {
2
+ margin-left: calc(15% + 2rem);
3
+ }
@@ -0,0 +1,29 @@
1
+ .main-content {
2
+ background-color: $white;
3
+ border-radius: $base-border-radius;
4
+ box-shadow: 0 0 6px 0 rgba($black, 0.12),
5
+ 0 2px 2px rgba($black, 0.2);
6
+ flex: 1 1 100%;
7
+ padding-bottom: 10vh;
8
+ }
9
+
10
+ .main-content__header,
11
+ .main-content__body {
12
+ padding: 1rem 2rem;
13
+ }
14
+
15
+ .main-content__body--flush {
16
+ padding-left: 0;
17
+ padding-right: 0;
18
+ }
19
+
20
+ .main-content__header {
21
+ align-items: center;
22
+ border-bottom: $base-border;
23
+ display: flex;
24
+ }
25
+
26
+ .main-content__page-title {
27
+ font-size: 1.6em;
28
+ margin-right: auto;
29
+ }
@@ -0,0 +1,32 @@
1
+ $_navigation-link-padding: 0.6em;
2
+
3
+ .navigation {
4
+ flex: 1 0 10rem;
5
+ padding: $base-spacing;
6
+ padding-left: 0;
7
+ }
8
+
9
+ .navigation__link {
10
+ background-color: transparent;
11
+ color: $base-font-color;
12
+ display: block;
13
+ line-height: 1;
14
+ margin-left: -($_navigation-link-padding);
15
+ padding: $_navigation-link-padding;
16
+ transition: background-color $base-duration $base-timing,
17
+ color $base-duration $base-timing;
18
+
19
+ &:not(:last-of-type) {
20
+ margin-bottom: $small-spacing;
21
+ }
22
+
23
+ &:hover {
24
+ background-color: mix($black, $base-background-color, 5%);
25
+ border-radius: $base-border-radius;
26
+ color: $base-font-color;
27
+ }
28
+ }
29
+
30
+ .navigation__link--active {
31
+ font-weight: $bold-font-weight;
32
+ }
@@ -0,0 +1,18 @@
1
+ .pagination {
2
+ margin-top: $base-spacing;
3
+ padding-left: $base-spacing;
4
+ padding-right: $base-spacing;
5
+ text-align: center;
6
+
7
+ .first,
8
+ .prev,
9
+ .page,
10
+ .next,
11
+ .last {
12
+ margin: $small-spacing;
13
+ }
14
+
15
+ .current {
16
+ font-weight: $bold-font-weight;
17
+ }
18
+ }
@@ -0,0 +1,46 @@
1
+ $_search-icon-size: 1rem;
2
+
3
+ .search {
4
+ margin-left: auto;
5
+ margin-right: 2rem;
6
+ max-width: 20rem;
7
+ position: relative;
8
+ width: 100%;
9
+ }
10
+
11
+ .search__input {
12
+ border-radius: 100rem;
13
+ padding-left: $_search-icon-size * 2.5;
14
+ padding-right: $_search-icon-size * 2.5;
15
+ }
16
+
17
+ .search__eyeglass-icon {
18
+ fill: $grey-7;
19
+ height: $_search-icon-size;
20
+ left: $_search-icon-size;
21
+ position: absolute;
22
+ top: 50%;
23
+ transform: translateY(-50%);
24
+ width: $_search-icon-size;
25
+ }
26
+
27
+ .search__clear-link {
28
+ height: $_search-icon-size;
29
+ position: absolute;
30
+ right: $_search-icon-size * 0.75;
31
+ top: 50%;
32
+ transform: translateY(-50%);
33
+ width: $_search-icon-size;
34
+ }
35
+
36
+ .search__clear-icon {
37
+ fill: $grey-5;
38
+ height: $_search-icon-size;
39
+ position: absolute;
40
+ transition: fill $base-duration $base-timing;
41
+ width: $_search-icon-size;
42
+
43
+ &:hover {
44
+ fill: $action-color;
45
+ }
46
+ }
@@ -0,0 +1,34 @@
1
+ // start by import the Frint from the template
2
+
3
+ // the add the Administrate to overwritte some stuff
4
+ // Adminitrate base FRONT
5
+ @charset "utf-8";
6
+
7
+ @import "reset/normalize";
8
+
9
+ @import "selectize";
10
+ @import "datetime_picker";
11
+
12
+ @import "library/clearfix";
13
+ @import "library/data-label";
14
+ // @import "library/variables"; // are imported directly inside the rails app
15
+
16
+ @import "base/forms";
17
+ @import "base/layout";
18
+ @import "base/lists";
19
+ @import "base/tables";
20
+ @import "base/typography";
21
+
22
+ @import "components/app-container";
23
+ @import "components/attributes";
24
+ @import "components/buttons";
25
+ @import "components/cells";
26
+ @import "components/field-unit";
27
+ @import "components/flashes";
28
+ @import "components/form-actions";
29
+ @import "components/main-content";
30
+ @import "components/navigation";
31
+ @import "components/pagination";
32
+ @import "components/search";
33
+
34
+ @import "utilities/text-color";
@@ -0,0 +1,7 @@
1
+ @mixin administrate-clearfix {
2
+ &::after {
3
+ clear: both;
4
+ content: "";
5
+ display: block;
6
+ }
7
+ }
@@ -0,0 +1,8 @@
1
+ @mixin data-label {
2
+ color: $hint-grey;
3
+ font-size: 0.8em;
4
+ font-weight: 400;
5
+ letter-spacing: 0.0357em;
6
+ position: relative;
7
+ text-transform: uppercase;
8
+ }