@mideind/netskrafl-react 2.2.2 → 2.3.0
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.
- package/dist/esm/css/netskrafl.css +221 -0
- package/dist/esm/index.js +70 -70
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -304,6 +304,14 @@
|
|
|
304
304
|
content: "\E212";
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
+
.netskrafl-container .glyphicon-share:before {
|
|
308
|
+
content: "\E223";
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.netskrafl-container .glyphicon-copy:before {
|
|
312
|
+
content: "\E512";
|
|
313
|
+
}
|
|
314
|
+
|
|
307
315
|
/*
|
|
308
316
|
|
|
309
317
|
Skrafl-explo.css
|
|
@@ -9166,6 +9174,206 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
|
|
|
9166
9174
|
overscroll-behavior-y: contain;
|
|
9167
9175
|
}
|
|
9168
9176
|
|
|
9177
|
+
/* ================= SHARE POPUP STYLES =============== */
|
|
9178
|
+
|
|
9179
|
+
.netskrafl-container .modal-dialog.share-popup {
|
|
9180
|
+
visibility: visible;
|
|
9181
|
+
position: fixed;
|
|
9182
|
+
top: 50%;
|
|
9183
|
+
left: 50%;
|
|
9184
|
+
transform: translate(-50%, -50%);
|
|
9185
|
+
z-index: 10000;
|
|
9186
|
+
background: white;
|
|
9187
|
+
border-radius: 16px;
|
|
9188
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
9189
|
+
width: fit-content;
|
|
9190
|
+
min-width: 280px;
|
|
9191
|
+
max-width: 90%;
|
|
9192
|
+
height: auto;
|
|
9193
|
+
display: flex;
|
|
9194
|
+
flex-direction: column;
|
|
9195
|
+
overflow: hidden;
|
|
9196
|
+
}
|
|
9197
|
+
|
|
9198
|
+
.netskrafl-container .modal-dialog.share-popup .modal-content {
|
|
9199
|
+
position: relative;
|
|
9200
|
+
display: flex;
|
|
9201
|
+
flex-direction: column;
|
|
9202
|
+
padding: 16px;
|
|
9203
|
+
padding-top: 36px;
|
|
9204
|
+
}
|
|
9205
|
+
|
|
9206
|
+
.netskrafl-container .modal-dialog.share-popup .close {
|
|
9207
|
+
position: absolute;
|
|
9208
|
+
top: 10px;
|
|
9209
|
+
right: 10px;
|
|
9210
|
+
background-color: var(--malfridur-accent);
|
|
9211
|
+
border: none;
|
|
9212
|
+
border-radius: 6px;
|
|
9213
|
+
cursor: pointer;
|
|
9214
|
+
padding: 0;
|
|
9215
|
+
width: 36px;
|
|
9216
|
+
height: 36px;
|
|
9217
|
+
display: flex;
|
|
9218
|
+
align-items: center;
|
|
9219
|
+
justify-content: center;
|
|
9220
|
+
color: white;
|
|
9221
|
+
z-index: 10;
|
|
9222
|
+
transition: all 0.2s ease;
|
|
9223
|
+
}
|
|
9224
|
+
|
|
9225
|
+
.netskrafl-container .modal-dialog.share-popup .close .glyphicon {
|
|
9226
|
+
font-size: 18px;
|
|
9227
|
+
top: 0;
|
|
9228
|
+
}
|
|
9229
|
+
|
|
9230
|
+
.netskrafl-container .modal-dialog.share-popup .close:hover {
|
|
9231
|
+
background-color: var(--logo-accent);
|
|
9232
|
+
transform: scale(1.05);
|
|
9233
|
+
}
|
|
9234
|
+
|
|
9235
|
+
/* Celebration section with sun corona */
|
|
9236
|
+
|
|
9237
|
+
.netskrafl-container .share-popup-celebration {
|
|
9238
|
+
position: relative;
|
|
9239
|
+
display: flex;
|
|
9240
|
+
align-items: center;
|
|
9241
|
+
justify-content: center;
|
|
9242
|
+
width: 90px;
|
|
9243
|
+
height: 90px;
|
|
9244
|
+
margin: 0 auto 12px;
|
|
9245
|
+
}
|
|
9246
|
+
|
|
9247
|
+
.netskrafl-container .share-popup-celebration .sun-corona {
|
|
9248
|
+
position: absolute;
|
|
9249
|
+
top: 50%;
|
|
9250
|
+
left: 50%;
|
|
9251
|
+
transform: translate(-50%, -50%);
|
|
9252
|
+
pointer-events: none;
|
|
9253
|
+
z-index: 0;
|
|
9254
|
+
}
|
|
9255
|
+
|
|
9256
|
+
.netskrafl-container .share-popup-score-circle {
|
|
9257
|
+
position: relative;
|
|
9258
|
+
display: flex;
|
|
9259
|
+
align-items: center;
|
|
9260
|
+
justify-content: center;
|
|
9261
|
+
width: 60px;
|
|
9262
|
+
height: 60px;
|
|
9263
|
+
background-color: var(--malfridur-secondary);
|
|
9264
|
+
border-radius: 50%;
|
|
9265
|
+
z-index: 1;
|
|
9266
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
9267
|
+
}
|
|
9268
|
+
|
|
9269
|
+
.netskrafl-container .share-popup-score {
|
|
9270
|
+
font-family: var(--number-font);
|
|
9271
|
+
font-size: 26px;
|
|
9272
|
+
font-weight: bold;
|
|
9273
|
+
color: white;
|
|
9274
|
+
}
|
|
9275
|
+
|
|
9276
|
+
/* Title and subtitle */
|
|
9277
|
+
|
|
9278
|
+
.netskrafl-container .share-popup-title {
|
|
9279
|
+
font-family: var(--primary-font);
|
|
9280
|
+
font-size: 20px;
|
|
9281
|
+
font-weight: bold;
|
|
9282
|
+
color: #333;
|
|
9283
|
+
text-align: center;
|
|
9284
|
+
margin-bottom: 4px;
|
|
9285
|
+
}
|
|
9286
|
+
|
|
9287
|
+
.netskrafl-container .share-popup-subtitle {
|
|
9288
|
+
font-family: var(--primary-font);
|
|
9289
|
+
font-size: 13px;
|
|
9290
|
+
color: #666;
|
|
9291
|
+
text-align: center;
|
|
9292
|
+
margin-bottom: 10px;
|
|
9293
|
+
}
|
|
9294
|
+
|
|
9295
|
+
/* Winning word display */
|
|
9296
|
+
|
|
9297
|
+
.netskrafl-container .share-popup-word {
|
|
9298
|
+
font-family: var(--primary-font);
|
|
9299
|
+
font-size: 18px;
|
|
9300
|
+
font-weight: bold;
|
|
9301
|
+
color: var(--logo-accent);
|
|
9302
|
+
text-align: center;
|
|
9303
|
+
margin-bottom: 10px;
|
|
9304
|
+
letter-spacing: 2px;
|
|
9305
|
+
}
|
|
9306
|
+
|
|
9307
|
+
/* Share text preview */
|
|
9308
|
+
|
|
9309
|
+
.netskrafl-container .share-popup-text-preview {
|
|
9310
|
+
background-color: var(--board-background);
|
|
9311
|
+
border-radius: 8px;
|
|
9312
|
+
padding: 10px 14px;
|
|
9313
|
+
font-family: var(--primary-font);
|
|
9314
|
+
font-size: 13px;
|
|
9315
|
+
color: #333;
|
|
9316
|
+
text-align: center;
|
|
9317
|
+
margin-bottom: 14px;
|
|
9318
|
+
line-height: 1.4;
|
|
9319
|
+
word-break: break-word;
|
|
9320
|
+
}
|
|
9321
|
+
|
|
9322
|
+
/* Button container */
|
|
9323
|
+
|
|
9324
|
+
.netskrafl-container .share-popup-buttons {
|
|
9325
|
+
display: flex;
|
|
9326
|
+
flex-direction: column;
|
|
9327
|
+
gap: 10px;
|
|
9328
|
+
}
|
|
9329
|
+
|
|
9330
|
+
/* Button styles */
|
|
9331
|
+
|
|
9332
|
+
.netskrafl-container .share-popup-btn {
|
|
9333
|
+
display: flex;
|
|
9334
|
+
align-items: center;
|
|
9335
|
+
justify-content: center;
|
|
9336
|
+
gap: 8px;
|
|
9337
|
+
padding: 12px 16px;
|
|
9338
|
+
border: none;
|
|
9339
|
+
border-radius: 8px;
|
|
9340
|
+
font-family: var(--primary-font);
|
|
9341
|
+
font-size: 15px;
|
|
9342
|
+
font-weight: 600;
|
|
9343
|
+
cursor: pointer;
|
|
9344
|
+
transition: all 0.2s ease;
|
|
9345
|
+
}
|
|
9346
|
+
|
|
9347
|
+
.netskrafl-container .share-popup-btn .glyphicon {
|
|
9348
|
+
font-size: 18px;
|
|
9349
|
+
top: 1px;
|
|
9350
|
+
}
|
|
9351
|
+
|
|
9352
|
+
.netskrafl-container .share-popup-btn.primary {
|
|
9353
|
+
background-color: var(--malfridur-green);
|
|
9354
|
+
color: white;
|
|
9355
|
+
}
|
|
9356
|
+
|
|
9357
|
+
.netskrafl-container .share-popup-btn.primary:hover {
|
|
9358
|
+
background-color: color-mix(in srgb, var(--malfridur-green) 85%, black);
|
|
9359
|
+
transform: scale(1.02);
|
|
9360
|
+
}
|
|
9361
|
+
|
|
9362
|
+
.netskrafl-container .share-popup-btn.secondary {
|
|
9363
|
+
background-color: var(--malfridur-accent);
|
|
9364
|
+
color: white;
|
|
9365
|
+
}
|
|
9366
|
+
|
|
9367
|
+
.netskrafl-container .share-popup-btn.secondary:hover {
|
|
9368
|
+
background-color: color-mix(in srgb, var(--malfridur-accent) 85%, black);
|
|
9369
|
+
transform: scale(1.02);
|
|
9370
|
+
}
|
|
9371
|
+
|
|
9372
|
+
.netskrafl-container .share-popup-btn.success {
|
|
9373
|
+
background-color: var(--logo-accent);
|
|
9374
|
+
color: white;
|
|
9375
|
+
}
|
|
9376
|
+
|
|
9169
9377
|
/* Desktop styles for Gáta Dagsins */
|
|
9170
9378
|
|
|
9171
9379
|
@media all and (min-width: 1024px) {
|
|
@@ -9402,4 +9610,17 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
|
|
|
9402
9610
|
.netskrafl-container div.info {
|
|
9403
9611
|
bottom: 72px;
|
|
9404
9612
|
}
|
|
9613
|
+
|
|
9614
|
+
/* Desktop share popup adjustments */
|
|
9615
|
+
.netskrafl-container .modal-dialog.share-popup {
|
|
9616
|
+
max-width: 400px;
|
|
9617
|
+
}
|
|
9618
|
+
|
|
9619
|
+
.netskrafl-container .share-popup-buttons {
|
|
9620
|
+
flex-direction: row;
|
|
9621
|
+
}
|
|
9622
|
+
|
|
9623
|
+
.netskrafl-container .share-popup-btn {
|
|
9624
|
+
flex: 1;
|
|
9625
|
+
}
|
|
9405
9626
|
}
|