@wwawing/styles 4.0.8 → 4.0.10

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/output/wwa.css CHANGED
@@ -334,7 +334,7 @@ canvas.wwa-canvas {
334
334
  display: none;
335
335
  }
336
336
 
337
- #wwa-text-message-window,
337
+ #wwa-game-frame-rate-window, #wwa-text-message-window,
338
338
  .wwa-message-window, #wwa-battle-estimate, #wwa-password-window {
339
339
  background-color: rgba(255, 255, 255, 0.9);
340
340
  border: 2px solid #000;
@@ -460,6 +460,51 @@ canvas.wwa-canvas {
460
460
  margin: 0 5px !important;
461
461
  }
462
462
 
463
+ #wwa-game-frame-rate-window {
464
+ position: relative;
465
+ display: flex;
466
+ top: 0;
467
+ left: 0;
468
+ z-index: 301;
469
+ width: 160px;
470
+ flex-direction: row;
471
+ justify-content: center;
472
+ gap: 4px;
473
+ padding: 1px 0;
474
+ overflow: hidden;
475
+ font-size: 12px;
476
+ line-height: 1.2;
477
+ }
478
+ #wwa-game-frame-rate-window[aria-hidden=true] {
479
+ display: none;
480
+ }
481
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button {
482
+ box-sizing: border-box;
483
+ position: absolute;
484
+ top: 0;
485
+ right: 0;
486
+ appearance: none;
487
+ width: 16px;
488
+ height: 16px;
489
+ padding: 2px;
490
+ margin: 0;
491
+ border: 0 none;
492
+ border-radius: 50%;
493
+ font-size: 8px;
494
+ font-weight: inherit;
495
+ text-align: center;
496
+ cursor: pointer;
497
+ }
498
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:hover, #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
499
+ background-color: #CCCCCC;
500
+ }
501
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
502
+ outline: 1px solid #000000;
503
+ }
504
+ #wwa-game-frame-rate-window:not([data-classic-mode-enabled=true]) {
505
+ font-weight: bold;
506
+ }
507
+
463
508
  div.savedata {
464
509
  display: inline-block;
465
510
  text-align: center;
@@ -334,7 +334,7 @@ canvas.wwa-canvas {
334
334
  display: none;
335
335
  }
336
336
 
337
- #wwa-text-message-window,
337
+ #wwa-game-frame-rate-window, #wwa-text-message-window,
338
338
  .wwa-message-window, #wwa-battle-estimate, #wwa-password-window {
339
339
  background-color: rgba(255, 255, 255, 0.9);
340
340
  border: 2px solid #000;
@@ -460,6 +460,51 @@ canvas.wwa-canvas {
460
460
  margin: 0 5px !important;
461
461
  }
462
462
 
463
+ #wwa-game-frame-rate-window {
464
+ position: relative;
465
+ display: flex;
466
+ top: 0;
467
+ left: 0;
468
+ z-index: 301;
469
+ width: 160px;
470
+ flex-direction: row;
471
+ justify-content: center;
472
+ gap: 4px;
473
+ padding: 1px 0;
474
+ overflow: hidden;
475
+ font-size: 12px;
476
+ line-height: 1.2;
477
+ }
478
+ #wwa-game-frame-rate-window[aria-hidden=true] {
479
+ display: none;
480
+ }
481
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button {
482
+ box-sizing: border-box;
483
+ position: absolute;
484
+ top: 0;
485
+ right: 0;
486
+ appearance: none;
487
+ width: 16px;
488
+ height: 16px;
489
+ padding: 2px;
490
+ margin: 0;
491
+ border: 0 none;
492
+ border-radius: 50%;
493
+ font-size: 8px;
494
+ font-weight: inherit;
495
+ text-align: center;
496
+ cursor: pointer;
497
+ }
498
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:hover, #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
499
+ background-color: #CCCCCC;
500
+ }
501
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
502
+ outline: 1px solid #000000;
503
+ }
504
+ #wwa-game-frame-rate-window:not([data-classic-mode-enabled=true]) {
505
+ font-weight: bold;
506
+ }
507
+
463
508
  div.savedata {
464
509
  display: inline-block;
465
510
  text-align: center;
@@ -1107,7 +1152,7 @@ div#wwa-sidebar #cell-gotowwa {
1107
1152
  }
1108
1153
 
1109
1154
  #wwa-text-message-window,
1110
- .wwa-message-window, #wwa-password-window, #wwa-battle-estimate {
1155
+ .wwa-message-window, #wwa-password-window, #wwa-battle-estimate, #wwa-game-frame-rate-window {
1111
1156
  background-color: #ffffff;
1112
1157
  box-sizing: border-box;
1113
1158
  border-radius: 15px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/styles",
3
- "version": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "description": "WWA Wing stylesheet files",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -25,5 +25,5 @@
25
25
  "ts-node": "^10.9.2",
26
26
  "typescript": "^5.8.3"
27
27
  },
28
- "gitHead": "7b4bcecf93f238c4c0b971d2bb0f02467a9ff1f6"
28
+ "gitHead": "2584e4f982b5e2b226866a4d88426847cfa9ceed"
29
29
  }