activeadmin_blaze_theme 0.5.8 → 0.5.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +33 -0
  3. data/.gitignore +12 -2
  4. data/.rspec +3 -0
  5. data/.rubocop.yml +27 -0
  6. data/Gemfile +2 -0
  7. data/README.md +61 -45
  8. data/Rakefile +2 -1
  9. data/activeadmin_blaze_theme.gemspec +22 -11
  10. data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +76 -4
  11. data/bin/rails +29 -0
  12. data/bin/rake +29 -0
  13. data/bin/rspec +29 -0
  14. data/bin/rubocop +29 -0
  15. data/lib/activeadmin/views/activeadmin_form.rb +6 -2
  16. data/lib/activeadmin_blaze_theme.rb +5 -2
  17. data/lib/activeadmin_blaze_theme/version.rb +3 -1
  18. data/lib/formtastic/inputs/blaze_toggle_input.rb +12 -8
  19. data/spec/dummy/.ruby-version +1 -0
  20. data/spec/dummy/.tool-versions +1 -0
  21. data/spec/dummy/Rakefile +6 -0
  22. data/spec/dummy/app/admin/authors.rb +57 -0
  23. data/spec/dummy/app/admin/dashboard.rb +32 -0
  24. data/spec/dummy/app/admin/posts.rb +50 -0
  25. data/spec/dummy/app/admin/tags.rb +4 -0
  26. data/spec/dummy/app/assets/config/manifest.js +3 -0
  27. data/spec/dummy/app/assets/images/.keep +0 -0
  28. data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
  29. data/spec/dummy/app/assets/stylesheets/active_admin.scss +4 -0
  30. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  31. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  32. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  33. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  34. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  35. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  36. data/spec/dummy/app/javascript/packs/application.js +15 -0
  37. data/spec/dummy/app/jobs/application_job.rb +7 -0
  38. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  39. data/spec/dummy/app/models/application_record.rb +7 -0
  40. data/spec/dummy/app/models/author.rb +26 -0
  41. data/spec/dummy/app/models/concerns/.keep +0 -0
  42. data/spec/dummy/app/models/post.rb +25 -0
  43. data/spec/dummy/app/models/post_tag.rb +9 -0
  44. data/spec/dummy/app/models/profile.rb +9 -0
  45. data/spec/dummy/app/models/tag.rb +6 -0
  46. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  47. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  48. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  49. data/spec/dummy/bin/rails +4 -0
  50. data/spec/dummy/bin/rake +4 -0
  51. data/spec/dummy/bin/setup +33 -0
  52. data/spec/dummy/config.ru +5 -0
  53. data/spec/dummy/config/application.rb +18 -0
  54. data/spec/dummy/config/boot.rb +5 -0
  55. data/spec/dummy/config/cable.yml +10 -0
  56. data/spec/dummy/config/database.yml +8 -0
  57. data/spec/dummy/config/environment.rb +5 -0
  58. data/spec/dummy/config/environments/development.rb +62 -0
  59. data/spec/dummy/config/environments/production.rb +112 -0
  60. data/spec/dummy/config/environments/test.rb +49 -0
  61. data/spec/dummy/config/initializers/active_admin.rb +335 -0
  62. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  63. data/spec/dummy/config/initializers/assets.rb +12 -0
  64. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  65. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  66. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  67. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  68. data/spec/dummy/config/initializers/inflections.rb +16 -0
  69. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  70. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  71. data/spec/dummy/config/locales/en.yml +33 -0
  72. data/spec/dummy/config/puma.rb +38 -0
  73. data/spec/dummy/config/routes.rb +3 -0
  74. data/spec/dummy/config/spring.rb +6 -0
  75. data/spec/dummy/config/storage.yml +7 -0
  76. data/spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb +27 -0
  77. data/spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb +16 -0
  78. data/spec/dummy/db/migrate/20180607053251_create_authors.rb +13 -0
  79. data/spec/dummy/db/migrate/20180607053254_create_profiles.rb +12 -0
  80. data/spec/dummy/db/migrate/20180607053255_create_tags.rb +11 -0
  81. data/spec/dummy/db/migrate/20180607053257_create_post_tags.rb +12 -0
  82. data/spec/dummy/db/migrate/20180607053739_create_posts.rb +17 -0
  83. data/spec/dummy/db/schema.rb +99 -0
  84. data/spec/dummy/lib/assets/.keep +0 -0
  85. data/spec/dummy/public/404.html +67 -0
  86. data/spec/dummy/public/422.html +67 -0
  87. data/spec/dummy/public/500.html +66 -0
  88. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  89. data/spec/dummy/public/apple-touch-icon.png +0 -0
  90. data/spec/dummy/public/favicon.ico +0 -0
  91. data/spec/rails_helper.rb +36 -0
  92. data/spec/spec_helper.rb +20 -0
  93. data/spec/support/capybara.rb +3 -0
  94. data/spec/support/drivers.rb +7 -0
  95. data/spec/system/theme_spec.rb +15 -0
  96. metadata +301 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 96e0f4eda4fc536f0fa2c4da717efd6910d8824c
4
- data.tar.gz: ea4ff7374ebd3f2310f3f9c96604c022c0d4ac36
2
+ SHA256:
3
+ metadata.gz: af3f001d6915ecc2ab8b31b3161503ae7dec0ddbb3d73e540f84400021286ef8
4
+ data.tar.gz: 8e738b5f803ccb3aecc414fe3b85b4cc71806b0ba1f2d94b19a756fee83d333a
5
5
  SHA512:
6
- metadata.gz: cbb314a102e508466b89548d4267cb1f8406dc0712119359e3a14d617fe7696d581765f09d01b5fbceabc12938afcd496d3dcfd07b0721376a84900ccbd9e067
7
- data.tar.gz: 72596e95cefcc389810bfaf32ae03368241bd7779f9149ae04bd92efffbb7cebdfd311122d3d45247c313c50e8fb41ad2057cf8713210c0bf4e7c470556b9215
6
+ metadata.gz: 5a2f5c9cd1161cd38baad128f22eb90c5d05dc00807dec294908f8463be2d4d67efac5b11bb8061af7ab6f13a56a10b2eeaa1779ad239512d9fd4f6ef194b4cb
7
+ data.tar.gz: 8c7ebfe0ca82825ae580c4a8a9309c35d5cb16f9203bb04d40a0decc1ea6984994b180a045b2eb33ea8478952fec8b40a1ed49d40612d780da3c26a554f6d333
@@ -0,0 +1,33 @@
1
+ version: 2.1
2
+ orbs:
3
+ ruby: circleci/ruby@0.1.2
4
+
5
+ jobs:
6
+ build:
7
+ docker:
8
+ - image: circleci/ruby:2.6.6-stretch-node-browsers
9
+ executor: ruby/default
10
+ steps:
11
+ - checkout
12
+ - restore_cache:
13
+ key: gem-cache-{{ checksum "activeadmin_blaze_theme.gemspec" }}
14
+ - run:
15
+ name: Setup Bundler
16
+ command: gem install bundler
17
+ - run:
18
+ name: Bundle Install
19
+ command: bundle install --path vendor/bundle
20
+ - save_cache:
21
+ key: gem-cache-{{ checksum "activeadmin_blaze_theme.gemspec" }}
22
+ paths: vendor/bundle
23
+ - run:
24
+ name: Run Specs
25
+ command: |
26
+ bin/rspec \
27
+ --profile 10 \
28
+ --format RspecJunitFormatter \
29
+ --out test_results/rspec.xml \
30
+ --format progress \
31
+ $(circleci tests glob "spec/**/*_spec.rb")
32
+ - store_test_results:
33
+ path: test_results
data/.gitignore CHANGED
@@ -1,3 +1,13 @@
1
- _misc/
2
-
1
+ *.gem
3
2
  *.orig
3
+
4
+ /.rspec_failures
5
+ /.rubocop-*
6
+ /Gemfile.lock
7
+
8
+ /_misc/
9
+ /coverage/
10
+ /spec/dummy/db/*.sqlite3*
11
+ /spec/dummy/log/
12
+ /spec/dummy/storage/
13
+ /spec/dummy/tmp/
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --require rails_helper
2
+ --format documentation
3
+ --profile
@@ -0,0 +1,27 @@
1
+ inherit_from:
2
+ - https://relaxed.ruby.style/rubocop.yml
3
+
4
+ AllCops:
5
+ Exclude:
6
+ - bin/*
7
+ - spec/dummy/**/*
8
+ NewCops: enable
9
+
10
+ Gemspec/RequiredRubyVersion:
11
+ Enabled: false
12
+
13
+ Naming/FileName:
14
+ Enabled: false
15
+
16
+ Layout/LineLength:
17
+ Enabled: true
18
+ Max: 120
19
+
20
+ Style/HashEachMethods:
21
+ Enabled: true
22
+
23
+ Style/HashTransformKeys:
24
+ Enabled: true
25
+
26
+ Style/HashTransformValues:
27
+ Enabled: true
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/README.md CHANGED
@@ -1,32 +1,24 @@
1
- # Active Admin Blaze Theme [![Gem Version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme)
1
+ # Active Admin Blaze Theme
2
+ [![Gem Version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme) [![CircleCI](https://circleci.com/gh/blocknotes/activeadmin_blaze_theme.svg?style=svg)](https://circleci.com/gh/blocknotes/activeadmin_blaze_theme)
2
3
 
3
- A theme for Active Admin using [Blaze CSS](http://blazecss.com/)
4
+ A theme for Active Admin using [Blaze CSS](http://blazecss.com/).
4
5
 
5
6
  Features:
6
-
7
7
  - CSS only theme with clean UI
8
8
  - compact nested forms
9
- - [customizable](#customize): colors, sidebar position, scroll on cells
10
- - custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field)
9
+ - [customizable](#customize) options: colors, sidebar position, squared style, scroll on cells
10
+ - custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field), [Styled table](#styled-table)
11
11
  - Blaze CSS [widgets](#blaze-widgets)
12
12
 
13
13
  ## Install
14
-
15
- - Add to your Gemfile:
16
-
17
- `gem 'activeadmin_blaze_theme'`
18
-
14
+ - Add to your Gemfile: `gem 'activeadmin_blaze_theme'`
19
15
  - Execute bundle
20
-
21
- - Add at the end of your ActiveAdmin styles (_app/assets/stylesheets/active_admin.scss_):
22
-
23
- `@import "activeadmin_blaze_theme/theme";`
16
+ - Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_): `@import "activeadmin_blaze_theme/theme";`
24
17
 
25
18
  ## Customize
19
+ - To change colors add before your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
26
20
 
27
- - To change colors add before your ActiveAdmin styles (_app/assets/stylesheets/active_admin.scss_):
28
-
29
- ```css
21
+ ```scss
30
22
  // blaze colors
31
23
  $color-brand: #2C3E50;
32
24
  $color-info: #4dabf5;
@@ -58,24 +50,32 @@ $height-titlebar: 38px !default;
58
50
  $text-shadow: #000 !default;
59
51
  ```
60
52
 
61
- - To move sidebar on the left add to your ActiveAdmin styles (after blaze theme import):
53
+ - To move sidebar on the left add to your Active Admin styles (after blaze theme import):
62
54
 
63
- ```css
55
+ ```scss
64
56
  #active_admin_content.with_sidebar {
65
57
  @extend .sidebar_left;
66
58
  }
67
59
  ```
68
60
 
61
+ - Squared style (no rounded borders):
62
+
63
+ ```scss
64
+ #active_admin_content, .active_admin #title_bar {
65
+ @extend .no_rounded;
66
+ }
67
+ ```
68
+
69
69
  - More options:
70
70
 
71
- ```css
71
+ ```scss
72
72
  // scrollable table cells
73
73
  body.active_admin .index_content table {
74
74
  @extend .scrollable_cells;
75
75
  }
76
76
  ```
77
77
 
78
- ```css
78
+ ```scss
79
79
  // fix ckeditor width
80
80
  body.active_admin .cke {
81
81
  @extend .ckeditor_width_fix
@@ -85,26 +85,30 @@ body.active_admin .cke {
85
85
  ## Custom fields / components
86
86
 
87
87
  ### Toggle
88
-
89
88
  In *form* \ *inputs* block:
90
89
 
91
- `f.input :boolean, as: :blaze_toggle`
90
+ ```ruby
91
+ f.input :boolean, as: :blaze_toggle
92
+ ```
92
93
 
93
94
  To change toggle color:
94
95
 
95
- `f.input :boolean, as: :blaze_toggle, input_html: { toggle_class: 'c-toggle--brand' }`
96
+ ```ruby
97
+ f.input :boolean, as: :blaze_toggle, input_html: { toggle_class: 'c-toggle--brand' }
98
+ ```
96
99
 
97
100
  Available: `c-toggle--brand, c-toggle--info, c-toggle--warning, c-toggle--success, c-toggle--error`
98
101
 
99
102
  Standard checkbox with label on the left:
100
103
 
101
- `f.input :boolean, as: :blaze_toggle, input_html: { simple_checkbox: true }`
104
+ ```ruby
105
+ f.input :boolean, as: :blaze_toggle, input_html: { simple_checkbox: true }
106
+ ```
102
107
 
103
108
  ### Sidebar menu
104
-
105
109
  A sidebar menu (*priority* option permit to put the sidebar above the filters):
106
110
 
107
- ```rb
111
+ ```ruby
108
112
  sidebar :help, priority: 0 do
109
113
  ul class: 'blaze-menu' do
110
114
  li do
@@ -123,10 +127,9 @@ end
123
127
  ![menu](extra/screenshot4.jpg)
124
128
 
125
129
  ### Accordion
126
-
127
130
  An accordion group in a form:
128
131
 
129
- ```rb
132
+ ```ruby
130
133
  f.accordion_group do
131
134
  f.accordion 'First accordion' do
132
135
  f.inputs for: [:detail, f.object.detail || Detail.new] do |f2|
@@ -144,20 +147,35 @@ end
144
147
  ```
145
148
 
146
149
  ### Readonly field
147
-
148
150
  Some readonly fields in a form:
149
151
 
150
- `f.readonly :position`
152
+ ```ruby
153
+ f.readonly :position
154
+ ```
151
155
 
152
- `f.readonly :position, f.object.position * 2`
156
+ ```ruby
157
+ f.readonly :position, f.object.position * 2
158
+ ```
153
159
 
154
- `f.readonly 'Code', 'Automatically set after save', class: 'a-wrapper-class'`
160
+ ```ruby
161
+ f.readonly 'Code', 'Automatically set after save', class: 'a-wrapper-class'
162
+ ```
155
163
 
156
- `f.readonly nil, 'Value only, no label'`
164
+ ```ruby
165
+ f.readonly nil, 'Value only, no label'
166
+ ```
157
167
 
158
- ## Blaze widgets
168
+ ### Styled table
169
+ Table styles:
159
170
 
160
- See components avaible in Blaze CSS [docs](http://blazecss.com/components/buttons/).
171
+ ```ruby
172
+ table_for User.all, class: 'blaze-table table-rows table-striped' do
173
+ # ...
174
+ end
175
+ ```
176
+
177
+ ## Blaze widgets
178
+ See components available in Blaze CSS [docs](http://blazecss.com/components/buttons/).
161
179
 
162
180
  Badge example:
163
181
 
@@ -179,28 +197,26 @@ div class: 'c-progress' do
179
197
  end
180
198
  ```
181
199
 
182
- ## Screenshots
200
+ ## Notes
201
+ - To use this plugins with Active Admin 1.x please use the version [0.5.12](https://github.com/blocknotes/activeadmin_blaze_theme/releases/tag/v0.5.12)
183
202
 
203
+ ## Screenshots
184
204
  Index:
185
-
186
205
  ![index](extra/screenshot1.jpg)
187
206
 
188
207
  Edit:
189
-
190
208
  ![edit](extra/screenshot2.jpg)
191
209
 
192
210
  Show - sidebar on the left:
193
-
194
211
  ![edit](extra/screenshot3.jpg)
195
212
 
196
213
  ## Do you like it? Star it!
197
-
198
214
  If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
199
215
 
200
- ## Contributors
216
+ Take a look at [other Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source) if you are curious.
201
217
 
202
- - [Mattia Roccoberton](http://blocknot.es) - creator, maintainer
218
+ ## Contributors
219
+ - [Mattia Roccoberton](http://blocknot.es): author
203
220
 
204
221
  ## License
205
-
206
- [MIT](LICENSE.txt)
222
+ The gem is available as open-source under the terms of the [MIT](LICENSE.txt).
data/Rakefile CHANGED
@@ -1,2 +1,3 @@
1
- require "bundler/gem_tasks"
1
+ # frozen_string_literal: true
2
2
 
3
+ require 'bundler/gem_tasks'
@@ -1,22 +1,33 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'activeadmin_blaze_theme/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
- spec.name = "activeadmin_blaze_theme"
8
+ spec.name = 'activeadmin_blaze_theme'
8
9
  spec.version = ActiveAdminBlazeTheme::VERSION
9
- spec.authors = ["Mattia Roccoberton"]
10
- spec.email = ["mat@blocknot.es"]
11
- spec.summary = "ActiveAdmin Blaze Theme"
12
- spec.description = "An ActiveAdmin theme which use Blaze CSS UI toolkit"
13
- spec.homepage = "https://github.com/blocknotes/activeadmin_blaze_theme"
14
- spec.license = "MIT"
10
+ spec.authors = ['Mattia Roccoberton']
11
+ spec.email = ['mat@blocknot.es']
12
+ spec.summary = 'ActiveAdmin Blaze Theme'
13
+ spec.description = 'An ActiveAdmin theme which use Blaze CSS UI toolkit'
14
+ spec.homepage = 'https://github.com/blocknotes/activeadmin_blaze_theme'
15
+ spec.license = 'MIT'
15
16
 
16
17
  spec.files = `git ls-files -z`.split("\x0")
17
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_runtime_dependency 'activeadmin', '~> 2.0'
20
23
 
21
- spec.add_runtime_dependency 'activeadmin', '~> 1.0'
24
+ spec.add_development_dependency 'activestorage', '~> 6.0.3.2'
25
+ spec.add_development_dependency 'capybara', '~> 3.33.0'
26
+ spec.add_development_dependency 'pry', '~> 0.13.1'
27
+ spec.add_development_dependency 'puma', '~> 4.3.5'
28
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
29
+ spec.add_development_dependency 'rspec-rails', '~> 4.0.1'
30
+ spec.add_development_dependency 'rubocop', '~> 0.90.0'
31
+ spec.add_development_dependency 'selenium-webdriver', '~> 3.142.7'
32
+ spec.add_development_dependency 'sqlite3', '~> 1.4.2'
22
33
  end
@@ -90,10 +90,6 @@ body.active_admin {
90
90
  textarea {
91
91
  padding: 6px;
92
92
  }
93
- .selectize-input {
94
- line-height: $height-inputs;
95
- padding-left: 8px;
96
- }
97
93
  abbr {
98
94
  padding-left: 3px;
99
95
  }
@@ -581,6 +577,9 @@ body.active_admin {
581
577
  .sidebar_section {
582
578
  margin-bottom: 20px;
583
579
  }
580
+ .filter_form .selectize-control > .selectize-input {
581
+ width: 100%;
582
+ }
584
583
  }
585
584
  #active_admin_content > #sidebar, #active_admin_content > #main_content_wrapper {
586
585
  float: none;
@@ -816,6 +815,9 @@ body.active_admin {
816
815
  }
817
816
 
818
817
  // misc
818
+ a.member_link {
819
+ text-decoration: none;
820
+ }
819
821
  .download_links > a {
820
822
  @extend .c-button;
821
823
  @extend .c-button--info;
@@ -841,11 +843,22 @@ body.active_admin {
841
843
  }
842
844
  }
843
845
  }
846
+
844
847
  // textarea comments
845
848
  #active_admin_comment_body {
846
849
  width: 100%;
847
850
  }
848
851
 
852
+ // comments
853
+ .comments {
854
+ .actions {
855
+ padding: 0;
856
+ }
857
+ .pagination_information {
858
+ float: none;
859
+ }
860
+ }
861
+
849
862
  // boolean values
850
863
  .status_tag {
851
864
  min-width: 30px;
@@ -887,6 +900,60 @@ body.active_admin {
887
900
  .sidebar_section .blaze-menu {
888
901
  margin-bottom: 4px;
889
902
  }
903
+ .blaze-table {
904
+ @extend .c-table;
905
+ // @extend .c-table--striped;
906
+ // @extend .c-table--condensed;
907
+ >thead {
908
+ @extend .c-table__head;
909
+ >tr {
910
+ @extend .c-table__row;
911
+ @extend .c-table__row--heading;
912
+ >th {
913
+ @extend .c-table__cell;
914
+ }
915
+ }
916
+ }
917
+ >tbody {
918
+ @extend .c-table__body;
919
+ >tr {
920
+ @extend .c-table__row;
921
+ >td {
922
+ @extend .c-table__cell;
923
+ }
924
+ }
925
+ }
926
+ &.table-bordered {
927
+ border: 1px solid #ddd;
928
+ &.table-rows {
929
+ border-bottom: 0 none;
930
+ }
931
+ }
932
+ &.table-rows >tbody >tr {
933
+ border-bottom: 1px solid #ddd;
934
+ }
935
+ &.table-striped >tbody >tr.even {
936
+ background: #f4f4f4;
937
+ }
938
+ }
939
+
940
+ // special components
941
+ .filter_form .select-one-inputs {
942
+ display: flex;
943
+ >input[type="text"], >select {
944
+ width: 49%;
945
+ }
946
+ >input[type="text"] {
947
+ margin: 0 1% 0 0;
948
+ }
949
+ select {
950
+ margin: 0 0 0 1%;
951
+ }
952
+ }
953
+ .selectize.input > .selectize-control > .selectize-input {
954
+ padding-left: 4px;
955
+ padding-top: 3px;
956
+ }
890
957
 
891
958
  // optional customizations
892
959
  .compact_titlebar {
@@ -917,4 +984,9 @@ body.active_admin {
917
984
  width: auto;
918
985
  // width: calc(80% - 22px);
919
986
  }
987
+ .no_rounded {
988
+ *, .action_items span.action_item > a, .panel {
989
+ border-radius: 0;
990
+ }
991
+ }
920
992
  }