swop 0.1.1 → 1.0.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 (139) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -9
  3. data/app/assets/images/swop/favicon.ico +0 -0
  4. data/app/assets/stylesheets/rails_admin/application.scss.erb +11 -20
  5. data/app/assets/stylesheets/{rails_admin/themes/base/base.scss → swop/swop-base/swop-base.scss} +1 -5
  6. data/app/assets/stylesheets/swop/swop-base/swop-typography.scss +11 -0
  7. data/app/assets/stylesheets/swop/swop-colors/swop-colors.scss +2 -0
  8. data/app/assets/stylesheets/swop/swop-core/swop-bootstrap-variables.scss +172 -0
  9. data/app/assets/stylesheets/swop/swop-core/swop-variables.scss +34 -0
  10. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-base/swop-base.scss +3 -0
  11. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-base/swop-main.scss +25 -0
  12. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-base/swop-typography.scss +4 -0
  13. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-colors/swop-amethyst.scss +29 -0
  14. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-colors/swop-dark.scss +29 -0
  15. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-colors/swop-forest.scss +29 -0
  16. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-colors/swop-light.scss +29 -0
  17. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-colors/swop-royal.scss +29 -0
  18. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-alerts.scss +12 -0
  19. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-badges.scss +31 -0
  20. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-buttons.scss +133 -0
  21. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-dropdowns.scss +26 -0
  22. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-filters.scss +57 -0
  23. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-forms.scss +158 -0
  24. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-images.scss +31 -0
  25. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-input-groups.scss +18 -0
  26. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-loading.scss +14 -0
  27. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-navbar.scss +15 -0
  28. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-navs.scss +77 -0
  29. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-offcanvas.scss +64 -0
  30. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-pagination.scss +21 -0
  31. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-progress.scss +3 -0
  32. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-sidebars.scss +49 -0
  33. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-tables.scss +82 -0
  34. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-components/swop-tiles.scss +20 -0
  35. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-core/swop-bootstrap-variables.scss +149 -0
  36. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-core/swop-variables.scss +41 -0
  37. data/app/assets/stylesheets/{rails_admin/themes/simple/components/containers.scss → swop/swop-themes/swop-simple/swop-layouts/swop-containers.scss} +9 -0
  38. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-layouts/swop-header.scss +15 -0
  39. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-amethyst.scss +35 -0
  40. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-base.scss +3 -0
  41. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-components.scss +17 -0
  42. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-dark.scss +35 -0
  43. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-forest.scss +35 -0
  44. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-layouts.scss +2 -0
  45. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-light.scss +35 -0
  46. data/app/assets/stylesheets/swop/swop-themes/swop-simple/swop-simple-royal.scss +35 -0
  47. data/app/assets/stylesheets/swop/swop.scss +8 -0
  48. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +7 -0
  49. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +5 -0
  50. data/app/views/kaminari/ra-twitter-bootstrap/default/_next_page.html.erb +9 -0
  51. data/app/views/kaminari/ra-twitter-bootstrap/default/_prev_page.html.erb +9 -0
  52. data/app/views/kaminari/ra-twitter-bootstrap/swop-simple/_next_page.html.erb +9 -0
  53. data/app/views/kaminari/ra-twitter-bootstrap/swop-simple/_prev_page.html.erb +9 -0
  54. data/app/views/layouts/rails_admin/_head.html.erb +5 -32
  55. data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +5 -3
  56. data/app/views/layouts/rails_admin/application.html.erb +5 -27
  57. data/app/views/layouts/rails_admin/content.html.erb +4 -11
  58. data/app/views/layouts/rails_admin/default/_application.html.erb +27 -0
  59. data/app/views/layouts/rails_admin/default/_content.html.erb +22 -0
  60. data/app/views/layouts/rails_admin/default/_head.html.erb +32 -0
  61. data/app/views/layouts/rails_admin/default/_sidebar_navigation.html.erb +5 -0
  62. data/app/views/layouts/rails_admin/swop-simple/_application.html.erb +17 -0
  63. data/app/views/layouts/rails_admin/swop-simple/_content.html.erb +41 -0
  64. data/app/views/layouts/rails_admin/swop-simple/_head.html.erb +42 -0
  65. data/app/views/layouts/rails_admin/swop-simple/_sidebar_navigation.html.erb +12 -0
  66. data/app/views/rails_admin/main/_delete_notice.html.erb +7 -0
  67. data/app/views/rails_admin/main/default/_delete.html.erb +21 -0
  68. data/app/views/rails_admin/main/default/_delete_notice.html.erb +34 -0
  69. data/app/views/rails_admin/main/default/_edit.html.erb +3 -0
  70. data/app/views/rails_admin/main/default/_export.html.erb +149 -0
  71. data/app/views/rails_admin/main/default/_history.html.erb +80 -0
  72. data/app/views/rails_admin/main/default/_index.html.erb +184 -0
  73. data/app/views/rails_admin/main/default/_new.html.erb +3 -0
  74. data/app/views/rails_admin/main/default/_show.html.erb +30 -0
  75. data/app/views/rails_admin/main/delete.html.erb +5 -0
  76. data/app/views/rails_admin/main/edit.html.erb +5 -0
  77. data/app/views/rails_admin/main/export.html.erb +5 -128
  78. data/app/views/rails_admin/main/history.html.erb +4 -86
  79. data/app/views/rails_admin/main/index.html.erb +4 -173
  80. data/app/views/rails_admin/main/new.html.erb +5 -0
  81. data/app/views/rails_admin/main/show.html.erb +5 -20
  82. data/app/views/rails_admin/main/swop-simple/_delete.html.erb +11 -0
  83. data/app/views/rails_admin/main/swop-simple/_delete_notice.html.erb +23 -0
  84. data/app/views/rails_admin/main/swop-simple/_edit.html.erb +3 -0
  85. data/app/views/rails_admin/main/swop-simple/_export.html.erb +90 -0
  86. data/app/views/rails_admin/main/swop-simple/_history.html.erb +80 -0
  87. data/app/views/rails_admin/main/swop-simple/_index.html.erb +169 -0
  88. data/app/views/rails_admin/main/swop-simple/_new.html.erb +3 -0
  89. data/app/views/rails_admin/main/swop-simple/_show.html.erb +18 -0
  90. data/lib/swop/engine.rb +8 -3
  91. data/lib/swop/railtie.rb +7 -0
  92. data/lib/swop/version.rb +1 -1
  93. data/lib/swop.rb +20 -2
  94. metadata +102 -98
  95. data/CHANGELOG.md +0 -5
  96. data/CODE_OF_CONDUCT.md +0 -132
  97. data/LICENSE +0 -201
  98. data/Rakefile +0 -4
  99. data/app/assets/javascripts/rails_admin/application.js.erb +0 -33
  100. data/app/assets/javascripts/rails_admin/custom/abstract-select.js +0 -30
  101. data/app/assets/javascripts/rails_admin/custom/filter-box.js +0 -363
  102. data/app/assets/javascripts/rails_admin/custom/filtering-multiselect.js +0 -387
  103. data/app/assets/javascripts/rails_admin/custom/filtering-select.js +0 -304
  104. data/app/assets/stylesheets/rails_admin/themes/base/bootstrap-variables.scss +0 -252
  105. data/app/assets/stylesheets/rails_admin/themes/base/theming.scss +0 -22
  106. data/app/assets/stylesheets/rails_admin/themes/base/variables.scss +0 -71
  107. data/app/assets/stylesheets/rails_admin/themes/simple/base/typography.scss +0 -22
  108. data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-dark.scss +0 -74
  109. data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-light.scss +0 -77
  110. data/app/assets/stylesheets/rails_admin/themes/simple/base/variables-navy.scss +0 -74
  111. data/app/assets/stylesheets/rails_admin/themes/simple/base/variables.scss +0 -129
  112. data/app/assets/stylesheets/rails_admin/themes/simple/components/alerts.scss +0 -88
  113. data/app/assets/stylesheets/rails_admin/themes/simple/components/breadcrumbs.scss +0 -44
  114. data/app/assets/stylesheets/rails_admin/themes/simple/components/buttons.scss +0 -138
  115. data/app/assets/stylesheets/rails_admin/themes/simple/components/dropdowns.scss +0 -12
  116. data/app/assets/stylesheets/rails_admin/themes/simple/components/filter-box.scss +0 -8
  117. data/app/assets/stylesheets/rails_admin/themes/simple/components/filtering-multiselect.scss +0 -40
  118. data/app/assets/stylesheets/rails_admin/themes/simple/components/filtering-select.scss +0 -42
  119. data/app/assets/stylesheets/rails_admin/themes/simple/components/forms.scss +0 -27
  120. data/app/assets/stylesheets/rails_admin/themes/simple/components/images.scss +0 -19
  121. data/app/assets/stylesheets/rails_admin/themes/simple/components/links.scss +0 -25
  122. data/app/assets/stylesheets/rails_admin/themes/simple/components/navs.scss +0 -73
  123. data/app/assets/stylesheets/rails_admin/themes/simple/components/progress.scss +0 -4
  124. data/app/assets/stylesheets/rails_admin/themes/simple/components/sidebar.scss +0 -84
  125. data/app/assets/stylesheets/rails_admin/themes/simple/components/tables.scss +0 -84
  126. data/app/assets/stylesheets/rails_admin/themes/simple/layouts/rows.scss +0 -34
  127. data/app/assets/stylesheets/rails_admin/themes/simple/light/components/links.scss +0 -15
  128. data/app/assets/stylesheets/rails_admin/themes/simple/light/components/sidebar.scss +0 -25
  129. data/app/assets/stylesheets/rails_admin/themes/simple.scss.erb +0 -37
  130. data/app/helpers/rails_admin/application_helper.rb +0 -258
  131. data/app/helpers/rails_admin/form_builder.rb +0 -166
  132. data/app/views/layouts/rails_admin/_custom_navigation.html.erb +0 -10
  133. data/app/views/layouts/rails_admin/_header.html.erb +0 -43
  134. data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +0 -15
  135. data/app/views/rails_admin/main/_submit_buttons.html.erb +0 -29
  136. data/app/views/rails_admin/main/dashboard.html.erb +0 -64
  137. data/config/locales/rails_admin.en.yml +0 -158
  138. data/sig/swop.rbs +0 -4
  139. /data/app/assets/stylesheets/{rails_admin/themes/base/mixins.scss → swop/swop-core/swop-mixins.scss} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7f20e36d72c19d59070aba940459cb56cfddcd16af746989beec6708046c078
4
- data.tar.gz: 1bb9176840752dbfce4b6a496ee7df30ab988b6c86231248f5c122db64793fb7
3
+ metadata.gz: f1c41d193eebf6cb2e455f6ec6cfb059ead151f202dfcbaf512a7d102de4f615
4
+ data.tar.gz: 8c1b473d4e0dc2cb7298fee8d6671c1bbdda7915e51921c67baee11933a77503
5
5
  SHA512:
6
- metadata.gz: 5dd3d16f8d641e05332f0b3165c053fd9b1cbca0f56cb441cc69cb3f2d334c999c96917d1f0e691f4e98ee489d57677189c67d746adf492065947c3a548a6b19
7
- data.tar.gz: d280467a06ec12655983eeb7171849a9daceee2dcee989c5573ef4af1a29713f792e28917051cb540b0454da86be9f07e075caf1424ca44073d669d6c62e6e41
6
+ metadata.gz: 256a64805a43a571260bdd17d58811e786da10bf3dc5d6b8e9125408441e6779d55b23d659c278fb960c87204ff8990218e7d06c601b51d13e084fef1e0177d5
7
+ data.tar.gz: '0676317308009378d1071a6665edd7c399e2fdc84a0ccc54a43bc02684d4ae309e5c874a16a5b7466b86c964cc7d774a2b3a742c181759bd1a5bfd0fd74fca85'
data/README.md CHANGED
@@ -1,15 +1,53 @@
1
1
  # Swop
2
2
 
3
- Theme's for the rails_admin gem
3
+ **Swop** is a Rails Admin theme gem that lets you instantly apply polished, modern themes to your Rails Admin dashboards. With Swop, you don’t need to write any CSS—just install the gem and your admin interface gets a clean, professional look. Swop **saves development time** and helps make your admin dashboards **more effective**, so you can focus on managing your data instead of styling your interface.
4
4
 
5
- ## Features
6
- • Seamlessly responsive on any device.
7
- • Built with UX research and design.
8
- • Dedicated support whenever you need it.
9
- • Effortless installation for your app.
10
5
 
11
6
  ## Installation
12
7
 
13
- 1. Add this line to your Gemfile: 'swop'
14
- 2. Run bundle install in terminal
15
- 3. Start your app and head to /admin (if you chose the default /admin namespace for rails admin) to see your new rails admin theme!
8
+ Install the gem and add to the application's Gemfile by executing:
9
+
10
+ ```bash
11
+ bundle add swop
12
+ ```
13
+
14
+ If bundler is not being used to manage dependencies, install the gem by executing:
15
+
16
+ ```bash
17
+ gem install swop
18
+ ```
19
+
20
+ ## Configuration
21
+
22
+ After installing, create an initializer file at config/initializers/swop.rb to configure the theme:
23
+
24
+ ```ruby
25
+ Swop.configure do |config|
26
+ config.style = :simple
27
+ config.color = :light
28
+ end
29
+ ```
30
+
31
+ This file lets you choose the ```style``` and ```color``` of your Rails Admin dashboard. Currently, there is one ```style``` available (Simple) and multiple ```color``` options (Amethyst, Dark, Forest, Light and Royal). More styles and colors will be added in future releases.
32
+
33
+
34
+ ## Usage
35
+
36
+ Swop is completely **plug-and-play**. Once installed and after you have created ```swop.rb``` in your initializers folder, the theme is automatically applied to your Rails Admin dashboards—**no additional setup or configuration is needed**.
37
+
38
+ Future versions of Swop will include options to **customize the theme**, but for now, you can enjoy a polished, modern admin interface instantly.
39
+
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Harissoooon/swop. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Harissoooon/swop/blob/master/CODE_OF_CONDUCT.md).
44
+
45
+
46
+ ## License
47
+
48
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
50
+
51
+ ## Code of Conduct
52
+
53
+ Everyone interacting in the Swop project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Harissoooon/swop/blob/master/CODE_OF_CONDUCT.md).
Binary file
@@ -1,37 +1,28 @@
1
1
  @charset "UTF-8";
2
2
 
3
- // RailsAdmin - Variables
3
+ // variables
4
+ @import "rails_admin/custom/variables";
4
5
  @import "rails_admin/styles/base/variables";
5
6
 
6
- // RailsAdmin - Mixins
7
+ // mixins
7
8
  @import "rails_admin/styles/base/mixins";
9
+ @import "rails_admin/custom/mixins";
8
10
 
9
- // Font Awesome
10
- @import "font-awesome";
11
+ // bootstrap
12
+ @import "rails_admin/bootstrap/bootstrap";
11
13
 
12
- // Themes - Core
13
- @import "themes/base/mixins";
14
-
15
- // Themes - Variables
16
- @import "themes/base/variables";
17
-
18
- // Themes - Base
19
- @import "themes/base/base";
20
-
21
- // Themes
22
- @import "themes/simple";
23
-
24
- // Libraries
14
+ // libraries
25
15
  @import "rails_admin/flatpickr";
26
16
  @import "rails_admin/styles/filtering-select";
27
17
  @import "rails_admin/styles/filtering-multiselect";
28
18
  @import "rails_admin/styles/widgets";
29
19
 
30
- // Font awesome
20
+ // fontawesome
31
21
  @import "rails_admin/font-awesome";
32
22
 
33
- // RailsAdmin Theming
34
- @import "rails_admin/themes/base/theming";
23
+ // railsadmin theming
24
+ @import "rails_admin/styles/base/theming";
25
+ @import "rails_admin/custom/theming";
35
26
 
36
27
  <% if defined?(ActionText::Engine) && Rails.gem_version >= Gem::Version.new('7.0') %>
37
28
  @import "trix";
@@ -1,9 +1,5 @@
1
- // Font anti-aliasing fix for Mac users
1
+ // font anti-aliasing fix for Mac users
2
2
  * {
3
3
  -moz-osx-font-smoothing: grayscale;
4
4
  -webkit-font-smoothing: antialiased;
5
5
  }
6
-
7
- .z-1 {
8
- z-index: 1 !important;
9
- }
@@ -0,0 +1,11 @@
1
+ .text-hover-underline {
2
+ text-decoration: none !important;
3
+
4
+ &:hover {
5
+ text-decoration: underline !important;
6
+ }
7
+ }
8
+
9
+ .fw-semibold {
10
+ font-weight: $fw-semibold !important;
11
+ }
@@ -0,0 +1,2 @@
1
+ $white: #ffffff;
2
+ $black: #000000;
@@ -0,0 +1,172 @@
1
+ $white: $white;
2
+ $black: $black;
3
+
4
+ $primary: $primary-color;
5
+ $secondary: $secondary-color;
6
+ $success: $success-color;
7
+ $info: $info-color;
8
+ $warning: $warning-color;
9
+ $danger: $danger-color;
10
+ $light: $light-color;
11
+ $dark: $dark-color;
12
+
13
+ // options
14
+ $enable-negative-margins: true;
15
+
16
+ // spacing
17
+ $spacers: (
18
+ 0: 0,
19
+ 1: $spacer-1,
20
+ 2: $spacer-2,
21
+ 3: $spacer-3,
22
+ 4: $spacer-4,
23
+ 5: $spacer-5,
24
+ 6: $spacer-6,
25
+ 7: $spacer-7,
26
+ 8: $spacer-8,
27
+ 9: $spacer-9,
28
+ 10: $spacer-10,
29
+ 11: $spacer-11,
30
+ 12: $spacer-12,
31
+ 13: $spacer-13,
32
+ 14: $spacer-14,
33
+ 15: $spacer-15
34
+ );
35
+
36
+ // body
37
+ $body-color: $body-color;
38
+ $body-bg: $body-bg;
39
+
40
+ $body-secondary-color: $body-secondary-color;
41
+
42
+ // links
43
+ $link-color: $body-color;
44
+ $link-decoration: none;
45
+ $link-hover-color: $body-dark-color;
46
+
47
+ // grid breakpoints
48
+ $grid-breakpoints: (
49
+ xs: 0,
50
+ sm: 576px,
51
+ md: 768px,
52
+ lg: 992px,
53
+ xl: 1280px,
54
+ xxl: 1440px
55
+ );
56
+
57
+ // grid containers
58
+ $container-max-widths: (
59
+ sm: 576px,
60
+ md: 768px,
61
+ lg: 992px,
62
+ xl: 1184px,
63
+ xxl: 1344px
64
+ );
65
+
66
+ // grid columns
67
+ $grid-gutter-width: $spacer-7;
68
+
69
+ // components
70
+ $border-width: $borders-width;
71
+ $border-color: $borders-color;
72
+
73
+ $border-radius: $md-border-radius;
74
+ $border-radius-sm: $sm-border-radius;
75
+ $border-radius-lg: $lg-border-radius;
76
+ $border-radius-xl: $xl-border-radius;
77
+
78
+ $box-shadow: $md-box-shadow;
79
+ $box-shadow-sm: $sm-box-shadow;
80
+ $box-shadow-lg: $lg-box-shadow;
81
+
82
+ // typography
83
+ $font-family-sans-serif: $font-family;
84
+
85
+ $font-size-base: $md-font-size;
86
+ $font-size-sm: $sm-font-size;
87
+ $font-size-lg: $lg-font-size;
88
+
89
+ $font-weight-normal: $fw-normal;
90
+ $font-weight-medium: $fw-medium;
91
+ $font-weight-semibold: $fw-semibold;
92
+ $font-weight-bold: $fw-bold;
93
+
94
+ $line-height-base: $md-line-height;
95
+ $line-height-sm: $sm-line-height;
96
+ $line-height-lg: $lg-line-height;
97
+
98
+ $h1-font-size: $h1-font-size;
99
+ $h2-font-size: $h2-font-size;
100
+ $h3-font-size: $h3-font-size;
101
+ $h4-font-size: $h4-font-size;
102
+ $h5-font-size: $h5-font-size;
103
+ $h6-font-size: $h6-font-size;
104
+
105
+ $headings-line-height: $sm-line-height;
106
+ $headings-color: $body-dark-color;
107
+
108
+ $small-font-size: $sm-font-size;
109
+
110
+ $text-muted: $body-secondary-color;
111
+
112
+ $hr-margin-y: 0;
113
+ $hr-color: $borders-color;
114
+
115
+ $hr-bg-color: $borders-color;
116
+
117
+ $hr-border-color: $borders-color;
118
+ $hr-border-width: $borders-width;
119
+ $hr-opacity: 1;
120
+
121
+ // tables
122
+ $table-cell-padding-y: $spacer-2;
123
+ $table-cell-padding-x: $spacer-3;
124
+ $table-cell-padding-y-sm: $spacer-1;
125
+ $table-cell-padding-x-sm: $spacer-2;
126
+
127
+ $table-cell-vertical-align: center;
128
+
129
+ $table-color: $body-color;
130
+
131
+ $table-striped-bg: $body-bg;
132
+
133
+ $table-hover-bg: $light-color;
134
+
135
+ // buttons + forms
136
+ $input-btn-padding-y: $md-inputs-btn-padding-y;
137
+ $input-btn-padding-x: $md-inputs-btn-padding-x;
138
+
139
+ $input-btn-padding-y-sm: $sm-inputs-btn-padding-y;
140
+ $input-btn-padding-x-sm: $sm-inputs-btn-padding-x;
141
+
142
+ $input-btn-padding-y-lg: $lg-inputs-btn-padding-y;
143
+ $input-btn-padding-x-lg: $lg-inputs-btn-padding-x;
144
+
145
+ // buttons
146
+ $btn-padding-x: $md-btn-padding-x;
147
+
148
+ $btn-padding-x-sm: $sm-btn-padding-x;
149
+
150
+ $btn-padding-x-lg: $lg-btn-padding-x;
151
+
152
+ $btn-border-radius: $md-inputs-btn-border-radius;
153
+ $btn-border-radius-sm: $sm-inputs-btn-border-radius;
154
+ $btn-border-radius-lg: $lg-inputs-btn-border-radius;
155
+
156
+ // forms
157
+ $input-padding-y: $md-inputs-btn-padding-y;
158
+ $input-padding-x: $md-inputs-btn-padding-x;
159
+
160
+ $input-padding-y-sm: $sm-inputs-btn-padding-y;
161
+ $input-padding-x-sm: $sm-inputs-btn-padding-x;
162
+
163
+ $input-padding-y-lg: $lg-inputs-btn-padding-y;
164
+ $input-padding-x-lg: $lg-inputs-btn-padding-x;
165
+
166
+ $input-border-color: $inputs-border-color;
167
+
168
+ $input-border-radius: $md-inputs-btn-border-radius;
169
+ $input-border-radius-sm: $sm-inputs-btn-border-radius;
170
+ $input-border-radius-lg: $lg-inputs-btn-border-radius;
171
+
172
+ $input-placeholder-color: $body-secondary-color;
@@ -0,0 +1,34 @@
1
+ // spacing
2
+ $spacer: rem(4px);
3
+ $spacer-1: $spacer; // 4px
4
+ $spacer-2: $spacer * 2; // 8px
5
+ $spacer-3: $spacer * 3; // 12px
6
+ $spacer-4: $spacer * 4; // 16px
7
+ $spacer-5: $spacer * 5; // 20px
8
+ $spacer-6: $spacer * 6; // 24px
9
+ $spacer-7: $spacer * 8; // 32px
10
+ $spacer-8: $spacer * 10; // 40px
11
+ $spacer-9: $spacer * 12; // 48px
12
+ $spacer-10: $spacer * 16; // 64px
13
+ $spacer-11: $spacer * 20; // 80px
14
+ $spacer-12: $spacer * 24; // 96px
15
+ $spacer-13: $spacer * 28; // 112px
16
+ $spacer-14: $spacer * 32; // 128px
17
+ $spacer-15: $spacer * 36; // 144px
18
+
19
+ // components
20
+ $borders-width: rem(1px);
21
+
22
+ $base-border-radius: rem(4px);
23
+
24
+ // typography
25
+ $fw-normal: 400;
26
+ $fw-medium: 500;
27
+ $fw-semibold: 600;
28
+ $fw-bold: 700;
29
+
30
+ $base-font-size: rem(16px);
31
+
32
+ $lg-line-height: 2;
33
+ $md-line-height: 1.625;
34
+ $sm-line-height: 1.25;
@@ -0,0 +1,3 @@
1
+ * {
2
+ transition: none !important;
3
+ }
@@ -0,0 +1,25 @@
1
+ .main {
2
+ margin-left: -$spacer-1;
3
+ margin-right: -$spacer-1;
4
+ padding-bottom: $spacer-7;
5
+ padding-left: $spacer-1;
6
+ padding-right: $spacer-1;
7
+ padding-top: $spacer-6;
8
+
9
+ @include media-breakpoint-up(md) {
10
+ display: flex;
11
+ flex-direction: column;
12
+ height: 100vh;
13
+ overflow-x: scroll;
14
+ padding-bottom: $spacer-8;
15
+ padding-top: $spacer-7;
16
+ scrollbar-width: none;
17
+ }
18
+
19
+ &::-webkit-scrollbar {
20
+
21
+ @include media-breakpoint-up(md) {
22
+ display: none;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,4 @@
1
+ ul:not(.nav-tabs):not(.sidebar):not(.dropdown-menu) {
2
+ margin-bottom: $spacer-4;
3
+ padding-left: $spacer-4;
4
+ }
@@ -0,0 +1,29 @@
1
+ $primary-color: #bc51e6;
2
+ $secondary-color: #695f74;
3
+ $success-color: #0ea247;
4
+ $info-color: #2f99ce;
5
+ $warning-color: #d6961d;
6
+ $danger-color: #c9403d;
7
+ $light-color: #1b0925;
8
+ $dark-color: #fefbff;
9
+
10
+ $box-shadow-color: $black;
11
+
12
+ $body-bg: #12031c;
13
+
14
+ $body-color: #b4bccc;
15
+ $body-secondary-color: $secondary-color;
16
+ $body-dark-color: $dark-color;
17
+
18
+ $borders-color: #1c0e2c;
19
+
20
+ $inputs-border-color: #391143;
21
+
22
+ // miscellaneous
23
+ $avatar-bg-color: desaturate(lighten($light-color, 10%), 8%);
24
+ $avatar-color: desaturate(lighten($light-color, 44%), 8%);
25
+
26
+ $btn-body-hover-border: lighten($inputs-border-color, 3%);
27
+ $btn-body-active-border: lighten($inputs-border-color, 1.5%);
28
+
29
+ $overlay-bg: rgba($black, 0.75);
@@ -0,0 +1,29 @@
1
+ $primary-color: #0879e9;
2
+ $secondary-color: #586068;
3
+ $success-color: #0ea247;
4
+ $info-color: #2f99ce;
5
+ $warning-color: #d6961d;
6
+ $danger-color: #c9403d;
7
+ $light-color: #0f1117;
8
+ $dark-color: $white;
9
+
10
+ $box-shadow-color: $black;
11
+
12
+ $body-bg: #080a0e;
13
+
14
+ $body-color: #b8c0c8;
15
+ $body-secondary-color: $secondary-color;
16
+ $body-dark-color: $white;
17
+
18
+ $borders-color: #13151b;
19
+
20
+ $inputs-border-color: #1f2329;
21
+
22
+ // miscellaneous
23
+ $avatar-bg-color: desaturate(lighten($light-color, 8%), 16%);
24
+ $avatar-color: desaturate(lighten($light-color, 40%), 16%);
25
+
26
+ $btn-body-hover-border: lighten($inputs-border-color, 3%);
27
+ $btn-body-active-border: lighten($inputs-border-color, 1.5%);
28
+
29
+ $overlay-bg: rgba($black, 0.9);
@@ -0,0 +1,29 @@
1
+ $primary-color: #0ea247;
2
+ $secondary-color: #5f746d;
3
+ $success-color: #0ea247;
4
+ $info-color: #2f99ce;
5
+ $warning-color: #d6961d;
6
+ $danger-color: #c9403d;
7
+ $light-color: #021512;
8
+ $dark-color: #fbfffd;
9
+
10
+ $box-shadow-color: $black;
11
+
12
+ $body-bg: #000e0c;
13
+
14
+ $body-color: #b9c6c2;
15
+ $body-secondary-color: $secondary-color;
16
+ $body-dark-color: $dark-color;
17
+
18
+ $borders-color: #041913;
19
+
20
+ $inputs-border-color: #0a2f28;
21
+
22
+ // miscellaneous
23
+ $avatar-bg-color: desaturate(lighten($light-color, 8%), 8%);
24
+ $avatar-color: desaturate(lighten($light-color, 40%), 8%);
25
+
26
+ $btn-body-hover-border: lighten($inputs-border-color, 3%);
27
+ $btn-body-active-border: lighten($inputs-border-color, 1.5%);
28
+
29
+ $overlay-bg: rgba($black, 0.75);
@@ -0,0 +1,29 @@
1
+ $primary-color: #0a84ff;
2
+ $secondary-color: #909098;
3
+ $success-color: #13d95f;
4
+ $info-color: #38bdff;
5
+ $warning-color: #ffb020;
6
+ $danger-color: #f04c49;
7
+ $light-color: #f8f8fa;
8
+ $dark-color: #202024;
9
+
10
+ $box-shadow-color: $dark-color;
11
+
12
+ $body-bg: $white;
13
+
14
+ $body-color: #505058;
15
+ $body-secondary-color: $secondary-color;
16
+ $body-dark-color: $dark-color;
17
+
18
+ $borders-color: #f2f2f6;
19
+
20
+ $inputs-border-color: #e6e6eC;
21
+
22
+ // miscellaneous
23
+ $avatar-bg-color: desaturate(darken($light-color, 4%), 12%);
24
+ $avatar-color: desaturate(darken($light-color, 32%), 12%);
25
+
26
+ $btn-body-hover-border: darken($inputs-border-color, 3%);
27
+ $btn-body-active-border: darken($inputs-border-color, 1.5%);
28
+
29
+ $overlay-bg: rgba($dark-color, 0.75);
@@ -0,0 +1,29 @@
1
+ $primary-color: #1f58d2;
2
+ $secondary-color: #545c6c;
3
+ $success-color: #0ea247;
4
+ $info-color: #2f99ce;
5
+ $warning-color: #d6961d;
6
+ $danger-color: #c9403d;
7
+ $light-color: #0e1222;
8
+ $dark-color: #fbfbff;
9
+
10
+ $box-shadow-color: $black;
11
+
12
+ $body-bg: #070b1b;
13
+
14
+ $body-color: #b4bccc;
15
+ $body-secondary-color: $secondary-color;
16
+ $body-dark-color: $dark-color;
17
+
18
+ $borders-color: #101621;
19
+
20
+ $inputs-border-color: #232545;
21
+
22
+ // miscellaneous
23
+ $avatar-bg-color: desaturate(lighten($light-color, 10%), 8%);
24
+ $avatar-color: desaturate(lighten($light-color, 44%), 8%);
25
+
26
+ $btn-body-hover-border: lighten($inputs-border-color, 3%);
27
+ $btn-body-active-border: lighten($inputs-border-color, 1.5%);
28
+
29
+ $overlay-bg: rgba($black, 0.75);
@@ -0,0 +1,12 @@
1
+ .alert {
2
+
3
+ &-success {
4
+ color: $white !important;
5
+ background-color: $success-color !important;
6
+ }
7
+
8
+ &-danger {
9
+ color: $white !important;
10
+ background-color: $danger-color !important;
11
+ }
12
+ }
@@ -0,0 +1,31 @@
1
+ .badge {
2
+ align-items: center;
3
+ border-radius: $md-border-radius;
4
+ display: flex;
5
+ height: rem(32px);
6
+ justify-content: center;
7
+ padding: 0;
8
+ width: rem(32px);
9
+
10
+ &.bg-default {
11
+ color: $white !important;
12
+ background-color: $secondary-color !important;
13
+ }
14
+
15
+ &.bg-success {
16
+ color: $white !important;
17
+ background-color: $success-color !important;
18
+ }
19
+
20
+ &.bg-danger {
21
+ color: $white !important;
22
+ background-color: $danger-color !important;
23
+ }
24
+
25
+ // smaller badges in rows
26
+ td & {
27
+ border-radius: $sm-border-radius;
28
+ height: rem(24px);
29
+ width: rem(24px);
30
+ }
31
+ }