mashlib 2.1.4-test.6 → 2.1.4

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 CHANGED
@@ -208,12 +208,6 @@
208
208
  min-width: 0;
209
209
  }
210
210
 
211
- /* Ensure prompt inputs stretch to fit their container */
212
- .add-friend-button-container input[type="text"] {
213
- width: 100%;
214
- box-sizing: border-box;
215
- }
216
-
217
211
  .qrCodeSection {
218
212
  color: var(--color-text-secondary);
219
213
  font-size: 1em;
@@ -239,20 +233,22 @@
239
233
  /* ProfileView.css */
240
234
  /* Uses utilities: .section-bg, .text-center */
241
235
 
236
+ .profileSection {
237
+
238
+ }
239
+
242
240
  /* Horizontal layout for cards */
243
241
  .profile-grid .profileSection {
244
242
  width: 100%;
245
243
  max-width: 100%;
246
- min-width: 0;
247
244
  box-sizing: border-box;
248
245
  margin-bottom: var(--spacing-md);
249
246
  box-sizing: border-box;
250
247
  margin-bottom: var(--spacing-md);
251
- overflow-wrap: anywhere;
252
248
  }
253
249
 
254
250
  @media (min-width: 900px) {
255
- .profile-grid .profileSection {
251
+ .profileSection {
256
252
  margin-bottom: 0;
257
253
  }
258
254
  }
@@ -369,30 +365,6 @@
369
365
 
370
366
  /* Utility-first CSS classes for layout, spacing, and responsiveness */
371
367
 
372
- :root {
373
- /* Added for profile-pane (editProfile) layout sizing */
374
- --spacing-xxs: 0.4em;
375
- --spacing-xxxs: 0.1em;
376
- --profile-image-size: 3em;
377
- }
378
-
379
- @media (max-width: 1000px) {
380
- .profile-grid,
381
- .profile-grid * {
382
- font-size: 2rem !important;
383
- }
384
-
385
- .profile-grid .actionButton,
386
- .profile-grid .searchInput,
387
- .profile-grid .flatButton,
388
- .profile-grid .buttonSection button,
389
- .profile-grid .groupButtonsList button {
390
- min-height: calc(var(--min-touch-target) + 0.5em) !important;
391
- font-size: 2rem !important;
392
- padding: 1em 1em !important;
393
- }
394
- }
395
-
396
368
  .actionButton {
397
369
  width: 100%;
398
370
  min-width: 180px;
@@ -407,8 +379,7 @@
407
379
 
408
380
  .profile-grid {
409
381
  display: grid;
410
- /* Allow the grid to shrink below 30em on small viewports to avoid overflow */
411
- grid-template-columns: repeat(auto-fit, minmax(min(100%, 30em), 1fr));
382
+ grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
412
383
  gap: var(--spacing-lg);
413
384
  background: var(--color-background);
414
385
  }
@@ -601,13 +572,6 @@
601
572
  box-shadow: none;
602
573
  }
603
574
 
604
- /* Prevent labels from appearing focusable to keyboard users. */
605
- label:focus,
606
- label:focus-visible {
607
- outline: none !important;
608
- box-shadow: none !important;
609
- }
610
-
611
575
  /* Better focus for text elements */
612
576
  .focusable-text:focus {
613
577
  background-color: rgba(124, 77, 255, 0.1);
@@ -729,66 +693,9 @@ label:focus-visible {
729
693
  background-color: transparent;
730
694
  }
731
695
 
732
- /* Delete pop up*/
733
- /* Make the Solid-UI delete confirmation popup appear near the last click position.
734
- Keep the built-in Solid-UI styling (orange border, white background) so it looks like the original.
735
- */
736
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] {
737
- /* only override positioning; keep styling (border/background/etc) from solid-ui */
738
- position: absolute !important;
739
- z-index: 9999 !important;
740
- top: 0 !important;
741
- right: 0 !important;
742
- left: auto !important;
743
- display: grid !important;
744
- pointer-events: auto !important;
745
- opacity: 1 !important;
746
- visibility: visible !important;
747
- padding: 0.7em !important;
748
- min-width: 280px !important;
749
- max-width: 90vw !important;
750
- background: var(--color-background) !important;
751
- border: 0.1em solid var(--color-primary) !important;
752
- border-radius: var(--border-radius-base) !important;
753
- box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;
754
- grid-template-columns: auto auto !important;
755
- gap: 0.3em !important;
756
- }
757
-
758
- /* Ensure SVG icons and their buttons inside the Solid-UI delete popup have transparent backgrounds */
759
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] img[src$=".svg"],
760
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] button {
761
- background: transparent !important;
762
- }
763
-
764
- .profile-form .individualPane {
765
- box-shadow: none !important;
766
- }
767
-
768
- .profile-form p {
769
- padding: 0 !important;
770
- }
771
-
772
- .profile-form .mb-md {
773
- margin-bottom: 0 !important;
774
- }
775
-
776
- .profile-form h2 {
777
- margin-bottom: 1em !important;
778
- }
779
-
780
- .profile-form h3 {
781
- color: var(--color-primary) !important;
782
- padding: 0 !important;
783
- font-size: 1em !important;
784
- font-weight: 600 !important;
785
- }
786
-
787
- /* Shared form layout rules are imported from rdfFormsCommon.css */
788
696
  /* Solid-UI form sizing fixes scoped to Edit CV section */
789
697
  .profile-form .hoverControl:not(:has(> img:first-child)) {
790
698
  border: 0.1em solid rgb(136, 136, 136) !important;
791
- flex-direction: column !important;
792
699
  }
793
700
 
794
701
  .profile-form .hoverControl:has(> img:first-child) {
@@ -797,164 +704,85 @@ label:focus-visible {
797
704
  margin: 0 !important;
798
705
  border-radius: 0 !important;
799
706
  padding: 0.7em !important;
800
- min-height: var(--min-touch-target);
801
- min-width: var(--min-touch-target);
802
707
  cursor: pointer;
803
708
  display: inline-flex;
804
709
  align-items: center;
805
710
  justify-content: center;
806
711
  }
807
712
 
808
- /* Make sure the delete icon floats in the top-right corner of the full hoverControl wrapper */
809
- .profile-form .hoverControl,
810
- .profile-grid .hoverControl {
811
- position: relative !important;
812
- }
813
-
814
- .hoverControl > img.hoverControlHide,
815
- .hoverControl > [data-testid="deleteButtonWithCheck"] {
816
- position: absolute !important;
817
- top: 0.2em !important;
818
- right: 0.2em !important;
713
+ .profile-form .hoverControlHide {
819
714
  width: 1.5em !important;
820
715
  height: 1.5em !important;
821
- display: none !important;
822
- align-items: center;
823
- justify-content: center;
824
- margin: 0 !important;
825
- float: none !important;
826
- transform: none !important;
827
- }
828
-
829
- /* When icon is 2nd or 3rd child (i.e. sibling elements exist), align it vertically to the previous item */
830
- .hoverControl > img.hoverControlHide:nth-child(1),
831
- .hoverControl > img.hoverControlHide:nth-child(2),
832
- .hoverControl > [data-testid="deleteButtonWithCheck"]:nth-child(1),
833
- .hoverControl > [data-testid="deleteButtonWithCheck"]:nth-child(2) {
834
- top: 50% !important;
835
- transform: translateY(-50%) !important;
836
- }
837
-
838
- /* Show the delete icon only when the container is hovered */
839
- .profile-grid .hoverControl:hover > img.hoverControlHide,
840
- .profile-grid .hoverControl:hover > [data-testid="deleteButtonWithCheck"] {
841
- display: inline-flex !important;
842
- }
843
-
844
- /* Also show the delete icon when the entire row is hovered */
845
- .profile-grid .attachmentTable tr:hover .hoverControl > img.hoverControlHide,
846
- .profile-grid .attachmentTable tr:hover .hoverControl > [data-testid="deleteButtonWithCheck"] {
847
- display: inline-flex !important;
848
- }
849
-
850
- /* Make the hover-control cell easier to hit */
851
- .profile-grid .hoverControl {
852
- padding: 0.75em !important;
853
- min-width: 2.5em !important;
854
- min-height: 2.5em !important;
855
- }
856
-
857
- /* When the hoverControl only contains the hidden delete icon, keep it out of layout so it doesn't create empty space */
858
- .profile-form .formFieldValue .hoverControl:has(> img.hoverControlHide) {
859
- min-width: 0 !important;
860
- min-height: 0 !important;
861
- width: 0 !important;
862
- height: 0 !important;
863
- padding: 0 !important;
864
- margin: 0 !important;
865
- overflow: visible !important;
866
- }
867
-
868
- /* Hide delete icon only in autocomplete fields */
869
- .profile-grid .formFieldValue:has(input[data-testid="autocomplete-input"]) [data-testid="delete-button"] {
870
- display: none !important;
716
+ display: block;
717
+ margin-top: 0 !important;
718
+ margin-left: 0 !important;
719
+ margin-right: 0 !important;
720
+ margin-bottom: 0.3em !important;
871
721
  }
872
722
 
873
- /* Keep autocomplete cancel button hidden when the user is not interacting.
874
- This avoids the cancel button remaining visible when focus moves away. */
875
- .profile-grid .formFieldValue:not(:focus-within) [data-testid="cancel-button"] {
876
- display: none !important;
723
+ .profile-form .hoverControl:has(> img:first-child) > span {
724
+ display: inline-flex;
725
+ align-items: center;
726
+ margin-left: 0.3em;
877
727
  }
878
728
 
879
- .profile-grid .hoverControl:has(> img:first-child) > span {
729
+ .profile-form div[style*="padding: 0.5em"]:has(> img) {
880
730
  display: inline-flex;
881
731
  align-items: center;
882
- margin-left: 0.3em;
883
732
  }
884
733
 
885
- .profile-grid div[style*="padding: 0.5em"]:has(> img) > span {
734
+ .profile-form div[style*="padding: 0.5em"]:has(> img) > span {
886
735
  margin-left: 0.3em;
887
- vertical-align: super !important;
888
736
  }
889
737
 
890
- .profile-grid .hoverControl:has(> img:first-child):hover {
738
+ .profile-form .hoverControl:has(> img:first-child):hover {
891
739
  background-color: transparent !important;
892
740
  }
893
741
 
894
- .profile-grid button:has(> img[src$=".svg"]),
895
- .profile-grid .formFieldValue input[type ="color"] {
896
- background-color: var(--color-section-bg) !important;
742
+ .profile-form button:has(> img[src$=".svg"]) {
743
+ background-color: transparent !important;
897
744
  border: none !important;
898
745
  margin: 0 !important;
899
746
  border-radius: 0 !important;
900
- box-shadow: none !important;
901
- padding: 0.5em !important;
902
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
903
- padding: 0 !important;
904
- }
905
-
906
- /* Specific icon button should have no extra padding */
907
- .profile-grid button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1369241.svg"]) {
908
- padding: 0 !important;
909
747
  }
910
748
 
911
749
  .profile-form button {
912
- min-height: var(--min-touch-target);
913
- min-width: var(--min-touch-target);
914
- }
915
750
 
916
- .profile-form input:not([type="color"]) {
917
- width: 99%;
918
- margin-left: 0 !important;
919
- margin-right: 0 !important;
920
751
  }
921
752
 
922
753
  .profile-form input:not([type="color"]),
923
754
  .profile-form textarea,
924
755
  .profile-form select {
925
- max-width: 96%;
756
+ max-width: 100%;
926
757
  min-width: 0;
927
758
  box-sizing: border-box ;
928
- font: inherit;
929
- color: var(--color-text);
930
- background-color: var(--color-card-bg) !important;
931
- border: 1px solid var(--color-border-pale);
759
+ background-color: #eef !important;
760
+ border: .05em solid #88c
932
761
  }
933
762
 
934
- .profile-form textarea {
935
- border-color: var(--color-border-pale) !important;
763
+ .profile-form input[type="url"] {
764
+ width: 100%;
936
765
  }
937
766
 
938
- .profile-form input[type="date"],
939
- .profile-form input[type="month"],
940
- .profile-form input[type="week"],
941
- .profile-form input[type="time"],
942
- .profile-form input[type="datetime-local"] {
943
- min-height: var(--min-touch-target);
767
+ .profile-form .formFieldValue {
768
+ min-width: 0;
769
+ margin-bottom: var(--spacing-sm);
944
770
  }
945
771
 
946
- .profile-form .hoverControl:has(> img:first-child):focus-visible,
947
- .profile-form button:focus-visible,
948
- .profile-form input:not([type="color"]):focus-visible,
949
- .profile-form textarea:focus-visible,
950
- .profile-form select:focus-visible {
951
- outline: var(--focus-ring-width) solid var(--color-primary) !important;
952
- outline-offset: 2px;
953
- box-shadow: 0 0 0 1px var(--color-background);
772
+ .profile-form .formFieldValue table {
773
+ margin: 0 !important;
774
+ padding: 0 !important;
954
775
  }
955
776
 
956
- .profile-form input[type="url"] {
777
+ .profile-form .formFieldValue td {
778
+ padding: 0 !important;
779
+ }
780
+
781
+ .profile-form .formFieldValue input:not([type="color"]),
782
+ .profile-form .formFieldValue textarea,
783
+ .profile-form .formFieldValue select {
957
784
  width: 100%;
785
+ max-width: 100%;
958
786
  }
959
787
 
960
788
  .profile-form select#formSelect {
@@ -965,6 +793,11 @@ label:focus-visible {
965
793
  margin-right: 0 !important;
966
794
  }
967
795
 
796
+ .profile-form span select {
797
+ max-width: 96% !important;
798
+ box-sizing: border-box;
799
+ }
800
+
968
801
  /* Remove border/padding from the first wrapper div (and its first child wrapper). */
969
802
  .profile-form > div:first-of-type,
970
803
  .profile-form > div:first-of-type > div:first-of-type {
@@ -985,54 +818,6 @@ section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:firs
985
818
  }
986
819
 
987
820
  /* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */
988
- .profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {
989
- display: flex;
990
- }
991
-
992
- /* for the Resume inside corporation choice */
993
- /* Add space between classifierBox label and select box */
994
- .profile-form .choiceBox .classifierBox-label {
995
- /* Optional: ensure label doesn't have extra margin */
996
- margin-right: 0;
997
- padding-left: 0.3em;
998
- }
999
- .profile-form .choiceBox .choiceBox-selectBox select {
1000
- margin-left: 2.1em !important;
1001
- }
1002
-
1003
- /* for the Resume orga details */
1004
- /* Add space between classifierBox label and select box */
1005
- .profile-form .classifierBox .classifierBox-label {
1006
- /* Match .formFieldName for alignment */
1007
- margin-right: 0;
1008
- padding-left: 0.3em;
1009
- width: 8em;
1010
- padding: 0.3em;
1011
- vertical-align: middle;
1012
- }
1013
- .profile-form .classifierBox .classifierBox-selectBox {
1014
- margin-left: 0 !important;
1015
- }
1016
-
1017
- .profile-form .classifierBox .classifierBox-selectBox select {
1018
- margin-left: 0 !important;
1019
- }
1020
-
1021
- /* for the social media */
1022
- /* Add space between classifierBox label and select box */
1023
- section[data-testid="edit-social-section"] .classifierBox-label {
1024
- /* Optional: ensure label doesn't have extra margin */
1025
- margin-right: 0;
1026
- padding-left: 0.3em;
1027
- }
1028
- section[data-testid="edit-social-section"] .classifierBox-selectBox select {
1029
- margin-left: 0.7em !important;
1030
- }
1031
-
1032
- .profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {
1033
- margin-bottom: 0;
1034
- }
1035
-
1036
821
  .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),
1037
822
  .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),
1038
823
  .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),
@@ -1051,20 +836,10 @@ section[data-testid="edit-social-section"] .classifierBox-selectBox select {
1051
836
  display: inline-flex;
1052
837
  align-items: center;
1053
838
  vertical-align: middle;
1054
- flex: 1;
1055
- min-width: 0;
1056
839
  }
1057
840
 
1058
- .profile-form textarea,
1059
- .profile-form .formFieldValue textarea {
1060
- appearance: none;
1061
- -webkit-appearance: none;
1062
- border: .05em solid #88c !important;
1063
- border-style: solid !important;
1064
- border-width: .05em !important;
1065
- border-color: #88c !important;
1066
- border-radius: 0.2em !important;
1067
- width: 99%;
841
+ .profile-form textarea {
842
+ width: 100%;
1068
843
  box-sizing: border-box;
1069
844
  margin-top: var(--spacing-xs);
1070
845
  margin-left: 0 !important;
@@ -1082,135 +857,29 @@ section[data-testid="edit-social-section"] .classifierBox-selectBox select {
1082
857
  }
1083
858
 
1084
859
  .profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {
1085
- padding-left: var(--spacing-xs);
1086
- padding-top: var(--spacing-sm);
860
+ padding-top: var(--spacing-xs);
1087
861
  }
1088
862
 
1089
-
1090
- .profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {
1091
- padding-top: 0.55em !important;
1092
- }
1093
-
1094
-
1095
- .profile-form input:disabled,
1096
- .profile-form textarea:disabled,
1097
- .profile-form select:disabled,
1098
- .profile-form input[readonly],
1099
- .profile-form textarea[readonly],
1100
- .profile-form input:read-only,
1101
- .profile-form textarea:read-only {
1102
- background-color: var(--color-background) !important;
1103
- cursor: not-allowed;
1104
- opacity: 0.75;
1105
- border: 0.05em solid white !important;
1106
- }
1107
-
1108
- .webidControl table td div.contactPane.namedPane {
1109
- border: none !important;
863
+ .profile-form input:not([type="color"]) {
864
+ width: 100%;
865
+ margin-left: 0 !important;
866
+ margin-right: 0 !important;
1110
867
  }
1111
868
 
1112
- /* Hide the edit icon used by solid-ui (noun_253504.svg and noun_1180158.svg) when it appears as an <img> */
1113
- img[src*="noun_253504.svg"],
1114
- img[src*="noun_1180158.svg"] {
1115
- display: none !important;
1116
- width: 0 !important;
1117
- height: 0 !important;
1118
- margin: 0 !important;
869
+ /* Remove padding from table cells within webidControl */
870
+ .webidControl table td {
1119
871
  padding: 0 !important;
1120
872
  }
1121
873
 
1122
- /* Ensure the parent button for that icon doesn't add padding/margin or affect layout */
1123
- button:has(> img[src*="noun_253504.svg"]),
1124
- button:has(> img[src*="noun_1180158.svg"]) {
1125
- display: none !important;
874
+ /* Remove padding from contactPane divs inside webidControl table cells */
875
+ .webidControl table td div.contactPane.namedPane.fullWidth.individualPane {
1126
876
  padding: 0 !important;
1127
- margin: 0 !important;
1128
- border: none !important;
1129
- background: none !important;
1130
- width: 0 !important;
1131
- height: 0 !important;
1132
- overflow: hidden !important;
1133
- }
1134
-
1135
- /* Exceptions: allow these icons (and their buttons) when they're part of the add-friend or add-community flows. */
1136
- .profile-grid .profileSection .add-friend-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"],
1137
- .profile-grid .profileSection .add-community-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"],
1138
- .profile-grid .profileSection .add-friend-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"]),
1139
- .profile-grid .profileSection .add-community-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"]) {
1140
- display: inline-flex !important;
1141
- width: auto !important;
1142
- height: auto !important;
1143
- overflow: visible !important;
1144
- }
1145
-
1146
-
1147
- /* Exception: allow “Continue” buttons inside add-friend and add-community button containers. */
1148
- .profile-grid .profileSection .add-friend-button-container button:has(> img[title="Continue"]),
1149
- .profile-grid .profileSection .add-community-button-container button:has(> img[title="Continue"]),
1150
- .profile-grid .profileSection .add-friend-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"]),
1151
- .profile-grid .profileSection .add-community-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"]),
1152
- .profile-grid .profileSection .add-friend-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"],
1153
- .profile-grid .profileSection .add-community-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"] {
1154
- display: inline-flex !important;
1155
- width: 2em !important;
1156
- height: 2em !important;
1157
- overflow: visible !important;
1158
- }
1159
-
1160
- .profile-grid .add-friend-button-container,
1161
- .profile-grid .add-community-button-container {
1162
- display: inline-flex;
1163
- align-items: center;
1164
- gap: var(--spacing-xxs);
1165
- flex-wrap: wrap;
1166
- justify-content: flex-start;
1167
- }
1168
-
1169
- /* Ensure the button container can shrink properly in narrow layouts */
1170
- .profile-grid .add-community-button-container {
1171
- min-width: 0;
1172
- max-width: 100%;
1173
- }
1174
-
1175
- /* Allow any direct children to shrink so no element forces overflow */
1176
- .profile-grid .add-community-button-container > * {
1177
- min-width: 0;
1178
- max-width: 100%;
1179
- }
1180
-
1181
- .profile-grid table {
1182
- margin: 0 !important;
1183
- }
1184
-
1185
- .profile-grid td {
1186
- padding: 0;
1187
877
  }
1188
878
 
1189
- .profile-grid .add-friend-button-container .span,
1190
- .profile-grid .add-community-button-container .span {
1191
- display: inline-flex;
1192
- align-items: center;
1193
- }
1194
-
1195
- .profile-grid .add-friend-button-container > div,
1196
- .profile-grid .add-community-button-container > div {
1197
- flex-basis: 100%;
1198
- }
1199
-
1200
- /* Prevent the add-community input from overflowing its flex container */
1201
- .profile-grid .add-community-button-container input {
1202
- min-width: 0;
1203
- max-width: 96%;
1204
- flex: 1 1 0;
1205
- word-break: break-word;
879
+ .webidControl table td div.contactPane.namedPane {
880
+ border: none !important;
1206
881
  }
1207
882
 
1208
- .profile-grid .profile-image {
1209
- width: var( --profile-image-size);
1210
- height: var( --profile-image-size);
1211
- margin: var(--spacing-xxxs);
1212
- border-radius: var(--spacing-lg);
1213
- }
1214
883
  /*
1215
884
  ** Light Theme (Default)
1216
885
  ** Default color scheme for SolidOS