@kizmann/nano-ui 0.6.15 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/README.md +1 -0
  2. package/demos/overview.html +17 -12
  3. package/dist/nano-ui.css +1 -1
  4. package/dist/nano-ui.js +3 -3
  5. package/dist/nano-ui.js.map +1 -1
  6. package/dist/themes/basic.css +2028 -1
  7. package/dist/themes/flat.css +1805 -1
  8. package/dist/themes/flat.dark.css +1808 -1
  9. package/dist/themes/light.css +2 -0
  10. package/package.json +2 -2
  11. package/postcss.config.js +1 -1
  12. package/src/alert/index.js +5 -0
  13. package/src/alert/index.scss +1 -0
  14. package/src/alert/src/alert/alert.js +128 -0
  15. package/src/alert/src/alert/alert.scss +83 -0
  16. package/src/index.js +1 -2
  17. package/src/index.scss +1 -0
  18. package/src/input-number/src/input-number/input-number.js +9 -1
  19. package/src/preview/src/preview/preview.scss +1 -0
  20. package/themes/light/alert/index.scss +1 -0
  21. package/themes/{flat-dark/form/src/form-group/form-group.scss → light/alert/src/alert/alert.scss} +11 -2
  22. package/themes/{basic → light}/button/index.scss +0 -0
  23. package/themes/{basic → light}/button/src/button/button.scss +0 -0
  24. package/themes/{basic → light}/button/src/button-group/button-group.scss +0 -0
  25. package/themes/{basic → light}/cascader/index.scss +0 -0
  26. package/themes/{basic → light}/cascader/src/cascader/cascader.scss +0 -0
  27. package/themes/{basic → light}/cascader/src/cascader-panel/cascader-panel.scss +0 -0
  28. package/themes/{basic → light}/checkbox/index.scss +0 -0
  29. package/themes/{basic → light}/checkbox/src/checkbox/checkbox.scss +0 -0
  30. package/themes/{basic → light}/checkbox/src/checkbox-group/checkbox-group.scss +0 -0
  31. package/themes/{basic → light}/collapse/index.scss +0 -0
  32. package/themes/{basic → light}/collapse/src/collapse/collapse.scss +0 -0
  33. package/themes/{basic → light}/collapse/src/collapse-item/collapse-item.scss +0 -0
  34. package/themes/{basic → light}/confirm/index.scss +0 -0
  35. package/themes/{basic → light}/confirm/src/confirm/confirm.scss +0 -0
  36. package/themes/{basic → light}/datepicker/index.scss +0 -0
  37. package/themes/{basic → light}/datepicker/src/datepicker/datepicker.scss +0 -0
  38. package/themes/{basic → light}/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -0
  39. package/themes/{basic → light}/demo/index.scss +0 -0
  40. package/themes/{basic → light}/demo/src/demo/demo.scss +0 -0
  41. package/themes/{basic → light}/draggable/index.scss +0 -0
  42. package/themes/{basic → light}/draggable/src/draggrid/draggrid.scss +0 -0
  43. package/themes/{basic → light}/draggable/src/draggrid-item/draggrid-item.scss +0 -0
  44. package/themes/{basic → light}/draggable/src/draghandler/draghandler.scss +0 -0
  45. package/themes/{basic → light}/draggable/src/draglist/draglist.scss +0 -0
  46. package/themes/{basic → light}/draggable/src/draglist-item/draglist-item.scss +0 -0
  47. package/themes/{basic → light}/empty/index.scss +0 -0
  48. package/themes/{basic → light}/empty/src/empty-icon/empty-icon.scss +0 -0
  49. package/themes/{basic → light}/form/index.scss +0 -0
  50. package/themes/{basic → light}/form/src/form/form.scss +0 -0
  51. package/themes/{basic → light}/form/src/form-group/form-group.scss +0 -0
  52. package/themes/{basic → light}/form/src/form-item/form-item.scss +0 -0
  53. package/themes/{basic → light}/index.scss +1 -0
  54. package/themes/{basic → light}/info/index.scss +0 -0
  55. package/themes/{basic → light}/info/src/info/info.scss +0 -0
  56. package/themes/{basic → light}/info/src/info-column/info-column.scss +0 -0
  57. package/themes/{basic → light}/info/src/info-field/info-field.scss +0 -0
  58. package/themes/{basic → light}/input/index.scss +0 -0
  59. package/themes/{basic → light}/input/src/input/input.scss +0 -0
  60. package/themes/{basic → light}/input-number/index.scss +0 -0
  61. package/themes/{basic → light}/input-number/src/input-number/input-number.scss +0 -0
  62. package/themes/{basic → light}/loader/index.scss +0 -0
  63. package/themes/{basic → light}/loader/src/loader/loader.scss +0 -0
  64. package/themes/{basic → light}/map/index.scss +0 -0
  65. package/themes/{basic → light}/map/src/map/map.scss +0 -0
  66. package/themes/{basic → light}/modal/index.scss +0 -0
  67. package/themes/{basic → light}/modal/src/modal/modal.scss +0 -0
  68. package/themes/{basic → light}/notification/index.scss +0 -0
  69. package/themes/{basic → light}/notification/src/notification/notification.scss +0 -0
  70. package/themes/{basic → light}/paginator/index.scss +0 -0
  71. package/themes/{basic → light}/paginator/src/paginator/paginator.scss +0 -0
  72. package/themes/{basic → light}/popover/index.scss +0 -0
  73. package/themes/{basic → light}/popover/src/popover/popover.scss +0 -0
  74. package/themes/{basic → light}/radio/index.scss +0 -0
  75. package/themes/{basic → light}/radio/src/radio/radio.scss +0 -0
  76. package/themes/{basic → light}/radio/src/radio-group/radio-group.scss +0 -0
  77. package/themes/{basic → light}/resizer/index.scss +0 -0
  78. package/themes/{basic → light}/resizer/src/resizer/resizer.scss +0 -0
  79. package/themes/{basic → light}/root/image/empty-default.svg +0 -0
  80. package/themes/{basic → light}/root/image/empty-space.svg +0 -0
  81. package/themes/{basic → light}/root/vars.scss +0 -0
  82. package/themes/{basic → light}/scrollbar/index.scss +0 -0
  83. package/themes/{basic → light}/scrollbar/src/scrollbar/scrollbar.scss +0 -0
  84. package/themes/{basic → light}/select/index.scss +0 -0
  85. package/themes/{basic → light}/select/src/select/select.scss +0 -0
  86. package/themes/{basic → light}/select/src/select-option/select-option.scss +0 -0
  87. package/themes/{basic → light}/switch/index.scss +0 -0
  88. package/themes/{basic → light}/switch/src/switch/switch.scss +0 -0
  89. package/themes/{basic → light}/table/index.scss +0 -0
  90. package/themes/{basic → light}/table/src/table/table.scss +0 -0
  91. package/themes/{basic → light}/table/src/table-cell/table-cell.scss +0 -0
  92. package/themes/{basic → light}/table/src/table-column/table-column.scss +0 -0
  93. package/themes/{basic → light}/table/src/table-filter/table-filter.scss +0 -0
  94. package/themes/{basic → light}/tabs/index.scss +0 -0
  95. package/themes/{basic → light}/tabs/src/tabs/tabs.scss +0 -0
  96. package/themes/{basic → light}/tabs/src/tabs-item/tabs-item.scss +0 -0
  97. package/themes/{basic → light}/textarea/index.scss +0 -0
  98. package/themes/{basic → light}/textarea/src/textarea/textarea.scss +0 -0
  99. package/themes/{basic → light}/timepicker/index.scss +0 -0
  100. package/themes/{basic → light}/timepicker/src/timepicker/timepicker.scss +0 -0
  101. package/themes/{basic → light}/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -0
  102. package/themes/{basic → light}/transfer/index.scss +0 -0
  103. package/themes/{basic → light}/transfer/src/transfer/transfer.scss +0 -0
  104. package/themes/{basic → light}/virtualscroller/index.scss +0 -0
  105. package/themes/{basic → light}/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -0
  106. package/webpack.config.js +18 -52
  107. package/themes/flat/button/index.scss +0 -2
  108. package/themes/flat/button/src/button/button.scss +0 -46
  109. package/themes/flat/button/src/button-group/button-group.scss +0 -5
  110. package/themes/flat/cascader/index.scss +0 -2
  111. package/themes/flat/cascader/src/cascader/cascader.scss +0 -46
  112. package/themes/flat/cascader/src/cascader-panel/cascader-panel.scss +0 -13
  113. package/themes/flat/checkbox/index.scss +0 -2
  114. package/themes/flat/checkbox/src/checkbox/checkbox.scss +0 -44
  115. package/themes/flat/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
  116. package/themes/flat/confirm/index.scss +0 -1
  117. package/themes/flat/confirm/src/confirm/confirm.scss +0 -13
  118. package/themes/flat/datepicker/index.scss +0 -2
  119. package/themes/flat/datepicker/src/datepicker/datepicker.scss +0 -50
  120. package/themes/flat/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
  121. package/themes/flat/demo/index.scss +0 -1
  122. package/themes/flat/demo/src/demo/demo.scss +0 -11
  123. package/themes/flat/draggable/index.scss +0 -7
  124. package/themes/flat/draggable/src/draggrid/draggrid.scss +0 -13
  125. package/themes/flat/draggable/src/draggrid-item/draggrid-item.scss +0 -65
  126. package/themes/flat/draggable/src/draghandler/draghandler.scss +0 -10
  127. package/themes/flat/draggable/src/draglist/draglist.scss +0 -13
  128. package/themes/flat/draggable/src/draglist-item/draglist-item.scss +0 -72
  129. package/themes/flat/empty/index.scss +0 -1
  130. package/themes/flat/empty/src/empty-icon/empty-icon.scss +0 -13
  131. package/themes/flat/form/index.scss +0 -3
  132. package/themes/flat/form/src/form/form.scss +0 -1
  133. package/themes/flat/form/src/form-group/form-group.scss +0 -17
  134. package/themes/flat/form/src/form-item/form-item.scss +0 -9
  135. package/themes/flat/index.scss +0 -31
  136. package/themes/flat/info/index.scss +0 -3
  137. package/themes/flat/info/src/info/info.scss +0 -5
  138. package/themes/flat/info/src/info-column/info-column.scss +0 -5
  139. package/themes/flat/info/src/info-field/info-field.scss +0 -5
  140. package/themes/flat/input/index.scss +0 -1
  141. package/themes/flat/input/src/input/input.scss +0 -38
  142. package/themes/flat/input-number/index.scss +0 -1
  143. package/themes/flat/input-number/src/input-number/input-number.scss +0 -39
  144. package/themes/flat/loader/index.scss +0 -1
  145. package/themes/flat/loader/src/loader/loader.scss +0 -21
  146. package/themes/flat/map/index.scss +0 -1
  147. package/themes/flat/map/src/map/map.scss +0 -1
  148. package/themes/flat/modal/index.scss +0 -1
  149. package/themes/flat/modal/src/modal/modal.scss +0 -51
  150. package/themes/flat/notification/index.scss +0 -1
  151. package/themes/flat/notification/src/notification/notification.scss +0 -24
  152. package/themes/flat/paginator/index.scss +0 -1
  153. package/themes/flat/paginator/src/paginator/paginator.scss +0 -5
  154. package/themes/flat/popover/index.scss +0 -1
  155. package/themes/flat/popover/src/popover/popover.scss +0 -100
  156. package/themes/flat/radio/index.scss +0 -2
  157. package/themes/flat/radio/src/radio/radio.scss +0 -45
  158. package/themes/flat/radio/src/radio-group/radio-group.scss +0 -1
  159. package/themes/flat/resizer/index.scss +0 -1
  160. package/themes/flat/resizer/src/resizer/resizer.scss +0 -5
  161. package/themes/flat/root/image/empty-default.svg +0 -30
  162. package/themes/flat/root/image/empty-space.svg +0 -34
  163. package/themes/flat/root/vars.scss +0 -160
  164. package/themes/flat/scrollbar/index.scss +0 -1
  165. package/themes/flat/scrollbar/src/scrollbar/scrollbar.scss +0 -6
  166. package/themes/flat/select/index.scss +0 -2
  167. package/themes/flat/select/src/select/select.scss +0 -46
  168. package/themes/flat/select/src/select-option/select-option.scss +0 -1
  169. package/themes/flat/switch/index.scss +0 -1
  170. package/themes/flat/switch/src/switch/switch.scss +0 -28
  171. package/themes/flat/table/index.scss +0 -4
  172. package/themes/flat/table/src/table/table.scss +0 -15
  173. package/themes/flat/table/src/table-cell/table-cell.scss +0 -51
  174. package/themes/flat/table/src/table-column/table-column.scss +0 -32
  175. package/themes/flat/table/src/table-filter/table-filter.scss +0 -1
  176. package/themes/flat/tabs/index.scss +0 -2
  177. package/themes/flat/tabs/src/tabs/tabs.scss +0 -21
  178. package/themes/flat/tabs/src/tabs-item/tabs-item.scss +0 -18
  179. package/themes/flat/textarea/index.scss +0 -1
  180. package/themes/flat/textarea/src/textarea/textarea.scss +0 -30
  181. package/themes/flat/timepicker/index.scss +0 -2
  182. package/themes/flat/timepicker/src/timepicker/timepicker.scss +0 -50
  183. package/themes/flat/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
  184. package/themes/flat/transfer/index.scss +0 -1
  185. package/themes/flat/transfer/src/transfer/transfer.scss +0 -20
  186. package/themes/flat/virtualscroller/index.scss +0 -1
  187. package/themes/flat/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
  188. package/themes/flat-dark/button/index.scss +0 -2
  189. package/themes/flat-dark/button/src/button/button.scss +0 -50
  190. package/themes/flat-dark/button/src/button-group/button-group.scss +0 -5
  191. package/themes/flat-dark/cascader/index.scss +0 -2
  192. package/themes/flat-dark/cascader/src/cascader/cascader.scss +0 -46
  193. package/themes/flat-dark/cascader/src/cascader-panel/cascader-panel.scss +0 -13
  194. package/themes/flat-dark/checkbox/index.scss +0 -2
  195. package/themes/flat-dark/checkbox/src/checkbox/checkbox.scss +0 -44
  196. package/themes/flat-dark/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
  197. package/themes/flat-dark/confirm/index.scss +0 -1
  198. package/themes/flat-dark/confirm/src/confirm/confirm.scss +0 -13
  199. package/themes/flat-dark/datepicker/index.scss +0 -2
  200. package/themes/flat-dark/datepicker/src/datepicker/datepicker.scss +0 -50
  201. package/themes/flat-dark/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
  202. package/themes/flat-dark/demo/index.scss +0 -1
  203. package/themes/flat-dark/demo/src/demo/demo.scss +0 -11
  204. package/themes/flat-dark/draggable/index.scss +0 -7
  205. package/themes/flat-dark/draggable/src/draggrid/draggrid.scss +0 -13
  206. package/themes/flat-dark/draggable/src/draggrid-item/draggrid-item.scss +0 -65
  207. package/themes/flat-dark/draggable/src/draghandler/draghandler.scss +0 -10
  208. package/themes/flat-dark/draggable/src/draglist/draglist.scss +0 -13
  209. package/themes/flat-dark/draggable/src/draglist-item/draglist-item.scss +0 -72
  210. package/themes/flat-dark/empty/index.scss +0 -1
  211. package/themes/flat-dark/empty/src/empty-icon/empty-icon.scss +0 -13
  212. package/themes/flat-dark/form/index.scss +0 -3
  213. package/themes/flat-dark/form/src/form/form.scss +0 -1
  214. package/themes/flat-dark/form/src/form-item/form-item.scss +0 -9
  215. package/themes/flat-dark/index.scss +0 -31
  216. package/themes/flat-dark/info/index.scss +0 -3
  217. package/themes/flat-dark/info/src/info/info.scss +0 -5
  218. package/themes/flat-dark/info/src/info-column/info-column.scss +0 -5
  219. package/themes/flat-dark/info/src/info-field/info-field.scss +0 -5
  220. package/themes/flat-dark/input/index.scss +0 -1
  221. package/themes/flat-dark/input/src/input/input.scss +0 -38
  222. package/themes/flat-dark/input-number/index.scss +0 -1
  223. package/themes/flat-dark/input-number/src/input-number/input-number.scss +0 -39
  224. package/themes/flat-dark/loader/index.scss +0 -1
  225. package/themes/flat-dark/loader/src/loader/loader.scss +0 -21
  226. package/themes/flat-dark/map/index.scss +0 -1
  227. package/themes/flat-dark/map/src/map/map.scss +0 -1
  228. package/themes/flat-dark/modal/index.scss +0 -1
  229. package/themes/flat-dark/modal/src/modal/modal.scss +0 -51
  230. package/themes/flat-dark/notification/index.scss +0 -1
  231. package/themes/flat-dark/notification/src/notification/notification.scss +0 -24
  232. package/themes/flat-dark/paginator/index.scss +0 -1
  233. package/themes/flat-dark/paginator/src/paginator/paginator.scss +0 -5
  234. package/themes/flat-dark/popover/index.scss +0 -1
  235. package/themes/flat-dark/popover/src/popover/popover.scss +0 -100
  236. package/themes/flat-dark/radio/index.scss +0 -2
  237. package/themes/flat-dark/radio/src/radio/radio.scss +0 -45
  238. package/themes/flat-dark/radio/src/radio-group/radio-group.scss +0 -1
  239. package/themes/flat-dark/resizer/index.scss +0 -1
  240. package/themes/flat-dark/resizer/src/resizer/resizer.scss +0 -5
  241. package/themes/flat-dark/root/image/empty-default.svg +0 -30
  242. package/themes/flat-dark/root/image/empty-space.svg +0 -34
  243. package/themes/flat-dark/root/vars.scss +0 -160
  244. package/themes/flat-dark/scrollbar/index.scss +0 -1
  245. package/themes/flat-dark/scrollbar/src/scrollbar/scrollbar.scss +0 -6
  246. package/themes/flat-dark/select/index.scss +0 -2
  247. package/themes/flat-dark/select/src/select/select.scss +0 -46
  248. package/themes/flat-dark/select/src/select-option/select-option.scss +0 -1
  249. package/themes/flat-dark/switch/index.scss +0 -1
  250. package/themes/flat-dark/switch/src/switch/switch.scss +0 -28
  251. package/themes/flat-dark/table/index.scss +0 -4
  252. package/themes/flat-dark/table/src/table/table.scss +0 -15
  253. package/themes/flat-dark/table/src/table-cell/table-cell.scss +0 -51
  254. package/themes/flat-dark/table/src/table-column/table-column.scss +0 -32
  255. package/themes/flat-dark/table/src/table-filter/table-filter.scss +0 -1
  256. package/themes/flat-dark/tabs/index.scss +0 -2
  257. package/themes/flat-dark/tabs/src/tabs/tabs.scss +0 -21
  258. package/themes/flat-dark/tabs/src/tabs-item/tabs-item.scss +0 -18
  259. package/themes/flat-dark/textarea/index.scss +0 -1
  260. package/themes/flat-dark/textarea/src/textarea/textarea.scss +0 -30
  261. package/themes/flat-dark/timepicker/index.scss +0 -2
  262. package/themes/flat-dark/timepicker/src/timepicker/timepicker.scss +0 -50
  263. package/themes/flat-dark/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
  264. package/themes/flat-dark/transfer/index.scss +0 -1
  265. package/themes/flat-dark/transfer/src/transfer/transfer.scss +0 -20
  266. package/themes/flat-dark/virtualscroller/index.scss +0 -1
  267. package/themes/flat-dark/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
@@ -1,13 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-empty-icon--default .n-empty-icon__frame {
4
- background-image: svg-load('empty-default.svg', fill=$color-black);
5
- }
6
-
7
- .n-empty-icon--ufo .n-empty-icon__frame {
8
- background-image: svg-load('empty-space.svg', fill=$color-black);
9
- }
10
-
11
- .n-empty-icon__text {
12
- color: rgba($color-black, 0.4);
13
- }
@@ -1,3 +0,0 @@
1
- @import "./src/form/form";
2
- @import "./src/form-group/form-group";
3
- @import "./src/form-item/form-item";
@@ -1 +0,0 @@
1
- @import "../../../root/vars";
@@ -1,17 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-form-group__collapse {
4
- color: $color-gray-40;
5
- }
6
-
7
- @each $color, $values in $colors {
8
-
9
- $-color-base: map_get($values, 'base');
10
- $-color-light: map_get($values, 'light');
11
- $-color-dark: map_get($values, 'dark');
12
-
13
- .n-form-group--#{$color} .n-form-group__label i {
14
- color: $-color-base;
15
- }
16
-
17
- }
@@ -1,9 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-form-item__label label {
4
- color: $color-gray-60;
5
- }
6
-
7
- .n-form-item__error {
8
- color: $color-danger;
9
- }
@@ -1,31 +0,0 @@
1
- @import "./empty/index";
2
- @import "./notification/index";
3
- @import "./scrollbar/index";
4
- @import "./resizer/index";
5
- @import "./virtualscroller/index";
6
- @import "./draggable/index";
7
- @import "./loader/index";
8
- @import "./form/index";
9
- @import "./button/index";
10
- @import "./input/index";
11
- @import "./input-number/index";
12
- @import "./textarea/index";
13
- @import "./switch/index";
14
- @import "./checkbox/index";
15
- @import "./radio/index";
16
- @import "./select/index";
17
- @import "./cascader/index";
18
- @import "./datepicker/index";
19
- @import "./timepicker/index";
20
- @import "./transfer/index";
21
- @import "./popover/index";
22
- @import "./modal/index";
23
- @import "./confirm/index";
24
- @import "./table/index";
25
- @import "./paginator/index";
26
- @import "./tabs/index";
27
- @import "./info/index";
28
- @import "./map/index";
29
-
30
- @import "./demo/index";
31
-
@@ -1,3 +0,0 @@
1
- @import "./src/info/info";
2
- @import "./src/info-column/info-column";
3
- @import "./src/info-field/info-field";
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-info {
4
- border: 1px solid $color-gray-10;
5
- }
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-info-column {
4
- color: $color-gray-60;
5
- }
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-info-field.n-info-field--image > div {
4
- background-color: rgba($color-gray-50, 0.2);
5
- }
@@ -1 +0,0 @@
1
- @import "./src/input/input";
@@ -1,38 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-input {
4
- background: $color-gray-05;
5
- //border: 1px solid $color-gray-15;
6
- }
7
-
8
- .n-input.n-disabled input {
9
- background: rgba($color-gray-25, 0.3);
10
- }
11
-
12
- .n-input .n-button--input {
13
- color: $color-gray-60;
14
- }
15
-
16
- @each $color, $values in $colors {
17
-
18
- $-color-base: map_get($values, 'base');
19
- $-color-light: map_get($values, 'light');
20
- $-color-dark: map_get($values, 'dark');
21
-
22
- /**
23
- * Button primary
24
- */
25
-
26
- .n-input--#{$color}:not(.n-disabled):hover {
27
- //border-color: $-color-base;
28
- }
29
-
30
- .n-input--#{$color}:not(.n-disabled).n-focus {
31
- border-color: $-color-light;
32
- }
33
-
34
- .n-input--#{$color}:not(.n-disabled) .n-button--input:not(.n-disabled):hover {
35
- color: $-color-base;
36
- }
37
-
38
- }
@@ -1 +0,0 @@
1
- @import "./src/input-number/input-number";
@@ -1,39 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-input-number {
4
- background: $color-gray-05;
5
- //border: 1px solid $color-gray-15;
6
- }
7
-
8
- .n-input-number.n-disabled input {
9
- background: rgba($color-gray-25, 0.3);
10
- }
11
-
12
- .n-input-number .n-button {
13
- color: $color-gray-60;
14
- background: rgba($color-gray-15, 0.5);
15
- }
16
-
17
- @each $color, $values in $colors {
18
-
19
- $-color-base: map_get($values, 'base');
20
- $-color-light: map_get($values, 'light');
21
- $-color-dark: map_get($values, 'dark');
22
-
23
- /**
24
- * Button primary
25
- */
26
-
27
- .n-input-number--#{$color}:not(.n-disabled):hover {
28
- //border-color: $-color-base;
29
- }
30
-
31
- .n-input-number--#{$color}:not(.n-disabled).n-focus {
32
- border-color: $-color-light;
33
- }
34
-
35
- .n-input-number--#{$color}:not(.n-disabled) .n-button:hover {
36
- color: $-color-base;
37
- }
38
-
39
- }
@@ -1 +0,0 @@
1
- @import "./src/loader/loader";
@@ -1,21 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-load:before {
4
- border: 2px solid $color-primary;
5
- }
6
-
7
- .n-load:after {
8
- background: rgba($color-white, 0.7);
9
- }
10
-
11
- @each $color, $values in $colors {
12
-
13
- $-color-base: map_get($values, 'base');
14
- $-color-light: map_get($values, 'light');
15
- $-color-dark: map_get($values, 'dark');
16
-
17
- .n-loader--#{$color}.n-load:before {
18
- border-color: $-color-base;
19
- }
20
-
21
- }
@@ -1 +0,0 @@
1
- @import "./src/map/map";
@@ -1 +0,0 @@
1
- @import "../../../root/vars";
@@ -1 +0,0 @@
1
- @import "./src/modal/modal";
@@ -1,51 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- $modal: (
4
- 'default': (
5
- 'color': $color-black,
6
- 'border': $color-gray-10,
7
- 'header': $color-gray-05,
8
- 'body': $color-white,
9
- 'footer': $color-gray-05,
10
- ),
11
- 'preview': (
12
- 'color': $color-white,
13
- 'border': $color-gray-90,
14
- 'header': $color-gray-95,
15
- 'body': $color-black,
16
- 'footer': $color-gray-95,
17
- )
18
- ) !default;
19
-
20
- .n-modal__backdrop {
21
- background: rgba($color-black, 0.6);
22
- }
23
-
24
- .n-modal__frame {
25
- box-shadow: 0 1px 5px 1px rgba($color-shadow, 0.20);
26
- }
27
-
28
- @each $suffix, $values in $modal {
29
-
30
- $-modal-color: map-get($values, 'color');
31
- $-modal-border: map-get($values, 'border');
32
- $-modal-header: map-get($values, 'header');
33
- $-modal-body: map-get($values, 'body');
34
- $-modal-footer: map-get($values, 'footer');
35
-
36
- .n-modal--#{$suffix} .n-modal__frame {
37
- color: $-modal-color;
38
- background: $-modal-body;
39
- }
40
-
41
- .n-modal--#{$suffix} .n-modal__header {
42
- border-bottom: 1px solid $-modal-border;
43
- background: $-modal-header;
44
- }
45
-
46
- .n-modal--#{$suffix} .n-modal__footer {
47
- border-top: 1px solid $-modal-border;
48
- background: $-modal-footer;
49
- }
50
-
51
- }
@@ -1 +0,0 @@
1
- @import "./src/notification/notification";
@@ -1,24 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-notification {
4
- background: $color-white;
5
- box-shadow: 0 1px 5px 1px rgba($color-shadow, 0.20);
6
- }
7
-
8
-
9
- @each $color, $values in $colors {
10
-
11
- $-color-base: map_get($values, 'base');
12
- $-color-light: map_get($values, 'light');
13
- $-color-dark: map_get($values, 'dark');
14
-
15
- .n-notification--#{$color} {
16
- background: $-color-base;
17
- }
18
-
19
- .n-notification--#{$color} .n-notification__icon,
20
- .n-notification--#{$color} .n-notification__text {
21
- color: $color-white;
22
- }
23
-
24
- }
@@ -1 +0,0 @@
1
- @import "./src/paginator/paginator";
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-paginator {
4
- color: $color-gray-60;
5
- }
@@ -1 +0,0 @@
1
- @import "./src/popover/popover";
@@ -1,100 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- $popover: (
4
- 'default': (
5
- 'color': $color-black,
6
- 'border': $color-gray-10,
7
- 'header': $color-gray-05,
8
- 'body': $color-white,
9
- 'footer': $color-gray-05,
10
- ),
11
- 'negative': (
12
- 'color': $color-white,
13
- 'border': $color-gray-95,
14
- 'header': $color-gray-95,
15
- 'body': $color-black,
16
- 'footer': $color-gray-95,
17
- )
18
- ) !default;
19
-
20
- .n-popover__frame {
21
- box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
22
- }
23
-
24
- .n-popover-group,
25
- .n-popover-option {
26
- color: $color-black;
27
- }
28
-
29
- .n-popover-group {
30
- color: $color-black;
31
- }
32
-
33
- .n-popover-option:not(.n-disabled).n-hover,
34
- .n-popover-option:not(.n-disabled):hover {
35
- background: rgba($color-gray-50, 0.07);
36
- }
37
-
38
- .n-popover-option:not(.n-disabled).n-focus,
39
- .n-popover-option:not(.n-disabled).n-focus:hover {
40
- background: rgba($color-gray-50, 0.14);
41
- }
42
-
43
- .n-popover-option .n-image {
44
- color: $color-gray-60;
45
- }
46
-
47
- .n-popover-option .n-icon {
48
- color: $color-gray-60;
49
- }
50
-
51
- @each $suffix, $values in $popover {
52
-
53
- $-popover-color: map-get($values, 'color');
54
- $-popover-border: map-get($values, 'border');
55
- $-popover-header: map-get($values, 'header');
56
- $-popover-body: map-get($values, 'body');
57
- $-popover-footer: map-get($values, 'footer');
58
-
59
- .n-popover--#{$suffix} .n-popover__frame {
60
- color: $-popover-color;
61
- background: $-popover-body;
62
- }
63
-
64
- .n-popover--#{$suffix} .n-popover__header {
65
- border-bottom: 1px solid $-popover-border;
66
- background: $-popover-header;
67
- }
68
-
69
- .n-popover--#{$suffix} .n-popover__footer {
70
- border-top: 1px solid $-popover-border;
71
- background: $-popover-footer;
72
- }
73
-
74
- .n-popover--#{$suffix} .n-popover-option {
75
- color: $-popover-color;
76
- }
77
-
78
- }
79
-
80
- @each $color, $values in $colors {
81
-
82
- $-color-base: map_get($values, 'base');
83
- $-color-light: map_get($values, 'light');
84
- $-color-dark: map_get($values, 'dark');
85
-
86
- .n-popover-option--#{$color}.n-active,
87
- .n-popover-option--#{$color} .n-icon {
88
- color: $-color-base;
89
- }
90
-
91
- }
92
-
93
- .n-popover--tooltip .n-popover__frame {
94
- color: $color-white;
95
- background: rgba($color-black, 0.9);
96
- }
97
-
98
- .n-popover--tooltip .n-popover__body {
99
- padding: 3px 8px;
100
- }
@@ -1,2 +0,0 @@
1
- @import "./src/radio/radio";
2
- @import "./src/radio-group/radio-group";
@@ -1,45 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-radio__radio {
4
- color: $color-black;
5
- background: $color-gray-10;
6
- //border: 1px solid $color-gray-15;
7
- }
8
-
9
- .n-radio.n-disabled .n-radio__radio {
10
- background: rgba($color-gray-25, 0.3);
11
- }
12
-
13
- .n-radio__radio span {
14
- background: $color-black;
15
- }
16
-
17
- @each $color, $values in $colors {
18
-
19
- $-color-base: map_get($values, 'base');
20
- $-color-light: map_get($values, 'light');
21
- $-color-dark: map_get($values, 'dark');
22
-
23
- .n-radio--#{$color}:not(.n-disabled):hover .n-radio__radio {
24
- //border-color: $-color-base;
25
- }
26
-
27
- .n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio {
28
- background: $-color-base;
29
- border-color: $-color-base;
30
- }
31
-
32
- .n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio span {
33
- background: $color-white;
34
- }
35
-
36
- .n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio:not(.n-disabled):hover {
37
- background: $-color-light;
38
- border-color: $-color-light;
39
- }
40
-
41
- .n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__label {
42
- color: $-color-base;
43
- }
44
-
45
- }
@@ -1 +0,0 @@
1
- @import "../../../root/vars";
@@ -1 +0,0 @@
1
- @import "./src/resizer/resizer";
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-resizer__handle:before {
4
- background: rgba($color-primary, 0.9);
5
- }
@@ -1,30 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 320 320" style="enable-background:new 0 0 320 320;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{opacity:0.2;}
7
- .st1{opacity:0.4;}
8
- .st2{opacity:0.6;}
9
- .st3{opacity:0.5;}
10
- .st4{opacity:0.8;}
11
- </style>
12
- <g id="Ebene_1_5_">
13
- <path class="st0" d="M99,191.8c1.7,0,3.3,1,3.9,2.6l6.8,15.7c1.7,3.9,5.6,6.5,9.9,6.5H204c4.3,0,8.2-2.5,9.9-6.5l6.8-15.7
14
- c0.7-1.6,2.2-2.6,3.9-2.6h22.5v-82h-48.6c-14.8,0-26.7-12-26.7-26.7V34.5H94.3c-9.8,0-17.8,8-17.8,17.8v139.5H99z"/>
15
- <path class="st1" d="M198.5,109.8h48.6l-75.4-75.4v48.6C171.8,97.9,183.7,109.8,198.5,109.8z"/>
16
- <path class="st2" d="M141.8,107.4h-24.1c-3.8,0-7-3.1-7-7l0,0c0-3.8,3.1-7,7-7h24.1c3.8,0,7,3.1,7,7l0,0
17
- C148.7,104.3,145.6,107.4,141.8,107.4z"/>
18
- <path class="st2" d="M210.9,152.2h-92.5c-4.2,0-7.6-3.4-7.6-7.6v0c0-4.2,3.4-7.6,7.6-7.6h92.5c4.2,0,7.6,3.4,7.6,7.6v0
19
- C218.6,148.8,215.2,152.2,210.9,152.2z"/>
20
- <path class="st2" d="M210.9,188.6h-92.5c-4.2,0-7.6-3.4-7.6-7.6v0c0-4.2,3.4-7.6,7.6-7.6h92.5c4.2,0,7.6,3.4,7.6,7.6v0
21
- C218.6,185.1,215.2,188.6,210.9,188.6z"/>
22
- </g>
23
- <path class="st3" d="M220.7,194.4l-6.8,15.7c-1.7,3.9-5.6,6.5-9.9,6.5h-84.3c-4.3,0-8.2-2.5-9.9-6.5l-6.8-15.7
24
- c-0.7-1.6-2.2-2.6-3.9-2.6H37V278c0,5.9,4.8,10.8,10.8,10.8h228.1c5.9,0,10.8-4.8,10.8-10.8v-86.1h-62
25
- C222.9,191.8,221.4,192.8,220.7,194.4z"/>
26
- <g class="st4">
27
- <polygon points="76.5,142 37,191.8 76.5,191.8 "/>
28
- <polygon points="247.1,142 247.1,191.8 286.6,191.8 "/>
29
- </g>
30
- </svg>
@@ -1,34 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 320 320" style="enable-background:new 0 0 320 320;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{opacity:0.3;enable-background:new ;}
7
- .st1{display:none;fill:#898E93;}
8
- .st2{opacity:0.7;}
9
- .st3{opacity:0.15;enable-background:new ;}
10
- .st4{opacity:0.5;fill:url(#SVGID_1_);enable-background:new ;}
11
- .st5{opacity:0.6;}
12
- .st6{opacity:0.3;}
13
- </style>
14
- <ellipse class="st0" cx="160.5" cy="270" rx="106.5" ry="32"/>
15
- <rect x="141.6" y="125.7" transform="matrix(0.4341 -0.9009 0.9009 0.4341 -36.7959 214.9154)" class="st1" width="22.1" height="22.1"/>
16
- <circle class="st1" cx="192.8" cy="187.3" r="15.1"/>
17
- <path class="st1" d="M124.8,262.5l-15.3-52l52.9,11.7L124.8,262.5z"/>
18
- <path class="st2" d="M216.8,94.2c0-8.7-25.2-15.8-56.3-15.8s-56.3,7.1-56.3,15.8l3.6,10c0-8.2,23.6-14.8,52.8-14.8
19
- s52.8,6.6,52.8,14.8L216.8,94.2z"/>
20
- <path class="st3" d="M160.5,238c51.7,0,94.9,11.1,104.5,25.8l-51.7-159.6c0-8.2-23.6-14.8-52.8-14.8s-52.8,6.6-52.8,14.8L56,263.8
21
- C65.6,249.1,108.8,238,160.5,238z"/>
22
- <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="160.5" y1="123.1656" x2="160.5" y2="220.5235" gradientTransform="matrix(1 0 0 -1 0 322)">
23
- <stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0"/>
24
- <stop offset="1" style="stop-color:#FFFFFF"/>
25
- </linearGradient>
26
- <path class="st4" d="M160.5,89.3c-9.7,0-18.8,0.7-26.6,2L108,203.2h105L187.1,91.4C179.3,90.1,170.2,89.3,160.5,89.3z"/>
27
- <path class="st5" d="M160.5,40c17.2,0,33.2,1.8,47.4,4.8c-5.2-14.9-24.4-26-47.4-26s-42.2,11.1-47.4,26
28
- C127.3,41.9,143.3,40,160.5,40z"/>
29
- <path d="M160.5,50.7C100,50.7,51,64,51,80.4c0,11.2,22.6,20.9,56,26l0.7-2.3l-3.6-10c0-8.7,25.2-15.8,56.3-15.8s56.3,7.1,56.3,15.8
30
- l-3.6,10l0.7,2.3c33.4-5.1,56-14.8,56-26C270,64,221,50.7,160.5,50.7z"/>
31
- <path class="st6" d="M160.5,50.7C221,50.7,270,64,270,80.4C270,64,223.2,40,160.5,40S51,64,51,80.4C51,64,100,50.7,160.5,50.7z"/>
32
- <image style="overflow:visible;" width="352" height="368" xlink:href="../../../../../Desktop/Screen Shot 2021-01-22 at 4.55.46 PM.png" transform="matrix(0.5 0 0 0.5 -202.8271 18.7864)">
33
- </image>
34
- </svg>