cm-admin 0.1.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/Gemfile +7 -1
- data/Gemfile.lock +121 -0
- data/LICENSE.txt +21 -0
- data/README.md +20 -21
- data/app/assets/images/logo.png +0 -0
- data/app/assets/stylesheets/cm_admin/base/auth.scss +73 -0
- data/app/assets/stylesheets/cm_admin/base/common.scss +237 -0
- data/app/assets/stylesheets/cm_admin/base/filters.scss +200 -0
- data/app/assets/stylesheets/cm_admin/base/form.scss +197 -0
- data/app/assets/stylesheets/cm_admin/base/main-nav.scss +47 -0
- data/app/assets/stylesheets/cm_admin/base/navbar.scss +65 -0
- data/app/assets/stylesheets/cm_admin/base/quicksearch.scss +76 -0
- data/app/assets/stylesheets/cm_admin/base/scaffold.scss +96 -0
- data/app/assets/stylesheets/cm_admin/base/show.scss +76 -0
- data/app/assets/stylesheets/cm_admin/base/sidebar.scss +225 -0
- data/app/assets/stylesheets/cm_admin/base/table.scss +320 -0
- data/app/assets/stylesheets/cm_admin/base/tabs.scss +26 -0
- data/{lib/generators/cm_admin/templates/assets/stylesheets/application.css.scss → app/assets/stylesheets/cm_admin/cm_admin.css.scss} +12 -16
- data/app/assets/stylesheets/cm_admin/components/_alerts.scss +101 -0
- data/app/assets/stylesheets/cm_admin/components/_buttons.scss +135 -0
- data/app/assets/stylesheets/cm_admin/components/_dropdown-popup.scss +153 -0
- data/app/assets/stylesheets/cm_admin/components/_input.scss +274 -0
- data/app/assets/stylesheets/cm_admin/components/_modal.scss +34 -0
- data/app/assets/stylesheets/cm_admin/components/_range.scss +31 -0
- data/app/assets/stylesheets/cm_admin/components/_status-tag.scss +68 -0
- data/app/assets/stylesheets/cm_admin/components/index.scss +7 -0
- data/app/assets/stylesheets/cm_admin/dependency/bootstrap.min.css +7 -0
- data/app/assets/stylesheets/cm_admin/helpers/_mixins.scss +20 -0
- data/app/assets/stylesheets/cm_admin/helpers/_variable.scss +87 -0
- data/app/assets/stylesheets/cm_admin/helpers/index.scss +2 -0
- data/app/controllers/cm_admin/application_controller.rb +11 -0
- data/app/controllers/cm_admin/exports_controller.rb +16 -0
- data/app/controllers/cm_admin/static_controller.rb +12 -0
- data/app/helpers/cm_admin/application_helper.rb +11 -0
- data/app/helpers/cm_admin/custom_helper.rb +4 -0
- data/app/javascript/packs/cm_admin/application.js +22 -0
- data/app/javascript/packs/cm_admin/filters.js +347 -0
- data/app/javascript/packs/cm_admin/quick_search.js +67 -0
- data/app/javascript/packs/cm_admin/scaffolds.js +43 -0
- data/app/javascript/stylesheets/cm_admin/application.scss +3 -0
- data/app/views/cm_admin/main/_associated_table.html.slim +60 -0
- data/app/views/cm_admin/main/_cm_pagy_nav.html.slim +23 -0
- data/app/views/cm_admin/main/_filters.html.slim +1 -0
- data/app/views/cm_admin/main/_nested_fields.html.slim +7 -0
- data/app/views/cm_admin/main/_nested_table_form.html.slim +6 -0
- data/app/views/cm_admin/main/_table.html.slim +60 -0
- data/app/views/cm_admin/main/_tabs.html.slim +5 -0
- data/app/views/cm_admin/main/_top_navbar.html.slim +25 -0
- data/app/views/cm_admin/main/associated_index.html.slim +6 -0
- data/app/views/cm_admin/main/associated_show.html.slim +6 -0
- data/app/views/cm_admin/main/dashboard.html.slim +1 -0
- data/app/views/cm_admin/main/edit.html.slim +19 -0
- data/app/views/cm_admin/main/index.html.slim +12 -0
- data/app/views/cm_admin/main/new.html.slim +22 -0
- data/app/views/cm_admin/main/show.html.slim +12 -0
- data/app/views/cm_admin/static/error_401.html.slim +4 -0
- data/app/views/layouts/_left_sidebar_nav.html.slim +34 -0
- data/app/views/layouts/_quick_links.html.slim +25 -0
- data/app/views/layouts/cm_admin.html.slim +41 -0
- data/app/views/layouts/static.html.slim +18 -0
- data/bin/webpack +18 -0
- data/bin/webpack-dev-server +18 -0
- data/cm_admin.gemspec +21 -31
- data/config/.DS_Store +0 -0
- data/config/initializers/active_record_extension.rb +9 -0
- data/config/routes.rb +19 -0
- data/config/webpack/development.js +5 -0
- data/config/webpack/environment.js +13 -0
- data/config/webpack/production.js +5 -0
- data/config/webpack/test.js +5 -0
- data/config/webpacker.yml +92 -0
- data/lib/cm_admin/constants.rb +33 -0
- data/lib/cm_admin/engine.rb +38 -0
- data/lib/cm_admin/model.rb +152 -0
- data/lib/cm_admin/models/action.rb +36 -0
- data/lib/cm_admin/models/actions/blocks.rb +25 -0
- data/lib/cm_admin/models/blocks.rb +19 -0
- data/lib/cm_admin/models/cm_show_section.rb +20 -0
- data/lib/cm_admin/models/column.rb +61 -0
- data/lib/cm_admin/models/controller_method.rb +75 -0
- data/lib/cm_admin/models/dsl_method.rb +122 -0
- data/lib/cm_admin/models/export.rb +54 -0
- data/lib/cm_admin/models/field.rb +15 -0
- data/lib/cm_admin/models/filter.rb +95 -0
- data/lib/cm_admin/models/form_field.rb +21 -0
- data/lib/cm_admin/models/tab.rb +13 -0
- data/lib/cm_admin/utils.rb +67 -0
- data/lib/cm_admin/version.rb +1 -1
- data/lib/cm_admin/view_helpers/column_field_helper.rb +29 -0
- data/lib/cm_admin/view_helpers/field_display_helper.rb +65 -0
- data/lib/cm_admin/view_helpers/filter_helper.rb +190 -0
- data/lib/cm_admin/view_helpers/form_field_helper.rb +33 -0
- data/lib/cm_admin/view_helpers/form_helper.rb +65 -0
- data/lib/cm_admin/view_helpers/manage_column_popup_helper.rb +75 -0
- data/lib/cm_admin/view_helpers/navigation_helper.rb +34 -0
- data/lib/cm_admin/view_helpers/page_info_helper.rb +57 -0
- data/lib/cm_admin/view_helpers.rb +74 -0
- data/lib/cm_admin.rb +33 -2
- data/lib/generators/cm_admin/install_generator.rb +11 -13
- data/lib/tasks/webpack_install.rake +63 -0
- data/package.json +23 -0
- data/postcss.config.js +12 -0
- data/tmp/cache/webpacker/last-compilation-digest-development +1 -0
- data/yarn.lock +6933 -0
- metadata +155 -42
- data/lib/generators/cm_admin/USAGE +0 -8
- data/lib/generators/cm_admin/templates/assets/images/same-logo.png +0 -0
- data/lib/generators/cm_admin/templates/assets/stylesheets/_variable.scss +0 -11
- data/lib/generators/cm_admin/templates/assets/stylesheets/alignment.scss +0 -111
- data/lib/generators/cm_admin/templates/assets/stylesheets/devise.scss +0 -98
- data/lib/generators/cm_admin/templates/assets/stylesheets/form.scss +0 -131
- data/lib/generators/cm_admin/templates/assets/stylesheets/products.scss +0 -21
- data/lib/generators/cm_admin/templates/assets/stylesheets/scaffold.scss +0 -241
- data/lib/generators/cm_admin/templates/assets/stylesheets/table.scss +0 -90
- data/lib/generators/cm_admin/templates/assets/stylesheets/user.scss +0 -25
- data/lib/generators/cm_admin/templates/layouts/_navbar.html.slim +0 -9
- data/lib/generators/cm_admin/templates/layouts/_side_navbar.html.slim +0 -16
- data/lib/generators/cm_admin/templates/layouts/application.html.slim +0 -25
- data/lib/generators/cm_admin/templates/layouts/initializer.rb +0 -2
- data/lib/generators/cm_admin/templates/views/_filters.html.slim +0 -0
- data/lib/generators/cm_admin/templates/views/_form.erb +0 -38
- data/lib/generators/cm_admin/templates/views/_table.erb +0 -14
- data/lib/generators/cm_admin/templates/views/index.erb +0 -11
- data/lib/generators/cm_admin/templates/views/show.erb +0 -8
- data/lib/generators/cm_admin/view_generator.rb +0 -57
metadata
CHANGED
@@ -1,100 +1,213 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cm-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- sajinmp
|
8
|
+
- anbublacky
|
9
|
+
- manikandan0603
|
8
10
|
autorequire:
|
9
|
-
bindir:
|
11
|
+
bindir: exe
|
10
12
|
cert_chain: []
|
11
|
-
date:
|
13
|
+
date: 2021-09-29 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
16
|
+
name: pagy
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
19
|
- - "~>"
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
21
|
+
version: '3.13'
|
22
|
+
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
23
25
|
requirements:
|
24
26
|
- - "~>"
|
25
27
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
28
|
+
version: '3.13'
|
27
29
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
30
|
+
name: slim
|
29
31
|
requirement: !ruby/object:Gem::Requirement
|
30
32
|
requirements:
|
31
33
|
- - "~>"
|
32
34
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
type: :
|
35
|
+
version: 4.1.0
|
36
|
+
type: :runtime
|
35
37
|
prerelease: false
|
36
38
|
version_requirements: !ruby/object:Gem::Requirement
|
37
39
|
requirements:
|
38
40
|
- - "~>"
|
39
41
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
42
|
+
version: 4.1.0
|
41
43
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
44
|
+
name: webpacker
|
43
45
|
requirement: !ruby/object:Gem::Requirement
|
44
46
|
requirements:
|
45
47
|
- - "~>"
|
46
48
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
49
|
+
version: 5.2.1
|
50
|
+
type: :runtime
|
49
51
|
prerelease: false
|
50
52
|
version_requirements: !ruby/object:Gem::Requirement
|
51
53
|
requirements:
|
52
54
|
- - "~>"
|
53
55
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
56
|
+
version: 5.2.1
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: axlsx_rails
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.6.1
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.6.1
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: cocoon
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.2.15
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.2.15
|
85
|
+
description: This is an admin panel gem
|
56
86
|
email:
|
57
|
-
-
|
87
|
+
- sajinprasadkm@gmail.com
|
88
|
+
- anbublacky@gmail.com
|
58
89
|
executables: []
|
59
90
|
extensions: []
|
60
91
|
extra_rdoc_files: []
|
61
92
|
files:
|
93
|
+
- ".gitignore"
|
94
|
+
- ".rspec"
|
95
|
+
- ".travis.yml"
|
62
96
|
- CODE_OF_CONDUCT.md
|
63
97
|
- Gemfile
|
98
|
+
- Gemfile.lock
|
99
|
+
- LICENSE.txt
|
64
100
|
- README.md
|
65
101
|
- Rakefile
|
102
|
+
- app/assets/images/logo.png
|
103
|
+
- app/assets/stylesheets/cm_admin/base/auth.scss
|
104
|
+
- app/assets/stylesheets/cm_admin/base/common.scss
|
105
|
+
- app/assets/stylesheets/cm_admin/base/filters.scss
|
106
|
+
- app/assets/stylesheets/cm_admin/base/form.scss
|
107
|
+
- app/assets/stylesheets/cm_admin/base/main-nav.scss
|
108
|
+
- app/assets/stylesheets/cm_admin/base/navbar.scss
|
109
|
+
- app/assets/stylesheets/cm_admin/base/quicksearch.scss
|
110
|
+
- app/assets/stylesheets/cm_admin/base/scaffold.scss
|
111
|
+
- app/assets/stylesheets/cm_admin/base/show.scss
|
112
|
+
- app/assets/stylesheets/cm_admin/base/sidebar.scss
|
113
|
+
- app/assets/stylesheets/cm_admin/base/table.scss
|
114
|
+
- app/assets/stylesheets/cm_admin/base/tabs.scss
|
115
|
+
- app/assets/stylesheets/cm_admin/cm_admin.css.scss
|
116
|
+
- app/assets/stylesheets/cm_admin/components/_alerts.scss
|
117
|
+
- app/assets/stylesheets/cm_admin/components/_buttons.scss
|
118
|
+
- app/assets/stylesheets/cm_admin/components/_dropdown-popup.scss
|
119
|
+
- app/assets/stylesheets/cm_admin/components/_input.scss
|
120
|
+
- app/assets/stylesheets/cm_admin/components/_modal.scss
|
121
|
+
- app/assets/stylesheets/cm_admin/components/_range.scss
|
122
|
+
- app/assets/stylesheets/cm_admin/components/_status-tag.scss
|
123
|
+
- app/assets/stylesheets/cm_admin/components/index.scss
|
124
|
+
- app/assets/stylesheets/cm_admin/dependency/bootstrap.min.css
|
125
|
+
- app/assets/stylesheets/cm_admin/helpers/_mixins.scss
|
126
|
+
- app/assets/stylesheets/cm_admin/helpers/_variable.scss
|
127
|
+
- app/assets/stylesheets/cm_admin/helpers/index.scss
|
128
|
+
- app/controllers/cm_admin/application_controller.rb
|
129
|
+
- app/controllers/cm_admin/exports_controller.rb
|
130
|
+
- app/controllers/cm_admin/static_controller.rb
|
131
|
+
- app/helpers/cm_admin/application_helper.rb
|
132
|
+
- app/helpers/cm_admin/custom_helper.rb
|
133
|
+
- app/javascript/packs/cm_admin/application.js
|
134
|
+
- app/javascript/packs/cm_admin/filters.js
|
135
|
+
- app/javascript/packs/cm_admin/quick_search.js
|
136
|
+
- app/javascript/packs/cm_admin/scaffolds.js
|
137
|
+
- app/javascript/stylesheets/cm_admin/application.scss
|
138
|
+
- app/views/cm_admin/main/_associated_table.html.slim
|
139
|
+
- app/views/cm_admin/main/_cm_pagy_nav.html.slim
|
140
|
+
- app/views/cm_admin/main/_filters.html.slim
|
141
|
+
- app/views/cm_admin/main/_nested_fields.html.slim
|
142
|
+
- app/views/cm_admin/main/_nested_table_form.html.slim
|
143
|
+
- app/views/cm_admin/main/_table.html.slim
|
144
|
+
- app/views/cm_admin/main/_tabs.html.slim
|
145
|
+
- app/views/cm_admin/main/_top_navbar.html.slim
|
146
|
+
- app/views/cm_admin/main/associated_index.html.slim
|
147
|
+
- app/views/cm_admin/main/associated_show.html.slim
|
148
|
+
- app/views/cm_admin/main/dashboard.html.slim
|
149
|
+
- app/views/cm_admin/main/edit.html.slim
|
150
|
+
- app/views/cm_admin/main/index.html.slim
|
151
|
+
- app/views/cm_admin/main/new.html.slim
|
152
|
+
- app/views/cm_admin/main/show.html.slim
|
153
|
+
- app/views/cm_admin/static/error_401.html.slim
|
154
|
+
- app/views/layouts/_left_sidebar_nav.html.slim
|
155
|
+
- app/views/layouts/_quick_links.html.slim
|
156
|
+
- app/views/layouts/cm_admin.html.slim
|
157
|
+
- app/views/layouts/static.html.slim
|
66
158
|
- bin/console
|
67
159
|
- bin/setup
|
160
|
+
- bin/webpack
|
161
|
+
- bin/webpack-dev-server
|
68
162
|
- cm_admin.gemspec
|
163
|
+
- config/.DS_Store
|
164
|
+
- config/initializers/active_record_extension.rb
|
165
|
+
- config/routes.rb
|
166
|
+
- config/webpack/development.js
|
167
|
+
- config/webpack/environment.js
|
168
|
+
- config/webpack/production.js
|
169
|
+
- config/webpack/test.js
|
170
|
+
- config/webpacker.yml
|
69
171
|
- lib/.DS_Store
|
70
172
|
- lib/cm_admin.rb
|
173
|
+
- lib/cm_admin/constants.rb
|
174
|
+
- lib/cm_admin/engine.rb
|
175
|
+
- lib/cm_admin/model.rb
|
176
|
+
- lib/cm_admin/models/action.rb
|
177
|
+
- lib/cm_admin/models/actions/blocks.rb
|
178
|
+
- lib/cm_admin/models/blocks.rb
|
179
|
+
- lib/cm_admin/models/cm_show_section.rb
|
180
|
+
- lib/cm_admin/models/column.rb
|
181
|
+
- lib/cm_admin/models/controller_method.rb
|
182
|
+
- lib/cm_admin/models/dsl_method.rb
|
183
|
+
- lib/cm_admin/models/export.rb
|
184
|
+
- lib/cm_admin/models/field.rb
|
185
|
+
- lib/cm_admin/models/filter.rb
|
186
|
+
- lib/cm_admin/models/form_field.rb
|
187
|
+
- lib/cm_admin/models/tab.rb
|
188
|
+
- lib/cm_admin/utils.rb
|
71
189
|
- lib/cm_admin/version.rb
|
72
|
-
- lib/
|
190
|
+
- lib/cm_admin/view_helpers.rb
|
191
|
+
- lib/cm_admin/view_helpers/column_field_helper.rb
|
192
|
+
- lib/cm_admin/view_helpers/field_display_helper.rb
|
193
|
+
- lib/cm_admin/view_helpers/filter_helper.rb
|
194
|
+
- lib/cm_admin/view_helpers/form_field_helper.rb
|
195
|
+
- lib/cm_admin/view_helpers/form_helper.rb
|
196
|
+
- lib/cm_admin/view_helpers/manage_column_popup_helper.rb
|
197
|
+
- lib/cm_admin/view_helpers/navigation_helper.rb
|
198
|
+
- lib/cm_admin/view_helpers/page_info_helper.rb
|
73
199
|
- lib/generators/cm_admin/install_generator.rb
|
74
|
-
- lib/
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
- lib/generators/cm_admin/templates/assets/stylesheets/form.scss
|
80
|
-
- lib/generators/cm_admin/templates/assets/stylesheets/products.scss
|
81
|
-
- lib/generators/cm_admin/templates/assets/stylesheets/scaffold.scss
|
82
|
-
- lib/generators/cm_admin/templates/assets/stylesheets/table.scss
|
83
|
-
- lib/generators/cm_admin/templates/assets/stylesheets/user.scss
|
84
|
-
- lib/generators/cm_admin/templates/layouts/_navbar.html.slim
|
85
|
-
- lib/generators/cm_admin/templates/layouts/_side_navbar.html.slim
|
86
|
-
- lib/generators/cm_admin/templates/layouts/application.html.slim
|
87
|
-
- lib/generators/cm_admin/templates/layouts/initializer.rb
|
88
|
-
- lib/generators/cm_admin/templates/views/_filters.html.slim
|
89
|
-
- lib/generators/cm_admin/templates/views/_form.erb
|
90
|
-
- lib/generators/cm_admin/templates/views/_table.erb
|
91
|
-
- lib/generators/cm_admin/templates/views/index.erb
|
92
|
-
- lib/generators/cm_admin/templates/views/show.erb
|
93
|
-
- lib/generators/cm_admin/view_generator.rb
|
200
|
+
- lib/tasks/webpack_install.rake
|
201
|
+
- package.json
|
202
|
+
- postcss.config.js
|
203
|
+
- tmp/cache/webpacker/last-compilation-digest-development
|
204
|
+
- yarn.lock
|
94
205
|
homepage: https://github.com/commutatus/cm-admin
|
95
206
|
licenses:
|
96
207
|
- MIT
|
97
|
-
metadata:
|
208
|
+
metadata:
|
209
|
+
homepage_uri: https://github.com/commutatus/cm-admin
|
210
|
+
source_code_uri: https://github.com/commutatus/cm-admin
|
98
211
|
post_install_message:
|
99
212
|
rdoc_options: []
|
100
213
|
require_paths:
|
@@ -103,7 +216,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
216
|
requirements:
|
104
217
|
- - ">="
|
105
218
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
219
|
+
version: 2.3.0
|
107
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
221
|
requirements:
|
109
222
|
- - ">="
|
@@ -113,5 +226,5 @@ requirements: []
|
|
113
226
|
rubygems_version: 3.0.3
|
114
227
|
signing_key:
|
115
228
|
specification_version: 4
|
116
|
-
summary:
|
229
|
+
summary: This is an admin panel gem
|
117
230
|
test_files: []
|
Binary file
|
@@ -1,11 +0,0 @@
|
|
1
|
-
$background: #1A1D1F;
|
2
|
-
$nav-btn-color: #FFCB05;
|
3
|
-
$nav-text-color: white;
|
4
|
-
$sidebar-background: #242536;
|
5
|
-
$main-background: #F6F8FA;
|
6
|
-
$table-background: #ffffff;
|
7
|
-
$heading-color: rgb(224, 193, 14);
|
8
|
-
$form-control-background: rgba(50,50,50,0.6) !important;
|
9
|
-
$nav-active-border: 4px solid #FFCB05;
|
10
|
-
$active-bg: #000000;
|
11
|
-
$paginate-btn-color: rgb(180, 149, 23);
|
@@ -1,111 +0,0 @@
|
|
1
|
-
@import '_variable.scss';
|
2
|
-
|
3
|
-
/*padding css*/
|
4
|
-
@for $i from 1 to 39 {
|
5
|
-
.p-#{$i} {
|
6
|
-
padding: #{$i}px !important;
|
7
|
-
}
|
8
|
-
.pb-#{$i} {
|
9
|
-
padding-bottom: #{$i}px !important;
|
10
|
-
}
|
11
|
-
.pt-#{$i} {
|
12
|
-
padding-top: #{$i}px !important;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
@for $i from 1 to 21 {
|
19
|
-
.pr-#{$i*2} {
|
20
|
-
padding-right: #{$i*2}px !important;
|
21
|
-
}
|
22
|
-
.pl-#{$i*2} {
|
23
|
-
padding-left: #{$i*2}px !important;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
/*margin css*/
|
28
|
-
.m-auto {
|
29
|
-
margin: auto;
|
30
|
-
}
|
31
|
-
|
32
|
-
/*margin css*/
|
33
|
-
/*margin top css*/
|
34
|
-
.mt-10 {
|
35
|
-
margin-top: 10px;
|
36
|
-
}
|
37
|
-
.mt-20 {
|
38
|
-
margin-top: 20px;
|
39
|
-
}
|
40
|
-
.mt-50 {
|
41
|
-
margin-top: 50px;
|
42
|
-
}
|
43
|
-
|
44
|
-
/*margin css*/
|
45
|
-
/*margin bottom css*/
|
46
|
-
.mb-10 {
|
47
|
-
margin-bottom: 20px;
|
48
|
-
}
|
49
|
-
.mb-24 {
|
50
|
-
margin-bottom: 24px;
|
51
|
-
}
|
52
|
-
|
53
|
-
/*margin css*/
|
54
|
-
/*margin right css*/
|
55
|
-
.mr-10 {
|
56
|
-
margin-right: 10px;
|
57
|
-
}
|
58
|
-
.mr-20 {
|
59
|
-
margin-right: 20px;
|
60
|
-
}
|
61
|
-
|
62
|
-
/*margin css*/
|
63
|
-
/*margin left css*/
|
64
|
-
.ml-10 {
|
65
|
-
margin-left: 10px;
|
66
|
-
}
|
67
|
-
.ml-20 {
|
68
|
-
margin-left: 20px;
|
69
|
-
}
|
70
|
-
.ml-35 {
|
71
|
-
margin-left: 35px;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
/*alignment css*/
|
76
|
-
.align-right {
|
77
|
-
text-align: right;
|
78
|
-
}
|
79
|
-
.align-center {
|
80
|
-
text-align: center !important;
|
81
|
-
}
|
82
|
-
.align-left {
|
83
|
-
text-align: left;
|
84
|
-
}
|
85
|
-
|
86
|
-
/*width css*/
|
87
|
-
/*width css in pixel*/
|
88
|
-
.w-120 {
|
89
|
-
width: 120px;
|
90
|
-
}
|
91
|
-
.w-130 {
|
92
|
-
width: 130px;
|
93
|
-
}
|
94
|
-
.w-160 {
|
95
|
-
width: 160px;
|
96
|
-
}
|
97
|
-
.w-400 {
|
98
|
-
width: 400px;
|
99
|
-
}
|
100
|
-
.w-500 {
|
101
|
-
width: 500px;
|
102
|
-
}
|
103
|
-
.w-600 {
|
104
|
-
width: 600px;
|
105
|
-
}
|
106
|
-
|
107
|
-
/*width css*/
|
108
|
-
/*width css in %*/
|
109
|
-
.w100 {
|
110
|
-
width: 100% !important;
|
111
|
-
}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
|
2
|
-
@import '_variable.scss';
|
3
|
-
.main {
|
4
|
-
background-color:$background;
|
5
|
-
height: 100vh;
|
6
|
-
.heading{
|
7
|
-
position: absolute;
|
8
|
-
display: flex;
|
9
|
-
left: 50%;
|
10
|
-
top: 160px;
|
11
|
-
transform: translate(-50%,-50%);
|
12
|
-
h3{
|
13
|
-
color: $heading-color
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
.devise-form-container {
|
18
|
-
|
19
|
-
color: white;
|
20
|
-
background-color: $background;
|
21
|
-
width: 50%;
|
22
|
-
position: absolute;
|
23
|
-
top: 50%;
|
24
|
-
left: 50%;
|
25
|
-
-ms-transform: translateX(-50%) translateY(-50%);
|
26
|
-
-webkit-transform: translate(-50%,-50%);
|
27
|
-
transform: translate(-50%,-50%);
|
28
|
-
|
29
|
-
|
30
|
-
.container{
|
31
|
-
padding: 0 !important;
|
32
|
-
background-color: $background;
|
33
|
-
}
|
34
|
-
.row{
|
35
|
-
padding: 0 !important;
|
36
|
-
}
|
37
|
-
.form-control:focus {
|
38
|
-
padding: 6px 12px;
|
39
|
-
background-image: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
.form-control {
|
43
|
-
background-color: $form-control-background;
|
44
|
-
border: none;
|
45
|
-
padding-left: 10px;
|
46
|
-
color: #FFF;
|
47
|
-
}
|
48
|
-
|
49
|
-
select.form-control {
|
50
|
-
border-radius: 0.3rem;
|
51
|
-
}
|
52
|
-
|
53
|
-
.nav-link, .nav-link:hover, .nav-link:visited {
|
54
|
-
text-decoration: none;
|
55
|
-
cursor: pointer;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
.dropdown-icon{
|
60
|
-
margin-left: 150px;
|
61
|
-
margin-top: -15px;
|
62
|
-
.dropbtn {
|
63
|
-
position: relative;
|
64
|
-
background-color: #4CAF50;
|
65
|
-
color: white;
|
66
|
-
border-radius: 50%;
|
67
|
-
height: 50px;
|
68
|
-
width: 50px;
|
69
|
-
font-size: 16px;
|
70
|
-
border: none;
|
71
|
-
p {
|
72
|
-
position: absolute;
|
73
|
-
line-height: 50px;
|
74
|
-
display: inline;
|
75
|
-
left: 25%;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
.dropdown-content {
|
79
|
-
display: none;
|
80
|
-
border-radius: 7px;
|
81
|
-
position: absolute;
|
82
|
-
background-color: #ffffff;
|
83
|
-
min-width: 160px;
|
84
|
-
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
85
|
-
z-index: 1;
|
86
|
-
height: 30px;
|
87
|
-
p{
|
88
|
-
line-height: 30px;
|
89
|
-
padding-left: 10px;
|
90
|
-
height: 10p;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
.dropdown-icon:hover {
|
95
|
-
.dropdown-content{
|
96
|
-
display: block;
|
97
|
-
}
|
98
|
-
}
|
@@ -1,131 +0,0 @@
|
|
1
|
-
@import '_variable.scss';
|
2
|
-
.form-container{
|
3
|
-
width: 70%;
|
4
|
-
margin: 20px auto;
|
5
|
-
div{
|
6
|
-
padding-bottom: 7px;
|
7
|
-
label{
|
8
|
-
padding-left: 5px;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.filter-wrapper{
|
14
|
-
display: flex;
|
15
|
-
justify-content: space-between;
|
16
|
-
align-items: center;
|
17
|
-
|
18
|
-
}
|
19
|
-
|
20
|
-
.filter{
|
21
|
-
width: 25% !important;
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
.modal-form {
|
26
|
-
.form-control:focus {
|
27
|
-
padding: 6px 12px;
|
28
|
-
background-image: none;
|
29
|
-
box-shadow: none;
|
30
|
-
border: 1px solid #d5d5d5;
|
31
|
-
}
|
32
|
-
|
33
|
-
.form-control {
|
34
|
-
box-shadow: none;
|
35
|
-
border: 1px solid #d5d5d5;
|
36
|
-
border-radius: 0;
|
37
|
-
color: #1A1D1F;
|
38
|
-
}
|
39
|
-
|
40
|
-
select.form-control {
|
41
|
-
border-radius: 0;
|
42
|
-
border: 1px solid #d5d5d5;
|
43
|
-
}
|
44
|
-
|
45
|
-
.form-inputs {
|
46
|
-
margin: 0px 30px 20px 30px;
|
47
|
-
width: -webkit-fill-available;
|
48
|
-
}
|
49
|
-
.alert-dismissible {
|
50
|
-
padding-right: 45px;
|
51
|
-
padding-left: 25px;
|
52
|
-
}
|
53
|
-
.alert {
|
54
|
-
background: none;
|
55
|
-
margin-bottom: 0px;
|
56
|
-
}
|
57
|
-
.disabled {
|
58
|
-
.btn.btn-upload .upload-file-image {
|
59
|
-
cursor: not-allowed;
|
60
|
-
pointer-events: all !important;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
.modal-dialog {
|
66
|
-
.modal-content {
|
67
|
-
border-radius: 0;
|
68
|
-
.modal-header {
|
69
|
-
padding-bottom: 20px;
|
70
|
-
font-weight: bold;
|
71
|
-
.modal-title {
|
72
|
-
text-transform: capitalize;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
.modal-footer {
|
76
|
-
padding: 20px;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.btn.btn-upload {
|
82
|
-
border: 1px solid #d5d5d5;
|
83
|
-
border-radius: 0;
|
84
|
-
width: 100%;
|
85
|
-
padding: 10px;
|
86
|
-
position: relative;
|
87
|
-
|
88
|
-
.upload-file-image {
|
89
|
-
opacity: 0;
|
90
|
-
position: absolute;
|
91
|
-
top: 0;
|
92
|
-
left: 0;
|
93
|
-
width: 100%;
|
94
|
-
height: 100%;
|
95
|
-
}
|
96
|
-
.upload-file-edit {
|
97
|
-
opacity: 0;
|
98
|
-
position: absolute;
|
99
|
-
top: 12px;
|
100
|
-
left: 10px;
|
101
|
-
height: 45%;
|
102
|
-
width: 75%;
|
103
|
-
}
|
104
|
-
.uploaded-file-name {
|
105
|
-
text-align: left;
|
106
|
-
min-width: 25%;
|
107
|
-
max-width: 60%;
|
108
|
-
}
|
109
|
-
.upload-image {
|
110
|
-
height: 22px;
|
111
|
-
color: #3E3E3E;
|
112
|
-
font-family: "Open Sans";
|
113
|
-
font-size: 14px;
|
114
|
-
font-weight: 600;
|
115
|
-
line-height: 22px;
|
116
|
-
text-transform: none;
|
117
|
-
display: inline-block;
|
118
|
-
}
|
119
|
-
|
120
|
-
.upload-image-icon {
|
121
|
-
display: inline-block;
|
122
|
-
margin-right: 5px;
|
123
|
-
}
|
124
|
-
|
125
|
-
.remove-attachment {
|
126
|
-
padding: 0px 10px;
|
127
|
-
cursor: pointer;
|
128
|
-
position: absolute;
|
129
|
-
right: 10px;
|
130
|
-
}
|
131
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
|
2
|
-
@import '_variable.scss';
|
3
|
-
|
4
|
-
.product-foreground{
|
5
|
-
background-color: $table-background !important;
|
6
|
-
width: 98% !important;
|
7
|
-
z-index: 1;
|
8
|
-
margin: 10px auto;
|
9
|
-
box-shadow: -1px 4px 12px -3px rgba(0,0,0,0.18);
|
10
|
-
|
11
|
-
.product-details{
|
12
|
-
display: grid;
|
13
|
-
position: relative;
|
14
|
-
grid-template-columns: 1fr 1fr;
|
15
|
-
width: 40%;
|
16
|
-
margin-top: 65px;
|
17
|
-
|
18
|
-
}
|
19
|
-
|
20
|
-
}
|
21
|
-
|