arctic_admin 3.1.1 → 3.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 662f93d8cc9afd1ae66a5453928eeecb8b1fd246
4
- data.tar.gz: 86592eff04ac9165207e51eb65e76529eb261804
2
+ SHA256:
3
+ metadata.gz: 9f5074801c0b9ddc106606dc2bfb9e610bce3a10aa5747e822b8a57a930c02d4
4
+ data.tar.gz: d0806ddce3b8749f58da6d6d8b51c3f101c01a6cad3fdfe5a3c37348c6a42dbe
5
5
  SHA512:
6
- metadata.gz: bf494c1eb7546dad124cfc84056ab020f84f2ff5e75f03847eaed7685cb76d5696dd5d6baa3559fbe61d07566d9a9a3135539b9fdd7fcc8bda45467297120e04
7
- data.tar.gz: f768ed34cb5859391a65ee636531b31e5082a44500fdc3bc4e59b66030eb52b00c476ff9b33c6d522c4cb03d04760a4c189c94d25b339bc6e86fe5785da21038
6
+ metadata.gz: 68ca26ea8c935566e61e189f2d0fca659726796e5cce3e2ff79e557c82daa97be2e6b5b26f6f7e67f5a5741bbd50bd5fce5f534c56c889eca7e54fb84b949848
7
+ data.tar.gz: 8bcb63884a690b7949c2330e98b66fea5434561bd70801d1cc8fedc8dc943679a9167fe169200727afca4ba413cec2a43dfa1694f940a0bb7cc808024b1da233
@@ -35,4 +35,4 @@
35
35
  text-align: center;
36
36
  }
37
37
  }
38
- }
38
+ }
@@ -40,7 +40,7 @@
40
40
 
41
41
  .inline-hints {
42
42
  margin: 5px 0 20px 25%;
43
- font-size: 14px;
43
+ font-size: $font-size;
44
44
  font-style: italic;
45
45
  }
46
46
 
@@ -48,7 +48,7 @@
48
48
  color: $error;
49
49
  margin-top: 5px;
50
50
  margin-bottom: 20px;
51
- font-size: 14px;
51
+ font-size: $font-size;
52
52
  }
53
53
 
54
54
  label.error {
@@ -8,9 +8,9 @@ input[type="number"], textarea {
8
8
 
9
9
  display: block;
10
10
  width: 100%;
11
- height: 36px;
11
+ height: $input-height;
12
12
  padding: 6px 12px;
13
- font-size: 14px;
13
+ font-size: $font-size;
14
14
  line-height: 1.57142857;
15
15
  color: $text-color;
16
16
  background-color: #fff;
@@ -88,7 +88,7 @@ select {
88
88
  border: 1px solid $border-color;
89
89
  outline: 0;
90
90
  border-radius: $border-radius;
91
- font-size: 14px;
91
+ font-size: $font-size;
92
92
  color: #5a5a5a;
93
93
  @include transition(border-color ease-in-out .15s);
94
94
 
@@ -0,0 +1,50 @@
1
+ .select2-container--default .select2-selection--single .select2-selection__rendered{
2
+ line-height: $input-height;
3
+ color: $text-color;
4
+ font-size: $font-size;
5
+ }
6
+
7
+ .select2-container .select2-selection--single{
8
+ height: $input-height;
9
+ outline: 0;
10
+ }
11
+
12
+ .select2-container--default .select2-selection--single .select2-selection__arrow{
13
+ height: $input-height;
14
+ }
15
+
16
+ .select2-container--default .select2-selection--single {
17
+ border-color: $border-color;
18
+ }
19
+
20
+ .select2-container .select2-selection--single .select2-selection__rendered{
21
+ padding-left: 12px;
22
+ }
23
+
24
+ .select2-dropdown{
25
+ border-color: $border-color;
26
+ }
27
+
28
+ .select2-container--default .select2-results__option--highlighted[aria-selected]{
29
+ background-color: $primary_color;
30
+ }
31
+
32
+ .select2-container--default .select2-search--dropdown .select2-search__field{
33
+ border-color: $border-color;
34
+ }
35
+
36
+ .select2-container--default .select2-results__option[aria-selected=true]{
37
+ background_color: $body-background;
38
+ }
39
+
40
+ .select2-search--dropdown .select2-search__field{
41
+ padding-left: 12px;
42
+ }
43
+
44
+ .select2-results{
45
+ font-size: $font-size;
46
+ }
47
+
48
+ .select2-results__option{
49
+ padding-left: 12px;
50
+ }
@@ -46,7 +46,7 @@ tbody tr {
46
46
  }
47
47
 
48
48
  th {
49
- font-size: 14px;
49
+ font-size: $font-size;
50
50
  }
51
51
 
52
52
  td {
@@ -23,7 +23,7 @@
23
23
 
24
24
  li {
25
25
  width: 100%;
26
- font-size: 14px;
26
+ font-size: $font-size;
27
27
  line-height: 38px;
28
28
  cursor: pointer;
29
29
 
@@ -17,7 +17,7 @@ body.logged_in {
17
17
  margin: auto 0;
18
18
  padding-top: 8px;
19
19
  text-align: right;
20
- font-size: 14px;
20
+ font-size: $font-size;
21
21
 
22
22
  @media screen and (min-width: $sm-width) {
23
23
  padding-bottom: 0;
@@ -85,7 +85,7 @@ body.logged_in {
85
85
  }
86
86
 
87
87
  label {
88
- font-size: 14px;
88
+ font-size: $font-size;
89
89
  cursor: pointer;
90
90
  padding: 5px 5px 5px 0;
91
91
  }
@@ -6,7 +6,7 @@ body.index {
6
6
 
7
7
  .table_tools {
8
8
  margin-bottom: 20px;
9
- font-size: 14px;
9
+ font-size: $font-size;
10
10
 
11
11
  &:after {
12
12
  content: '';
@@ -47,7 +47,7 @@ body.index {
47
47
  }
48
48
 
49
49
  #index_footer {
50
- font-size: 14px;
50
+ font-size: $font-size;
51
51
  }
52
52
 
53
53
  .sortable {
@@ -62,7 +62,7 @@ body.index {
62
62
  @include transform(translateY(-50%));
63
63
 
64
64
  @media screen and (min-width: $md-width) {
65
- font-size: 14px/1;
65
+ font-size: $font-size/1;
66
66
  }
67
67
  }
68
68
 
@@ -116,4 +116,4 @@ body.index {
116
116
  padding: 15px 10px;
117
117
  }
118
118
  }
119
- }
119
+ }
@@ -6,4 +6,7 @@ $lg-screen-header-width: calc(100% - 250px) !default;
6
6
  $filter-width: 230px !default;
7
7
  $screen-filter-width: calc(100% - 230px) !default;
8
8
  $lg-filter-width: 270px !default;
9
- $lg-screen-filter-width: calc(100% - 270px) !default;
9
+ $lg-screen-filter-width: calc(100% - 270px) !default;
10
+
11
+ $font-size: 14px !default;
12
+ $input-height: 36px !default;
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "3.1.1"
2
+ VERSION = "3.2.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.1.1
4
+ version: 3.2.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-02-05 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,6 +126,7 @@ files:
126
126
  - app/assets/stylesheets/arctic_admin/components/_inputs.scss
127
127
  - app/assets/stylesheets/arctic_admin/components/_pagination.scss
128
128
  - app/assets/stylesheets/arctic_admin/components/_panel_contents.scss
129
+ - app/assets/stylesheets/arctic_admin/components/_select2.scss
129
130
  - app/assets/stylesheets/arctic_admin/components/_status_tag.scss
130
131
  - app/assets/stylesheets/arctic_admin/components/_tables.scss
131
132
  - app/assets/stylesheets/arctic_admin/components/_tabs.scss
@@ -150,7 +151,7 @@ files:
150
151
  - app/assets/stylesheets/arctic_admin/variables/_variables.scss
151
152
  - lib/arctic_admin.rb
152
153
  - lib/arctic_admin/version.rb
153
- homepage: https://github.com/cle61/arctic_admin
154
+ homepage: https://github.com/cprodhomme/arctic_admin
154
155
  licenses:
155
156
  - MIT
156
157
  metadata: {}
@@ -169,8 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
170
  - !ruby/object:Gem::Version
170
171
  version: '0'
171
172
  requirements: []
172
- rubyforge_project:
173
- rubygems_version: 2.6.8
173
+ rubygems_version: 3.0.3
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Arctic Admin theme for ActiveAdmin