pg_rails 7.6.9 → 7.6.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91cd30e1ebe3fd2ec058f38ac2ad843421e8bb65c989aa5c8b5b7597703719f5
4
- data.tar.gz: ceeaa8d7d5a2e3cfb32b39ff6c5da0b4c497a826685ef35f92be2cade7ad2d28
3
+ metadata.gz: 893c71adcb5816e5cbd09b2860163a03d84c56a4980388578f22ce31dd75e2c6
4
+ data.tar.gz: 8debfcd4a503776a404c284add03df833a2e95efea61ba51e67068203bd72492
5
5
  SHA512:
6
- metadata.gz: 4e4444db810e6836a963c75fa5727c39f434c6032c269671bd9286fca0eb788a3013c45f494cebf2c583df4bc0c37803922d86090bc10685e46fee4b158919aa
7
- data.tar.gz: a44d48f9d63295bdf519ac6ba424ebc0d1ed1c69f28b5c8be898b1c58dc72165a8ae3b5bb75f4ac47efc13987fba2e134cf275f03a7ac00f9251774f1f387c78
6
+ metadata.gz: ee18015d09a9ab2940295018f8cb5e8feb2bebb015e90b18984971f6194360cb205b614d5649155df68cbc619f173f3dcb46c9df6aa4f3f3166a00841cb244ef
7
+ data.tar.gz: 77223fb87d0035b0165b4c0edf47830dfc5493a07ec567bc6628a8c3d3407dc2d16030b03d5502d310f8fbf0d2602293b1b63c82d0912166186449798db3beed
@@ -82,17 +82,26 @@
82
82
  .sub-wrapper {
83
83
  overflow: auto;
84
84
  box-shadow: 0px 9px 13px -3px rgba(0, 0, 0, 0.5);
85
+ z-index: 50;
85
86
  // position: absolute;
86
87
  // z-index: 1;
87
88
  background-color: #{$body-bg};
88
89
  border: 1px solid #a7b7bb;
89
90
  border-top: none;
90
91
  border-radius: 4px;
91
- padding: 5px 0;
92
+ // padding: 5px 0;
92
93
  width: 100%;
93
94
 
94
95
  border-top-left-radius: 0;
95
96
  border-top-right-radius: 0;
97
+
98
+ a[data-action="asociable#crearItem"] {
99
+ position: sticky;
100
+ bottom: 0;
101
+ background-color: #faf5ff;
102
+ outline: 1px solid #ababcc;
103
+ box-shadow: 20px 9px 13px 7px rgba(0, 0, 0, 0.5);
104
+ }
96
105
  }
97
106
  .modal-asociable .modal-footer {
98
107
  justify-content: space-between;
@@ -27,7 +27,6 @@ export default class extends Controller {
27
27
  this.subWrapper.setAttribute('id', `resultados-inline-${this.elemId}`)
28
28
  this.subWrapper.classList.add('sub-wrapper')
29
29
  this.subWrapper.classList.add('position-absolute')
30
- this.subWrapper.classList.add('z-1')
31
30
  result.appendChild(this.subWrapper)
32
31
  this.input.parentNode.appendChild(result)
33
32
 
@@ -3,7 +3,7 @@
3
3
  div data-controller="clear-timeout" data-timeout-id="#{timeout_id}"
4
4
  ul.list-group.list-group-flush
5
5
  - if count.positive?
6
- .text-center.fst-italic style="font-size:0.7em"
6
+ .text-center.fst-italic.text-secondary.pt-1 style="font-size:0.7em"
7
7
  | #{count} resultados para "#{query}"
8
8
  - collection.each do |object|
9
9
  = link_to object.to_s, 'javascript:void(0)',
@@ -211,6 +211,10 @@ input[type=datetime-local], input[type=datetime] {
211
211
  border-bottom: 1px dotted #333;
212
212
  padding-bottom: 1px;
213
213
 
214
+ .edit-link {
215
+ color: rgba(33, 37, 41, 0.21);
216
+ }
217
+
214
218
  &:not(:has(.trix-content)) .edit-link {
215
219
  margin-right: 0.25em;
216
220
  }
@@ -221,8 +225,8 @@ input[type=datetime-local], input[type=datetime] {
221
225
  border-bottom: 1px dotted #333;
222
226
  }
223
227
 
224
- a:hover {
225
- i {
228
+ &:hover {
229
+ .edit-link i {
226
230
  color: black;
227
231
  }
228
232
  }
@@ -4,7 +4,7 @@
4
4
  data: { \
5
5
  controller: :tooltip,
6
6
  'bs-title': "Modificar #{@model.class.human_attribute_name(@attribute).downcase}" },
7
- class: 'text-body-tertiary edit-link', style: 'font-size: 0.8em' do
7
+ class: 'edit-link', style: 'font-size: 0.8em' do
8
8
  i.bi.bi-pencil
9
9
  span = @model.decorate.send(@attribute)
10
10
  - else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.6.9'
4
+ VERSION = '7.6.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.9
4
+ version: 7.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso