@dejwcake/craftable 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/dist/admin/Admin.js +42 -0
  4. package/dist/auth/Form.js +15 -0
  5. package/dist/base-components/Form/BaseForm.js +392 -0
  6. package/dist/base-components/Form/BaseUpload.js +188 -0
  7. package/dist/base-components/Form/bootstrap.js +21 -0
  8. package/dist/base-components/Listing/BaseListing.js +454 -0
  9. package/dist/base-components/Listing/components/Pagination.js +105 -0
  10. package/dist/base-components/Listing/components/Sortable.js +48 -0
  11. package/dist/base-components/Listing/components/UserDetailTooltip.js +55 -0
  12. package/dist/index.js +70 -0
  13. package/dist/overrides/trumbowyg.edit-embed-template.js +72 -0
  14. package/dist/overrides/trumbowyg.reupload.js +146 -0
  15. package/dist/overrides/trumbowyg.template.js +67 -0
  16. package/dist/translation/Form.js +15 -0
  17. package/dist/translation/Listing.js +283 -0
  18. package/dist/ui/index.js +33 -0
  19. package/img/favicon.png +0 -0
  20. package/img/logo.png +0 -0
  21. package/package.json +64 -0
  22. package/scss/_images.scss +18 -0
  23. package/scss/_variables.scss +17 -0
  24. package/scss/app.scss +9 -0
  25. package/scss/overrides/_alerts.scss +19 -0
  26. package/scss/overrides/_badges.scss +15 -0
  27. package/scss/overrides/_buttons.scss +62 -0
  28. package/scss/overrides/_cards.scss +72 -0
  29. package/scss/overrides/_checkboxes.scss +84 -0
  30. package/scss/overrides/_forms.scss +231 -0
  31. package/scss/overrides/_index.scss +19 -0
  32. package/scss/overrides/_keyframes.scss +23 -0
  33. package/scss/overrides/_layout.scss +47 -0
  34. package/scss/overrides/_media-wysiwyg.scss +111 -0
  35. package/scss/overrides/_modal.scss +26 -0
  36. package/scss/overrides/_multiselect.scss +39 -0
  37. package/scss/overrides/_nav.scss +87 -0
  38. package/scss/overrides/_notifications.scss +7 -0
  39. package/scss/overrides/_pagination.scss +38 -0
  40. package/scss/overrides/_switches.scss +23 -0
  41. package/scss/overrides/_tables.scss +64 -0
  42. package/scss/overrides/_text.scss +15 -0
  43. package/scss/overrides/_wysiwyg.scss +62 -0
  44. package/scss/styles/_auth.scss +92 -0
  45. package/scss/styles/_custom.scss +1 -0
  46. package/scss/styles/_index.scss +5 -0
  47. package/scss/styles/_legacy.scss +87 -0
  48. package/scss/styles/_others.scss +604 -0
  49. package/scss/vendor/_index.scss +4 -0
package/img/logo.png ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@dejwcake/craftable",
3
+ "version": "0.0.1",
4
+ "description": "This is a frontend dependency for Craftable. Craftable is a Laravel-based open-source toolkit for building administration interfaces.",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "js": "babel src --presets babel-preset-es2015 --out-dir dist",
9
+ "build": "npm run js",
10
+ "prepublish": "npm run build"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/dejwCake/craftable-frontend.git"
15
+ },
16
+ "author": "Brackets",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/dejwCake/craftable-frontend/issues"
20
+ },
21
+ "homepage": "https://github.com/dejwCake/craftable-frontend#readme",
22
+ "dependencies": {
23
+ "@coreui/coreui": "^2.1.1",
24
+ "@coreui/icons": "^0.3.0",
25
+ "axios": "^0.21.0",
26
+ "bootstrap": "^4.1.3",
27
+ "font-awesome": "^4.7.0",
28
+ "jquery": "^3.5.1",
29
+ "moment": "^2.18.1",
30
+ "moment-timezone": "^0.5.26",
31
+ "perfect-scrollbar": "^1.4.0",
32
+ "popper.js": "^1.14.5",
33
+ "simple-line-icons": "^2.4.1",
34
+ "trumbowyg": "^2.10.0",
35
+ "v-tooltip": "^2.0.0-rc.33",
36
+ "vee-validate": "^2.0.0-rc.13",
37
+ "vue": "^2.3.4",
38
+ "vue-cookie": "^1.1.4",
39
+ "vue-flatpickr-component": "^2.4.1",
40
+ "vue-js-modal": "^1.2.8",
41
+ "vue-multiselect": "^2.0.2",
42
+ "vue-notification": "^1.3.2",
43
+ "vue-quill-editor": "^3.0.6",
44
+ "vue-template-compiler": "^2.5.21",
45
+ "vue-trumbowyg": "^3.3.0",
46
+ "vue2-dropzone": "^2.3.5"
47
+ },
48
+ "devDependencies": {
49
+ "autoprefixer": "^9.3.1",
50
+ "babel-cli": "^6.26.0",
51
+ "babel-preset-es2015": "^6.24.1",
52
+ "cpx": "^1.5.0",
53
+ "sass": "^1.49.9",
54
+ "sass-loader": "^8.0.2",
55
+ "postcss-cli": "^8.3.1",
56
+ "vue-loader": "^15.9.6",
57
+ "resolve-url-loader": "^3.1.0"
58
+ },
59
+ "files": [
60
+ "/dist",
61
+ "/img",
62
+ "/scss"
63
+ ]
64
+ }
@@ -0,0 +1,18 @@
1
+ // Available loaders
2
+ $audio: url('data:image/svg+xml;utf8,<svg width="55" height="80" viewBox="0 0 55 80" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><g transform="matrix(1 0 0 -1 0 80)"><rect width="10" height="20" rx="3"><animate attributeName="height" begin="0s" dur="4.3s" values="20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20" calcMode="linear" repeatCount="indefinite"/></rect><rect x="15" width="10" height="80" rx="3"><animate attributeName="height" begin="0s" dur="2s" values="80;55;33;5;75;23;73;33;12;14;60;80" calcMode="linear" repeatCount="indefinite"/></rect><rect x="30" width="10" height="50" rx="3"><animate attributeName="height" begin="0s" dur="1.4s" values="50;34;78;23;56;23;34;76;80;54;21;50" calcMode="linear" repeatCount="indefinite"/></rect><rect x="45" width="10" height="30" rx="3"><animate attributeName="height" begin="0s" dur="2s" values="30;45;13;80;56;72;45;76;34;23;67;30" calcMode="linear" repeatCount="indefinite"/></rect></g></svg>') !default;
3
+ $ballTriangle: url('data:image/svg+xml;utf8,<svg width="57" height="57" viewBox="0 0 57 57" xmlns="http://www.w3.org/2000/svg" stroke="#4273FA"><g transform="translate(1 1)" stroke-width="2" fill="none" fill-rule="evenodd"><circle cx="5" cy="50" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" values="50;5;50;50" calcMode="linear" repeatCount="indefinite"/><animate attributeName="cx" begin="0s" dur="2.2s" values="5;27;49;5" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="27" cy="5" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" from="5" to="5" values="5;50;50;5" calcMode="linear" repeatCount="indefinite"/><animate attributeName="cx" begin="0s" dur="2.2s" from="27" to="27" values="27;49;5;27" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="49" cy="50" r="5"><animate attributeName="cy" begin="0s" dur="2.2s" values="50;50;5;50" calcMode="linear" repeatCount="indefinite"/><animate attributeName="cx" from="49" to="49" begin="0s" dur="2.2s" values="49;5;27;49" calcMode="linear" repeatCount="indefinite"/></circle></g></svg>') !default;
4
+ $bars: url('data:image/svg+xml;utf8,<svg width="135" height="140" viewBox="0 0 135 140" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><rect y="10" width="15" height="120" rx="6"><animate attributeName="height" begin="0.5s" dur="1s" values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear" repeatCount="indefinite"/><animate attributeName="y" begin="0.5s" dur="1s" values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear" repeatCount="indefinite"/></rect><rect x="30" y="10" width="15" height="120" rx="6"><animate attributeName="height" begin="0.25s" dur="1s" values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear" repeatCount="indefinite"/><animate attributeName="y" begin="0.25s" dur="1s" values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear" repeatCount="indefinite"/></rect><rect x="60" width="15" height="140" rx="6"><animate attributeName="height" begin="0s" dur="1s" values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear" repeatCount="indefinite"/><animate attributeName="y" begin="0s" dur="1s" values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear" repeatCount="indefinite"/></rect><rect x="90" y="10" width="15" height="120" rx="6"><animate attributeName="height" begin="0.25s" dur="1s" values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear" repeatCount="indefinite"/><animate attributeName="y" begin="0.25s" dur="1s" values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear" repeatCount="indefinite"/></rect><rect x="120" y="10" width="15" height="120" rx="6"><animate attributeName="height" begin="0.5s" dur="1s" values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear" repeatCount="indefinite"/><animate attributeName="y" begin="0.5s" dur="1s" values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear" repeatCount="indefinite"/></rect></svg>') !default;
5
+ $circles: url('data:image/svg+xml;utf8,<svg width="135" height="135" viewBox="0 0 135 135" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><path d="M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="-360 67 67" dur="2.5s" repeatCount="indefinite"/></path><path d="M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="360 67 67" dur="8s" repeatCount="indefinite"/></path></svg>') !default;
6
+ $grid: url('data:image/svg+xml;utf8,<svg width="105" height="105" viewBox="0 0 105 105" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><circle cx="12.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="0s" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="12.5" cy="52.5" r="12.5" fill-opacity=".5"><animate attributeName="fill-opacity" begin="100ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="52.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="300ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="52.5" cy="52.5" r="12.5"><animate attributeName="fill-opacity" begin="600ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="92.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="800ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="92.5" cy="52.5" r="12.5"><animate attributeName="fill-opacity" begin="400ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="12.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="700ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="52.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="500ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="92.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="200ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"/></circle></svg>') !default;
7
+ $hearts: url('data:image/svg+xml;utf8,<svg width="140" height="64" viewBox="0 0 140 64" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><path d="M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z" fill-opacity=".5"><animate attributeName="fill-opacity" begin="0s" dur="1.4s" values="0.5;1;0.5" calcMode="linear" repeatCount="indefinite"/></path><path d="M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z" fill-opacity=".5"><animate attributeName="fill-opacity" begin="0.7s" dur="1.4s" values="0.5;1;0.5" calcMode="linear" repeatCount="indefinite"/></path><path d="M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"/></svg>') !default;
8
+ $oval: url('data:image/svg+xml;utf8,<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" stroke="#4273FA"><g transform="translate(1 1)" stroke-width="2" fill="none" fill-rule="evenodd"><circle stroke-opacity=".5" cx="18" cy="18" r="18"/><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"/></path></g></svg>') !default;
9
+ $puff: url('data:image/svg+xml;utf8,<svg width="44" height="44" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#4273FA"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"/></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite"/></circle></g></svg>') !default;
10
+ $rings: url('data:image/svg+xml;utf8,<svg width="45" height="45" viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg" stroke="#4273FA"><g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2"><circle cx="22" cy="22" r="6" stroke="none"><animate attributeName="r" begin="1.5s" dur="3s" values="6;22" calcMode="linear" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="1.5s" dur="3s" values="1;0" calcMode="linear" repeatCount="indefinite"/><animate attributeName="stroke-width" begin="1.5s" dur="3s" values="2;0" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="22" cy="22" r="6" stroke="none"><animate attributeName="r" begin="3s" dur="3s" values="6;22" calcMode="linear" repeatCount="indefinite"/><animate attributeName="stroke-opacity" begin="3s" dur="3s" values="1;0" calcMode="linear" repeatCount="indefinite"/><animate attributeName="stroke-width" begin="3s" dur="3s" values="2;0" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="22" cy="22" r="8"><animate attributeName="r" begin="0s" dur="1.5s" values="6;1;2;3;4;5;6" calcMode="linear" repeatCount="indefinite"/></circle></g></svg>') !default;
11
+ $threeDots: url('data:image/svg+xml;utf8,<svg width="120" height="30" viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="#4273FA"><circle cx="15" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"/><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="60" cy="15" r="9" fill-opacity=".3"><animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite"/><animate attributeName="fill-opacity" from=".5" to=".5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite"/></circle><circle cx="105" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"/><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"/></circle></svg>') !default;
12
+
13
+ // Icons
14
+ $icon-correct: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAMAAABxCz6aAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22gW22j///80PlZcAAAAU3RSTlMAEi0+KgZ71/WwR1LrtRN5/twkW9QPHvOblcXl/AOdAVWCOae7xGP6dsOvBK5p3wq4pfSNysAzgQ6RvwKGeoyJk/kdFe7Q0xtB2Jxgt/jhkhciFMrrSWEAAAABYktHRFTkA4ilAAAAB3RJTUUH5AITFjoRLt95bAAAAN9JREFUGNNdkelSwkAQhDtCBCHKJYiSGJBDlCMqqCiXAnIqKvP+7+JkycLG/jHT9VXtTE0v4Ek7CAR1qNIOQ8QKH0X2LGqQ1PGJx2Jx2iuRFCylMqLTNLPMGfmVZXiugosckZmEZSjs0s5zLeBKYUVLL3Ero8L1unrjstuaVXe7gQbXpu0wvdOte/HgAe4QaiHdfnTs7HZKE0+iP0Pr4MUb/YpuTpgq0JP7+sBg64Zvkr2PgPHk30UtkZH/9g9HJNIwFTadednNFxKZy84u5drq84vR+jvo+xDYP78b6f8ACXhWBwGugsYAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDItMjBUMDU6NTg6MTctMDc6MDCROErVAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTAyLTIwVDA1OjU4OjE3LTA3OjAw4GXyaQAAAABJRU5ErkJggg==') !default;
15
+ $icon-envelope: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAMAAABYzB2OAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAkFBMVEXH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH0/DH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VDA1OjU4OjE4LTA3OjAwFi2CgAAAAABJRU5ErkJggg==') !default;
@@ -0,0 +1,17 @@
1
+ // Loaders and icons
2
+ @import "images";
3
+
4
+ // Colors
5
+ $primary: #4273FA !default;
6
+ $danger: #FE3F61 !default;
7
+ $success: #60CF7D !default;
8
+ $warning: #F5BE30 !default;
9
+ $mutedText: #b9c8de !default;
10
+
11
+ $sidebar-bg: #485779 !default;
12
+ $sidebar-nav-link-active-bg: $primary !default;
13
+ $sidebar-nav-link-active-icon-color: white !default;
14
+ $pagination-hover-bg: #f3f8ff !default;
15
+
16
+ // Active loader
17
+ $loader: $threeDots !default;
package/scss/app.scss ADDED
@@ -0,0 +1,9 @@
1
+ // Variables
2
+ @import "variables";
3
+
4
+ // Vendor
5
+ @import "vendor/index";
6
+
7
+ // Own styles and overrides
8
+ @import "overrides/index";
9
+ @import "styles/index";
@@ -0,0 +1,19 @@
1
+ .alert-success {
2
+ color: $success;
3
+ }
4
+
5
+ .alert-danger {
6
+ color: $danger;
7
+ }
8
+
9
+ .alert-warning {
10
+ color: $warning;
11
+ }
12
+
13
+ .alert-info {
14
+ color: $primary;
15
+ }
16
+
17
+ .alert ul {
18
+ margin-bottom: 0;
19
+ }
@@ -0,0 +1,15 @@
1
+ .badge-info {
2
+ background-color: $primary;
3
+ }
4
+
5
+ .badge-success {
6
+ background-color: $success;
7
+ }
8
+
9
+ .badge-danger {
10
+ background-color: $danger;
11
+ }
12
+
13
+ .badge-warning {
14
+ background-color: $warning;
15
+ }
@@ -0,0 +1,62 @@
1
+ .btn {
2
+ cursor: pointer;
3
+ &-primary,
4
+ &-info {
5
+ background-color: $primary;
6
+ border-color: $primary;
7
+ &:hover {
8
+ background-color: darken($primary, 10);
9
+ border-color: darken($primary, 10);
10
+ }
11
+ }
12
+ &-danger {
13
+ background-color: $danger;
14
+ border-color: $danger;
15
+ &:hover {
16
+ background-color: darken($danger, 10);
17
+ border-color: darken($danger, 10);
18
+ }
19
+ }
20
+ &-success {
21
+ background-color: $success;
22
+ border-color: $success;
23
+ &:hover {
24
+ background-color: darken($success, 10);
25
+ border-color: darken($success, 10);
26
+ }
27
+ }
28
+ &-secondary {
29
+ color: #263238;
30
+ background-color: #fff;
31
+ border-color: #ccc;
32
+ &:hover,
33
+ &:active,
34
+ &:focus {
35
+ color: #263238 !important;
36
+ background-color: #fff !important;
37
+ border-color: #ccc !important;
38
+ }
39
+ }
40
+ &-dialog {
41
+ display: flex;
42
+ height: 100%;
43
+ justify-content: center;
44
+ align-items: center;
45
+ }
46
+ &:hover,
47
+ &:active,
48
+ &:focus,
49
+ &:visited {
50
+ color: white;
51
+ box-shadow: none;
52
+ }
53
+ &:hover {
54
+ .fa-trash-o {
55
+ animation: swing 1s;
56
+ transform-origin: top center;
57
+ }
58
+ }
59
+ i.fa {
60
+ color: white;
61
+ }
62
+ }
@@ -0,0 +1,72 @@
1
+ .card {
2
+ border: 1px solid #d6dee3;
3
+ }
4
+
5
+ .card-header {
6
+ background-color: white;
7
+ border-bottom: 1px solid rgba(207, 216, 220, 0.35);
8
+ color: $primary;
9
+ font-weight: 600;
10
+ padding: 1.25rem;
11
+ }
12
+
13
+ .card-footer {
14
+ background: white;
15
+ border: none;
16
+ padding: 1.25rem;
17
+ padding-top: 3rem;
18
+ }
19
+
20
+ .card small {
21
+ color: $mutedText;
22
+ a {
23
+ color: $primary
24
+ }
25
+ }
26
+
27
+ .card-block {
28
+ padding-bottom: 0;
29
+ .card-header {
30
+ border-bottom: 0;
31
+ }
32
+ }
33
+
34
+ .loading .card-block {
35
+ position: relative;
36
+ pointer-events: none;
37
+ }
38
+
39
+ .loading .card-block:before {
40
+ content: $loader;
41
+ position: absolute;
42
+ left: 0;
43
+ right: 0;
44
+ top: 0;
45
+ bottom: 0;
46
+ display: flex;
47
+ justify-content: center;
48
+ align-items: center;
49
+ background-color: rgba(255, 255, 255, 0.75);
50
+ z-index: 3;
51
+ }
52
+
53
+ .form-edit,
54
+ .form-create {
55
+ .card-block:before {
56
+ display: none !important;
57
+ }
58
+ }
59
+
60
+ @media (max-width: 767px) {
61
+ .card-block .card-header {
62
+ padding-left: 0;
63
+ }
64
+ }
65
+
66
+ @media (max-width: 450px) {
67
+ .card-header>.btn.pull-right {
68
+ display: block;
69
+ float: none;
70
+ margin-top: 15px;
71
+ }
72
+ }
@@ -0,0 +1,84 @@
1
+ /* Base for label styling */
2
+ [type="checkbox"]:not(:checked),
3
+ [type="checkbox"]:checked {
4
+ position: absolute;
5
+ left: -9999px;
6
+ }
7
+
8
+ [type="checkbox"]:not(:checked)+label,
9
+ [type="checkbox"]:checked+label {
10
+ position: relative;
11
+ padding-left: 1.95em;
12
+ cursor: pointer;
13
+ }
14
+
15
+ /* checkbox aspect */
16
+ [type="checkbox"]:not(:checked)+label:before,
17
+ [type="checkbox"]:checked+label:before {
18
+ content: '';
19
+ position: absolute;
20
+ left: 0;
21
+ top: 0;
22
+ width: 20px;
23
+ height: 20px;
24
+ border: 1px solid #C3CEDE;
25
+ background: white;
26
+ border-radius: 4px;
27
+ box-shadow: none;
28
+ }
29
+
30
+
31
+ /* checked mark aspect */
32
+ [type="checkbox"]:not(:checked)+label:after,
33
+ [type="checkbox"]:checked+label:after {
34
+ content: '';
35
+ position: absolute;
36
+ width: 10px;
37
+ height: 10px;
38
+ background-color: #4273FA;
39
+ top: 5px;
40
+ left: 5px;
41
+ border-radius: 3px;
42
+ color: #4273FA;
43
+ transition: all .2s;
44
+ }
45
+
46
+
47
+ /* checked mark aspect changes */
48
+ [type="checkbox"]:not(:checked)+label:after {
49
+ opacity: 0;
50
+ transform: scale(0);
51
+ }
52
+
53
+ [type="checkbox"]:checked+label:after {
54
+ opacity: 1;
55
+ transform: scale(1);
56
+ }
57
+
58
+
59
+ /* disabled checkbox */
60
+ [type="checkbox"]:disabled:not(:checked)+label:before,
61
+ [type="checkbox"]:disabled:checked+label:before {
62
+ box-shadow: none;
63
+ border-color: #bbb;
64
+ background-color: #ddd;
65
+ }
66
+
67
+ [type="checkbox"]:disabled:checked+label:after {
68
+ color: #999;
69
+ }
70
+
71
+ [type="checkbox"]:disabled+label {
72
+ color: #aaa;
73
+ }
74
+
75
+ /* accessibility */
76
+ [type="checkbox"]:checked:focus+label:before,
77
+ [type="checkbox"]:not(:checked):focus+label:before {
78
+ //border: 1px solid $primary;
79
+ }
80
+
81
+ /* hover style just for information */
82
+ label:hover:before {
83
+ border: 1px solid $primary!important;
84
+ }
@@ -0,0 +1,231 @@
1
+ .form-control.flatpickr {
2
+ background-color: white;
3
+ }
4
+
5
+ .form-control {
6
+ border: 1px solid $mutedText;
7
+ border-radius: 0;
8
+ padding-right: 2.2rem !important;
9
+ background-repeat: no-repeat;
10
+ background-position: center right 0.52344rem;
11
+ background-size: 1.04688rem 1.04688rem;
12
+ &:focus {
13
+ border: 1px solid $mutedText;
14
+ }
15
+ }
16
+
17
+ .has-success .form-control {
18
+ background-image: $icon-correct;
19
+ }
20
+
21
+ .has-danger .form-control {
22
+ background-image: $icon-error;
23
+ border-color: $danger;
24
+ }
25
+
26
+ .has-danger .form-control-feedback {
27
+ color: $danger;
28
+ font-weight: 500;
29
+ }
30
+
31
+ label {
32
+ color: $mutedText;
33
+ }
34
+
35
+ .form-check-label {
36
+ color: #3e515b;
37
+ }
38
+
39
+ .input-group--custom {
40
+ .input-group-addon {
41
+ background-color: white;
42
+ border-bottom-left-radius: 0;
43
+ border-top-left-radius: 0;
44
+ i.fa {
45
+ color: #c7c7c7;
46
+ }
47
+ }
48
+ .form-control {
49
+ border-left: none;
50
+ padding-left: 0;
51
+ }
52
+ }
53
+
54
+ .has-danger .input-group--custom {
55
+ .input-group-addon {
56
+ border-color: $danger;
57
+ }
58
+ }
59
+
60
+ .input-icon {
61
+ display: inline-block;
62
+ background-size: contain;
63
+ background-repeat: no-repeat;
64
+ background-position: center;
65
+ width: 15px;
66
+ height: 25px;
67
+ }
68
+
69
+ .input-icon--mail {
70
+ width: 20px;
71
+ background-image: $icon-envelope;
72
+ }
73
+
74
+ .input-icon--lock {
75
+ margin: 0 3px;
76
+ background-image: $icon-lock;
77
+ }
78
+
79
+ .form-control::placeholder {
80
+ color: $mutedText;
81
+ }
82
+
83
+ .form-check-label {
84
+ margin-bottom: 0.5rem;
85
+ }
86
+
87
+ .flatpickr-day.selected,
88
+ .flatpickr-day.startRange,
89
+ .flatpickr-day.endRange,
90
+ .flatpickr-day.selected.inRange,
91
+ .flatpickr-day.startRange.inRange,
92
+ .flatpickr-day.endRange.inRange,
93
+ .flatpickr-day.selected:focus,
94
+ .flatpickr-day.startRange:focus,
95
+ .flatpickr-day.endRange:focus,
96
+ .flatpickr-day.selected:hover,
97
+ .flatpickr-day.startRange:hover,
98
+ .flatpickr-day.endRange:hover,
99
+ .flatpickr-day.selected.prevMonthDay,
100
+ .flatpickr-day.startRange.prevMonthDay,
101
+ .flatpickr-day.endRange.prevMonthDay,
102
+ .flatpickr-day.selected.nextMonthDay,
103
+ .flatpickr-day.startRange.nextMonthDay,
104
+ .flatpickr-day.endRange.nextMonthDay {
105
+ background: $primary !important;
106
+ border-color: $primary !important;
107
+ }
108
+
109
+ small select {
110
+ margin: 0 10px;
111
+ }
112
+
113
+ .vue-dropzone.dropzone {
114
+ border: 1px solid $mutedText !important;
115
+ &:hover, &.dz-drag-hover {
116
+ border: 1px dashed $primary !important;
117
+ }
118
+
119
+ i {
120
+ color: #c7c7c7 !important;
121
+ font-size: 40px !important;
122
+ margin-bottom: 10px;
123
+ }
124
+
125
+ .dz-message {
126
+ color: $mutedText !important;
127
+ }
128
+
129
+ //fixes https://github.com/rowanwins/vue-dropzone/issues/127
130
+ .dz-error-message {
131
+ top: calc(100% + 10px) !important;
132
+ left: calc(50% - 70px) !important;
133
+ }
134
+
135
+ .dz-preview {
136
+ .dz-image {
137
+ width: 200px !important;
138
+ height: 200px !important;
139
+
140
+ img {
141
+ width: 100%;
142
+ height: 100%;
143
+ -webkit-object-fit: cover;
144
+ object-fit: cover;
145
+ }
146
+
147
+ i {
148
+ width: 100%;
149
+ height: 100%;
150
+ line-height: 200px;
151
+ font-size: 70px !important;
152
+ text-align: center;
153
+ margin-bottom: 10px;
154
+
155
+ &+p {
156
+ position: absolute;
157
+ bottom: 0px;
158
+ width: 100%;
159
+ text-align: center;
160
+ height: 20px;
161
+ overflow: hidden;
162
+ white-space: nowrap;
163
+ text-overflow: ellipsis;
164
+ font-size: 12px;
165
+ line-height: 1.2;
166
+ padding: 0 15px;
167
+ }
168
+ }
169
+ }
170
+
171
+ .dz-details {
172
+ .dz-filename {
173
+ a {
174
+ cursor: pointer;
175
+ color:white;
176
+ }
177
+ }
178
+ }
179
+
180
+ //fixes https://github.com/rowanwins/vue-dropzone/issues/127
181
+ .dz-error-mark {
182
+ text-align: center;
183
+ top: 25%!important;
184
+ }
185
+ }
186
+ }
187
+
188
+ .language-mobile {
189
+ select {
190
+ margin-left: 0;
191
+ margin-top: 5px;
192
+ margin-bottom: 25px;
193
+ }
194
+ span, a {
195
+ display: none;
196
+ }
197
+ &.has-error {
198
+ small {
199
+ color: $danger;
200
+ }
201
+ }
202
+ }
203
+
204
+ @media (max-width: 700px) {
205
+ select,
206
+ textarea,
207
+ input,
208
+ .ql-editor,
209
+ .input-group button {
210
+ font-size: 16px !important;
211
+ }
212
+ }
213
+
214
+
215
+ @media (min-width: 576px) {
216
+ .control-label {
217
+ margin-top: 7px;
218
+ }
219
+ .language-mobile {
220
+ select {
221
+ margin: 0;
222
+ margin-left: 10px;
223
+ }
224
+ }
225
+ }
226
+
227
+ @media (max-width: 500px) {
228
+ .input-group-btn--search-filter {
229
+ display: none;
230
+ }
231
+ }
@@ -0,0 +1,19 @@
1
+ // All styles we are overriding (mostly CoreUI)
2
+ @import "keyframes";
3
+ @import "buttons";
4
+ @import "checkboxes";
5
+ @import "forms";
6
+ @import "multiselect";
7
+ @import "switches";
8
+ @import "wysiwyg";
9
+ @import "cards";
10
+ @import "nav";
11
+ @import "tables";
12
+ @import "modal";
13
+ @import "pagination";
14
+ @import "badges";
15
+ @import "layout";
16
+ @import "text";
17
+ @import "alerts";
18
+ @import "notifications";
19
+ @import "media-wysiwyg";
@@ -0,0 +1,23 @@
1
+ @keyframes spin {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+
7
+ @keyframes swing {
8
+ 20% {
9
+ transform: rotate3d(0, 0, 1, 15deg);
10
+ }
11
+ 40% {
12
+ transform: rotate3d(0, 0, 1, -10deg);
13
+ }
14
+ 60% {
15
+ transform: rotate3d(0, 0, 1, 5deg);
16
+ }
17
+ 80% {
18
+ transform: rotate3d(0, 0, 1, -5deg);
19
+ }
20
+ to {
21
+ transform: rotate3d(0, 0, 1, 0deg);
22
+ }
23
+ }