accomadesc 0.2.20 → 0.2.21

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.
@@ -63,31 +63,31 @@
63
63
  </div>
64
64
 
65
65
  <style>
66
- .title-with-slug {
66
+ div.title-with-slug {
67
67
  grid-area: first-row-line / middle-line / second-row-line / end-line;
68
68
  }
69
69
 
70
- .photo {
70
+ div.photo {
71
71
  grid-area: first-row-line / start-line / fifth-row-line / middle-line;
72
72
  position: relative;
73
73
  }
74
74
 
75
- .amenities-container {
75
+ div.amenities-container {
76
76
  grid-area: second-row-line / middle-line / third-row-line / end-line;
77
77
  position: relative;
78
78
  }
79
79
 
80
- .pricing-container {
80
+ div.pricing-container {
81
81
  grid-area: third-row-line / middle-line / fourth-row-line / end-line;
82
82
  position: relative;
83
83
  }
84
84
 
85
- .calendar-container {
85
+ div.calendar-container {
86
86
  grid-area: fourth-row-line / middle-line / fifth-row-line / end-line;
87
87
  position: relative;
88
88
  }
89
89
 
90
- .accocard-wrapper {
90
+ div.accocard-wrapper {
91
91
  width: calc(100% - 8rem);
92
92
  position: relative;
93
93
  display: grid;
@@ -111,85 +111,85 @@
111
111
  }
112
112
  }
113
113
 
114
- .accocard-wrapper h2 {
114
+ div.accocard-wrapper h2 {
115
115
  margin-top: 0;
116
116
  margin-bottom: 0;
117
117
  text-align: right;
118
118
  }
119
119
 
120
- .slug {
120
+ div.slug {
121
121
  text-align: right;
122
122
  margin-bottom: 1rem;
123
123
  }
124
124
 
125
125
  @media (max-width: 999px) {
126
- .accocard-wrapper {
126
+ div.accocard-wrapper {
127
127
  grid-template-rows: [first-row-line] auto [second-row-line] auto [third-row-line] auto [fourth-row-line];
128
128
  }
129
129
 
130
- .title-with-slug {
130
+ div.title-with-slug {
131
131
  grid-area: first-row-line / middle-line / second-row-line / end-line;
132
132
  }
133
133
 
134
- .photo {
134
+ div.photo {
135
135
  grid-area: first-row-line / start-line / third-row-line / middle-line;
136
136
  }
137
137
 
138
- .amenities-container {
138
+ div.amenities-container {
139
139
  grid-area: second-row-line / middle-line / third-row-line / end-line;
140
140
  }
141
141
 
142
- .pricing-container {
142
+ div.pricing-container {
143
143
  grid-area: third-row-line / start-line / fourth-row-line / middle-line;
144
144
  }
145
145
 
146
- .calendar-container {
146
+ div.calendar-container {
147
147
  grid-area: third-row-line / middle-line / fourth-row-line / end-line;
148
148
  }
149
149
  }
150
150
 
151
151
  @media (max-width: 750px) {
152
- .accocard-wrapper {
152
+ div.accocard-wrapper {
153
153
  grid-template-rows: repeat(auto);
154
154
  grid-template-columns: 1fr;
155
155
  }
156
156
 
157
- .title-with-slug {
157
+ div.title-with-slug {
158
158
  grid-row: auto;
159
159
  grid-column: 1;
160
160
  }
161
161
 
162
- .photo {
162
+ div.photo {
163
163
  grid-row: auto;
164
164
  grid-column: 1;
165
165
  }
166
166
 
167
- .amenities-container {
167
+ div.amenities-container {
168
168
  grid-row: auto;
169
169
  grid-column: 1;
170
170
  }
171
171
 
172
- .pricing-container {
172
+ div.pricing-container {
173
173
  grid-row: auto;
174
174
  grid-column: 1;
175
175
  }
176
176
 
177
- .calendar-container {
177
+ div.calendar-container {
178
178
  grid-row: auto;
179
179
  grid-column: 1;
180
180
  }
181
181
 
182
- .accocard-wrapper h2 {
182
+ div.accocard-wrapper h2 {
183
183
  text-align: center;
184
184
  }
185
185
 
186
- .slug {
186
+ div.slug {
187
187
  text-align: center;
188
188
  }
189
189
  }
190
190
 
191
191
  @media (max-width: 750px) {
192
- .accocard-wrapper {
192
+ div.accocard-wrapper {
193
193
  width: calc(100% - 2rem);
194
194
 
195
195
  gap: 0.5rem;
@@ -45,12 +45,12 @@
45
45
  </div>
46
46
 
47
47
  <style>
48
- .container {
48
+ div.container {
49
49
  position: relative;
50
50
  height: 100%;
51
51
  width: 100%;
52
52
 
53
- .content {
53
+ div.content {
54
54
  width: 100%;
55
55
  height: 100%;
56
56
 
@@ -68,7 +68,7 @@
68
68
  }
69
69
  }
70
70
 
71
- .content.extended {
71
+ div.content.extended {
72
72
  :global(h1) {
73
73
  font-size: var(--font-size-header-1);
74
74
  text-align: left;
@@ -151,7 +151,7 @@
151
151
  </div>
152
152
 
153
153
  <style>
154
- .amenities-wrapper {
154
+ div.amenities-wrapper {
155
155
  background-color: var(--main-bg-color);
156
156
  color: var(--main-font-color);
157
157
 
@@ -166,25 +166,25 @@
166
166
  }
167
167
  }
168
168
 
169
- .element-wrapper {
169
+ div.element-wrapper {
170
170
  display: flex;
171
171
  flex-direction: column;
172
172
  align-items: center;
173
173
  }
174
174
 
175
- .bool-element-wrapper {
175
+ div.bool-element-wrapper {
176
176
  position: relative;
177
177
  width: 2.2rem;
178
178
  height: 2.2rem;
179
179
  }
180
180
 
181
- .main-icon-container {
181
+ div.main-icon-container {
182
182
  position: absolute;
183
183
  top: 0.3rem;
184
184
  left: 0.3rem;
185
185
  }
186
186
 
187
- .not-icon-container {
187
+ div.not-icon-container {
188
188
  position: absolute;
189
189
  top: 0;
190
190
  left: 0;
@@ -224,11 +224,11 @@
224
224
  </div>
225
225
 
226
226
  <style>
227
- .explainer {
227
+ div.explainer {
228
228
  margin-bottom: 1rem;
229
229
  }
230
230
 
231
- .wrapper {
231
+ div.wrapper {
232
232
  background-color: var(--main-bg-color);
233
233
  color: var(--main-font-color);
234
234
 
@@ -262,29 +262,29 @@
262
262
  gap: 1rem;
263
263
  }
264
264
 
265
- .input-wrapper {
265
+ div.input-wrapper {
266
266
  grid-column-start: gap-end;
267
267
  grid-column-end: end;
268
268
  }
269
- .date-input-wrapper {
269
+ div.date-input-wrapper {
270
270
  display: flex;
271
271
  gap: 1rem;
272
272
  justify-content: flex-start;
273
273
  }
274
- .picker-wrapper {
274
+ div.picker-wrapper {
275
275
  position: absolute;
276
276
  z-index: 9999;
277
277
  background-color: var(--main-bg-color);
278
278
  }
279
279
 
280
- .message-wrapper {
280
+ div.message-wrapper {
281
281
  margin-top: 1rem;
282
282
  grid-column-start: start;
283
283
  grid-column-end: end;
284
284
  display: flex;
285
285
  justify-content: space-between;
286
286
  }
287
- .button-wrapper {
287
+ div.button-wrapper {
288
288
  grid-column-start: start;
289
289
  grid-column-end: end;
290
290
  display: flex;
@@ -292,27 +292,28 @@
292
292
  }
293
293
  }
294
294
 
295
- .max-chars-message {
295
+ span.max-chars-message {
296
296
  font-weight: bolder;
297
297
  color: var(--alert-font-color);
298
298
  }
299
299
 
300
- .message {
300
+ div.message {
301
301
  display: flex;
302
302
  justify-content: space-between;
303
303
  }
304
304
 
305
- .success {
305
+ div.success {
306
306
  color: var(--accept-font-color);
307
307
  font-weight: bolder;
308
308
  }
309
309
 
310
- .error {
310
+ div.error {
311
311
  color: var(--alert-font-color);
312
312
  font-weight: bolder;
313
313
  }
314
314
 
315
- .disabled {
315
+ div.disabled,
316
+ span.disabled {
316
317
  color: var(--disabled-font-color);
317
318
  }
318
319
  </style>
@@ -44,7 +44,7 @@
44
44
  </div>
45
45
 
46
46
  <style>
47
- .cal-wrapper {
47
+ div.cal-wrapper {
48
48
  position: relative;
49
49
  display: flex;
50
50
  justify-content: center;
@@ -52,7 +52,7 @@
52
52
  </div>
53
53
 
54
54
  <style>
55
- .cal-wrapper {
55
+ div.cal-wrapper {
56
56
  color: var(--main-font-color);
57
57
  background-color: var(--main-bg-color);
58
58
  position: relative;
@@ -34,7 +34,7 @@
34
34
  </div>
35
35
 
36
36
  <style>
37
- .cal-wrapper {
37
+ div.cal-wrapper {
38
38
  position: relative;
39
39
  display: flex;
40
40
  justify-content: center;
@@ -33,7 +33,7 @@
33
33
  </div>
34
34
 
35
35
  <style>
36
- .cal-wrapper {
36
+ div.cal-wrapper {
37
37
  position: relative;
38
38
  display: flex;
39
39
  justify-content: center;
@@ -153,12 +153,12 @@
153
153
  </div>
154
154
 
155
155
  <style>
156
- .explainer {
156
+ div.explainer {
157
157
  margin-bottom: 1rem;
158
158
  grid-column: span 2;
159
159
  }
160
160
 
161
- .wrapper {
161
+ div.wrapper {
162
162
  background-color: var(--main-bg-color);
163
163
  color: var(--main-font-color);
164
164
 
@@ -184,25 +184,25 @@
184
184
  grid-column-end: gap-start;
185
185
  }
186
186
 
187
- .message-wrapper {
187
+ div.message-wrapper {
188
188
  margin-top: 1rem;
189
189
  grid-column-start: start;
190
190
  grid-column-end: end;
191
191
  display: flex;
192
192
  justify-content: space-between;
193
193
  }
194
- .button-wrapper {
194
+ div.button-wrapper {
195
195
  grid-column-start: start;
196
196
  grid-column-end: end;
197
197
  display: flex;
198
198
  justify-content: flex-start;
199
199
  }
200
- .input-wrapper {
200
+ div.input-wrapper {
201
201
  grid-column-start: gap-end;
202
202
  grid-column-end: end;
203
203
  }
204
204
 
205
- .notes-input {
205
+ label.notes-input {
206
206
  margin-top: 2rem;
207
207
  grid-column-start: start;
208
208
  grid-column-end: end;
@@ -212,22 +212,23 @@
212
212
  }
213
213
  }
214
214
 
215
- .max-chars-message {
215
+ span.max-chars-message {
216
216
  font-weight: bolder;
217
217
  color: var(--alert-font-color);
218
218
  }
219
219
 
220
- .success {
220
+ div.success {
221
221
  color: var(--accept-font-color);
222
222
  font-weight: bolder;
223
223
  }
224
224
 
225
- .error {
225
+ div.error {
226
226
  color: var(--alert-font-color);
227
227
  font-weight: bolder;
228
228
  }
229
229
 
230
- .disabled {
230
+ div.disabled,
231
+ span.disabled {
231
232
  color: var(--disabled-font-color);
232
233
  }
233
234
  </style>
@@ -57,12 +57,12 @@
57
57
  </div>
58
58
 
59
59
  <style>
60
- .wrapper {
60
+ div.wrapper {
61
61
  width: 100%;
62
62
  position: relative;
63
63
  background-color: var(--main-bg-color);
64
64
  }
65
- .nav-floater {
65
+ div.nav-floater {
66
66
  position: absolute;
67
67
  top: 0;
68
68
  right: 0;
@@ -74,7 +74,7 @@
74
74
  a {
75
75
  color: var(--picture-link-font-color);
76
76
  }
77
- .map {
77
+ div.map {
78
78
  width: 100%;
79
79
  min-height: 60vh;
80
80
  }
@@ -77,7 +77,7 @@
77
77
  margin-left: 1rem;
78
78
  }
79
79
 
80
- nav {
80
+ nav.main-nav {
81
81
  z-index: 998;
82
82
  position: fixed;
83
83
  padding-right: 1rem;
@@ -100,7 +100,7 @@
100
100
  }
101
101
  }
102
102
 
103
- .not-nav {
103
+ button.not-nav {
104
104
  border: none;
105
105
  position: fixed;
106
106
  top: 0;
@@ -117,7 +117,7 @@
117
117
  margin-bottom: 1rem;
118
118
  }
119
119
 
120
- .radio-wrapper {
120
+ div.radio-wrapper {
121
121
  font-family: var(--nav-font-family);
122
122
  font-variant: var(--nav-font-variant);
123
123
  font-size: 1.6rem;
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
 
39
39
  <style>
40
- .sub {
40
+ div.sub {
41
41
  font-size: 1.2rem;
42
42
  margin-left: 0.4rem;
43
43
  }
@@ -51,16 +51,16 @@
51
51
  color: var(--nav-font-color);
52
52
  }
53
53
 
54
- .link-icon-wrapper {
54
+ div.link-icon-wrapper {
55
55
  position: absolute;
56
56
  left: -1.8rem;
57
57
  top: 0rem;
58
58
  }
59
- .sub .link-icon-wrapper {
59
+ div.sub div.link-icon-wrapper {
60
60
  left: -2.2rem;
61
61
  }
62
62
 
63
- .ext-link-wrapper {
63
+ div.ext-link-wrapper {
64
64
  display: flex;
65
65
  position: relative;
66
66
  width: 100%;
@@ -195,7 +195,7 @@
195
195
  </div>
196
196
 
197
197
  <style>
198
- .section-wrapper {
198
+ div.section-wrapper {
199
199
  margin-bottom: 2rem;
200
200
  width: 100%;
201
201
  overflow-y: clip;
@@ -235,7 +235,7 @@
235
235
  margin-top: calc(100vh - 1rem);
236
236
  }
237
237
 
238
- .floating-title {
238
+ div.floating-title {
239
239
  width: 100%;
240
240
  height: calc(100vh - 2rem);
241
241
  position: absolute;
@@ -250,7 +250,7 @@
250
250
  text-align: center;
251
251
  }
252
252
 
253
- .floating-title h1 {
253
+ div.floating-title h1 {
254
254
  font-weight: bolder;
255
255
  font-size: 2.8rem;
256
256
  font-family: var(--landing-title-font-family, 'sans-serif');
@@ -260,12 +260,12 @@
260
260
  }
261
261
 
262
262
  @media (max-width: 300px) {
263
- .floating-title h1 {
263
+ div.floating-title h1 {
264
264
  font-size: 1.6rem;
265
265
  }
266
266
  }
267
267
 
268
- .ham-wrapper {
268
+ div.ham-wrapper {
269
269
  position: absolute;
270
270
  right: 1rem;
271
271
  top: 1rem;
@@ -274,11 +274,11 @@
274
274
  z-index: 999;
275
275
  }
276
276
 
277
- .fixed {
277
+ div.fixed {
278
278
  position: fixed;
279
279
  }
280
280
 
281
- .nav {
281
+ div.nav {
282
282
  display: flex;
283
283
  flex-direction: row;
284
284
  justify-content: space-around;
@@ -289,12 +289,12 @@
289
289
  padding-top: 0.5rem;
290
290
  }
291
291
 
292
- .nav :global(*) {
292
+ div.nav :global(*) {
293
293
  background-color: var(--header-bg-color);
294
294
  color: var(--footer-font-color);
295
295
  }
296
296
 
297
- .page-wrapper {
297
+ div.page-wrapper {
298
298
  display: flex;
299
299
  flex-direction: column;
300
300
  width: 100%;
@@ -303,11 +303,11 @@
303
303
  background-color: var(--main-bg-color);
304
304
  }
305
305
 
306
- .disabled {
306
+ div.disabled {
307
307
  filter: grayscale();
308
308
  }
309
309
 
310
- .hero-nav-wrapper {
310
+ div.hero-nav-wrapper {
311
311
  position: absolute;
312
312
  right: 0;
313
313
  left: 0;
@@ -21,26 +21,26 @@
21
21
  </footer>
22
22
 
23
23
  <style>
24
- .nav {
24
+ div.nav {
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  justify-content: space-around;
28
28
  flex-wrap: wrap;
29
29
  flex-grow: 3;
30
30
  }
31
- .content {
31
+ div.content {
32
32
  flex-grow: 1;
33
33
  display: flex;
34
34
  flex-direction: row;
35
35
  justify-content: right;
36
36
  }
37
37
 
38
- .content :global(*) {
38
+ div.content :global(*) {
39
39
  background-color: var(--footer-bg-color);
40
40
  color: var(--footer-font-color);
41
41
  }
42
42
 
43
- .link-wrapper {
43
+ div.link-wrapper {
44
44
  text-decoration: underline;
45
45
  font-family: var(--nav-font-family, 'mono');
46
46
  font-variant: var(--nav-font-variant, 'normal');
@@ -75,7 +75,7 @@
75
75
  }
76
76
 
77
77
  @media (max-width: 500px) {
78
- .nav {
78
+ div.nav {
79
79
  flex-direction: row;
80
80
  justify-content: left;
81
81
  }
@@ -36,7 +36,7 @@
36
36
  }
37
37
  }
38
38
 
39
- .text-wrapper {
39
+ div.text-wrapper {
40
40
  min-height: 10rem;
41
41
  display: flex;
42
42
  flex-direction: column;
@@ -46,21 +46,21 @@
46
46
  margin-right: 8rem;
47
47
  }
48
48
 
49
- .slug {
49
+ div.slug {
50
50
  font-size: 1.6rem;
51
51
  font-family: var(--header-font-family, 'sans-serif');
52
52
  font-variant: var(--header-font-variant, 'small-caps');
53
53
  margin-bottom: 1rem;
54
54
  }
55
55
 
56
- .header h1 {
56
+ div.header h1 {
57
57
  margin-top: 0.6rem;
58
58
  margin-bottom: 0.3rem;
59
59
  font-family: var(--page-title-font-family, 'sans-serif');
60
60
  font-variant: var(--page-title-font-variant, 'small-caps');
61
61
  }
62
62
 
63
- .logo {
63
+ object.logo {
64
64
  position: absolute;
65
65
  left: 0;
66
66
  top: 0;
@@ -71,40 +71,40 @@
71
71
  }
72
72
 
73
73
  @media (max-width: 550px) {
74
- .text-wrapper {
74
+ div.text-wrapper {
75
75
  margin-left: 10rem;
76
76
  margin-right: 2rem;
77
77
  }
78
78
  }
79
79
 
80
80
  @media (max-width: 500px) {
81
- .text-wrapper {
81
+ div.text-wrapper {
82
82
  min-height: 6rem;
83
83
  margin-left: 6rem;
84
84
  }
85
85
 
86
- .slug {
86
+ div.slug {
87
87
  display: none;
88
88
  }
89
- .logo {
89
+ object.logo {
90
90
  width: 5rem;
91
91
  }
92
- .header h1 {
92
+ div.header h1 {
93
93
  font-size: 2.2rem;
94
94
  }
95
95
  }
96
96
 
97
97
  @media (max-width: 300px) {
98
- .text-wrapper {
98
+ div.text-wrapper {
99
99
  min-height: 4rem;
100
100
  margin-left: 0.5rem;
101
101
  margin-right: 1rem;
102
102
  }
103
103
 
104
- .logo {
104
+ object.logo {
105
105
  display: none;
106
106
  }
107
- .header h1 {
107
+ div.header h1 {
108
108
  padding-left: 1rem;
109
109
  }
110
110
  }
package/dist/Photo.svelte CHANGED
@@ -82,7 +82,7 @@
82
82
  position: relative;
83
83
  }
84
84
 
85
- .link-icon-wrapper {
85
+ div.link-icon-wrapper {
86
86
  position: absolute;
87
87
  top: -0.4rem;
88
88
  right: -0.4rem;
@@ -91,7 +91,7 @@
91
91
  border-radius: 1rem;
92
92
  }
93
93
 
94
- .attribution-wrapper {
94
+ div.attribution-wrapper {
95
95
  color: var(--attribution-font-color);
96
96
  background-color: var(--attribution-bg-color);
97
97
  font-size: 0.7rem;
@@ -101,7 +101,7 @@
101
101
  border-radius: 1rem;
102
102
  }
103
103
 
104
- .attribution-container {
104
+ div.attribution-container {
105
105
  display: flex;
106
106
  align-items: flex-end;
107
107
  justify-content: flex-end;
@@ -114,12 +114,12 @@
114
114
  width: 100%;
115
115
  }
116
116
 
117
- .no-frame {
117
+ div.no-frame {
118
118
  width: 100%;
119
119
  height: 100%;
120
120
  }
121
121
 
122
- .frame {
122
+ div.frame {
123
123
  width: 100%;
124
124
  height: 100%;
125
125
  padding: 0.3rem;
@@ -115,7 +115,7 @@
115
115
  </div>
116
116
 
117
117
  <style>
118
- .next-wrapper {
118
+ div.next-wrapper {
119
119
  position: absolute;
120
120
  right: 1rem;
121
121
  top: calc(50% - 1.65rem);
@@ -124,7 +124,7 @@
124
124
  --button-bg-color: var(--gallery-button-bg-color);
125
125
  }
126
126
 
127
- .prev-wrapper {
127
+ div.prev-wrapper {
128
128
  position: absolute;
129
129
  left: 1rem;
130
130
  top: calc(50% - 1.65rem);
@@ -133,12 +133,12 @@
133
133
  --button-bg-color: var(--gallery-button-bg-color);
134
134
  }
135
135
 
136
- .complete-row {
136
+ div.complete-row {
137
137
  grid-column-start: firstLine;
138
138
  grid-column-end: lastLine;
139
139
  }
140
140
 
141
- .photo-container {
141
+ div.photo-container {
142
142
  padding: 0;
143
143
  border: 0;
144
144
  cursor: pointer;
@@ -147,7 +147,7 @@
147
147
  position: relative;
148
148
  }
149
149
 
150
- .grid-container {
150
+ div.grid-container {
151
151
  width: 100%;
152
152
  display: grid;
153
153
  grid-template-columns: 1fr 1fr 1fr;
@@ -456,7 +456,7 @@
456
456
  border-collapse: collapse;
457
457
  }
458
458
 
459
- .pricing-table-global td {
459
+ table.pricing-table-global td {
460
460
  padding: 1.5rem;
461
461
  }
462
462
 
@@ -521,7 +521,7 @@
521
521
  }
522
522
  }
523
523
 
524
- .main-header {
524
+ th.main-header {
525
525
  font-weight: bolder;
526
526
  }
527
527
  </style>
@@ -99,7 +99,7 @@
99
99
  </div>
100
100
 
101
101
  <style>
102
- .pricing-short-wrapper {
102
+ div.pricing-short-wrapper {
103
103
  color: var(--main-font-color);
104
104
  background-color: var(--main-bg-color);
105
105
 
@@ -113,7 +113,7 @@
113
113
  }
114
114
  }
115
115
 
116
- .pricing-short-wrapper h3 {
116
+ div.pricing-short-wrapper h3 {
117
117
  margin-top: 0;
118
118
  margin-bottom: 0;
119
119
  }
@@ -80,7 +80,7 @@
80
80
 
81
81
  <svelte:window bind:innerWidth={clientWidth} />
82
82
 
83
- <section style={widthStyle}>
83
+ <section class="wrapper" style={widthStyle}>
84
84
  {#if header}
85
85
  <h2>{translatedHeader}</h2>
86
86
  {/if}
@@ -165,11 +165,11 @@
165
165
  </section>
166
166
 
167
167
  <style>
168
- .block-container {
168
+ div.block-container {
169
169
  position: relative;
170
170
  }
171
171
 
172
- section {
172
+ section.wrapper {
173
173
  margin-top: 1.5rem;
174
174
  margin-bottom: 0.5rem;
175
175
  display: flex;
@@ -177,7 +177,7 @@
177
177
  width: 100%;
178
178
  }
179
179
 
180
- .content {
180
+ div.content {
181
181
  display: grid;
182
182
  width: 100%;
183
183
  gap: 1rem;
package/dist/Text.svelte CHANGED
@@ -46,13 +46,13 @@
46
46
  </div>
47
47
 
48
48
  <style>
49
- .container {
49
+ div.container {
50
50
  position: relative;
51
51
  height: 100%;
52
52
  width: 100%;
53
53
  background-color: var(--main-bg-color);
54
54
 
55
- .content {
55
+ div.content {
56
56
  width: 100%;
57
57
  height: 100%;
58
58
 
@@ -69,7 +69,7 @@
69
69
  text-align: left;
70
70
  }
71
71
  }
72
- .extended {
72
+ div.content.extended {
73
73
  :global(h1) {
74
74
  font-size: var(--font-size-header-1);
75
75
  text-align: left;
@@ -18,9 +18,7 @@
18
18
  const data = encoder.encode(lowerCased);
19
19
  const hashBuffer = await window.crypto.subtle.digest('SHA-256', data);
20
20
  const hashArray = Array.from(new Uint8Array(hashBuffer)); // convert buffer to byte array
21
- const hashed = hashArray
22
- .map((b) => b.toString(16).padStart(2, '0'))
23
- .join('');
21
+ const hashed = hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');
24
22
  return hashed;
25
23
  };
26
24
 
@@ -45,7 +43,7 @@
45
43
  </div>
46
44
 
47
45
  <style>
48
- .avatar-container {
46
+ div.avatar-container {
49
47
  border: var(--avatar-border);
50
48
  border-radius: 50%;
51
49
  overflow: hidden;
@@ -261,15 +261,15 @@
261
261
  {/if}
262
262
 
263
263
  <style>
264
- .disabled {
264
+ button.disabled {
265
265
  filter: grayscale(1) opacity(0.5);
266
266
  }
267
267
 
268
- .pressed {
268
+ button.pressed {
269
269
  filter: hue-rotate(120deg);
270
270
  }
271
271
 
272
- .button {
272
+ button.button {
273
273
  box-sizing: content-box;
274
274
 
275
275
  font-size: 100%;
@@ -291,25 +291,25 @@
291
291
 
292
292
  -webkit-tap-highlight-color: transparent;
293
293
  }
294
- .button:focus {
294
+ button.button:focus {
295
295
  outline-style: none;
296
296
  filter: var(--button-focus-filter);
297
297
  }
298
298
 
299
- .button.danger {
299
+ button.button.danger {
300
300
  background-color: var(--button-danger-bg-color);
301
301
  color: var(--button-danger-font-color);
302
302
  }
303
303
 
304
- .button:enabled:active {
304
+ button.button:enabled:active {
305
305
  filter: blur(0.1rem);
306
306
  }
307
307
 
308
- .button .button-icon {
308
+ button.button .button-icon {
309
309
  display: inline-block;
310
310
  }
311
311
 
312
- .button .button-text {
312
+ button.button .button-text {
313
313
  display: inline-block;
314
314
  font-weight: bold;
315
315
  user-select: none;
@@ -322,11 +322,11 @@
322
322
  margin-right: 0.4rem;
323
323
  }
324
324
 
325
- .button.danger .button-text {
325
+ button.button.danger .button-text {
326
326
  color: var(--button-danger-font-color);
327
327
  }
328
328
 
329
- .button:disabled {
329
+ button.button:disabled {
330
330
  cursor: default;
331
331
  }
332
332
  </style>
@@ -35,7 +35,7 @@
35
35
  ></div>
36
36
 
37
37
  <style>
38
- .question-input {
38
+ div.question-input {
39
39
  position: relative;
40
40
 
41
41
  min-width: 400px;
@@ -60,13 +60,13 @@
60
60
  background-repeat: repeat;
61
61
  }
62
62
 
63
- .question-input.disabled {
63
+ div.question-input.disabled {
64
64
  border: var(--disabled-border);
65
65
  font: var(--notes-disabled-font-color);
66
66
  background-color: var(--notes-disabled-bg-color);
67
67
  }
68
68
 
69
- .question-input::after {
69
+ div.question-input::after {
70
70
  content: '';
71
71
  position: absolute;
72
72
  border: var(--notes-vert-line);
@@ -74,7 +74,7 @@
74
74
  top: 0;
75
75
  bottom: 0;
76
76
  }
77
- .question-input::before {
77
+ div.question-input::before {
78
78
  content: '';
79
79
  position: absolute;
80
80
  border: var(--notes-vert-line);
@@ -49,7 +49,7 @@
49
49
  </svelte:head>
50
50
 
51
51
  <style>
52
- .background {
52
+ div.background {
53
53
  height: 100vh;
54
54
  width: 100vw;
55
55
  background-color: rgba(245, 245, 245, 0.7);
@@ -64,4 +64,3 @@
64
64
  align-items: center;
65
65
  }
66
66
  </style>
67
-
@@ -255,20 +255,20 @@
255
255
  </div>
256
256
 
257
257
  <style>
258
- .translating {
258
+ input.translating {
259
259
  filter: drop-shadow(0 0 1rem #baa5c3);
260
260
  border-color: #3d704d;
261
261
  box-shadow: 0 0 0.5rem #baa5c3;
262
262
  }
263
263
 
264
- .input-wrapper {
264
+ div.input-wrapper {
265
265
  display: flex;
266
266
  flex-direction: column;
267
267
  position: relative;
268
268
  align-self: flex-start;
269
269
  }
270
270
 
271
- .margin-for-message {
271
+ div.margin-for-message {
272
272
  margin-top: 1rem;
273
273
  }
274
274
 
@@ -310,13 +310,13 @@
310
310
  position: absolute;
311
311
  }
312
312
 
313
- .message-wrapper {
313
+ div.message-wrapper {
314
314
  height: 1rem;
315
315
  top: -1rem;
316
316
  position: absolute;
317
317
  }
318
318
 
319
- .message {
319
+ span.message {
320
320
  color: var(--alert-font-color);
321
321
  font-style: italic;
322
322
 
@@ -324,7 +324,7 @@
324
324
  white-space: nowrap;
325
325
  }
326
326
 
327
- .message.valid {
327
+ span.message.valid {
328
328
  color: var(--accept-font-color);
329
329
  }
330
330
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accomadesc",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",