profile-pane 3.1.5 → 3.2.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.
Files changed (311) hide show
  1. package/README.md +16 -0
  2. package/lib/04567ff683933c35c465.png +0 -0
  3. package/lib/10163fd9b5a0e00d63a0.png +0 -0
  4. package/lib/1234dcb2eec2e45f252b.png +0 -0
  5. package/lib/20899934157df4db56cb.png +0 -0
  6. package/lib/33760bf79f097f449da5.png +0 -0
  7. package/lib/578d2b6ed32e7624164e.png +0 -0
  8. package/lib/5f62a5b2b7e99b9640c7.png +0 -0
  9. package/lib/6525766ecd288ec60129.png +0 -0
  10. package/lib/7800be6f6c4b5b0f4f20.png +0 -0
  11. package/lib/976473cf5fe24d657d4b.png +0 -0
  12. package/lib/ChatWithMe.d.ts +2 -1
  13. package/lib/ChatWithMe.d.ts.map +1 -1
  14. package/lib/ChatWithMe.js +3 -3
  15. package/lib/ProfileView.d.ts +1 -1
  16. package/lib/ProfileView.d.ts.map +1 -1
  17. package/lib/ProfileView.js +71 -131
  18. package/lib/ProfileViewModelPresenter.d.ts +23 -0
  19. package/lib/ProfileViewModelPresenter.d.ts.map +1 -0
  20. package/lib/ProfileViewModelPresenter.js +37 -0
  21. package/lib/QRCodeCard.d.ts +3 -1
  22. package/lib/QRCodeCard.d.ts.map +1 -1
  23. package/lib/QRCodeCard.js +86 -66
  24. package/lib/addMeToYourFriends.d.ts +3 -3
  25. package/lib/addMeToYourFriends.d.ts.map +1 -1
  26. package/lib/addMeToYourFriends.js +14 -30
  27. package/lib/bda84f59e7216675a208.png +0 -0
  28. package/lib/buttonsHelper.js +1 -1
  29. package/lib/cd68e8f3990ba8b2139e.png +0 -0
  30. package/lib/e7074a7e2cb69e51cfd3.png +0 -0
  31. package/lib/editProfilePane/EditCVCard.d.ts +1 -0
  32. package/lib/editProfilePane/EditCVCard.d.ts.map +1 -1
  33. package/lib/editProfilePane/EditCVCard.js +2 -1
  34. package/lib/editProfilePane/EditCommunitiesCard.d.ts +1 -1
  35. package/lib/editProfilePane/EditCommunitiesCard.d.ts.map +1 -1
  36. package/lib/editProfilePane/EditCommunitiesCard.js +2 -1
  37. package/lib/editProfilePane/EditContactsCard.d.ts +1 -0
  38. package/lib/editProfilePane/EditContactsCard.d.ts.map +1 -1
  39. package/lib/editProfilePane/EditContactsCard.js +2 -0
  40. package/lib/editProfilePane/EditFriendsCard.d.ts +1 -1
  41. package/lib/editProfilePane/EditFriendsCard.d.ts.map +1 -1
  42. package/lib/editProfilePane/EditFriendsCard.js +2 -1
  43. package/lib/editProfilePane/EditOtherPreferences.d.ts +1 -0
  44. package/lib/editProfilePane/EditOtherPreferences.d.ts.map +1 -1
  45. package/lib/editProfilePane/EditOtherPreferences.js +1 -0
  46. package/lib/editProfilePane/EditProfileView.d.ts +1 -1
  47. package/lib/editProfilePane/EditProfileView.d.ts.map +1 -1
  48. package/lib/editProfilePane/EditProfileView.js +1 -1
  49. package/lib/editProfilePane/EditSocialCard.d.ts +1 -0
  50. package/lib/editProfilePane/EditSocialCard.d.ts.map +1 -1
  51. package/lib/editProfilePane/EditSocialCard.js +2 -1
  52. package/lib/editProfilePane/editProfilePresenter.d.ts +1 -0
  53. package/lib/editProfilePane/editProfilePresenter.d.ts.map +1 -1
  54. package/lib/editProfilePane/editProfilePresenter.js +2 -0
  55. package/lib/f3772696fb7ee53c23d8.png +0 -0
  56. package/lib/icons-svg/contactIcons.d.ts +3 -0
  57. package/lib/icons-svg/contactIcons.d.ts.map +1 -0
  58. package/lib/icons-svg/contactIcons.js +32 -0
  59. package/lib/icons-svg/profileIcons.d.ts +22 -0
  60. package/lib/icons-svg/profileIcons.d.ts.map +1 -0
  61. package/lib/icons-svg/profileIcons.js +309 -0
  62. package/lib/index.d.ts +1 -3
  63. package/lib/index.d.ts.map +1 -1
  64. package/lib/index.js +42 -19
  65. package/lib/profile-pane.js +15629 -5670
  66. package/lib/profile-pane.js.map +1 -1
  67. package/lib/profile-pane.min.js +2171 -230
  68. package/lib/profile-pane.min.js.map +1 -1
  69. package/lib/rdfFormsHelper.d.ts +1 -0
  70. package/lib/rdfFormsHelper.d.ts.map +1 -1
  71. package/lib/rdfFormsHelper.js +2 -0
  72. package/lib/sections/bio/BioEditDialog.d.ts +6 -0
  73. package/lib/sections/bio/BioEditDialog.d.ts.map +1 -0
  74. package/lib/sections/bio/BioEditDialog.js +119 -0
  75. package/lib/sections/bio/BioSection.d.ts +7 -0
  76. package/lib/sections/bio/BioSection.d.ts.map +1 -0
  77. package/lib/sections/bio/BioSection.js +131 -0
  78. package/lib/sections/bio/mutations.d.ts +4 -0
  79. package/lib/sections/bio/mutations.d.ts.map +1 -0
  80. package/lib/sections/bio/mutations.js +43 -0
  81. package/lib/sections/bio/selectors.d.ts +4 -0
  82. package/lib/sections/bio/selectors.d.ts.map +1 -0
  83. package/lib/sections/bio/selectors.js +15 -0
  84. package/lib/sections/bio/types.d.ts +15 -0
  85. package/lib/sections/bio/types.d.ts.map +1 -0
  86. package/lib/sections/bio/types.js +5 -0
  87. package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts +7 -0
  88. package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -0
  89. package/lib/sections/contactInfo/ContactInfoEditDialog.js +658 -0
  90. package/lib/sections/contactInfo/ContactInfoSection.d.ts +5 -0
  91. package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -0
  92. package/lib/sections/contactInfo/ContactInfoSection.js +229 -0
  93. package/lib/sections/contactInfo/mutations.d.ts +4 -0
  94. package/lib/sections/contactInfo/mutations.d.ts.map +1 -0
  95. package/lib/sections/contactInfo/mutations.js +150 -0
  96. package/lib/sections/contactInfo/selectors.d.ts +4 -0
  97. package/lib/sections/contactInfo/selectors.d.ts.map +1 -0
  98. package/lib/sections/contactInfo/selectors.js +104 -0
  99. package/lib/sections/contactInfo/types.d.ts +44 -0
  100. package/lib/sections/contactInfo/types.d.ts.map +1 -0
  101. package/lib/sections/contactInfo/types.js +5 -0
  102. package/lib/sections/education/EducationEditDialog.d.ts +7 -0
  103. package/lib/sections/education/EducationEditDialog.d.ts.map +1 -0
  104. package/lib/sections/education/EducationEditDialog.js +459 -0
  105. package/lib/sections/education/EducationSection.d.ts +7 -0
  106. package/lib/sections/education/EducationSection.d.ts.map +1 -0
  107. package/lib/sections/education/EducationSection.js +126 -0
  108. package/lib/sections/education/mutations.d.ts +4 -0
  109. package/lib/sections/education/mutations.d.ts.map +1 -0
  110. package/lib/sections/education/mutations.js +60 -0
  111. package/lib/sections/education/selectors.d.ts +4 -0
  112. package/lib/sections/education/selectors.d.ts.map +1 -0
  113. package/lib/sections/education/selectors.js +64 -0
  114. package/lib/sections/education/types.d.ts +20 -0
  115. package/lib/sections/education/types.d.ts.map +1 -0
  116. package/lib/sections/education/types.js +5 -0
  117. package/lib/sections/heading/HeadingEditDialog.d.ts +6 -0
  118. package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -0
  119. package/lib/sections/heading/HeadingEditDialog.js +742 -0
  120. package/lib/sections/heading/HeadingSection.d.ts +9 -0
  121. package/lib/sections/heading/HeadingSection.d.ts.map +1 -0
  122. package/lib/sections/heading/HeadingSection.js +97 -0
  123. package/lib/sections/heading/camera.d.ts +19 -0
  124. package/lib/sections/heading/camera.d.ts.map +1 -0
  125. package/lib/sections/heading/camera.js +199 -0
  126. package/lib/sections/heading/dateHelpers.d.ts +4 -0
  127. package/lib/sections/heading/dateHelpers.d.ts.map +1 -0
  128. package/lib/sections/heading/dateHelpers.js +48 -0
  129. package/lib/sections/heading/imageHelpers.d.ts +4 -0
  130. package/lib/sections/heading/imageHelpers.d.ts.map +1 -0
  131. package/lib/sections/heading/imageHelpers.js +81 -0
  132. package/lib/sections/heading/mutations.d.ts +4 -0
  133. package/lib/sections/heading/mutations.d.ts.map +1 -0
  134. package/lib/sections/heading/mutations.js +190 -0
  135. package/lib/sections/heading/selectors.d.ts +5 -0
  136. package/lib/sections/heading/selectors.d.ts.map +1 -0
  137. package/lib/sections/heading/selectors.js +157 -0
  138. package/lib/sections/heading/types.d.ts +36 -0
  139. package/lib/sections/heading/types.d.ts.map +1 -0
  140. package/lib/sections/heading/types.js +5 -0
  141. package/lib/sections/languages/LanguageEditDialog.d.ts +7 -0
  142. package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -0
  143. package/lib/sections/languages/LanguageEditDialog.js +457 -0
  144. package/lib/sections/languages/LanguageSection.d.ts +5 -0
  145. package/lib/sections/languages/LanguageSection.d.ts.map +1 -0
  146. package/lib/sections/languages/LanguageSection.js +137 -0
  147. package/lib/sections/languages/mutations.d.ts +6 -0
  148. package/lib/sections/languages/mutations.d.ts.map +1 -0
  149. package/lib/sections/languages/mutations.js +296 -0
  150. package/lib/sections/languages/selectors.d.ts +5 -0
  151. package/lib/sections/languages/selectors.d.ts.map +1 -0
  152. package/lib/sections/languages/selectors.js +146 -0
  153. package/lib/sections/languages/types.d.ts +15 -0
  154. package/lib/sections/languages/types.d.ts.map +1 -0
  155. package/lib/sections/languages/types.js +5 -0
  156. package/lib/sections/projects/ProjectEditDialog.d.ts +7 -0
  157. package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -0
  158. package/lib/sections/projects/ProjectEditDialog.js +182 -0
  159. package/lib/sections/projects/ProjectSection.d.ts +6 -0
  160. package/lib/sections/projects/ProjectSection.d.ts.map +1 -0
  161. package/lib/sections/projects/ProjectSection.js +220 -0
  162. package/lib/sections/projects/mutations.d.ts +4 -0
  163. package/lib/sections/projects/mutations.d.ts.map +1 -0
  164. package/lib/sections/projects/mutations.js +188 -0
  165. package/lib/sections/projects/selectors.d.ts +5 -0
  166. package/lib/sections/projects/selectors.d.ts.map +1 -0
  167. package/lib/sections/projects/selectors.js +163 -0
  168. package/lib/sections/projects/types.d.ts +28 -0
  169. package/lib/sections/projects/types.d.ts.map +1 -0
  170. package/lib/sections/projects/types.js +8 -0
  171. package/lib/sections/resume/ResumeEditDialog.d.ts +7 -0
  172. package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -0
  173. package/lib/sections/resume/ResumeEditDialog.js +629 -0
  174. package/lib/sections/resume/ResumeSection.d.ts +7 -0
  175. package/lib/sections/resume/ResumeSection.d.ts.map +1 -0
  176. package/lib/sections/resume/ResumeSection.js +160 -0
  177. package/lib/sections/resume/mutations.d.ts +6 -0
  178. package/lib/sections/resume/mutations.d.ts.map +1 -0
  179. package/lib/sections/resume/mutations.js +172 -0
  180. package/lib/sections/resume/selectors.d.ts +4 -0
  181. package/lib/sections/resume/selectors.d.ts.map +1 -0
  182. package/lib/sections/resume/selectors.js +142 -0
  183. package/lib/sections/resume/types.d.ts +33 -0
  184. package/lib/sections/resume/types.d.ts.map +1 -0
  185. package/lib/sections/resume/types.js +8 -0
  186. package/lib/sections/shared/collapsibleSection.d.ts +2 -0
  187. package/lib/sections/shared/collapsibleSection.d.ts.map +1 -0
  188. package/lib/sections/shared/collapsibleSection.js +24 -0
  189. package/lib/sections/shared/contactTypeUtils.d.ts +7 -0
  190. package/lib/sections/shared/contactTypeUtils.d.ts.map +1 -0
  191. package/lib/sections/shared/contactTypeUtils.js +48 -0
  192. package/lib/sections/shared/idNodeFactory.d.ts +3 -0
  193. package/lib/sections/shared/idNodeFactory.d.ts.map +1 -0
  194. package/lib/sections/shared/idNodeFactory.js +14 -0
  195. package/lib/sections/shared/phoneCountries.d.ts +20 -0
  196. package/lib/sections/shared/phoneCountries.d.ts.map +1 -0
  197. package/lib/sections/shared/phoneCountries.js +1080 -0
  198. package/lib/sections/shared/rdfList.d.ts +3 -0
  199. package/lib/sections/shared/rdfList.d.ts.map +1 -0
  200. package/lib/sections/shared/rdfList.js +34 -0
  201. package/lib/sections/shared/rdfMutationHelpers.d.ts +12 -0
  202. package/lib/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
  203. package/lib/sections/shared/rdfMutationHelpers.js +82 -0
  204. package/lib/sections/shared/rowState.d.ts +21 -0
  205. package/lib/sections/shared/rowState.d.ts.map +1 -0
  206. package/lib/sections/shared/rowState.js +52 -0
  207. package/lib/sections/shared/sanitizeUtils.d.ts +5 -0
  208. package/lib/sections/shared/sanitizeUtils.d.ts.map +1 -0
  209. package/lib/sections/shared/sanitizeUtils.js +22 -0
  210. package/lib/sections/shared/sectionCardHelpers.d.ts +11 -0
  211. package/lib/sections/shared/sectionCardHelpers.d.ts.map +1 -0
  212. package/lib/sections/shared/sectionCardHelpers.js +105 -0
  213. package/lib/sections/shared/types.d.ts +7 -0
  214. package/lib/sections/shared/types.d.ts.map +1 -0
  215. package/lib/sections/shared/types.js +5 -0
  216. package/lib/sections/skills/SkillsEditDialog.d.ts +7 -0
  217. package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -0
  218. package/lib/sections/skills/SkillsEditDialog.js +340 -0
  219. package/lib/sections/skills/SkillsSection.d.ts +5 -0
  220. package/lib/sections/skills/SkillsSection.d.ts.map +1 -0
  221. package/lib/sections/skills/SkillsSection.js +169 -0
  222. package/lib/sections/skills/mutations.d.ts +6 -0
  223. package/lib/sections/skills/mutations.d.ts.map +1 -0
  224. package/lib/sections/skills/mutations.js +110 -0
  225. package/lib/sections/skills/selectors.d.ts +6 -0
  226. package/lib/sections/skills/selectors.d.ts.map +1 -0
  227. package/lib/sections/skills/selectors.js +37 -0
  228. package/lib/sections/skills/types.d.ts +14 -0
  229. package/lib/sections/skills/types.d.ts.map +1 -0
  230. package/lib/sections/skills/types.js +5 -0
  231. package/lib/sections/social/SocialEditDialog.d.ts +7 -0
  232. package/lib/sections/social/SocialEditDialog.d.ts.map +1 -0
  233. package/lib/sections/social/SocialEditDialog.js +362 -0
  234. package/lib/sections/social/SocialSection.d.ts +8 -0
  235. package/lib/sections/social/SocialSection.d.ts.map +1 -0
  236. package/lib/sections/social/SocialSection.js +201 -0
  237. package/lib/sections/social/constants.d.ts +3 -0
  238. package/lib/sections/social/constants.d.ts.map +1 -0
  239. package/lib/sections/social/constants.js +16 -0
  240. package/lib/sections/social/helpers.d.ts +15 -0
  241. package/lib/sections/social/helpers.d.ts.map +1 -0
  242. package/lib/sections/social/helpers.js +316 -0
  243. package/lib/sections/social/mutations.d.ts +4 -0
  244. package/lib/sections/social/mutations.d.ts.map +1 -0
  245. package/lib/sections/social/mutations.js +298 -0
  246. package/lib/sections/social/selectors.d.ts +4 -0
  247. package/lib/sections/social/selectors.d.ts.map +1 -0
  248. package/lib/sections/social/selectors.js +43 -0
  249. package/lib/sections/social/types.d.ts +19 -0
  250. package/lib/sections/social/types.d.ts.map +1 -0
  251. package/lib/sections/social/types.js +5 -0
  252. package/lib/styles/BioSection.css +77 -0
  253. package/lib/styles/CVCard.css +107 -2
  254. package/lib/styles/ContactInfoEditDialog.css +153 -0
  255. package/lib/styles/EditDialogs.css +1028 -0
  256. package/lib/styles/EducationCard.css +103 -0
  257. package/lib/styles/HeadingSection.css +309 -0
  258. package/lib/styles/ProfileCard.css +10 -42
  259. package/lib/styles/ProfileView.css +53 -8
  260. package/lib/styles/ProjectsCard.css +206 -0
  261. package/lib/styles/QRCodeCard.css +29 -10
  262. package/lib/styles/SocialCard.css +41 -13
  263. package/lib/styles/dialog.css +209 -0
  264. package/lib/styles/utilities.css +638 -256
  265. package/lib/textUtils.d.ts +6 -0
  266. package/lib/textUtils.d.ts.map +1 -0
  267. package/lib/textUtils.js +44 -0
  268. package/lib/texts.d.ts +45 -4
  269. package/lib/texts.d.ts.map +1 -1
  270. package/lib/texts.js +46 -5
  271. package/lib/types.d.ts +2 -0
  272. package/lib/types.d.ts.map +1 -0
  273. package/lib/types.js +5 -0
  274. package/lib/ui/dialog.d.ts +29 -0
  275. package/lib/ui/dialog.d.ts.map +1 -0
  276. package/lib/ui/dialog.js +269 -0
  277. package/lib/ui/errors.d.ts +2 -0
  278. package/lib/ui/errors.d.ts.map +1 -0
  279. package/lib/ui/errors.js +10 -0
  280. package/package.json +6 -4
  281. package/lib/CVCard.d.ts +0 -4
  282. package/lib/CVCard.d.ts.map +0 -1
  283. package/lib/CVCard.js +0 -114
  284. package/lib/CVPresenter.d.ts +0 -25
  285. package/lib/CVPresenter.d.ts.map +0 -1
  286. package/lib/CVPresenter.js +0 -119
  287. package/lib/FriendList.d.ts +0 -6
  288. package/lib/FriendList.d.ts.map +0 -1
  289. package/lib/FriendList.js +0 -27
  290. package/lib/ProfileCard.d.ts +0 -6
  291. package/lib/ProfileCard.d.ts.map +0 -1
  292. package/lib/ProfileCard.js +0 -62
  293. package/lib/SocialCard.d.ts +0 -5
  294. package/lib/SocialCard.d.ts.map +0 -1
  295. package/lib/SocialCard.js +0 -51
  296. package/lib/SocialPresenter.d.ts +0 -11
  297. package/lib/SocialPresenter.d.ts.map +0 -1
  298. package/lib/SocialPresenter.js +0 -117
  299. package/lib/StuffCard.d.ts +0 -10
  300. package/lib/StuffCard.d.ts.map +0 -1
  301. package/lib/StuffCard.js +0 -52
  302. package/lib/StuffPresenter.d.ts +0 -14
  303. package/lib/StuffPresenter.d.ts.map +0 -1
  304. package/lib/StuffPresenter.js +0 -53
  305. package/lib/presenter.d.ts +0 -14
  306. package/lib/presenter.d.ts.map +0 -1
  307. package/lib/presenter.js +0 -68
  308. package/lib/styles/FriendList.css +0 -12
  309. package/lib/styles/StuffCard.css +0 -23
  310. package/lib/styles/editProfile.css +0 -62
  311. package/lib/styles/profileRDFFormsEnforced.css +0 -431
@@ -1,431 +0,0 @@
1
- /* Delete pop up*/
2
- /* Make the Solid-UI delete confirmation popup appear near the last click position.
3
- Keep the built-in Solid-UI styling (orange border, white background) so it looks like the original.
4
- */
5
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] {
6
- /* only override positioning; keep styling (border/background/etc) from solid-ui */
7
- position: absolute !important;
8
- z-index: 9999 !important;
9
- top: 0 !important;
10
- right: 0 !important;
11
- left: auto !important;
12
- display: grid !important;
13
- pointer-events: auto !important;
14
- opacity: 1 !important;
15
- visibility: visible !important;
16
- padding: 0.7em !important;
17
- min-width: 280px !important;
18
- max-width: 90vw !important;
19
- background: var(--color-background) !important;
20
- border: 0.1em solid var(--color-primary) !important;
21
- border-radius: var(--border-radius-base) !important;
22
- box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;
23
- grid-template-columns: auto auto !important;
24
- gap: 0.3em !important;
25
- }
26
-
27
- /* Ensure SVG icons and their buttons inside the Solid-UI delete popup have transparent backgrounds */
28
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] img[src$=".svg"],
29
- .profile-grid div[style*="position: relative"] > div[style*="display: grid"] button {
30
- background: transparent !important;
31
- }
32
-
33
- .profile-form .individualPane {
34
- box-shadow: none !important;
35
- }
36
-
37
- .profile-form p {
38
- padding: 0 !important;
39
- }
40
-
41
- .profile-form .mb-md {
42
- margin-bottom: 0 !important;
43
- }
44
-
45
- .profile-form h2 {
46
- margin-bottom: 1em !important;
47
- }
48
-
49
- .profile-form h3 {
50
- color: var(--color-primary) !important;
51
- padding: 0 !important;
52
- font-size: 1em !important;
53
- font-weight: 600 !important;
54
- }
55
-
56
- /* Shared form layout rules are imported from rdfFormsCommon.css */
57
- /* Solid-UI form sizing fixes scoped to Edit CV section */
58
- .profile-form .hoverControl:not(:has(> img:first-child)) {
59
- border: 0.1em solid rgb(136, 136, 136) !important;
60
- flex-direction: column !important;
61
- }
62
-
63
- .profile-form .hoverControl:has(> img:first-child) {
64
- background-color: transparent !important;
65
- border: none !important;
66
- margin: 0 !important;
67
- border-radius: 0 !important;
68
- padding: 0.7em !important;
69
- min-height: var(--min-touch-target);
70
- min-width: var(--min-touch-target);
71
- cursor: pointer;
72
- display: inline-flex;
73
- align-items: center;
74
- justify-content: center;
75
- }
76
-
77
- /* Make sure the delete icon floats in the top-right corner of the full hoverControl wrapper */
78
- .profile-form .hoverControl,
79
- .profile-grid .hoverControl {
80
- position: relative !important;
81
- }
82
-
83
- .profile-grid .hoverControl > img.hoverControlHide,
84
- .profile-grid .hoverControl > [data-testid="deleteButtonWithCheck"] {
85
- position: absolute !important;
86
- top: 0.2em !important;
87
- right: 0.2em !important;
88
- width: 1.5em !important;
89
- height: 1.5em !important;
90
- align-items: center;
91
- justify-content: center;
92
- margin: 0 !important;
93
- float: none !important;
94
- transform: none !important;
95
- }
96
-
97
- /* When icon is 2nd or 3rd child (i.e. sibling elements exist), align it vertically to the previous item */
98
- .profile-grid .hoverControl > img.hoverControlHide:nth-child(1),
99
- .profile-grid .hoverControl > img.hoverControlHide:nth-child(2),
100
- .profile-grid .hoverControl > [data-testid="deleteButtonWithCheck"]:nth-child(1),
101
- .profile-grid .hoverControl > [data-testid="deleteButtonWithCheck"]:nth-child(2) {
102
- top: 50% !important;
103
- transform: translateY(-50%) !important;
104
- display: inline-flex !important;
105
- }
106
-
107
- /* Show the delete icon only when the container is hovered */
108
- .profile-grid .hoverControl:hover > img.hoverControlHide,
109
- .profile-grid .hoverControl:hover > [data-testid="deleteButtonWithCheck"] {
110
- display: inline-flex !important;
111
- }
112
-
113
- /* Also show the delete icon when the entire row is hovered */
114
- .profile-grid .attachmentTable tr:hover .hoverControl > img.hoverControlHide,
115
- .profile-grid .attachmentTable tr:hover .hoverControl > [data-testid="deleteButtonWithCheck"] {
116
- display: inline-flex !important;
117
- }
118
-
119
- /* Make the hover-control cell easier to hit */
120
- .profile-grid .hoverControl {
121
- padding: 0.75em !important;
122
- min-width: 2.5em !important;
123
- min-height: 2.5em !important;
124
- }
125
-
126
- /* When the hoverControl only contains the hidden delete icon, keep it out of layout so it doesn't create empty space */
127
- .profile-form .formFieldValue .hoverControl:has(> img.hoverControlHide) {
128
- min-width: 0 !important;
129
- min-height: 0 !important;
130
- width: 0 !important;
131
- height: 0 !important;
132
- padding: 0 !important;
133
- margin: 0 !important;
134
- overflow: visible !important;
135
- }
136
-
137
- /* Hide delete icon only in autocomplete fields */
138
- .profile-grid .formFieldValue:has(input[data-testid="autocomplete-input"]) [data-testid="delete-button"] {
139
- display: none !important;
140
- }
141
-
142
- /* Keep autocomplete cancel button hidden when the user is not interacting.
143
- This avoids the cancel button remaining visible when focus moves away. */
144
- .profile-grid .formFieldValue:not(:focus-within) [data-testid="cancel-button"] {
145
- display: none !important;
146
- }
147
-
148
- .profile-grid .hoverControl:has(> img:first-child) > span {
149
- display: inline-flex;
150
- align-items: center;
151
- margin-left: 0.3em;
152
- }
153
-
154
- .profile-grid div[style*="padding: 0.5em"]:has(> img) > span {
155
- margin-left: 0.3em;
156
- vertical-align: super !important;
157
- }
158
-
159
- .profile-grid .hoverControl:has(> img:first-child):hover {
160
- background-color: transparent !important;
161
- }
162
-
163
- .profile-grid button:has(> img[src$=".svg"]),
164
- .profile-grid .formFieldValue input[type ="color"] {
165
- background-color: var(--color-section-bg) !important;
166
- border: none !important;
167
- margin: 0 !important;
168
- border-radius: 0 !important;
169
- box-shadow: none !important;
170
- padding: 0.5em !important;
171
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
172
- padding: 0 !important;
173
- }
174
-
175
- /* Specific icon button should have no extra padding */
176
- .profile-grid button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1369241.svg"]) {
177
- padding: 0 !important;
178
- }
179
-
180
- .profile-form button {
181
- min-height: var(--min-touch-target);
182
- min-width: var(--min-touch-target);
183
- }
184
-
185
- .profile-form input:not([type="color"]) {
186
- width: 99%;
187
- margin-left: 0 !important;
188
- margin-right: 0 !important;
189
- }
190
-
191
- .profile-form input:not([type="color"]),
192
- .profile-form textarea,
193
- .profile-form select {
194
- max-width: 96%;
195
- min-width: 0;
196
- box-sizing: border-box ;
197
- font: inherit;
198
- color: var(--color-text);
199
- background-color: var(--color-card-bg) !important;
200
- border: 1px solid var(--color-border-pale);
201
- }
202
-
203
- .profile-form textarea {
204
- border-color: var(--color-border-pale) !important;
205
- }
206
-
207
- .profile-form input[type="date"],
208
- .profile-form input[type="month"],
209
- .profile-form input[type="week"],
210
- .profile-form input[type="time"],
211
- .profile-form input[type="datetime-local"] {
212
- min-height: var(--min-touch-target);
213
- }
214
-
215
- .profile-form .hoverControl:has(> img:first-child):focus-visible,
216
- .profile-form button:focus-visible,
217
- .profile-form input:not([type="color"]):focus-visible,
218
- .profile-form textarea:focus-visible,
219
- .profile-form select:focus-visible {
220
- outline: var(--focus-ring-width) solid var(--color-primary) !important;
221
- outline-offset: 2px;
222
- box-shadow: 0 0 0 1px var(--color-background);
223
- }
224
-
225
- .profile-form input[type="url"] {
226
- width: 100%;
227
- }
228
-
229
- .profile-form select#formSelect {
230
- width: 100%;
231
- max-width: 97%;
232
- box-sizing: border-box;
233
- margin-left: 0 !important;
234
- margin-right: 0 !important;
235
- }
236
-
237
- /* Remove border/padding from the first wrapper div (and its first child wrapper). */
238
- .profile-form > div:first-of-type,
239
- .profile-form > div:first-of-type > div:first-of-type {
240
- border: none !important;
241
- padding: 0 !important;
242
- }
243
-
244
- /* Remove border/padding from the inner div of the first wrapper in the contact section. */
245
- section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:first-of-type > div:first-of-type {
246
- border: none !important;
247
- padding: 0 !important;
248
- }
249
-
250
- /* In contactPane, remove border/padding from all direct child divs. */
251
- .contactPane > div {
252
- border: none !important;
253
- padding: 0 !important;
254
- }
255
-
256
- /* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */
257
- .profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {
258
- display: flex;
259
- }
260
-
261
- /* for the Resume inside corporation choice */
262
- /* Add space between classifierBox label and select box */
263
- .profile-form .choiceBox .classifierBox-label {
264
- /* Optional: ensure label doesn't have extra margin */
265
- margin-right: 0;
266
- padding-left: 0.3em;
267
- }
268
- .profile-form .choiceBox .choiceBox-selectBox select {
269
- margin-left: 2.1em !important;
270
- }
271
-
272
- /* for the Resume orga details */
273
- /* Add space between classifierBox label and select box */
274
- .profile-form .classifierBox .classifierBox-label {
275
- /* Match .formFieldName for alignment */
276
- margin-right: 0;
277
- padding-left: 0.3em;
278
- width: 8em;
279
- padding: 0.3em;
280
- vertical-align: middle;
281
- }
282
- .profile-form .classifierBox .classifierBox-selectBox {
283
- margin-left: 0 !important;
284
- }
285
-
286
- .profile-form .classifierBox .classifierBox-selectBox select {
287
- margin-left: 0 !important;
288
- }
289
-
290
- /* for the social media */
291
- /* Add space between classifierBox label and select box */
292
- .profile-grid section[data-testid="edit-social-section"] .classifierBox-label {
293
- /* Optional: ensure label doesn't have extra margin */
294
- margin-right: 0;
295
- padding-left: 0.3em;
296
- }
297
- .profile-grid section[data-testid="edit-social-section"] .classifierBox-selectBox select {
298
- margin-left: 0.7em !important;
299
- }
300
-
301
- .profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {
302
- margin-bottom: 0;
303
- }
304
-
305
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),
306
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),
307
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),
308
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]),
309
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) {
310
- display: inline-flex;
311
- align-items: center;
312
- vertical-align: middle;
313
- }
314
-
315
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]) + .formFieldValue,
316
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]) + .formFieldValue,
317
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]) + .formFieldValue,
318
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/2006/vcard/ns"]) + .formFieldValue,
319
- .profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/org#"]) + .formFieldValue {
320
- display: inline-flex;
321
- align-items: center;
322
- vertical-align: middle;
323
- flex: 1;
324
- min-width: 0;
325
- }
326
-
327
- .profile-form textarea,
328
- .profile-form .formFieldValue textarea {
329
- appearance: none;
330
- -webkit-appearance: none;
331
- border: .05em solid #88c !important;
332
- border-style: solid !important;
333
- border-width: .05em !important;
334
- border-color: #88c !important;
335
- border-radius: 0.2em !important;
336
- width: 99%;
337
- box-sizing: border-box;
338
- margin-top: var(--spacing-xs);
339
- margin-left: 0 !important;
340
- margin-right: 0 !important;
341
- }
342
-
343
- /* Add horizontal gap between label and textarea for all label+textarea pairs. */
344
- .profile-form div:has(> a) + div:has(textarea) {
345
- margin-left: var(--spacing-sm);
346
- }
347
-
348
- /* Center textarea label vertically in flex rows. */
349
- .profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) {
350
- align-items: flex-start;
351
- }
352
-
353
- .profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {
354
- padding-left: var(--spacing-xs);
355
- padding-top: var(--spacing-sm);
356
- }
357
-
358
-
359
- .profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {
360
- padding-top: 0.55em !important;
361
- }
362
-
363
-
364
- .profile-form input:disabled,
365
- .profile-form textarea:disabled,
366
- .profile-form select:disabled,
367
- .profile-form input[readonly],
368
- .profile-form textarea[readonly],
369
- .profile-form input:read-only,
370
- .profile-form textarea:read-only {
371
- background-color: var(--color-background) !important;
372
- cursor: not-allowed;
373
- opacity: 0.75;
374
- border: 0.05em solid white !important;
375
- }
376
-
377
- .webidControl table td div.contactPane.namedPane {
378
- border: none !important;
379
- }
380
-
381
- /* Hide the edit icon used by solid-ui (noun_253504.svg and noun_1180158.svg) when it appears as an <img> */
382
- .profile-form img[src*="noun_253504.svg"],
383
- .profile-form img[src*="noun_1180158.svg"],
384
- .webidControl img[src*="noun_253504.svg"],
385
- .webidControl img[src*="noun_1180158.svg"] {
386
- display: none !important;
387
- width: 0 !important;
388
- height: 0 !important;
389
- margin: 0 !important;
390
- padding: 0 !important;
391
- }
392
-
393
- /* Ensure the parent button for that icon doesn't add padding/margin or affect layout */
394
- .profile-form button:has(> img[src*="noun_253504.svg"]),
395
- .profile-form button:has(> img[src*="noun_1180158.svg"]),
396
- .webidControl button:has(> img[src*="noun_253504.svg"]),
397
- .webidControl button:has(> img[src*="noun_1180158.svg"]) {
398
- display: none !important;
399
- padding: 0 !important;
400
- margin: 0 !important;
401
- border: none !important;
402
- background: none !important;
403
- width: 0 !important;
404
- height: 0 !important;
405
- overflow: hidden !important;
406
- }
407
-
408
- /* Exceptions: allow these icons (and their buttons) when they're part of the add-friend or add-community flows. */
409
- .profile-grid .profileSection .add-friend-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"],
410
- .profile-grid .profileSection .add-community-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"],
411
- .profile-grid .profileSection .add-friend-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"]),
412
- .profile-grid .profileSection .add-community-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_253504.svg"]) {
413
- display: inline-flex !important;
414
- width: auto !important;
415
- height: auto !important;
416
- overflow: visible !important;
417
- }
418
-
419
-
420
- /* Exception: allow “Continue” buttons inside add-friend and add-community button containers. */
421
- .profile-grid .profileSection .add-friend-button-container button:has(> img[title="Continue"]),
422
- .profile-grid .profileSection .add-community-button-container button:has(> img[title="Continue"]),
423
- .profile-grid .profileSection .add-friend-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"]),
424
- .profile-grid .profileSection .add-community-button-container button:has(> img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"]),
425
- .profile-grid .profileSection .add-friend-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"],
426
- .profile-grid .profileSection .add-community-button-container img[src="https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg"] {
427
- display: inline-flex !important;
428
- width: 2em !important;
429
- height: 2em !important;
430
- overflow: visible !important;
431
- }