arctic_admin 3.2.2 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c4386023eca967f7be905c4e2668da2d9565cc1c04591e347371128544c7c1e
4
- data.tar.gz: 0f430e0aec9ea2af5e872fc376bfa59dd26ba9e3265b8e38d4dc79da379f9c14
3
+ metadata.gz: f6941e04a5fe35cb8dfb68e36db36ab2099a29c556b2bfb439442c87387c6827
4
+ data.tar.gz: d6723be6be3dbbf41c762bf864408a902c989229ad6ea527a6619094b4f04d28
5
5
  SHA512:
6
- metadata.gz: 4272e1145d3655f2125b4ffb6e664fc453af3782729ae06a8284065200d88923d17a3c6b4db8e5e89ce294ed21cdcf9a444190de1b5bdf2b8167711be0159af6
7
- data.tar.gz: 0e5ba122c27b3baabca5caba29fe491f4df46000d6c1c26fa21b69a0baa0a82989cd002e3e9f33955bc5b3e64fb10a19efbce1d20e07fc90b48087aad721d73e
6
+ metadata.gz: 3f4305722258dc1735b389db444cb32cf987818b6ee9e110353b814a4245a2930ac234c714f147dd4dab4fc73734e0f6e69bcff4c3c4b892bd165afbf07be1f9
7
+ data.tar.gz: 25ea935c291845e8d52ec6e34689785ca1e13866e6b4a4994ac68129bda1b9311ea47f1f46a628ef2305ad6f5ee6b928d4bda40494d1461476a6d965a382f3db
data/Readme.md CHANGED
@@ -14,6 +14,8 @@ Simple theme for ActiveAdmin :ok_hand:
14
14
 
15
15
  ## Installation
16
16
 
17
+ >**⚠️ If you are using webpacker (Standard with Rails 6) look below**
18
+
17
19
  - Add this to your Gemfile:
18
20
 
19
21
  ```ruby
@@ -79,10 +81,10 @@ In your `active_admin.js`, include the js file:
79
81
 
80
82
  ### 1 - Preparation
81
83
 
82
- Install the assets from npm or yarn
84
+ Install the needed assets with npm or yarn:
83
85
 
84
86
  ```
85
- yarn add arctic_admin
87
+ yarn add arctic_admin @fortawesome/fontawesome-free
86
88
  ```
87
89
 
88
90
 
@@ -103,26 +105,24 @@ Remove:
103
105
 
104
106
  ### 3 - JS
105
107
 
106
- In your `app/javascript/packs/active_admin.js`, add the line:
108
+ Search for `app/javascript/packs/active_admin.js` in your rails project and add the following lines:
107
109
 
108
110
  ```js
111
+ import "@fortawesome/fontawesome-free/css/all.css";
109
112
  import 'arctic_admin'
110
113
  ```
111
114
 
112
115
 
113
116
  ### Customization
114
117
 
115
- For this, you need to use sass to custom the theme.
116
-
117
- You can even change basic color of the theme by placing some other variables:
118
+ For this, you need to use SASS to customize the theming.
118
119
 
119
- If you use the [SCSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html), add this to your
120
- `active_admin.scss` file:
120
+ Right now you can change the primary color of the theme by placing the following variable in your `active_admin.scss` file:
121
121
 
122
122
  ```scss
123
123
  $primary-color: #2dbb43;
124
124
 
125
- @import "arctic_admin/base";
125
+ @import "~arctic_admin/src/scss/main";
126
126
  ```
127
127
 
128
128
  If you use the
@@ -132,7 +132,7 @@ add this to your `active_admin.sass` file:
132
132
  ```sass
133
133
  $primary-color: #2dbb43
134
134
 
135
- @import arctic_admin/base
135
+ @import ~arctic_admin/src/scss/main
136
136
  ```
137
137
 
138
138
  Then restart your webserver if it was previously running.
@@ -39,6 +39,10 @@ body.index {
39
39
  position: absolute;
40
40
  z-index: 1;
41
41
  }
42
+
43
+ .indexes.table_tools_segmented_control {
44
+ text-align: right;
45
+ }
42
46
  }
43
47
 
44
48
  .paginated_collection_contents {
@@ -89,6 +93,10 @@ body.index {
89
93
  .scopes {
90
94
  .scope {
91
95
  @include group-button($primary-color);
96
+
97
+ a {
98
+ margin-right: .25rem;
99
+ }
92
100
  }
93
101
  }
94
102
 
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "3.2.2"
2
+ VERSION = "3.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arctic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-01 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler