light_admin 1.1.2 → 1.1.3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/stylesheets/light_admin/_rules.scss +4 -2
- data/app/assets/stylesheets/light_admin/components/_buttons.scss +32 -16
- data/app/assets/stylesheets/light_admin/components/_forms.scss +28 -30
- data/app/assets/stylesheets/light_admin/components/_tables.scss +9 -6
- data/app/assets/stylesheets/light_admin/components/_titles.scss +5 -0
- data/lib/light_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73afd454b7b957647691aee643dbe7cb6bf16996f460b856d22d33f5e51eeb01
|
4
|
+
data.tar.gz: bd19451a6a1b16392c8fc1957a499d12624eb94f4f7f356c3d8259298a33928d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3abfd124602d73469da64319cf250d8d1acb5c3963f056219429d3d19b003c4335f60b64146486f0b379eb399c855cf634380bfd35ca40f39adccbf654cf9033
|
7
|
+
data.tar.gz: 821a798e0c4abb184def04b8b9ce0beeddea987377b48b24bb8d7c1f1b99858605214e173275aca44f9a7042134f766b0b5ada382b5a80a297f1339a1cefe0eb
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,9 @@ body {
|
|
4
4
|
color: $global-text-color;
|
5
5
|
background-color: $bg-light;
|
6
6
|
|
7
|
-
*,
|
7
|
+
*,
|
8
|
+
*::before,
|
9
|
+
*::after {
|
8
10
|
box-sizing: unset;
|
9
11
|
}
|
10
12
|
|
@@ -53,6 +55,6 @@ body {
|
|
53
55
|
|
54
56
|
.index {
|
55
57
|
#wrapper {
|
56
|
-
display:
|
58
|
+
display: block;
|
57
59
|
}
|
58
60
|
}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
/* BUTTONS IN THE TITLE BAR */
|
2
2
|
#title_bar {
|
3
3
|
.action_items {
|
4
|
+
height: 100%;
|
5
|
+
display: flex;
|
6
|
+
align-items: center;
|
7
|
+
|
8
|
+
&::after {
|
9
|
+
display: none;
|
10
|
+
}
|
11
|
+
|
4
12
|
span.action_item > a {
|
5
13
|
background: $bg-white;
|
6
14
|
border: $border-style-buttons;
|
7
15
|
border-radius: $border-radius-btn;
|
8
|
-
padding: .5rem 1rem;
|
16
|
+
padding: 0.5rem 1rem;
|
9
17
|
box-shadow: $buttons-shadow;
|
10
18
|
text-shadow: none;
|
11
19
|
color: $text-buttons;
|
@@ -13,7 +21,7 @@
|
|
13
21
|
font-weight: 500;
|
14
22
|
font-family: $font-family;
|
15
23
|
margin-right: 15px;
|
16
|
-
transition: all .3s ease;
|
24
|
+
transition: all 0.3s ease;
|
17
25
|
|
18
26
|
&:not(.disabled):hover {
|
19
27
|
background: $bg-light;
|
@@ -61,7 +69,7 @@
|
|
61
69
|
box-shadow: none;
|
62
70
|
border-radius: unset;
|
63
71
|
border-right: $border-style;
|
64
|
-
padding: .74rem;
|
72
|
+
padding: 0.74rem;
|
65
73
|
color: $text-buttons;
|
66
74
|
font-weight: normal;
|
67
75
|
font-family: $font-family;
|
@@ -87,11 +95,16 @@
|
|
87
95
|
background: $bg-buttons;
|
88
96
|
box-shadow: none;
|
89
97
|
}
|
90
|
-
|
91
98
|
}
|
92
99
|
|
93
100
|
/* GROUPED ACTIONS BUTTON */
|
94
|
-
a.table_tools_button,
|
101
|
+
a.table_tools_button,
|
102
|
+
.table_tools .dropdown_menu_button,
|
103
|
+
#title_bar
|
104
|
+
div.action_items
|
105
|
+
span.action_item
|
106
|
+
.dropdown_menu
|
107
|
+
a.dropdown_menu_button {
|
95
108
|
box-shadow: none;
|
96
109
|
text-shadow: none;
|
97
110
|
border: none;
|
@@ -100,14 +113,15 @@ a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_
|
|
100
113
|
font-size: $font-size;
|
101
114
|
font-weight: 500;
|
102
115
|
background: $bg-buttons;
|
103
|
-
padding: .5rem 1rem;
|
116
|
+
padding: 0.5rem 1rem;
|
104
117
|
}
|
105
118
|
|
106
119
|
.table_tools_segmented_control li.selected a {
|
107
120
|
color: $text-buttons;
|
108
121
|
}
|
109
122
|
|
110
|
-
.dropdown_menu,
|
123
|
+
.dropdown_menu,
|
124
|
+
#title_bar div.action_items span.action_item .dropdown_menu {
|
111
125
|
.dropdown_menu_button {
|
112
126
|
&:not(.disabled) {
|
113
127
|
&:hover {
|
@@ -260,8 +274,8 @@ a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_
|
|
260
274
|
}
|
261
275
|
|
262
276
|
/* FORMS BUTTONS */
|
263
|
-
form input[type=submit],
|
264
|
-
form input[type=button],
|
277
|
+
form input[type='submit'],
|
278
|
+
form input[type='button'],
|
265
279
|
form button {
|
266
280
|
background: $bg-buttons;
|
267
281
|
color: $text-white;
|
@@ -270,7 +284,7 @@ form button {
|
|
270
284
|
font-size: 80%;
|
271
285
|
text-shadow: none;
|
272
286
|
box-shadow: none;
|
273
|
-
border: .5px solid $white;
|
287
|
+
border: 0.5px solid $white;
|
274
288
|
border-radius: $border-radius-btn;
|
275
289
|
|
276
290
|
&:not(.disabled):hover {
|
@@ -295,13 +309,13 @@ form {
|
|
295
309
|
font-size: 80%;
|
296
310
|
text-shadow: none;
|
297
311
|
box-shadow: none;
|
298
|
-
border: .5px solid $white;
|
312
|
+
border: 0.5px solid $white;
|
299
313
|
border-radius: $border-radius-btn;
|
300
314
|
|
301
315
|
&:not(.disabled):hover {
|
302
316
|
background: $bg-white;
|
303
317
|
color: $text-danger;
|
304
|
-
border: .5px solid $danger;
|
318
|
+
border: 0.5px solid $danger;
|
305
319
|
}
|
306
320
|
}
|
307
321
|
}
|
@@ -329,21 +343,22 @@ form.filter_form {
|
|
329
343
|
font-size: 80%;
|
330
344
|
text-shadow: none;
|
331
345
|
box-shadow: none;
|
332
|
-
border: .5px solid $white;
|
346
|
+
border: 0.5px solid $white;
|
333
347
|
border-radius: $border-radius-btn;
|
334
348
|
margin-left: auto;
|
335
349
|
|
336
350
|
&:not(.disabled):hover {
|
337
351
|
background: $bg-white;
|
338
352
|
color: $text-danger;
|
339
|
-
border: .5px solid $danger;
|
353
|
+
border: 0.5px solid $danger;
|
340
354
|
}
|
341
355
|
}
|
342
356
|
}
|
343
357
|
}
|
344
358
|
|
345
359
|
/* BUTTONS FOR ADD AND ERASED DOCUMENTS */
|
346
|
-
a.button,
|
360
|
+
a.button,
|
361
|
+
a:link.button {
|
347
362
|
background: $bg-white;
|
348
363
|
border: $border-style-buttons;
|
349
364
|
border-radius: $border-radius-btn;
|
@@ -354,6 +369,7 @@ a.button, a:link.button {
|
|
354
369
|
color: $text-buttons;
|
355
370
|
}
|
356
371
|
|
357
|
-
a.button:not(.disabled):hover,
|
372
|
+
a.button:not(.disabled):hover,
|
373
|
+
a:link.button:not(.disabled):hover {
|
358
374
|
background: $bg-light;
|
359
375
|
}
|
@@ -10,7 +10,7 @@ form {
|
|
10
10
|
padding: 0 24px;
|
11
11
|
position: relative;
|
12
12
|
top: 30px;
|
13
|
-
|
13
|
+
|
14
14
|
&:empty {
|
15
15
|
display: none;
|
16
16
|
}
|
@@ -42,7 +42,7 @@ form {
|
|
42
42
|
|
43
43
|
ol > li {
|
44
44
|
border-bottom: none;
|
45
|
-
padding: 0 0 .5rem 0 !important;
|
45
|
+
padding: 0 0 0.5rem 0 !important;
|
46
46
|
|
47
47
|
label {
|
48
48
|
width: 100% !important;
|
@@ -147,23 +147,21 @@ form {
|
|
147
147
|
|
148
148
|
/* FILTER FORM */
|
149
149
|
#filters_sidebar_section {
|
150
|
-
.sidebar_section
|
151
|
-
input[type=text] {
|
150
|
+
.sidebar_section input[type='text'] {
|
152
151
|
width: inherit;
|
153
152
|
}
|
154
153
|
|
155
|
-
.select2-container
|
156
|
-
.select2-selection--single {
|
154
|
+
.select2-container .select2-selection--single {
|
157
155
|
width: 235px;
|
158
156
|
}
|
159
|
-
|
160
|
-
.select2-container--default
|
161
|
-
|
157
|
+
|
158
|
+
.select2-container--default
|
159
|
+
.select2-selection--single
|
160
|
+
.select2-selection__arrow {
|
162
161
|
right: -38px;
|
163
162
|
}
|
164
163
|
|
165
|
-
.select2-container--open
|
166
|
-
.select2-dropdown--below {
|
164
|
+
.select2-container--open .select2-dropdown--below {
|
167
165
|
width: 235px !important;
|
168
166
|
}
|
169
167
|
|
@@ -174,40 +172,38 @@ form {
|
|
174
172
|
margin-top: 24px;
|
175
173
|
border-top: $border-style-light;
|
176
174
|
width: 90%;
|
177
|
-
|
175
|
+
|
178
176
|
&:first-child {
|
179
177
|
padding: 0;
|
180
178
|
border-top: none;
|
181
179
|
}
|
182
180
|
}
|
183
181
|
|
184
|
-
.filter_form_field.select_and_search input[type=text] {
|
182
|
+
.filter_form_field.select_and_search input[type='text'] {
|
185
183
|
margin-left: 10px;
|
186
184
|
}
|
187
|
-
|
185
|
+
|
188
186
|
.filter_form_field + .filter_form_field {
|
189
187
|
border-top: $border-style-light;
|
190
188
|
}
|
191
189
|
}
|
192
|
-
|
193
|
-
.filter_form_field.select_and_search
|
194
|
-
|
195
|
-
width: calc(50% - 22px);
|
190
|
+
|
191
|
+
.filter_form_field.select_and_search input[type='text'] {
|
192
|
+
width: calc(50% - 33px);
|
196
193
|
height: 20px;
|
197
194
|
}
|
198
|
-
|
199
|
-
.filter_form_field.filter_date_range
|
200
|
-
|
201
|
-
max-width: 112px !important;
|
195
|
+
|
196
|
+
.filter_form_field.filter_date_range input[type='text'] {
|
197
|
+
max-width: 92px !important;
|
202
198
|
}
|
203
|
-
|
199
|
+
|
204
200
|
.filter_form {
|
205
201
|
.select_and_search {
|
206
202
|
span {
|
207
203
|
display: none;
|
208
204
|
}
|
209
205
|
}
|
210
|
-
|
206
|
+
|
211
207
|
.filter_form_field.filter_date_range input[type='text'] {
|
212
208
|
height: 37px;
|
213
209
|
}
|
@@ -219,6 +215,10 @@ form {
|
|
219
215
|
input[type='text'] {
|
220
216
|
height: 20px;
|
221
217
|
}
|
218
|
+
|
219
|
+
select {
|
220
|
+
width: 225px;
|
221
|
+
}
|
222
222
|
}
|
223
223
|
|
224
224
|
/* ACTIVE ADMIN ADDONS CLASSES FORM */
|
@@ -226,19 +226,17 @@ form {
|
|
226
226
|
width: 100% !important;
|
227
227
|
}
|
228
228
|
|
229
|
-
.select2-container--default
|
230
|
-
.select2-selection--single {
|
229
|
+
.select2-container--default .select2-selection--single {
|
231
230
|
border: $border-style;
|
232
231
|
}
|
233
232
|
|
234
|
-
.select2-container
|
235
|
-
.select2-selection--single {
|
233
|
+
.select2-container .select2-selection--single {
|
236
234
|
height: 37px;
|
237
235
|
box-shadow: $field-shadow;
|
238
236
|
}
|
239
237
|
|
240
238
|
.select2-container--default
|
241
|
-
.select2-selection--single
|
242
|
-
.select2-selection__arrow {
|
239
|
+
.select2-selection--single
|
240
|
+
.select2-selection__arrow {
|
243
241
|
height: 36px;
|
244
242
|
}
|
@@ -20,7 +20,7 @@ table {
|
|
20
20
|
table {
|
21
21
|
tr {
|
22
22
|
background: none;
|
23
|
-
transition: .3s ease;
|
23
|
+
transition: 0.3s ease;
|
24
24
|
|
25
25
|
&:hover {
|
26
26
|
background: $bg-light;
|
@@ -32,7 +32,7 @@ table {
|
|
32
32
|
table.index_table {
|
33
33
|
border: none;
|
34
34
|
border-radius: $global-border-radius;
|
35
|
-
padding:
|
35
|
+
padding: 0px;
|
36
36
|
box-shadow: none;
|
37
37
|
|
38
38
|
thead {
|
@@ -68,7 +68,8 @@ table.index_table {
|
|
68
68
|
}
|
69
69
|
}
|
70
70
|
|
71
|
-
th.sorted-asc,
|
71
|
+
th.sorted-asc,
|
72
|
+
th.sorted-desc {
|
72
73
|
background: $bg-white;
|
73
74
|
text-transform: uppercase;
|
74
75
|
}
|
@@ -112,14 +113,15 @@ table.index_table {
|
|
112
113
|
|
113
114
|
table {
|
114
115
|
tr {
|
115
|
-
transition: .3s;
|
116
|
+
transition: 0.3s;
|
116
117
|
|
117
118
|
&:hover {
|
118
119
|
background: $bg-light;
|
119
120
|
}
|
120
121
|
}
|
121
122
|
|
122
|
-
th,
|
123
|
+
th,
|
124
|
+
td {
|
123
125
|
border-bottom: $border-style-light;
|
124
126
|
padding: 1.25rem 1rem;
|
125
127
|
}
|
@@ -137,7 +139,8 @@ table.index_table {
|
|
137
139
|
border-bottom: $border-style-light;
|
138
140
|
}
|
139
141
|
|
140
|
-
th,
|
142
|
+
th,
|
143
|
+
td {
|
141
144
|
padding: 1rem 1.5rem;
|
142
145
|
border-bottom: $border-style-light;
|
143
146
|
}
|
data/lib/light_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marie Ishihara
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activeadmin
|