rails_tipjar 0.2.0 → 0.2.2

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: b20cb8427d06b557ced9867853f9acd14b7ba74cac80de9207316dd8f6cdb2ee
4
- data.tar.gz: a89f5d9936f3efa1f714df6a56b542988709b8a6e99e96478b1f2f70d4713bfd
3
+ metadata.gz: dd4604e05718d8a32b4384bd139441e1b2e46bf3716fc2daa2247a28755308ad
4
+ data.tar.gz: 386776445d6478db9a2b871cf4fd67f2d999699092eb001d0f875d83717650b3
5
5
  SHA512:
6
- metadata.gz: 77a0e7430424741d748ea350bf629c1a92ccbf743649d6f45709e0e9767980a113206f171313a14548813948b992372d22ca57d2081ea92c2b2d4b63d5ff1e1b
7
- data.tar.gz: cad8649848b878a8d26796a4fa29760d51e71ff1576d1bc09128d0de77bc784d65230ecf3830b6315bd864b5e53204e008d6a9335c8e7b2c0f3d78a9181e4aab
6
+ metadata.gz: 22b84d3ed5cd38428af7ef20f7405a3d45e963ccb7f0400f8356e99aa8aff17c17f8165ea716c08d2a4cc31a8c3171109cdebd58c249020dcb85c7c00bb0b81c
7
+ data.tar.gz: ea37e3133dd9190777f33aac89d36b90193c895475e2e5474f36dc9f36c05cd6411aa3ef4b26fd4ac259d488d83ca84ef3cce396288543e487885ea23f2eac08
@@ -2,8 +2,9 @@
2
2
  .tipjar-button {
3
3
  display: flex;
4
4
  align-items: center;
5
+ justify-content: center;
5
6
  gap: 0.5rem;
6
- padding: 0.75rem 1rem;
7
+ padding: 0.75rem;
7
8
  background-color: #3b82f6;
8
9
  color: white;
9
10
  border-radius: 9999px;
@@ -14,6 +15,8 @@
14
15
  font-size: 0.875rem;
15
16
  font-weight: 500;
16
17
  animation: tipjar-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
18
+ min-width: 3rem;
19
+ min-height: 3rem;
17
20
  }
18
21
 
19
22
  .tipjar-button:hover {
@@ -140,30 +143,30 @@
140
143
  background-color: #1f2937;
141
144
  color: #f3f4f6;
142
145
  }
143
-
146
+
144
147
  .tipjar-modal-header h3 {
145
148
  color: #f3f4f6;
146
149
  }
147
-
150
+
148
151
  .tipjar-modal-header p {
149
152
  color: #9ca3af;
150
153
  }
151
-
154
+
152
155
  .tipjar-amount-button {
153
156
  background-color: #374151;
154
157
  border-color: #4b5563;
155
158
  color: #f3f4f6;
156
159
  }
157
-
160
+
158
161
  .tipjar-amount-button:hover {
159
162
  background-color: #4b5563;
160
163
  border-color: #60a5fa;
161
164
  }
162
-
165
+
163
166
  .tipjar-modal-close {
164
167
  color: #9ca3af;
165
168
  }
166
-
169
+
167
170
  .tipjar-modal-close:hover {
168
171
  color: #f3f4f6;
169
172
  }
@@ -172,20 +175,26 @@
172
175
  /* Responsive Design */
173
176
  @media (max-width: 640px) {
174
177
  .tipjar-button {
175
- padding: 0.625rem 0.875rem;
178
+ padding: 0.625rem;
176
179
  font-size: 0.75rem;
180
+ min-width: 2.5rem;
181
+ min-height: 2.5rem;
177
182
  }
178
-
183
+
184
+ .tipjar-button:hover {
185
+ padding: 0.625rem 0.875rem;
186
+ }
187
+
179
188
  .tipjar-button-icon {
180
189
  width: 1.25rem;
181
190
  height: 1.25rem;
182
191
  }
183
-
192
+
184
193
  .tipjar-modal-content {
185
194
  margin: 1rem;
186
195
  max-width: calc(100% - 2rem);
187
196
  }
188
-
197
+
189
198
  .tipjar-modal-amounts .grid {
190
199
  grid-template-columns: 1fr;
191
200
  }
@@ -210,4 +219,4 @@
210
219
 
211
220
  .top-4 {
212
221
  top: 1rem;
213
- }
222
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsTipjar
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_tipjar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Paulson
@@ -60,7 +60,6 @@ files:
60
60
  - lib/rails_tipjar/configuration.rb
61
61
  - lib/rails_tipjar/engine.rb
62
62
  - lib/rails_tipjar/version.rb
63
- - rails_tipjar-0.1.0.gem
64
63
  - sig/rails_tipjar.rbs
65
64
  homepage: https://github.com/justinpaulson/rails_tipjar
66
65
  licenses: []
Binary file