lexxy 0.9.0.beta → 0.9.2.beta
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.
- checksums.yaml +4 -4
- data/app/assets/javascript/lexxy.js +227 -129
- data/app/assets/javascript/lexxy.js.br +0 -0
- data/app/assets/javascript/lexxy.js.gz +0 -0
- data/app/assets/javascript/lexxy.js.map +1 -1
- data/app/assets/javascript/lexxy.min.js +2 -2
- data/app/assets/javascript/lexxy.min.js.br +0 -0
- data/app/assets/javascript/lexxy.min.js.gz +0 -0
- data/app/assets/stylesheets/lexxy-editor.css +23 -11
- data/lib/lexxy/version.rb +1 -1
- metadata +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -488,14 +488,15 @@
|
|
|
488
488
|
|
|
489
489
|
&:after {
|
|
490
490
|
background-color: var(--lexxy-color-ink-lighter);
|
|
491
|
+
block-size: var(--lexxy-toolbar-icon-size);
|
|
491
492
|
content: "";
|
|
492
493
|
display: block;
|
|
493
|
-
|
|
494
|
-
height: 60%;
|
|
494
|
+
inline-size: 1px;
|
|
495
495
|
inset-inline-end: calc(-1 * var(--lexxy-toolbar-spacing));
|
|
496
|
-
inset-block
|
|
497
|
-
|
|
496
|
+
inset-block: 0;
|
|
497
|
+
margin: auto;
|
|
498
498
|
pointer-events: none;
|
|
499
|
+
position: absolute;
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
502
|
}
|
|
@@ -556,11 +557,6 @@
|
|
|
556
557
|
}
|
|
557
558
|
}
|
|
558
559
|
|
|
559
|
-
[overflowing] &:not(.lexxy-editor__toolbar-overflow) summary ~ * {
|
|
560
|
-
inset-inline-end: var(--lexxy-toolbar-spacing);
|
|
561
|
-
inset-inline-start: var(--lexxy-toolbar-spacing);
|
|
562
|
-
}
|
|
563
|
-
|
|
564
560
|
button {
|
|
565
561
|
color: var(--lexxy-color-text);
|
|
566
562
|
|
|
@@ -572,7 +568,6 @@
|
|
|
572
568
|
.lexxy-editor__toolbar-dropdown-list {
|
|
573
569
|
border-start-start-radius: 0;
|
|
574
570
|
flex-direction: column;
|
|
575
|
-
gap: 0.1ch;
|
|
576
571
|
padding: 0.1ch;
|
|
577
572
|
|
|
578
573
|
button {
|
|
@@ -581,6 +576,7 @@
|
|
|
581
576
|
flex-direction: row;
|
|
582
577
|
gap: 1ch;
|
|
583
578
|
padding: 1ch;
|
|
579
|
+
position: relative;
|
|
584
580
|
|
|
585
581
|
&[aria-pressed="true"] {
|
|
586
582
|
background-color: var(--lexxy-color-selected);
|
|
@@ -600,11 +596,22 @@
|
|
|
600
596
|
}
|
|
601
597
|
}
|
|
602
598
|
|
|
603
|
-
.separator {
|
|
599
|
+
.lexxy-editor__toolbar-separator {
|
|
604
600
|
background: var(--lexxy-color-ink-lighter);
|
|
605
601
|
block-size: 1px;
|
|
606
602
|
inline-size: 100%;
|
|
607
603
|
}
|
|
604
|
+
|
|
605
|
+
[overflowing] & {
|
|
606
|
+
display: grid;
|
|
607
|
+
grid-template-columns: repeat(4, 1fr);
|
|
608
|
+
|
|
609
|
+
button span { display: none; }
|
|
610
|
+
|
|
611
|
+
.lexxy-editor__toolbar-separator {
|
|
612
|
+
grid-column: 1 / -1;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
608
615
|
}
|
|
609
616
|
|
|
610
617
|
|
|
@@ -706,6 +713,11 @@
|
|
|
706
713
|
inset-inline-start: 0;
|
|
707
714
|
max-inline-size: var(--max-inline-size);
|
|
708
715
|
|
|
716
|
+
[overflowing] & {
|
|
717
|
+
inset-inline-end: var(--lexxy-toolbar-spacing);
|
|
718
|
+
inset-inline-start: var(--lexxy-toolbar-spacing);
|
|
719
|
+
}
|
|
720
|
+
|
|
709
721
|
button {
|
|
710
722
|
position: relative;
|
|
711
723
|
}
|
data/lib/lexxy/version.rb
CHANGED