@wwawing/styles 4.0.7 → 4.0.8-fps-measure.based-on.4.0.7

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
@@ -266,7 +266,7 @@ canvas.wwa-canvas {
266
266
  text-align: left;
267
267
  padding: 0 4px;
268
268
  font-weight: bold;
269
- background-color: red;
269
+ background-color: black;
270
270
  color: white;
271
271
  }
272
272
  #wwa-cover > #version {
@@ -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,49 @@ 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
+ font-weight: bold;
478
+ }
479
+ #wwa-game-frame-rate-window[aria-hidden=true] {
480
+ display: none;
481
+ }
482
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button {
483
+ box-sizing: border-box;
484
+ position: absolute;
485
+ top: 0;
486
+ right: 0;
487
+ appearance: none;
488
+ width: 16px;
489
+ height: 16px;
490
+ padding: 2px;
491
+ margin: 0;
492
+ border: 0 none;
493
+ border-radius: 50%;
494
+ font-size: 8px;
495
+ font-weight: bold;
496
+ text-align: center;
497
+ cursor: pointer;
498
+ }
499
+ #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 {
500
+ background-color: #CCCCCC;
501
+ }
502
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
503
+ outline: 1px solid #000000;
504
+ }
505
+
463
506
  div.savedata {
464
507
  display: inline-block;
465
508
  text-align: center;
@@ -266,7 +266,7 @@ canvas.wwa-canvas {
266
266
  text-align: left;
267
267
  padding: 0 4px;
268
268
  font-weight: bold;
269
- background-color: red;
269
+ background-color: black;
270
270
  color: white;
271
271
  }
272
272
  #wwa-cover > #version {
@@ -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,49 @@ 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
+ font-weight: bold;
478
+ }
479
+ #wwa-game-frame-rate-window[aria-hidden=true] {
480
+ display: none;
481
+ }
482
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button {
483
+ box-sizing: border-box;
484
+ position: absolute;
485
+ top: 0;
486
+ right: 0;
487
+ appearance: none;
488
+ width: 16px;
489
+ height: 16px;
490
+ padding: 2px;
491
+ margin: 0;
492
+ border: 0 none;
493
+ border-radius: 50%;
494
+ font-size: 8px;
495
+ font-weight: bold;
496
+ text-align: center;
497
+ cursor: pointer;
498
+ }
499
+ #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 {
500
+ background-color: #CCCCCC;
501
+ }
502
+ #wwa-game-frame-rate-window > .wwa-game-frame-rate-window-close-button:focus {
503
+ outline: 1px solid #000000;
504
+ }
505
+
463
506
  div.savedata {
464
507
  display: inline-block;
465
508
  text-align: center;
@@ -1107,7 +1150,7 @@ div#wwa-sidebar #cell-gotowwa {
1107
1150
  }
1108
1151
 
1109
1152
  #wwa-text-message-window,
1110
- .wwa-message-window, #wwa-password-window, #wwa-battle-estimate {
1153
+ .wwa-message-window, #wwa-password-window, #wwa-battle-estimate, #wwa-game-frame-rate-window {
1111
1154
  background-color: #ffffff;
1112
1155
  box-sizing: border-box;
1113
1156
  border-radius: 15px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/styles",
3
- "version": "4.0.7",
3
+ "version": "4.0.8-fps-measure.based-on.4.0.7",
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": "c6a5683255b9b8498e6668587db045359beb52b6"
28
+ "gitHead": "ec6bcd0442537c65936f5b935bdfb60e4c5f849c"
29
29
  }