formadmin 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/formadmin/components/_form.scss +23 -1
- data/app/assets/stylesheets/formadmin/components/_pagination.scss +23 -22
- data/app/assets/stylesheets/formadmin/core/_settings.scss +16 -16
- data/app/assets/stylesheets/formadmin/layouts/_main.scss +12 -3
- data/app/assets/stylesheets/formadmin/layouts/_title-bar.scss +2 -1
- data/lib/formadmin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e5fa5024aa7d63834d5bf2c8ba8dc76d15b9e33
|
4
|
+
data.tar.gz: 2bb86702e40908af87e7007bef5223065db7a13b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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:
|
27
|
+
padding: 15px;
|
28
28
|
|
29
|
-
>
|
30
|
-
|
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
|
}
|
data/lib/formadmin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|