recordselect 4.0.4 → 4.0.6

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: 362f542dfd84f4252b0a550c0f9200f3aa956c6ca43a1b939636decae08a805d
4
- data.tar.gz: 84e8d713f19e301b23193bd7fb103bcb639f9155d6262c8057658abb88d2e8b4
3
+ metadata.gz: b36df6aea73a6dafd1c39dbbdf9e183e552707b6d671ddd36a625d29e55e27a9
4
+ data.tar.gz: 2d1c7fdd7a76086efd0de9d080785877f96f0b216cdf65293ca379ab0acc73e1
5
5
  SHA512:
6
- metadata.gz: bdba6822301d47fe4976bbf65c0c361c459a750914d477ed16cd4609a4eed2997a4e8c1c01058fd3580a977b1cd7b8ae3cb090069ac489618f8152f3ea4d17bc
7
- data.tar.gz: 2993c28d98c8da784d9646dd55b29f1c43cb1e698d2c3481a465adeb7c6f990327cf04cdde489dcbcc9e30e3fbe66366e94d34f3431a79b3a3529d06c41c4e0f
6
+ metadata.gz: f4b215873449c71dd239641107a1185740f33aabe01e057129e25cd9291769600307b8d996c0ff714600fd7b2c9307745180cb8cbf236a20819b8e2a914e5424
7
+ data.tar.gz: 8a9a99cf1f91e345973da9808df885d9477743a902342e6afc994ec8cf714c6dd08e7ac7fc6b55d4bd3c146afaa8fa868370c5bf867f86ab254892da19fe834e
@@ -145,39 +145,47 @@ iframe.record-select-mask {
145
145
  margin-right: 5px;
146
146
  }
147
147
 
148
- .recordselect.selected {
149
- background-color: #EFFFEF;
150
- background-position: right 2px center;
151
- background-image: image-url('record_select/accept.png');
152
- background-repeat: no-repeat;
153
- padding-right: 20px;
154
- }
155
-
156
- .recordselect + input[type=hidden] + button.clear-input-button {
157
- /* button position */
158
- position: relative;
159
- right: 20px;
160
- top: 3px;
161
- /* button appearane */
162
- background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
163
- background-color: transparent;
164
- width: 16px;
165
- height: 16px;
166
- appearance: none;
167
- border: none;
168
- border-radius: 50%;
169
- margin: 0;
170
- cursor: pointer;
171
- text-indent: 20px;
172
- overflow: hidden;
173
- display: none;
174
- &.enabled {
175
- display: inline-block;
148
+ .recordselect {
149
+ &:has(~ .clear-input-button) {
150
+ padding-right: 20px;
176
151
  }
177
- &:hover {
178
- background-color: lightgray;
152
+ &.selected {
153
+ background-color: #EFFFEF;
154
+ background-position: right 2px center;
155
+ background-image: image-url('record_select/accept.png');
156
+ background-repeat: no-repeat;
157
+ padding-right: 20px;
158
+ &:has(~ .clear-input-button) {
159
+ padding-right: 40px;
160
+ }
161
+ + input[type=hidden] + button.clear-input-button {
162
+ right: 40px;
163
+ }
164
+ }
165
+
166
+ + input[type=hidden] + button.clear-input-button {
167
+ /* button position */
168
+ position: relative;
169
+ right: 20px;
170
+ top: 3px;
171
+ /* button appearane */
172
+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
173
+ background-color: transparent;
174
+ width: 16px;
175
+ height: 16px;
176
+ appearance: none;
177
+ border: none;
178
+ border-radius: 50%;
179
+ margin: 0;
180
+ cursor: pointer;
181
+ text-indent: 20px;
182
+ overflow: hidden;
183
+ display: none;
184
+ &.enabled {
185
+ display: inline-block;
186
+ }
187
+ &:hover {
188
+ background-color: lightgray;
189
+ }
179
190
  }
180
- }
181
- .recordselect.selected + input[type=hidden] + button.clear-input-button {
182
- right: 40px;
183
191
  }
@@ -2,7 +2,7 @@ module RecordSelect
2
2
  module Version
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- PATCH = 4
5
+ PATCH = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recordselect
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-02-26 00:00:00.000000000 Z
13
+ date: 2025-04-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler