backend-skins 0.1.15 → 0.1.16

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 (95) hide show
  1. package/README.md +34 -0
  2. package/dist/confort/{css → unlogged/css}/chpass.styl +97 -97
  3. package/dist/confort-bis/{css → unlogged/css}/chpass.styl +112 -112
  4. package/dist/confort-dark/{css → unlogged/css}/chpass.styl +138 -138
  5. package/dist/confort-gold/{css → unlogged/css}/chpass.styl +143 -143
  6. package/dist/default/{css → unlogged/css}/chpass.styl +116 -116
  7. package/dist/modern/css/my-menu.styl +260 -0
  8. package/dist/modern/css/my-tables.styl +85 -0
  9. package/dist/modern/css/my-things.styl +0 -0
  10. package/dist/modern/css/pikaday.styl +1 -0
  11. package/dist/modern/img/delete-all-rows.png +0 -0
  12. package/dist/modern/img/delete.png +0 -0
  13. package/dist/modern/img/destroy-filter.png +0 -0
  14. package/dist/modern/img/detail-contract.png +0 -0
  15. package/dist/modern/img/detail-expand.png +0 -0
  16. package/dist/modern/img/detail-grid.pdn +0 -0
  17. package/dist/modern/img/detail-unknown.png +0 -0
  18. package/dist/modern/img/error16-01.png +0 -0
  19. package/dist/modern/img/error16.png +0 -0
  20. package/dist/modern/img/exit.png +0 -0
  21. package/dist/modern/img/export.png +0 -0
  22. package/dist/modern/img/filter-dialog.png +0 -0
  23. package/dist/modern/img/filter-line-add.png +0 -0
  24. package/dist/modern/img/filter.png +0 -0
  25. package/dist/modern/img/filtered-complete-table.png +0 -0
  26. package/dist/modern/img/floating-3dots.png +0 -0
  27. package/dist/modern/img/floating-ruler-toggle-off.png +0 -0
  28. package/dist/modern/img/floating-ruler-toggle-on.png +0 -0
  29. package/dist/modern/img/floating-ruler-toggle.png +0 -0
  30. package/dist/modern/img/hamster.gif +0 -0
  31. package/dist/modern/img/hide.png +0 -0
  32. package/dist/modern/img/iconoOldPasswd.png +0 -0
  33. package/dist/modern/img/icononewPassword.png +0 -0
  34. package/dist/modern/img/iconorepPassword.png +0 -0
  35. package/dist/modern/img/igual.png +0 -0
  36. package/dist/modern/img/import.png +0 -0
  37. package/dist/modern/img/insert.png +0 -0
  38. package/dist/modern/img/loading.gif +0 -0
  39. package/dist/modern/img/lookdown-calendar.png +0 -0
  40. package/dist/modern/img/lookdown-zoom.png +0 -0
  41. package/dist/modern/img/lookdown.png +0 -0
  42. package/dist/modern/img/lookdown2.png +0 -0
  43. package/dist/modern/img/lupa.png +0 -0
  44. package/dist/modern/img/mandatory-pk.png +0 -0
  45. package/dist/modern/img/mandatory.png +0 -0
  46. package/dist/modern/img/mayor-igual.png +0 -0
  47. package/dist/modern/img/mayor.png +0 -0
  48. package/dist/modern/img/menor-igual.png +0 -0
  49. package/dist/modern/img/menor.png +0 -0
  50. package/dist/modern/img/menu-dots.png +0 -0
  51. package/dist/modern/img/network-no-signal.png +0 -0
  52. package/dist/modern/img/network-signal-ok.png +0 -0
  53. package/dist/modern/img/network-signal.png +0 -0
  54. package/dist/modern/img/not-empty.png +0 -0
  55. package/dist/modern/img/not-equal.png +0 -0
  56. package/dist/modern/img/not-like.png +0 -0
  57. package/dist/modern/img/not-sync.png +0 -0
  58. package/dist/modern/img/order-arrow-down-1.png +0 -0
  59. package/dist/modern/img/order-arrow-down-2.png +0 -0
  60. package/dist/modern/img/order-arrow-down-3.png +0 -0
  61. package/dist/modern/img/order-arrow-up-1.png +0 -0
  62. package/dist/modern/img/order-arrow-up-2.png +0 -0
  63. package/dist/modern/img/order-arrow-up-3.png +0 -0
  64. package/dist/modern/img/orientation-toggle.pdn +0 -0
  65. package/dist/modern/img/orientation-toggle.png +0 -0
  66. package/dist/modern/img/parecido.png +0 -0
  67. package/dist/modern/img/picture.png +0 -0
  68. package/dist/modern/img/pikanext.png +0 -0
  69. package/dist/modern/img/pikaprev.png +0 -0
  70. package/dist/modern/img/ptable.png +0 -0
  71. package/dist/modern/img/refresh.png +0 -0
  72. package/dist/modern/img/select-menu.png +0 -0
  73. package/dist/modern/img/server-error.png +0 -0
  74. package/dist/modern/img/server-ok.png +0 -0
  75. package/dist/modern/img/server.png +0 -0
  76. package/dist/modern/img/show-hide-columns.png +0 -0
  77. package/dist/modern/img/show-inherited-keys.png +0 -0
  78. package/dist/modern/img/show.png +0 -0
  79. package/dist/modern/img/sort-down.png +0 -0
  80. package/dist/modern/img/sort-up.png +0 -0
  81. package/dist/modern/img/tables-update-by-field.pdn +0 -0
  82. package/dist/modern/img/tables-update-by-field.png +0 -0
  83. package/dist/modern/img/tables-update-by-row.pdn +0 -0
  84. package/dist/modern/img/tables-update-by-row.png +0 -0
  85. package/dist/modern/img/tables.pdn +0 -0
  86. package/dist/modern/img/three-dot-menu.png +0 -0
  87. package/dist/modern/img/vacio.png +0 -0
  88. package/dist/modern/img/vertical-edit.png +0 -0
  89. package/dist/modern/img/warning128.png +0 -0
  90. package/dist/modern/unlogged/css/chpass.styl +135 -0
  91. package/dist/modern/unlogged/css/login.styl +113 -0
  92. package/dist/modern/unlogged/img/iconopass.png +0 -0
  93. package/dist/modern/unlogged/img/iconousuario.png +0 -0
  94. package/dist/modern/unlogged/img/login-lock-icon.png +0 -0
  95. package/package.json +1 -1
package/README.md CHANGED
@@ -1,2 +1,36 @@
1
1
  # backend-skins
2
2
  Skins for backend-plus
3
+
4
+ # Adding a skin
5
+
6
+ Create a folder in dist. CSS files go in the folder css and icon images go in the folder img. For password change and login screens, the same applies inside the folder unlogged.
7
+
8
+ Add the folder name to the local config of your backed-plus application
9
+
10
+ ```
11
+ server:
12
+ skins:
13
+ modern:
14
+ local-path: node_modules/backend-skins/dist/
15
+ ```
16
+
17
+ In your backend-plus application local config, set the desired skin
18
+
19
+ ```
20
+ client-setup:
21
+ skin: modern
22
+ ```
23
+
24
+ # Button styles
25
+ In the modern skin, buttons are automatically colored via the attribute 'color'. The possible values are 'primary', 'secondary', 'success', 'warning', and 'danger'.
26
+ Additionally, the button can be outlined by adding the attribute outlined=true.
27
+
28
+ For example, when using the dialog-promise library, the buttons can be configured as follows:
29
+ ```js
30
+ confirmPromise("Confirm prompt", {
31
+ buttonsDef:[
32
+ {label:'Accept', value:true, attributes: { color: 'primary', }},
33
+ {label:'Cancel', value:false, attributes: { color: 'secondary', outline: true, }},
34
+ ]
35
+ })
36
+ ```
@@ -1,98 +1,98 @@
1
- body
2
- background-color #D8DBE5
3
-
4
- .chpasstable
5
- background-color #F6F7FB
6
- max-width 450px
7
- min-width 400px
8
- margin-left auto
9
- margin-top 30px
10
- margin-right auto
11
- border 1px solid #B6BCCE
12
-
13
- .formtd
14
- width 90%
15
-
16
- .iconostd
17
- width 10%
18
-
19
- .formtitle
20
- background-color #126da6
21
- text-align center
22
- padding 10px
23
-
24
- h2
25
- color white
26
- font-family helvetica
27
- text-transform uppercase
28
- font-size 80%
29
- font-weight 700
30
-
31
- .formImg
32
- padding 0px
33
- width 210px
34
- display block
35
- margin-left auto
36
- margin-right auto
37
-
38
- .chpasstableRightImg
39
- display none
40
-
41
- .formlabel
42
- display none
43
-
44
- .iconoslog
45
- width 37px
46
- padding 5px
47
- margin-top 5px
48
- margin-left 20px
49
-
50
- .iconosnewPassword
51
- width 37px
52
- padding 5px
53
- margin-top 5px
54
- margin-left 20px
55
-
56
- .iconosrepPassword
57
- width 37px
58
- padding 5px
59
- margin-top 5px
60
- margin-left 20px
61
-
62
- input[type="text"]
63
- -webkit-autofill
64
- background-color white
65
- border 1px solid #c2cde2
66
- -webkit-box-shadow 0 0 0px 1000px white inset
67
- -webkit-text-fill-color #273966
68
- background-color #fff
69
- padding 10px
70
- width 80%
71
-
72
- input[type=password]
73
- -webkit-autofill
74
- background-color white
75
- border 1px solid #c2cde2
76
- -webkit-box-shadow 0 0 0px 1000px white inset
77
- -webkit-text-fill-color #778caa
78
- background-color #fff
79
- padding 10px
80
- width 80%
81
-
82
-
83
- input[type=submit]
84
- background-color #0088CC
85
- color #FFF
86
- font-weight 700
87
- width 86%
88
- padding 15px
89
- margin-top 15px
90
- margin-bottom 5px
91
- border-bottom 1px solid #adb7d2
92
- border-right 1px solid #adb7d2
93
-
94
- input[type=submit]:hover
95
- background-color #0ebeea
96
- border-bottom 1px solid #adb7d2
97
- border-right 1px solid #adb7d2
1
+ body
2
+ background-color #D8DBE5
3
+
4
+ .chpasstable
5
+ background-color #F6F7FB
6
+ max-width 450px
7
+ min-width 400px
8
+ margin-left auto
9
+ margin-top 30px
10
+ margin-right auto
11
+ border 1px solid #B6BCCE
12
+
13
+ .formtd
14
+ width 90%
15
+
16
+ .iconostd
17
+ width 10%
18
+
19
+ .formtitle
20
+ background-color #126da6
21
+ text-align center
22
+ padding 10px
23
+
24
+ h2
25
+ color white
26
+ font-family helvetica
27
+ text-transform uppercase
28
+ font-size 80%
29
+ font-weight 700
30
+
31
+ .formImg
32
+ padding 0px
33
+ width 210px
34
+ display block
35
+ margin-left auto
36
+ margin-right auto
37
+
38
+ .chpasstableRightImg
39
+ display none
40
+
41
+ .formlabel
42
+ display none
43
+
44
+ .iconoslog
45
+ width 37px
46
+ padding 5px
47
+ margin-top 5px
48
+ margin-left 20px
49
+
50
+ .iconosnewPassword
51
+ width 37px
52
+ padding 5px
53
+ margin-top 5px
54
+ margin-left 20px
55
+
56
+ .iconosrepPassword
57
+ width 37px
58
+ padding 5px
59
+ margin-top 5px
60
+ margin-left 20px
61
+
62
+ input[type="text"]
63
+ -webkit-autofill
64
+ background-color white
65
+ border 1px solid #c2cde2
66
+ -webkit-box-shadow 0 0 0px 1000px white inset
67
+ -webkit-text-fill-color #273966
68
+ background-color #fff
69
+ padding 10px
70
+ width 80%
71
+
72
+ input[type=password]
73
+ -webkit-autofill
74
+ background-color white
75
+ border 1px solid #c2cde2
76
+ -webkit-box-shadow 0 0 0px 1000px white inset
77
+ -webkit-text-fill-color #778caa
78
+ background-color #fff
79
+ padding 10px
80
+ width 80%
81
+
82
+
83
+ input[type=submit]
84
+ background-color #0088CC
85
+ color #FFF
86
+ font-weight 700
87
+ width 86%
88
+ padding 15px
89
+ margin-top 15px
90
+ margin-bottom 5px
91
+ border-bottom 1px solid #adb7d2
92
+ border-right 1px solid #adb7d2
93
+
94
+ input[type=submit]:hover
95
+ background-color #0ebeea
96
+ border-bottom 1px solid #adb7d2
97
+ border-right 1px solid #adb7d2
98
98
  cursor pointer
@@ -1,113 +1,113 @@
1
- body
2
- background-color #D8DBE5
3
-
4
- .chpasstable
5
- background-color #F6F7FB
6
- max-width 450px
7
- min-width 400px
8
- margin-left auto
9
- margin-top 30px
10
- margin-right auto
11
- border 1px solid #b6bcce
12
-
13
- .formtd
14
- width 90%
15
-
16
- .iconostd
17
- width 10%
18
-
19
- .formtitle
20
- background #535387
21
- background -webkit-linear-gradient(#535387, #7e6ea1)
22
- background -o-linear-gradient(#535387, #7e6ea1)
23
- background -moz-linear-gradient(#535387, #7e6ea1)
24
- background linear-gradient(#535387, #7e6ea1)
25
- text-align center
26
- padding 10px
27
-
28
- h2
29
- color white
30
- font-family helvetica
31
- text-transform uppercase
32
- font-size 80%
33
- font-weight 700
34
-
35
- .formImg
36
- padding 0px
37
- width 210px
38
- display block
39
- margin-left auto
40
- margin-right auto
41
-
42
- .chpasstableRightImg
43
- display none
44
-
45
- .formlabel
46
- display none
47
-
48
- .iconoslog
49
- width 37px
50
- padding 5px
51
- margin-top 5px
52
- margin-left 20px
53
-
54
- .iconosnewPassword
55
- width 37px
56
- padding 5px
57
- margin-top 5px
58
- margin-left 20px
59
-
60
- .iconosrepPassword
61
- width 37px
62
- padding 5px
63
- margin-top 5px
64
- margin-left 20px
65
-
66
- input[type="text"]
67
- -webkit-autofill
68
- background-color white
69
- border 1px solid #c2cde2
70
- -webkit-box-shadow 0 0 0px 1000px white inset
71
- -webkit-text-fill-color #6b698f
72
- background-color #fff
73
- padding 10px
74
- width 80%
75
-
76
- input[type=password]
77
- -webkit-autofill
78
- background-color white
79
- border 1px solid #c2cde2
80
- -webkit-box-shadow 0 0 0px 1000px white inset
81
- -webkit-text-fill-color #6b698f
82
- background-color #fff
83
- padding 10px
84
- width 80%
85
-
86
- input[type=submit]
87
- background #8080a3
88
- background -webkit-linear-gradient(#8080a3, #9898c4)
89
- background -o-linear-gradient(#8080a3, #9898c4)
90
- background -moz-linear-gradient(#8080a3, #9898c4)
91
- background linear-gradient(#8080a3, #9898c4)
92
- border-right 2px solid #7573a5
93
- border-bottom 2px solid #7573a5
94
- border-left 2px solid #7573a5
95
- border-top 2px solid #7573a5
96
- color #FFF
97
- font-weight 700
98
- width 86%
99
- padding 15px
100
- margin-top 5px
101
- margin-bottom 5px
102
-
103
- input[type=submit]:hover
104
- background #7372a1
105
- background -webkit-linear-gradient(#585789, #799dae)
106
- background -o-linear-gradient(#585789, #799dae)
107
- background -moz-linear-gradient(#585789, #799dae)
108
- background linear-gradient(#585789, #799dae)
109
- border-right 2px solid #646791
110
- border-bottom 2px solid #646791
111
- border-left 2px solid #646791
112
- border-top 2px solid #646791
1
+ body
2
+ background-color #D8DBE5
3
+
4
+ .chpasstable
5
+ background-color #F6F7FB
6
+ max-width 450px
7
+ min-width 400px
8
+ margin-left auto
9
+ margin-top 30px
10
+ margin-right auto
11
+ border 1px solid #b6bcce
12
+
13
+ .formtd
14
+ width 90%
15
+
16
+ .iconostd
17
+ width 10%
18
+
19
+ .formtitle
20
+ background #535387
21
+ background -webkit-linear-gradient(#535387, #7e6ea1)
22
+ background -o-linear-gradient(#535387, #7e6ea1)
23
+ background -moz-linear-gradient(#535387, #7e6ea1)
24
+ background linear-gradient(#535387, #7e6ea1)
25
+ text-align center
26
+ padding 10px
27
+
28
+ h2
29
+ color white
30
+ font-family helvetica
31
+ text-transform uppercase
32
+ font-size 80%
33
+ font-weight 700
34
+
35
+ .formImg
36
+ padding 0px
37
+ width 210px
38
+ display block
39
+ margin-left auto
40
+ margin-right auto
41
+
42
+ .chpasstableRightImg
43
+ display none
44
+
45
+ .formlabel
46
+ display none
47
+
48
+ .iconoslog
49
+ width 37px
50
+ padding 5px
51
+ margin-top 5px
52
+ margin-left 20px
53
+
54
+ .iconosnewPassword
55
+ width 37px
56
+ padding 5px
57
+ margin-top 5px
58
+ margin-left 20px
59
+
60
+ .iconosrepPassword
61
+ width 37px
62
+ padding 5px
63
+ margin-top 5px
64
+ margin-left 20px
65
+
66
+ input[type="text"]
67
+ -webkit-autofill
68
+ background-color white
69
+ border 1px solid #c2cde2
70
+ -webkit-box-shadow 0 0 0px 1000px white inset
71
+ -webkit-text-fill-color #6b698f
72
+ background-color #fff
73
+ padding 10px
74
+ width 80%
75
+
76
+ input[type=password]
77
+ -webkit-autofill
78
+ background-color white
79
+ border 1px solid #c2cde2
80
+ -webkit-box-shadow 0 0 0px 1000px white inset
81
+ -webkit-text-fill-color #6b698f
82
+ background-color #fff
83
+ padding 10px
84
+ width 80%
85
+
86
+ input[type=submit]
87
+ background #8080a3
88
+ background -webkit-linear-gradient(#8080a3, #9898c4)
89
+ background -o-linear-gradient(#8080a3, #9898c4)
90
+ background -moz-linear-gradient(#8080a3, #9898c4)
91
+ background linear-gradient(#8080a3, #9898c4)
92
+ border-right 2px solid #7573a5
93
+ border-bottom 2px solid #7573a5
94
+ border-left 2px solid #7573a5
95
+ border-top 2px solid #7573a5
96
+ color #FFF
97
+ font-weight 700
98
+ width 86%
99
+ padding 15px
100
+ margin-top 5px
101
+ margin-bottom 5px
102
+
103
+ input[type=submit]:hover
104
+ background #7372a1
105
+ background -webkit-linear-gradient(#585789, #799dae)
106
+ background -o-linear-gradient(#585789, #799dae)
107
+ background -moz-linear-gradient(#585789, #799dae)
108
+ background linear-gradient(#585789, #799dae)
109
+ border-right 2px solid #646791
110
+ border-bottom 2px solid #646791
111
+ border-left 2px solid #646791
112
+ border-top 2px solid #646791
113
113
  cursor pointer