@jsenv/plugin-toolbar 1.0.2 → 1.1.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.
@@ -32,7 +32,19 @@ button:focus, a:focus, input:focus, [data-contains-hidden-input] input:focus + *
32
32
  outline-width: 4px;
33
33
  }
34
34
 
35
- button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidden-input] input:focus-visible + * {
35
+ [data-contains-hidden-input] input:focus-visible + * {
36
+ outline-style: auto;
37
+ }
38
+
39
+ button:focus-visible {
40
+ outline-style: auto;
41
+ }
42
+
43
+ a:focus-visible {
44
+ outline-style: auto;
45
+ }
46
+
47
+ input:focus-visible {
36
48
  outline-style: auto;
37
49
  }
38
50
 
@@ -41,7 +53,22 @@ button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidde
41
53
  }
42
54
 
43
55
  @-moz-document url-prefix() {
44
- button:focus-visible, a:focus-visible, input:focus-visible, [data-input-customized] input:focus-visible + * {
56
+ [data-input-customized] input:focus-visible + * {
57
+ outline-offset: 0;
58
+ outline: 2px solid #0096ff;
59
+ }
60
+
61
+ button:focus-visible {
62
+ outline-offset: 0;
63
+ outline: 2px solid #0096ff;
64
+ }
65
+
66
+ a:focus-visible {
67
+ outline-offset: 0;
68
+ outline: 2px solid #0096ff;
69
+ }
70
+
71
+ input:focus-visible {
45
72
  outline-offset: 0;
46
73
  outline: 2px solid #0096ff;
47
74
  }
@@ -57,27 +84,27 @@ button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidde
57
84
  }
58
85
 
59
86
  #toolbar_overlay {
60
- width: 100%;
61
- height: 100%;
62
87
  filter: url(#better-blur);
63
88
  background-color: #0003;
89
+ width: 100%;
90
+ height: 100%;
64
91
  position: fixed;
65
92
  top: 0;
66
93
  left: 0;
67
94
  }
68
95
 
69
96
  #toolbar {
70
- height: 40px;
71
- width: 100%;
72
97
  background: #404040;
98
+ width: 100%;
99
+ height: 40px;
73
100
  position: fixed;
74
101
  bottom: 0;
75
102
  }
76
103
 
77
104
  #execution_pending_icon {
105
+ color: #cecece;
78
106
  width: 20px;
79
107
  height: 20px;
80
- color: #cecece;
81
108
  margin: 10px;
82
109
  transform: scaleX(-1);
83
110
  }
@@ -105,10 +132,10 @@ button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidde
105
132
  }
106
133
 
107
134
  #execution_completed_icon {
108
- width: 25px;
109
- height: 25px;
110
135
  opacity: 0;
111
136
  stroke-width: 5px;
137
+ width: 25px;
138
+ height: 25px;
112
139
  }
113
140
 
114
141
  #execution_completed_icon[data-animate] {
@@ -130,17 +157,17 @@ button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidde
130
157
  }
131
158
 
132
159
  #execution_failed_icon {
133
- width: 20px;
134
- height: 20px;
135
160
  opacity: 0;
136
161
  stroke-width: 5px;
162
+ width: 20px;
163
+ height: 20px;
137
164
  margin: 10px;
138
165
  }
139
166
 
140
167
  #execution_failed_icon rect {
168
+ fill: #d74640;
141
169
  width: 33px;
142
170
  height: 0;
143
- fill: #d74640;
144
171
  }
145
172
 
146
173
  #execution_failed_icon[data-animate] {
@@ -157,8 +184,8 @@ button:focus-visible, a:focus-visible, input:focus-visible, [data-contains-hidde
157
184
 
158
185
  @keyframes draw {
159
186
  100% {
160
- height: 376.964px;
161
187
  width: 45px;
188
+ height: 376.964px;
162
189
  }
163
190
  }
164
191
 
@@ -372,11 +399,11 @@ html[data-theme="light"] .execution-link {
372
399
  #settings_box {
373
400
  text-align: center;
374
401
  color: #fff;
375
- min-width: 250px;
376
- min-height: 150px;
377
402
  z-index: -1;
378
403
  background-color: #030713;
379
404
  border-radius: 5px 5px 0 0;
405
+ min-width: 250px;
406
+ min-height: 150px;
380
407
  padding: 17px;
381
408
  font-size: 14px;
382
409
  display: none;
@@ -404,24 +431,24 @@ html[data-theme="light"] .execution-link {
404
431
 
405
432
  #settings_box_body {
406
433
  text-align: left;
407
- max-height: 80vh;
408
- width: 100vw;
409
434
  justify-content: center;
435
+ width: 100vw;
436
+ max-height: 80vh;
410
437
  padding: 18px 0;
411
438
  display: flex;
412
439
  overflow: auto;
413
440
  }
414
441
 
415
442
  .settings_box_items_wrapper {
416
- max-width: 700px;
417
443
  flex-wrap: wrap;
418
444
  justify-content: center;
445
+ max-width: 700px;
419
446
  display: flex;
420
447
  }
421
448
 
422
449
  .settings_box_item {
423
- width: 250px;
424
450
  background: #0c111b;
451
+ width: 250px;
425
452
  margin: 9px 18px;
426
453
  padding: 15px;
427
454
  }
@@ -484,9 +511,9 @@ label {
484
511
 
485
512
  .switch {
486
513
  float: right;
514
+ cursor: pointer;
487
515
  width: 3.5em;
488
516
  height: 2em;
489
- cursor: pointer;
490
517
  padding: 0;
491
518
  position: relative;
492
519
  }
@@ -500,9 +527,9 @@ label {
500
527
 
501
528
  .switch .slider {
502
529
  vertical-align: middle;
503
- height: .3em;
504
530
  background-color: #4c4c4c;
505
531
  border-radius: .15em;
532
+ height: .3em;
506
533
  margin-top: -.15em;
507
534
  transition: all .4s;
508
535
  position: absolute;
@@ -513,11 +540,11 @@ label {
513
540
 
514
541
  .switch .square {
515
542
  content: "";
516
- height: 1em;
517
- width: 1em;
518
543
  color: #030713;
519
544
  background-color: #4c4c4c;
520
545
  border-radius: .15em;
546
+ width: 1em;
547
+ height: 1em;
521
548
  margin-top: -.5em;
522
549
  transition: all .4s;
523
550
  position: absolute;
@@ -526,9 +553,9 @@ label {
526
553
  }
527
554
 
528
555
  .switch input + * {
556
+ border: 1px solid #0000;
529
557
  width: 100%;
530
558
  height: 100%;
531
- border: 1px solid #0000;
532
559
  position: relative;
533
560
  }
534
561
 
@@ -559,8 +586,8 @@ label {
559
586
  }
560
587
 
561
588
  #menu_overflow_button {
562
- width: 40px;
563
589
  background: #404040;
590
+ width: 40px;
564
591
  display: none;
565
592
  position: absolute;
566
593
  top: 0;
@@ -573,10 +600,10 @@ label {
573
600
 
574
601
  #menu_overflow {
575
602
  visibility: hidden;
576
- width: 100%;
577
- height: 100%;
578
603
  opacity: 0;
579
604
  background: #404040;
605
+ width: 100%;
606
+ height: 100%;
580
607
  display: none;
581
608
  position: absolute;
582
609
  top: 0;
@@ -621,10 +648,10 @@ label {
621
648
  .tooltip {
622
649
  color: #fff;
623
650
  text-align: center;
624
- max-width: 260px;
625
651
  cursor: default;
626
652
  background-color: #5e5e5e;
627
653
  border-radius: 6px;
654
+ max-width: 260px;
628
655
  margin-bottom: 6px;
629
656
  padding: 10px;
630
657
  font-size: 14px;
@@ -681,18 +708,18 @@ label {
681
708
 
682
709
  .tooltip_icon {
683
710
  fill: #fff;
711
+ vertical-align: middle;
684
712
  width: 20px;
685
713
  height: 20px;
686
- vertical-align: middle;
687
714
  }
688
715
 
689
716
  .toolbar_control {
690
- height: 40px;
691
- width: 40px;
692
717
  background: none;
693
718
  border: none;
694
719
  justify-content: center;
695
720
  align-items: center;
721
+ width: 40px;
722
+ height: 40px;
696
723
  padding: 0;
697
724
  display: flex;
698
725
  }
@@ -706,9 +733,9 @@ label {
706
733
  }
707
734
 
708
735
  .toolbar_icon {
709
- height: 40px;
710
736
  fill: #cecece;
711
737
  color: #cecece;
738
+ height: 40px;
712
739
  }
713
740
 
714
741
  .toolbar_icon:hover {
@@ -716,9 +743,9 @@ label {
716
743
  }
717
744
 
718
745
  .toolbar_icon_wrapper {
719
- height: 100%;
720
746
  text-align: center;
721
747
  width: 40px;
748
+ height: 100%;
722
749
  display: inline-block;
723
750
  }
724
751
 
@@ -739,9 +766,9 @@ label {
739
766
  }
740
767
 
741
768
  #changes_indicator button {
742
- width: auto;
743
769
  justify-content: center;
744
770
  align-items: stretch;
771
+ width: auto;
745
772
  display: flex;
746
773
  }
747
774
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-toolbar",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/jsenv/core",
8
- "directory": "packages/plugins/jsenv-plugin-toolbar"
8
+ "directory": "packages/related/plugin-toolbar"
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public"
@@ -26,7 +26,7 @@
26
26
  "/src/"
27
27
  ],
28
28
  "dependencies": {
29
- "@jsenv/ast": "4.0.2",
29
+ "@jsenv/ast": "4.1.0",
30
30
  "@preact/signals": "1.1.3"
31
31
  },
32
32
  "scripts": {