formadmin 0.2.0 → 0.2.1

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
2
  SHA1:
3
- metadata.gz: dfcc2bc786cd25925749049cb200539a96a7a98f
4
- data.tar.gz: bbf8755a5408985323dc0471a4dc6159f34cb01e
3
+ metadata.gz: 6e5fa5024aa7d63834d5bf2c8ba8dc76d15b9e33
4
+ data.tar.gz: 2bb86702e40908af87e7007bef5223065db7a13b
5
5
  SHA512:
6
- metadata.gz: a9d485df6e8c4e62ba90db291a693c669fb4ce7dccd2d09c228261a9778c6a22842709c3303de6518bb60314d1469c91e81491a2f106200ac7411f6644b5eca8
7
- data.tar.gz: 3dfc10f0525090157ddc6578a8de1f7ca9314e455c4be8263e6b55c620c8da33cf500ebd46cc6eacd96345e874745b7bd30a8fb36c1503cd9ab577fb79210969
6
+ metadata.gz: e14a88d01d88d2b3f831bbb221ace1753a0c5040f96b101d001ddd9ea3faedb774f29288568872c549db64edc027f3cddc4b26a9b13b3b466cfe3e8346bbed94
7
+ data.tar.gz: ff26a58134799d7d78d39dc3178926739e01bb92dc63b8d92d550a47ca820bcacd4128d791c7021f1096e59c3f6bed097fa0d5dfc398106e96294a7ed6408ae2
@@ -205,6 +205,28 @@ form {
205
205
  }
206
206
  }
207
207
 
208
+ .choices {
209
+ margin-bottom: 0;
210
+ }
211
+
212
+ .choices-group {
213
+ margin: 0 0 0 calc(20% + 20px);
214
+ }
215
+
216
+ .choice {
217
+ border: 0;
218
+ padding: 5px 0;
219
+
220
+ label {
221
+ font-weight: normal;
222
+ width: 100%;
223
+ }
224
+
225
+ input[type="checkbox"] {
226
+ margin: -1px 5px 0 0;
227
+ }
228
+ }
229
+
208
230
  .hidden {
209
231
  display: none;
210
232
  }
@@ -273,6 +295,7 @@ form {
273
295
  .date_select fieldset ol,
274
296
  .time_select fieldset ol,
275
297
  .datetime_select fieldset ol,
298
+ .choices-group,
276
299
  .inline-hints,
277
300
  .inline-errors {
278
301
  margin-left: 0;
@@ -345,7 +368,6 @@ form.filter_form {
345
368
  }
346
369
 
347
370
  input[type='text'] {
348
- background-image: asset-url('active_admin/datepicker/datepicker-input-icon.png');
349
371
  background-position: 100% 3px;
350
372
  background-repeat: no-repeat;
351
373
  padding-right: 25px;
@@ -2,10 +2,6 @@
2
2
  margin-bottom: 20px;
3
3
  }
4
4
 
5
- .paginated_collection_contents {
6
- @include clearfix;
7
- }
8
-
9
5
  #index_footer {
10
6
  margin-top: 20px;
11
7
  }
@@ -20,7 +16,6 @@
20
16
  // Information
21
17
  .pagination_information {
22
18
  color: rgba($text-color, 0.75);
23
- float: right;
24
19
 
25
20
  b {
26
21
  color: $text-color;
@@ -28,24 +23,14 @@
28
23
  }
29
24
 
30
25
  // Per Page
31
- .pagination_per_page {
32
- float: right;
33
- margin-left: 20px;
34
-
35
- select {
36
- padding: 1px 5px;
37
- }
38
- }
39
-
40
- // Download Links
41
- .download_links {
42
- float: left;
26
+ .pagination_per_page select {
27
+ padding: 1px 5px;
43
28
  }
44
29
 
45
30
  // Pagination
46
31
  .pagination {
47
32
  font-weight: bold;
48
- margin: 0 0 -20px 20px;
33
+ margin: 0 auto;
49
34
  text-align: center;
50
35
  text-transform: uppercase;
51
36
 
@@ -60,7 +45,7 @@
60
45
  padding: 6px 10px 5px;
61
46
  text-decoration: none;
62
47
  transition: background-color 250ms;
63
- margin: 0 1px;
48
+ margin: 0 1px 4px;
64
49
  }
65
50
 
66
51
  a:not(.current):hover {
@@ -77,13 +62,29 @@
77
62
 
78
63
  // Medias
79
64
  @media #{$largest-phone-screen} {
80
- .pagination,
65
+ .pagination {
66
+ margin-bottom: 10px;
67
+ }
68
+
81
69
  .pagination_information,
82
70
  .pagination_per_page,
83
71
  .download_links {
84
- display: block;
85
- float: none;
86
72
  text-align: center;
73
+ }
74
+ }
75
+
76
+ @media #{$tablet-and-desktop-screen} {
77
+ #index_footer {
78
+ align-items: center;
79
+ display: flex;
80
+ flex-wrap: wrap;
81
+ justify-content: space-between;
82
+ }
83
+
84
+ .pagination {
85
+ display: block;
86
+ margin-top: 10px;
87
+ order: 10;
87
88
  width: 100%;
88
89
  }
89
90
  }
@@ -39,34 +39,34 @@ $largest-tablet-screen: screen((max-width: $maximum-page-width - 1));
39
39
  //-----------//
40
40
  // Fonts //
41
41
  //-----------//
42
- $font-smoothing: antialiased;
42
+ $font-smoothing: antialiased !default;
43
43
 
44
44
  //--- Page ---//
45
- $font-size: 16px;
46
- $font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
47
- $font-weight: normal;
48
- $line-height: 1.5;
45
+ $font-size: 16px !default;
46
+ $font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !default;
47
+ $font-weight: normal !default;
48
+ $line-height: 1.5 !default;
49
49
 
50
50
  //--- Header ---//
51
- $header-font-family: $font-family;
52
- $header-font-weight: bold;
53
- $header-line-height: 1.3;
51
+ $header-font-family: $font-family !default;
52
+ $header-font-weight: bold !default;
53
+ $header-line-height: 1.3 !default;
54
54
 
55
55
 
56
56
  //------------//
57
57
  // Colors //
58
58
  //------------//
59
59
 
60
- $blue: #005fb2;
61
- $green: #04844b;
62
- $red: #a61a14;
63
- $yellow: #ffb75d;
60
+ $blue: #005fb2 !default;
61
+ $green: #04844b !default;
62
+ $red: #a61a14 !default;
63
+ $yellow: #ffb75d !default;
64
64
 
65
65
  //--- Gray Scale ---//
66
- $white: #ffffff;
67
- $silver: #cccccc;
68
- $gray: #3f3f3f;
69
- $black: #000000;
66
+ $white: #ffffff !default;
67
+ $silver: #cccccc !default;
68
+ $gray: #3f3f3f !default;
69
+ $black: #000000 !default;
70
70
 
71
71
  //--- Emotive ---//
72
72
  $positive-color: $green !default;
@@ -24,10 +24,19 @@
24
24
  z-index: 1;
25
25
 
26
26
  .panel_contents {
27
- padding: 0;
27
+ padding: 15px;
28
28
 
29
- > div {
30
- padding: 15px;
29
+ > form {
30
+ margin: -15px;
31
+ }
32
+
33
+ h4 {
34
+ margin: 0;
35
+ }
36
+
37
+ ul {
38
+ margin: 0;
39
+ padding-left: 20px;
31
40
  }
32
41
  }
33
42
  }
@@ -67,7 +67,8 @@
67
67
  // Medias
68
68
  @media #{$phone-and-tablet-screen} {
69
69
  #page_title {
70
- word-break: keep-all;
70
+ hyphens: auto;
71
+ word-break: break-all;
71
72
  }
72
73
 
73
74
  #titlebar_left,
@@ -1,3 +1,3 @@
1
1
  module Formadmin
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Tarifa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-24 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin