cm-admin 0.2.0 → 0.3.0

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 (117) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +12 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +6 -0
  5. data/Gemfile +6 -1
  6. data/Gemfile.lock +118 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +6 -40
  9. data/app/assets/images/logo.png +0 -0
  10. data/{lib/generators/cm_admin/templates/assets/stylesheets → app/assets/stylesheets/cm_admin}/base/auth.scss +16 -6
  11. data/app/assets/stylesheets/cm_admin/base/common.scss +237 -0
  12. data/app/assets/stylesheets/cm_admin/base/filters.scss +199 -0
  13. data/app/assets/stylesheets/cm_admin/base/form.scss +262 -0
  14. data/app/assets/stylesheets/cm_admin/base/main-nav.scss +47 -0
  15. data/app/assets/stylesheets/cm_admin/base/navbar.scss +67 -0
  16. data/app/assets/stylesheets/cm_admin/base/quicksearch.scss +69 -0
  17. data/app/assets/stylesheets/cm_admin/base/scaffold.scss +61 -0
  18. data/app/assets/stylesheets/cm_admin/base/show.scss +54 -0
  19. data/app/assets/stylesheets/cm_admin/base/sidebar.scss +225 -0
  20. data/app/assets/stylesheets/cm_admin/base/table.scss +303 -0
  21. data/app/assets/stylesheets/cm_admin/base/tabs.scss +26 -0
  22. data/app/assets/stylesheets/cm_admin/cm_admin.css.scss +26 -0
  23. data/app/assets/stylesheets/cm_admin/components/_alerts.scss +101 -0
  24. data/app/assets/stylesheets/cm_admin/components/_buttons.scss +135 -0
  25. data/app/assets/stylesheets/cm_admin/components/_dropdown-popup.scss +141 -0
  26. data/app/assets/stylesheets/cm_admin/components/_input.scss +274 -0
  27. data/app/assets/stylesheets/cm_admin/components/_modal.scss +34 -0
  28. data/app/assets/stylesheets/cm_admin/components/_range.scss +20 -0
  29. data/app/assets/stylesheets/cm_admin/components/_status-tag.scss +67 -0
  30. data/app/assets/stylesheets/cm_admin/components/index.scss +7 -0
  31. data/app/assets/stylesheets/cm_admin/dependency/bootstrap.min.css +7 -0
  32. data/app/assets/stylesheets/cm_admin/helpers/_mixins.scss +20 -0
  33. data/app/assets/stylesheets/cm_admin/helpers/_variable.scss +86 -0
  34. data/app/assets/stylesheets/cm_admin/helpers/index.scss +2 -0
  35. data/app/controllers/cm_admin/application_controller.rb +6 -0
  36. data/app/controllers/cm_admin/exports_controller.rb +16 -0
  37. data/app/controllers/cm_admin/main_controller.rb +8 -0
  38. data/app/helpers/cm_admin/application_helper.rb +11 -0
  39. data/app/javascript/packs/cm_admin/application.js +9 -0
  40. data/app/javascript/packs/cm_admin/filters.js +32 -0
  41. data/app/javascript/packs/cm_admin/scaffolds.js +14 -0
  42. data/app/views/cm_admin/main/_cm_pagy_nav.html.slim +23 -0
  43. data/app/views/cm_admin/main/_filters.html.slim +10 -0
  44. data/app/views/cm_admin/main/_table.html.slim +59 -0
  45. data/app/views/cm_admin/main/_top_navbar.html.slim +25 -0
  46. data/app/views/cm_admin/main/dashboard.html.slim +1 -0
  47. data/app/views/cm_admin/main/edit.html.slim +19 -0
  48. data/app/views/cm_admin/main/index.html.slim +9 -0
  49. data/app/views/cm_admin/main/new.html.slim +22 -0
  50. data/app/views/cm_admin/main/show.html.slim +13 -0
  51. data/app/views/layouts/_left_sidebar_nav.html.slim +30 -0
  52. data/app/views/layouts/cm_admin.html.slim +18 -0
  53. data/bin/console +1 -0
  54. data/bin/webpack +18 -0
  55. data/bin/webpack-dev-server +18 -0
  56. data/cm_admin.gemspec +20 -31
  57. data/{lib → config}/.DS_Store +0 -0
  58. data/config/initializers/active_record_extension.rb +9 -0
  59. data/config/routes.rb +18 -0
  60. data/config/webpack/development.js +5 -0
  61. data/config/webpack/environment.js +12 -0
  62. data/config/webpack/production.js +5 -0
  63. data/config/webpack/test.js +5 -0
  64. data/config/webpacker.yml +92 -0
  65. data/lib/c.png +0 -0
  66. data/lib/cm_admin.rb +31 -2
  67. data/lib/cm_admin/constants.rb +33 -0
  68. data/lib/cm_admin/engine.rb +38 -0
  69. data/lib/cm_admin/model.rb +262 -0
  70. data/lib/cm_admin/models/action.rb +22 -0
  71. data/lib/cm_admin/models/actions/blocks.rb +25 -0
  72. data/lib/cm_admin/models/blocks.rb +19 -0
  73. data/lib/cm_admin/models/column.rb +16 -0
  74. data/lib/cm_admin/models/export.rb +43 -0
  75. data/lib/cm_admin/models/field.rb +14 -0
  76. data/lib/cm_admin/models/filter.rb +30 -0
  77. data/lib/cm_admin/utils.rb +67 -0
  78. data/lib/cm_admin/version.rb +1 -1
  79. data/lib/cm_admin/view_helpers.rb +72 -0
  80. data/lib/cm_admin/view_helpers/field_column_helper.rb +23 -0
  81. data/lib/cm_admin/view_helpers/form_field_helper.rb +16 -0
  82. data/lib/cm_admin/view_helpers/form_helper.rb +55 -0
  83. data/lib/cm_admin/view_helpers/navigation_helper.rb +18 -0
  84. data/lib/cm_admin/view_helpers/page_info_helper.rb +21 -0
  85. data/lib/generators/cm_admin/install_generator.rb +10 -32
  86. data/lib/generators/cm_admin/templates/cm_admin_initializer.rb +4 -0
  87. data/lib/tasks/webpack_install.rake +63 -0
  88. data/package.json +18 -0
  89. data/postcss.config.js +12 -0
  90. data/yarn-error.log +44 -0
  91. data/yarn.lock +6903 -0
  92. metadata +123 -48
  93. data/CODE_OF_CONDUCT.md +0 -74
  94. data/lib/generators/cm_admin/USAGE +0 -8
  95. data/lib/generators/cm_admin/templates/assets/images/cm.png +0 -0
  96. data/lib/generators/cm_admin/templates/assets/stylesheets/application.css.scss +0 -33
  97. data/lib/generators/cm_admin/templates/assets/stylesheets/base/_variable.scss +0 -14
  98. data/lib/generators/cm_admin/templates/assets/stylesheets/base/form.scss +0 -125
  99. data/lib/generators/cm_admin/templates/assets/stylesheets/base/input-styles.scss +0 -72
  100. data/lib/generators/cm_admin/templates/assets/stylesheets/base/main-nav.scss +0 -79
  101. data/lib/generators/cm_admin/templates/assets/stylesheets/base/scaffold.scss +0 -95
  102. data/lib/generators/cm_admin/templates/assets/stylesheets/base/show.scss +0 -88
  103. data/lib/generators/cm_admin/templates/assets/stylesheets/base/sidebar.scss +0 -69
  104. data/lib/generators/cm_admin/templates/assets/stylesheets/base/table.scss +0 -246
  105. data/lib/generators/cm_admin/templates/layouts/_navbar.html.slim +0 -8
  106. data/lib/generators/cm_admin/templates/layouts/_side_navbar.html.slim +0 -12
  107. data/lib/generators/cm_admin/templates/layouts/application.html.slim +0 -20
  108. data/lib/generators/cm_admin/templates/layouts/initializer.rb +0 -2
  109. data/lib/generators/cm_admin/templates/views/_form.erb +0 -67
  110. data/lib/generators/cm_admin/templates/views/_table.erb +0 -22
  111. data/lib/generators/cm_admin/templates/views/edit.erb +0 -10
  112. data/lib/generators/cm_admin/templates/views/index.erb +0 -11
  113. data/lib/generators/cm_admin/templates/views/new.erb +0 -10
  114. data/lib/generators/cm_admin/templates/views/reset_password.erb +0 -12
  115. data/lib/generators/cm_admin/templates/views/show.erb +0 -18
  116. data/lib/generators/cm_admin/templates/views/sign_in.erb +0 -18
  117. data/lib/generators/cm_admin/view_generator.rb +0 -78
metadata CHANGED
@@ -1,104 +1,179 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - Anbazhagan Palani
7
+ - sajinmp
8
+ - anbublacky
9
+ - manikandan0603
8
10
  autorequire:
9
- bindir: bin
11
+ bindir: exe
10
12
  cert_chain: []
11
- date: 2020-05-08 00:00:00.000000000 Z
13
+ date: 2021-06-16 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
- name: bundler
16
+ name: pagy
15
17
  requirement: !ruby/object:Gem::Requirement
16
18
  requirements:
17
19
  - - "~>"
18
20
  - !ruby/object:Gem::Version
19
- version: '2.0'
20
- type: :development
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: '2.0'
28
+ version: '3.13'
27
29
  - !ruby/object:Gem::Dependency
28
- name: rake
30
+ name: slim
29
31
  requirement: !ruby/object:Gem::Requirement
30
32
  requirements:
31
33
  - - "~>"
32
34
  - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
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: '10.0'
42
+ version: 4.1.0
41
43
  - !ruby/object:Gem::Dependency
42
- name: rspec
44
+ name: webpacker
43
45
  requirement: !ruby/object:Gem::Requirement
44
46
  requirements:
45
47
  - - "~>"
46
48
  - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
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: '3.0'
55
- description:
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
+ description: This is an admin panel gem
56
72
  email:
57
- - anbu@commutatus.com
73
+ - sajinprasadkm@gmail.com
74
+ - anbublacky@gmail.com
58
75
  executables: []
59
76
  extensions: []
60
77
  extra_rdoc_files: []
61
78
  files:
62
- - CODE_OF_CONDUCT.md
79
+ - ".gitignore"
80
+ - ".rspec"
81
+ - ".travis.yml"
63
82
  - Gemfile
83
+ - Gemfile.lock
84
+ - LICENSE.txt
64
85
  - README.md
65
86
  - Rakefile
87
+ - app/assets/images/logo.png
88
+ - app/assets/stylesheets/cm_admin/base/auth.scss
89
+ - app/assets/stylesheets/cm_admin/base/common.scss
90
+ - app/assets/stylesheets/cm_admin/base/filters.scss
91
+ - app/assets/stylesheets/cm_admin/base/form.scss
92
+ - app/assets/stylesheets/cm_admin/base/main-nav.scss
93
+ - app/assets/stylesheets/cm_admin/base/navbar.scss
94
+ - app/assets/stylesheets/cm_admin/base/quicksearch.scss
95
+ - app/assets/stylesheets/cm_admin/base/scaffold.scss
96
+ - app/assets/stylesheets/cm_admin/base/show.scss
97
+ - app/assets/stylesheets/cm_admin/base/sidebar.scss
98
+ - app/assets/stylesheets/cm_admin/base/table.scss
99
+ - app/assets/stylesheets/cm_admin/base/tabs.scss
100
+ - app/assets/stylesheets/cm_admin/cm_admin.css.scss
101
+ - app/assets/stylesheets/cm_admin/components/_alerts.scss
102
+ - app/assets/stylesheets/cm_admin/components/_buttons.scss
103
+ - app/assets/stylesheets/cm_admin/components/_dropdown-popup.scss
104
+ - app/assets/stylesheets/cm_admin/components/_input.scss
105
+ - app/assets/stylesheets/cm_admin/components/_modal.scss
106
+ - app/assets/stylesheets/cm_admin/components/_range.scss
107
+ - app/assets/stylesheets/cm_admin/components/_status-tag.scss
108
+ - app/assets/stylesheets/cm_admin/components/index.scss
109
+ - app/assets/stylesheets/cm_admin/dependency/bootstrap.min.css
110
+ - app/assets/stylesheets/cm_admin/helpers/_mixins.scss
111
+ - app/assets/stylesheets/cm_admin/helpers/_variable.scss
112
+ - app/assets/stylesheets/cm_admin/helpers/index.scss
113
+ - app/controllers/cm_admin/application_controller.rb
114
+ - app/controllers/cm_admin/exports_controller.rb
115
+ - app/controllers/cm_admin/main_controller.rb
116
+ - app/helpers/cm_admin/application_helper.rb
117
+ - app/javascript/packs/cm_admin/application.js
118
+ - app/javascript/packs/cm_admin/filters.js
119
+ - app/javascript/packs/cm_admin/scaffolds.js
120
+ - app/views/cm_admin/main/_cm_pagy_nav.html.slim
121
+ - app/views/cm_admin/main/_filters.html.slim
122
+ - app/views/cm_admin/main/_table.html.slim
123
+ - app/views/cm_admin/main/_top_navbar.html.slim
124
+ - app/views/cm_admin/main/dashboard.html.slim
125
+ - app/views/cm_admin/main/edit.html.slim
126
+ - app/views/cm_admin/main/index.html.slim
127
+ - app/views/cm_admin/main/new.html.slim
128
+ - app/views/cm_admin/main/show.html.slim
129
+ - app/views/layouts/_left_sidebar_nav.html.slim
130
+ - app/views/layouts/cm_admin.html.slim
66
131
  - bin/console
67
132
  - bin/setup
133
+ - bin/webpack
134
+ - bin/webpack-dev-server
68
135
  - cm_admin.gemspec
69
- - lib/.DS_Store
136
+ - config/.DS_Store
137
+ - config/initializers/active_record_extension.rb
138
+ - config/routes.rb
139
+ - config/webpack/development.js
140
+ - config/webpack/environment.js
141
+ - config/webpack/production.js
142
+ - config/webpack/test.js
143
+ - config/webpacker.yml
144
+ - lib/c.png
70
145
  - lib/cm_admin.rb
146
+ - lib/cm_admin/constants.rb
147
+ - lib/cm_admin/engine.rb
148
+ - lib/cm_admin/model.rb
149
+ - lib/cm_admin/models/action.rb
150
+ - lib/cm_admin/models/actions/blocks.rb
151
+ - lib/cm_admin/models/blocks.rb
152
+ - lib/cm_admin/models/column.rb
153
+ - lib/cm_admin/models/export.rb
154
+ - lib/cm_admin/models/field.rb
155
+ - lib/cm_admin/models/filter.rb
156
+ - lib/cm_admin/utils.rb
71
157
  - lib/cm_admin/version.rb
72
- - lib/generators/cm_admin/USAGE
158
+ - lib/cm_admin/view_helpers.rb
159
+ - lib/cm_admin/view_helpers/field_column_helper.rb
160
+ - lib/cm_admin/view_helpers/form_field_helper.rb
161
+ - lib/cm_admin/view_helpers/form_helper.rb
162
+ - lib/cm_admin/view_helpers/navigation_helper.rb
163
+ - lib/cm_admin/view_helpers/page_info_helper.rb
73
164
  - lib/generators/cm_admin/install_generator.rb
74
- - lib/generators/cm_admin/templates/assets/images/cm.png
75
- - lib/generators/cm_admin/templates/assets/stylesheets/application.css.scss
76
- - lib/generators/cm_admin/templates/assets/stylesheets/base/_variable.scss
77
- - lib/generators/cm_admin/templates/assets/stylesheets/base/auth.scss
78
- - lib/generators/cm_admin/templates/assets/stylesheets/base/form.scss
79
- - lib/generators/cm_admin/templates/assets/stylesheets/base/input-styles.scss
80
- - lib/generators/cm_admin/templates/assets/stylesheets/base/main-nav.scss
81
- - lib/generators/cm_admin/templates/assets/stylesheets/base/scaffold.scss
82
- - lib/generators/cm_admin/templates/assets/stylesheets/base/show.scss
83
- - lib/generators/cm_admin/templates/assets/stylesheets/base/sidebar.scss
84
- - lib/generators/cm_admin/templates/assets/stylesheets/base/table.scss
85
- - lib/generators/cm_admin/templates/layouts/_navbar.html.slim
86
- - lib/generators/cm_admin/templates/layouts/_side_navbar.html.slim
87
- - lib/generators/cm_admin/templates/layouts/application.html.slim
88
- - lib/generators/cm_admin/templates/layouts/initializer.rb
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/edit.erb
92
- - lib/generators/cm_admin/templates/views/index.erb
93
- - lib/generators/cm_admin/templates/views/new.erb
94
- - lib/generators/cm_admin/templates/views/reset_password.erb
95
- - lib/generators/cm_admin/templates/views/show.erb
96
- - lib/generators/cm_admin/templates/views/sign_in.erb
97
- - lib/generators/cm_admin/view_generator.rb
165
+ - lib/generators/cm_admin/templates/cm_admin_initializer.rb
166
+ - lib/tasks/webpack_install.rake
167
+ - package.json
168
+ - postcss.config.js
169
+ - yarn-error.log
170
+ - yarn.lock
98
171
  homepage: https://github.com/commutatus/cm-admin
99
172
  licenses:
100
173
  - MIT
101
- metadata: {}
174
+ metadata:
175
+ homepage_uri: https://github.com/commutatus/cm-admin
176
+ source_code_uri: https://github.com/commutatus/cm-admin
102
177
  post_install_message:
103
178
  rdoc_options: []
104
179
  require_paths:
@@ -107,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
182
  requirements:
108
183
  - - ">="
109
184
  - !ruby/object:Gem::Version
110
- version: '0'
185
+ version: 2.3.0
111
186
  required_rubygems_version: !ruby/object:Gem::Requirement
112
187
  requirements:
113
188
  - - ">="
@@ -117,5 +192,5 @@ requirements: []
117
192
  rubygems_version: 3.0.3
118
193
  signing_key:
119
194
  specification_version: 4
120
- summary: Setup basic requied components for admin management.
195
+ summary: This is an admin panel gem
121
196
  test_files: []
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at charithsaivadla@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
@@ -1,8 +0,0 @@
1
- Description:
2
- Explain the generator
3
-
4
- Example:
5
- rails generate cm_admin Thing
6
-
7
- This will create:
8
- what/will/it/create
@@ -1,33 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require 'base/table'
14
- *= require 'base/main-nav'
15
- *= require 'base/sidebar'
16
- *= require 'base/show'
17
- *= require 'base/form'
18
- *= require 'base/scaffold'
19
- *= require 'base/input-styles'
20
- *= require 'base/auth'
21
- *= require_self
22
- *= require 'select2'
23
- *= require bootstrap/dist/css/bootstrap
24
- *= require bootstrap-datepicker/dist/css/bootstrap-datepicker3
25
- *= require daterangepicker
26
- */
27
-
28
- $fa-font-path: '@fortawesome/fontawesome-free/webfonts';
29
- @import '@fortawesome/fontawesome-free/scss/fontawesome';
30
- @import '@fortawesome/fontawesome-free/scss/solid';
31
- @import '@fortawesome/fontawesome-free/scss/regular';
32
- @import '@fortawesome/fontawesome-free/scss/brands';
33
- @import '@fortawesome/fontawesome-free/scss/v4-shims';
@@ -1,14 +0,0 @@
1
- $elephant-black: #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 #0099ff;
10
- $active-bg: #000000;
11
- $paginate-btn-color: rgb(180, 149, 23);
12
-
13
- //general colors
14
- $white: #FFFFFF;
@@ -1,125 +0,0 @@
1
- @import "_variable.scss";
2
-
3
- .form-wrapper {
4
- margin-top: 60px;
5
-
6
- &__top-bar {
7
- position: fixed;
8
- top: 60px;
9
- left: 250px;
10
- display: flex;
11
- align-items: center;
12
- width: calc(100% - 250px);
13
- height: 60px;
14
- padding: 0 20px;
15
- background-color: $white;
16
- box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06);
17
- z-index: 9;
18
- .back-btn {
19
- color: #091e42;
20
- font-size: 20px;
21
- cursor: pointer;
22
- span {
23
- color: #0099ff;
24
- margin-right: 8px;
25
- }
26
- }
27
- }
28
-
29
- &__inner {
30
- margin-top: 120px;
31
- padding: 20px;
32
- .paper {
33
- padding: 20px;
34
- background-color: $white;
35
- box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
36
- border: 1px solid #ebecf0;
37
- border-radius: 4px;
38
- }
39
- }
40
-
41
- .cm-admin-form {
42
- max-width: 600px;
43
- .form-field {
44
- margin-bottom: 20px;
45
- .form-label {
46
- font-weight: 600;
47
- color: #172b4d;
48
- font-size: 14px;
49
- margin-bottom: 0.5rem;
50
- }
51
- .form-input {
52
- label {
53
- font-weight: 600;
54
- color: #172b4d;
55
- font-size: 14px;
56
- }
57
- input {
58
- width: 100%;
59
- padding: 5px 10px;
60
- border: 1px solid #c1c7d0;
61
- border-radius: 2px;
62
- &:focus {
63
- border-color: #66afe9 !important;
64
- outline: 0 !important;
65
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
66
- }
67
- }
68
- }
69
-
70
- .file-upload {
71
- position: relative;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- width: 250px;
76
- height: 80px;
77
- border: 2px dashed #c1c7d0;
78
- border-radius: 4px;
79
- cursor: pointer;
80
- input[type="file"] {
81
- position: absolute;
82
- top: 0;
83
- right: 0;
84
- bottom: 0;
85
- left: 0;
86
- opacity: 0;
87
- cursor: pointer;
88
- }
89
- label {
90
- color: #0099ff;
91
- margin: 0;
92
- cursor: pointer;
93
- }
94
- i {
95
- color: #0099ff;
96
- margin-left: 8px;
97
- }
98
- }
99
-
100
- .radio-label {
101
- color: #172b4d;
102
- font-size: 16px;
103
- font-weight: 600;
104
- margin-left: 8px;
105
- }
106
-
107
- .checkbox-label {
108
- color: #172b4d;
109
- font-size: 16px;
110
- font-weight: 600;
111
- margin-left: 8px;
112
- }
113
- }
114
-
115
- .form-actions {
116
- input {
117
- padding: 5px 10px;
118
- color: $white;
119
- background-color: #0099ff;
120
- border: none;
121
- border-radius: 4px;
122
- }
123
- }
124
- }
125
- }