mashlib 2.1.2 → 2.1.3-bf521d3e
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/mash.css +204 -0
- package/dist/mash.css.map +1 -1
- package/dist/mashlib.js +494 -211
- package/dist/mashlib.js.map +1 -1
- package/dist/mashlib.min.js +41 -51
- package/dist/mashlib.min.js.map +1 -1
- package/package.json +5 -5
package/dist/mash.css
CHANGED
|
@@ -437,6 +437,11 @@
|
|
|
437
437
|
outline: none;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
+
.no-focus-ring:focus-visible {
|
|
441
|
+
outline: none;
|
|
442
|
+
box-shadow: none;
|
|
443
|
+
}
|
|
444
|
+
|
|
440
445
|
/* ARIA live regions */
|
|
441
446
|
.live-region {
|
|
442
447
|
position: absolute;
|
|
@@ -475,6 +480,17 @@
|
|
|
475
480
|
font-weight: 600;
|
|
476
481
|
}
|
|
477
482
|
|
|
483
|
+
:focus-visible {
|
|
484
|
+
outline: var(--focus-ring-width) solid var(--color-primary);
|
|
485
|
+
outline-offset: 2px;
|
|
486
|
+
box-shadow: 0 0 0 1px var(--color-background);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
:focus:not(:focus-visible) {
|
|
490
|
+
outline: none;
|
|
491
|
+
box-shadow: none;
|
|
492
|
+
}
|
|
493
|
+
|
|
478
494
|
/* Better focus for text elements */
|
|
479
495
|
.focusable-text:focus {
|
|
480
496
|
background-color: rgba(124, 77, 255, 0.1);
|
|
@@ -586,6 +602,7 @@
|
|
|
586
602
|
padding: var(--spacing-md);
|
|
587
603
|
}
|
|
588
604
|
|
|
605
|
+
|
|
589
606
|
/* Transparent button override (for solid-ui integration) */
|
|
590
607
|
.btn-transparent {
|
|
591
608
|
background-color: transparent;
|
|
@@ -595,6 +612,193 @@
|
|
|
595
612
|
background-color: transparent;
|
|
596
613
|
}
|
|
597
614
|
|
|
615
|
+
/* Solid-UI form sizing fixes scoped to Edit CV section */
|
|
616
|
+
.profile-form .hoverControl:not(:has(> img:first-child)) {
|
|
617
|
+
border: 0.1em solid rgb(136, 136, 136) !important;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.profile-form .hoverControl:has(> img:first-child) {
|
|
621
|
+
background-color: transparent !important;
|
|
622
|
+
border: none !important;
|
|
623
|
+
margin: 0 !important;
|
|
624
|
+
border-radius: 0 !important;
|
|
625
|
+
padding: 0.7em !important;
|
|
626
|
+
cursor: pointer;
|
|
627
|
+
display: inline-flex;
|
|
628
|
+
align-items: center;
|
|
629
|
+
justify-content: center;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.profile-form .hoverControlHide {
|
|
633
|
+
width: 1.5em !important;
|
|
634
|
+
height: 1.5em !important;
|
|
635
|
+
display: block;
|
|
636
|
+
margin-top: 0 !important;
|
|
637
|
+
margin-left: 0 !important;
|
|
638
|
+
margin-right: 0 !important;
|
|
639
|
+
margin-bottom: 0.3em !important;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.profile-form .hoverControl:has(> img:first-child) > span {
|
|
643
|
+
display: inline-flex;
|
|
644
|
+
align-items: center;
|
|
645
|
+
margin-left: 0.3em;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.profile-form div[style*="padding: 0.5em"]:has(> img) {
|
|
649
|
+
display: inline-flex;
|
|
650
|
+
align-items: center;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.profile-form div[style*="padding: 0.5em"]:has(> img) > span {
|
|
654
|
+
margin-left: 0.3em;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.profile-form .hoverControl:has(> img:first-child):hover {
|
|
658
|
+
background-color: transparent !important;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.profile-form button:has(> img[src$=".svg"]) {
|
|
662
|
+
background-color: transparent !important;
|
|
663
|
+
border: none !important;
|
|
664
|
+
margin: 0 !important;
|
|
665
|
+
border-radius: 0 !important;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.profile-form button {
|
|
669
|
+
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.profile-form input:not([type="color"]),
|
|
673
|
+
.profile-form textarea,
|
|
674
|
+
.profile-form select {
|
|
675
|
+
max-width: 100%;
|
|
676
|
+
min-width: 0;
|
|
677
|
+
box-sizing: border-box ;
|
|
678
|
+
background-color: #eef !important;
|
|
679
|
+
border: .05em solid #88c
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.profile-form input[type="url"] {
|
|
683
|
+
width: 100%;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.profile-form .formFieldValue {
|
|
687
|
+
min-width: 0;
|
|
688
|
+
margin-bottom: var(--spacing-sm);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.profile-form .formFieldValue table {
|
|
692
|
+
margin: 0 !important;
|
|
693
|
+
padding: 0 !important;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.profile-form .formFieldValue td {
|
|
697
|
+
padding: 0 !important;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.profile-form .formFieldValue input:not([type="color"]),
|
|
701
|
+
.profile-form .formFieldValue textarea,
|
|
702
|
+
.profile-form .formFieldValue select {
|
|
703
|
+
width: 100%;
|
|
704
|
+
max-width: 100%;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.profile-form select#formSelect {
|
|
708
|
+
width: 100%;
|
|
709
|
+
max-width: 97%;
|
|
710
|
+
box-sizing: border-box;
|
|
711
|
+
margin-left: 0 !important;
|
|
712
|
+
margin-right: 0 !important;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.profile-form span select {
|
|
716
|
+
max-width: 96% !important;
|
|
717
|
+
box-sizing: border-box;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/* Remove border/padding from the first wrapper div (and its first child wrapper). */
|
|
721
|
+
.profile-form > div:first-of-type,
|
|
722
|
+
.profile-form > div:first-of-type > div:first-of-type {
|
|
723
|
+
border: none !important;
|
|
724
|
+
padding: 0 !important;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/* Remove border/padding from the inner div of the first wrapper in the contact section. */
|
|
728
|
+
section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:first-of-type > div:first-of-type {
|
|
729
|
+
border: none !important;
|
|
730
|
+
padding: 0 !important;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* In contactPane, remove border/padding from all direct child divs. */
|
|
734
|
+
.contactPane > div {
|
|
735
|
+
border: none !important;
|
|
736
|
+
padding: 0 !important;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */
|
|
740
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),
|
|
741
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),
|
|
742
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),
|
|
743
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),
|
|
744
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {
|
|
745
|
+
display: inline-flex;
|
|
746
|
+
align-items: center;
|
|
747
|
+
vertical-align: middle;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,
|
|
751
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,
|
|
752
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,
|
|
753
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,
|
|
754
|
+
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {
|
|
755
|
+
display: inline-flex;
|
|
756
|
+
align-items: center;
|
|
757
|
+
vertical-align: middle;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.profile-form textarea {
|
|
761
|
+
width: 100%;
|
|
762
|
+
box-sizing: border-box;
|
|
763
|
+
margin-top: var(--spacing-xs);
|
|
764
|
+
margin-left: 0 !important;
|
|
765
|
+
margin-right: 0 !important;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/* Add horizontal gap between label and textarea for all label+textarea pairs. */
|
|
769
|
+
.profile-form div:has(> a) + div:has(textarea) {
|
|
770
|
+
margin-left: var(--spacing-sm);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/* Center textarea label vertically in flex rows. */
|
|
774
|
+
.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {
|
|
775
|
+
align-items: flex-start;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {
|
|
779
|
+
padding-top: var(--spacing-xs);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.profile-form input:not([type="color"]) {
|
|
783
|
+
width: 100%;
|
|
784
|
+
margin-left: 0 !important;
|
|
785
|
+
margin-right: 0 !important;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* Remove padding from table cells within webidControl */
|
|
789
|
+
.webidControl table td {
|
|
790
|
+
padding: 0 !important;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/* Remove padding from contactPane divs inside webidControl table cells */
|
|
794
|
+
.webidControl table td div.contactPane.namedPane.fullWidth.individualPane {
|
|
795
|
+
padding: 0 !important;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.webidControl table td div.contactPane.namedPane {
|
|
799
|
+
border: none !important;
|
|
800
|
+
}
|
|
801
|
+
|
|
598
802
|
/*
|
|
599
803
|
** Light Theme (Default)
|
|
600
804
|
** Default color scheme for SolidOS
|