light_admin 1.1.2 → 1.1.4

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
  SHA256:
3
- metadata.gz: 74f55afca275de40be2af4f8c59588a43ef0448e57376f5792128d00e507cbe1
4
- data.tar.gz: c61db02ebe11315a87d67c6e7995f03b08278bddd13144e3f7e631e5c4a2039b
3
+ metadata.gz: 735e60d6ae8645a10a4717cb8744eeef20901331511f845ad4676677390d5bca
4
+ data.tar.gz: b6a8f6211b2b864eb451a8b534ccbca71a4cfaab64c97d30c1d17e6bd858362a
5
5
  SHA512:
6
- metadata.gz: e0918b691bff4cadc2587300e51c3dff3cb88524634ddf19611fb14c190fbae74e0f2b2dda7cebfb774d99564c6f5dedd179728903148a547c6a277033738093
7
- data.tar.gz: e169102831605e9a354694c71f4ffa70c188080606f9f0f544089da9c2e287955b37e61ecf610fc992a5bdf14ea9079ccd71d600b8cd677037cf7157267af8b2
6
+ metadata.gz: 12ffb180c70b90a74b02d89014113624f3a97b2d233fef930d0dab047ad55bb287bcbbcba5823db644385872cd43195cd7f75a6014c433e6e2e0b2a8a5ba0c46
7
+ data.tar.gz: ffb73985026861cee4ed6a169032fca2b9dd1e301457d8d9aa40b68cf67be38e0736f7bf0a10bdd75da37acdb10a26e8534a10a6c3db54d405bdc8a3f193da01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.4
4
+
5
+ * Fix title_bar (again).
6
+
7
+ ## 1.1.3
8
+
9
+ * Fix title_bar horizontal scroll.
10
+
3
11
  ## 1.1.2
4
12
 
5
13
  * Fix env specific border left and right.
@@ -4,7 +4,9 @@ body {
4
4
  color: $global-text-color;
5
5
  background-color: $bg-light;
6
6
 
7
- *, *::before, *::after {
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: unset;
58
+ display: block;
57
59
  }
58
60
  }
@@ -1,11 +1,26 @@
1
1
  /* BUTTONS IN THE TITLE BAR */
2
2
  #title_bar {
3
+ &:after {
4
+ display: none;
5
+ }
6
+
7
+ #titlebar_right {
8
+ height: auto !important;
9
+ }
10
+
3
11
  .action_items {
12
+ height: 100%;
13
+ display: flex;
14
+ align-items: center;
15
+ flex-wrap: wrap;
16
+ justify-content: end;
17
+ row-gap: 0.25rem;
18
+
4
19
  span.action_item > a {
5
20
  background: $bg-white;
6
21
  border: $border-style-buttons;
7
22
  border-radius: $border-radius-btn;
8
- padding: .5rem 1rem;
23
+ padding: 0.5rem 1rem;
9
24
  box-shadow: $buttons-shadow;
10
25
  text-shadow: none;
11
26
  color: $text-buttons;
@@ -13,7 +28,7 @@
13
28
  font-weight: 500;
14
29
  font-family: $font-family;
15
30
  margin-right: 15px;
16
- transition: all .3s ease;
31
+ transition: all 0.3s ease;
17
32
 
18
33
  &:not(.disabled):hover {
19
34
  background: $bg-light;
@@ -61,7 +76,7 @@
61
76
  box-shadow: none;
62
77
  border-radius: unset;
63
78
  border-right: $border-style;
64
- padding: .74rem;
79
+ padding: 0.74rem;
65
80
  color: $text-buttons;
66
81
  font-weight: normal;
67
82
  font-family: $font-family;
@@ -87,11 +102,16 @@
87
102
  background: $bg-buttons;
88
103
  box-shadow: none;
89
104
  }
90
-
91
105
  }
92
106
 
93
107
  /* GROUPED ACTIONS BUTTON */
94
- a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_items span.action_item .dropdown_menu a.dropdown_menu_button {
108
+ a.table_tools_button,
109
+ .table_tools .dropdown_menu_button,
110
+ #title_bar
111
+ div.action_items
112
+ span.action_item
113
+ .dropdown_menu
114
+ a.dropdown_menu_button {
95
115
  box-shadow: none;
96
116
  text-shadow: none;
97
117
  border: none;
@@ -100,14 +120,15 @@ a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_
100
120
  font-size: $font-size;
101
121
  font-weight: 500;
102
122
  background: $bg-buttons;
103
- padding: .5rem 1rem;
123
+ padding: 0.5rem 1rem;
104
124
  }
105
125
 
106
126
  .table_tools_segmented_control li.selected a {
107
127
  color: $text-buttons;
108
128
  }
109
129
 
110
- .dropdown_menu, #title_bar div.action_items span.action_item .dropdown_menu {
130
+ .dropdown_menu,
131
+ #title_bar div.action_items span.action_item .dropdown_menu {
111
132
  .dropdown_menu_button {
112
133
  &:not(.disabled) {
113
134
  &:hover {
@@ -260,8 +281,8 @@ a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_
260
281
  }
261
282
 
262
283
  /* FORMS BUTTONS */
263
- form input[type=submit],
264
- form input[type=button],
284
+ form input[type='submit'],
285
+ form input[type='button'],
265
286
  form button {
266
287
  background: $bg-buttons;
267
288
  color: $text-white;
@@ -270,7 +291,7 @@ form button {
270
291
  font-size: 80%;
271
292
  text-shadow: none;
272
293
  box-shadow: none;
273
- border: .5px solid $white;
294
+ border: 0.5px solid $white;
274
295
  border-radius: $border-radius-btn;
275
296
 
276
297
  &:not(.disabled):hover {
@@ -295,13 +316,13 @@ form {
295
316
  font-size: 80%;
296
317
  text-shadow: none;
297
318
  box-shadow: none;
298
- border: .5px solid $white;
319
+ border: 0.5px solid $white;
299
320
  border-radius: $border-radius-btn;
300
321
 
301
322
  &:not(.disabled):hover {
302
323
  background: $bg-white;
303
324
  color: $text-danger;
304
- border: .5px solid $danger;
325
+ border: 0.5px solid $danger;
305
326
  }
306
327
  }
307
328
  }
@@ -329,21 +350,22 @@ form.filter_form {
329
350
  font-size: 80%;
330
351
  text-shadow: none;
331
352
  box-shadow: none;
332
- border: .5px solid $white;
353
+ border: 0.5px solid $white;
333
354
  border-radius: $border-radius-btn;
334
355
  margin-left: auto;
335
356
 
336
357
  &:not(.disabled):hover {
337
358
  background: $bg-white;
338
359
  color: $text-danger;
339
- border: .5px solid $danger;
360
+ border: 0.5px solid $danger;
340
361
  }
341
362
  }
342
363
  }
343
364
  }
344
365
 
345
366
  /* BUTTONS FOR ADD AND ERASED DOCUMENTS */
346
- a.button, a:link.button {
367
+ a.button,
368
+ a:link.button {
347
369
  background: $bg-white;
348
370
  border: $border-style-buttons;
349
371
  border-radius: $border-radius-btn;
@@ -354,6 +376,7 @@ a.button, a:link.button {
354
376
  color: $text-buttons;
355
377
  }
356
378
 
357
- a.button:not(.disabled):hover, a:link.button:not(.disabled):hover {
379
+ a.button:not(.disabled):hover,
380
+ a:link.button:not(.disabled):hover {
358
381
  background: $bg-light;
359
382
  }
@@ -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 .select2-selection--single
161
- .select2-selection__arrow {
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
- input[type='text'] {
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
- input[type=text] {
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: 30px;
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, th.sorted-desc {
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, td {
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, td {
142
+ th,
143
+ td {
141
144
  padding: 1rem 1.5rem;
142
145
  border-bottom: $border-style-light;
143
146
  }
@@ -9,6 +9,11 @@
9
9
  margin-bottom: 0;
10
10
  width: calc(100% - 2rem);
11
11
  box-shadow: $global-shadow;
12
+ display: flex;
13
+ max-width: auto;
14
+ width: auto;
15
+ justify-content: space-between;
16
+ align-items: center;
12
17
 
13
18
  #page_title {
14
19
  color: $global-text-color;
@@ -19,6 +24,8 @@
19
24
  }
20
25
 
21
26
  #titlebar_left {
27
+ height: auto !important;
28
+
22
29
  .breadcrumb .breadcrumb_sep {
23
30
  color: $global-text-color;
24
31
  }
@@ -1,3 +1,3 @@
1
1
  module LightAdmin
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.4"
3
3
  end
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.2
4
+ version: 1.1.4
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-09-25 00:00:00.000000000 Z
13
+ date: 2024-10-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeadmin