@semiont/react-ui 0.2.30 → 0.2.31
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/README.md +34 -1
- package/dist/{ar-TQSFB35U.mjs → ar-6QTTYSKD.mjs} +44 -2
- package/dist/ar-6QTTYSKD.mjs.map +1 -0
- package/dist/{bn-525U24T3.mjs → bn-AHD2VP4T.mjs} +44 -2
- package/dist/bn-AHD2VP4T.mjs.map +1 -0
- package/dist/{chunk-BHAP6MVA.mjs → chunk-GDEHLKCO.mjs} +44 -2
- package/dist/chunk-GDEHLKCO.mjs.map +1 -0
- package/dist/{chunk-W6E2UESX.mjs → chunk-WHI4ECK4.mjs} +89 -47
- package/dist/chunk-WHI4ECK4.mjs.map +1 -0
- package/dist/{cs-OYWTGLFM.mjs → cs-WKZ5PTM3.mjs} +44 -2
- package/dist/cs-WKZ5PTM3.mjs.map +1 -0
- package/dist/{da-BDXG2ITK.mjs → da-JLWQLEH2.mjs} +44 -2
- package/dist/da-JLWQLEH2.mjs.map +1 -0
- package/dist/{de-NB5JLMES.mjs → de-TOCT63PC.mjs} +44 -2
- package/dist/de-TOCT63PC.mjs.map +1 -0
- package/dist/{el-3SVXEAJI.mjs → el-2XXDPBHO.mjs} +44 -2
- package/dist/el-2XXDPBHO.mjs.map +1 -0
- package/dist/{en-DVB4OE2R.mjs → en-OAKDUA6C.mjs} +10 -2
- package/dist/{es-YBOFA3W5.mjs → es-VQZSZSKB.mjs} +44 -2
- package/dist/es-VQZSZSKB.mjs.map +1 -0
- package/dist/{fa-7MU36AMY.mjs → fa-HFYV6XFA.mjs} +44 -2
- package/dist/fa-HFYV6XFA.mjs.map +1 -0
- package/dist/{fi-PQKJB32G.mjs → fi-GYTT42QN.mjs} +44 -2
- package/dist/fi-GYTT42QN.mjs.map +1 -0
- package/dist/{fr-U4HK5GM6.mjs → fr-RBOM5A35.mjs} +44 -2
- package/dist/fr-RBOM5A35.mjs.map +1 -0
- package/dist/{he-F5MNZHAL.mjs → he-KNB7K2AV.mjs} +44 -2
- package/dist/he-KNB7K2AV.mjs.map +1 -0
- package/dist/{hi-2PHI37ZX.mjs → hi-QJ6E72XH.mjs} +44 -2
- package/dist/hi-QJ6E72XH.mjs.map +1 -0
- package/dist/{id-JPRBNCGS.mjs → id-EKQVDHC7.mjs} +44 -2
- package/dist/id-EKQVDHC7.mjs.map +1 -0
- package/dist/index.d.mts +775 -127
- package/dist/index.mjs +8786 -2892
- package/dist/index.mjs.map +1 -1
- package/dist/{it-MRLWI5OS.mjs → it-43QKJZRF.mjs} +44 -2
- package/dist/it-43QKJZRF.mjs.map +1 -0
- package/dist/{ja-YQ6RPI2T.mjs → ja-SZUXDDO5.mjs} +44 -2
- package/dist/ja-SZUXDDO5.mjs.map +1 -0
- package/dist/{ko-DUAVCEXX.mjs → ko-HIR2TG2Q.mjs} +44 -2
- package/dist/ko-HIR2TG2Q.mjs.map +1 -0
- package/dist/{ms-FBHSR4PG.mjs → ms-6EJXSDHO.mjs} +44 -2
- package/dist/ms-6EJXSDHO.mjs.map +1 -0
- package/dist/{nl-IC2MPZXN.mjs → nl-AAAXD3KD.mjs} +44 -2
- package/dist/nl-AAAXD3KD.mjs.map +1 -0
- package/dist/{no-LLD43NRM.mjs → no-CEBS75VU.mjs} +44 -2
- package/dist/no-CEBS75VU.mjs.map +1 -0
- package/dist/{pl-DDOJBR4D.mjs → pl-SIB6PH3I.mjs} +44 -2
- package/dist/pl-SIB6PH3I.mjs.map +1 -0
- package/dist/{pt-7TFHQRRN.mjs → pt-6BMNSQTQ.mjs} +44 -2
- package/dist/pt-6BMNSQTQ.mjs.map +1 -0
- package/dist/{ro-P4PJEGDU.mjs → ro-63CZRSZ7.mjs} +44 -2
- package/dist/ro-63CZRSZ7.mjs.map +1 -0
- package/dist/{sv-LF3VEQD2.mjs → sv-BRAAQGIC.mjs} +44 -2
- package/dist/sv-BRAAQGIC.mjs.map +1 -0
- package/dist/test-utils.mjs +2 -2
- package/dist/{th-YUQAOFXF.mjs → th-DQEDBNDR.mjs} +44 -2
- package/dist/th-DQEDBNDR.mjs.map +1 -0
- package/dist/{tr-CSIGLMJC.mjs → tr-IR5MEUEU.mjs} +44 -2
- package/dist/tr-IR5MEUEU.mjs.map +1 -0
- package/dist/{uk-LW3QBKSR.mjs → uk-BVRTOFAO.mjs} +44 -2
- package/dist/uk-BVRTOFAO.mjs.map +1 -0
- package/dist/{vi-W464Y6ZC.mjs → vi-QRBKNVJA.mjs} +44 -2
- package/dist/vi-QRBKNVJA.mjs.map +1 -0
- package/dist/{zh-R5XLM3EI.mjs → zh-VQVBROMT.mjs} +44 -2
- package/dist/zh-VQVBROMT.mjs.map +1 -0
- package/package.json +44 -6
- package/public/favicons/android-chrome-192x192.png +0 -0
- package/public/favicons/android-chrome-512x512.png +0 -0
- package/public/favicons/apple-touch-icon.png +0 -0
- package/public/favicons/favicon-128x128.png +0 -0
- package/public/favicons/favicon-16x16.png +0 -0
- package/public/favicons/favicon-32x32.png +0 -0
- package/public/favicons/favicon-48x48.png +0 -0
- package/public/favicons/favicon-64x64.png +0 -0
- package/public/favicons/favicon-96x96.png +0 -0
- package/public/favicons/favicon.ico +0 -0
- package/public/favicons/favicon.svg +47 -0
- package/public/favicons/site.webmanifest +19 -0
- package/src/examples/ButtonUsageExample.tsx +242 -0
- package/src/examples/button-css-modules.module.css +164 -0
- package/src/examples/button-styled-components.tsx +215 -0
- package/src/examples/button-tailwind.css +51 -0
- package/src/integrations/css-modules-helper.tsx +223 -0
- package/src/integrations/styled-components-theme.ts +405 -0
- package/src/integrations/tailwind-plugin.js +224 -0
- package/src/styles/base/reset.css +105 -0
- package/src/styles/base/utilities.css +465 -0
- package/src/styles/components/annotation-entries.css +138 -0
- package/src/styles/components/annotations.css +51 -0
- package/src/styles/components/auth.css +309 -0
- package/src/styles/components/branding.css +131 -0
- package/src/styles/components/cards.css +136 -0
- package/src/styles/components/collapsible-resource-navigation.css +161 -0
- package/src/styles/components/detection-widget.css +499 -0
- package/src/styles/components/footer.css +98 -0
- package/src/styles/components/header.css +109 -0
- package/src/styles/components/left-sidebar.css +138 -0
- package/src/styles/components/modals.css +672 -0
- package/src/styles/components/navigation-menu.css +59 -0
- package/src/styles/components/navigation-tabs.css +474 -0
- package/src/styles/components/panel-sections.css +440 -0
- package/src/styles/components/panels-base.css +404 -0
- package/src/styles/components/panels.css +100 -0
- package/src/styles/components/references.css +430 -0
- package/src/styles/components/resize-handle.css +110 -0
- package/src/styles/components/search-modal.css +463 -0
- package/src/styles/components/skip-links.css +101 -0
- package/src/styles/components/status-display.css +409 -0
- package/src/styles/components/tables.css +199 -0
- package/src/styles/components/toast.css +130 -0
- package/src/styles/components/toolbar.css +201 -0
- package/src/styles/core/badges.css +209 -0
- package/src/styles/core/buttons.css +781 -0
- package/src/styles/core/checkboxes.css +92 -0
- package/src/styles/core/forms.css +254 -0
- package/src/styles/core/index.css +43 -0
- package/src/styles/core/indicators.css +225 -0
- package/src/styles/core/inputs.css +117 -0
- package/src/styles/core/progress.css +170 -0
- package/src/styles/core/selects.css +135 -0
- package/src/styles/core/sliders.css +236 -0
- package/src/styles/core/tags.css +203 -0
- package/src/styles/core/textareas.css +134 -0
- package/src/styles/core/toggles.css +86 -0
- package/src/styles/features/admin.css +293 -0
- package/src/styles/features/compose.css +192 -0
- package/src/styles/features/devops.css +154 -0
- package/src/styles/features/entity-tags.css +140 -0
- package/src/styles/features/recent-docs.css +97 -0
- package/src/styles/features/resource-discovery.css +387 -0
- package/src/styles/features/resource-viewer.css +508 -0
- package/src/styles/features/resource.css +506 -0
- package/src/styles/features/schemas.css +222 -0
- package/src/styles/features/static-pages.css +589 -0
- package/src/styles/features/welcome.css +81 -0
- package/src/styles/index.css +93 -0
- package/src/styles/layout/layout.css +85 -0
- package/src/styles/motivations/motivation-assessment.css +234 -0
- package/src/styles/motivations/motivation-comment.css +245 -0
- package/src/styles/motivations/motivation-highlight.css +195 -0
- package/src/styles/motivations/motivation-reference.css +210 -0
- package/src/styles/motivations/motivation-tag.css +254 -0
- package/src/styles/panels/assessment-panel.css +91 -0
- package/src/styles/panels/collaboration-panel.css +222 -0
- package/src/styles/panels/comments-panel.css +130 -0
- package/src/styles/panels/highlight-panel.css +63 -0
- package/src/styles/panels/history-panel.css +301 -0
- package/src/styles/panels/jsonld-panel.css +41 -0
- package/src/styles/panels/references-panel.css +85 -0
- package/src/styles/panels/resource-info-panel.css +230 -0
- package/src/styles/panels/settings-panel.css +58 -0
- package/src/styles/panels/statistics-panel.css +147 -0
- package/src/styles/panels/tagging-panel.css +59 -0
- package/src/styles/panels/unified-annotations-panel.css +133 -0
- package/src/styles/panels/user-panel.css +24 -0
- package/src/styles/patterns/errors.css +24 -0
- package/src/styles/patterns/loading.css +26 -0
- package/src/styles/utilities/contrast.css +443 -0
- package/src/styles/utilities/focus-extended.css +539 -0
- package/src/styles/utilities/focus.css +108 -0
- package/src/styles/utilities/motion-overrides.css +378 -0
- package/src/styles/utilities/motion.css +370 -0
- package/src/styles/utilities/semantic-indicators.css +321 -0
- package/src/styles/variables.css +354 -0
- package/translations/ar.json +35 -1
- package/translations/bn.json +35 -1
- package/translations/cs.json +35 -1
- package/translations/da.json +35 -1
- package/translations/de.json +35 -1
- package/translations/el.json +35 -1
- package/translations/en.json +35 -1
- package/translations/es.json +35 -1
- package/translations/fa.json +35 -1
- package/translations/fi.json +35 -1
- package/translations/fr.json +35 -1
- package/translations/he.json +35 -1
- package/translations/hi.json +35 -1
- package/translations/id.json +35 -1
- package/translations/it.json +35 -1
- package/translations/ja.json +35 -1
- package/translations/ko.json +35 -1
- package/translations/ms.json +35 -1
- package/translations/nl.json +35 -1
- package/translations/no.json +35 -1
- package/translations/pl.json +35 -1
- package/translations/pt.json +35 -1
- package/translations/ro.json +35 -1
- package/translations/sv.json +35 -1
- package/translations/th.json +35 -1
- package/translations/tr.json +35 -1
- package/translations/uk.json +35 -1
- package/translations/vi.json +35 -1
- package/translations/zh.json +35 -1
- package/dist/ar-TQSFB35U.mjs.map +0 -1
- package/dist/bn-525U24T3.mjs.map +0 -1
- package/dist/chunk-BHAP6MVA.mjs.map +0 -1
- package/dist/chunk-W6E2UESX.mjs.map +0 -1
- package/dist/cs-OYWTGLFM.mjs.map +0 -1
- package/dist/da-BDXG2ITK.mjs.map +0 -1
- package/dist/de-NB5JLMES.mjs.map +0 -1
- package/dist/el-3SVXEAJI.mjs.map +0 -1
- package/dist/es-YBOFA3W5.mjs.map +0 -1
- package/dist/fa-7MU36AMY.mjs.map +0 -1
- package/dist/fi-PQKJB32G.mjs.map +0 -1
- package/dist/fr-U4HK5GM6.mjs.map +0 -1
- package/dist/he-F5MNZHAL.mjs.map +0 -1
- package/dist/hi-2PHI37ZX.mjs.map +0 -1
- package/dist/id-JPRBNCGS.mjs.map +0 -1
- package/dist/it-MRLWI5OS.mjs.map +0 -1
- package/dist/ja-YQ6RPI2T.mjs.map +0 -1
- package/dist/ko-DUAVCEXX.mjs.map +0 -1
- package/dist/ms-FBHSR4PG.mjs.map +0 -1
- package/dist/nl-IC2MPZXN.mjs.map +0 -1
- package/dist/no-LLD43NRM.mjs.map +0 -1
- package/dist/pl-DDOJBR4D.mjs.map +0 -1
- package/dist/pt-7TFHQRRN.mjs.map +0 -1
- package/dist/ro-P4PJEGDU.mjs.map +0 -1
- package/dist/sv-LF3VEQD2.mjs.map +0 -1
- package/dist/th-YUQAOFXF.mjs.map +0 -1
- package/dist/tr-CSIGLMJC.mjs.map +0 -1
- package/dist/uk-LW3QBKSR.mjs.map +0 -1
- package/dist/vi-W464Y6ZC.mjs.map +0 -1
- package/dist/zh-R5XLM3EI.mjs.map +0 -1
- /package/dist/{en-DVB4OE2R.mjs.map → en-OAKDUA6C.mjs.map} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Semiont React UI - Main Stylesheet
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for all styles.
|
|
5
|
+
* CLEANED UP: Only imports files that actually exist with real content.
|
|
6
|
+
*
|
|
7
|
+
* Total CSS: ~8,700 lines properly modularized (down from 25,000+ lines of cruft)
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* Design Tokens */
|
|
11
|
+
@import './variables.css';
|
|
12
|
+
|
|
13
|
+
/* Base */
|
|
14
|
+
@import './base/reset.css';
|
|
15
|
+
@import './base/utilities.css';
|
|
16
|
+
|
|
17
|
+
/* Utilities */
|
|
18
|
+
@import './utilities/focus.css';
|
|
19
|
+
@import './utilities/focus-extended.css';
|
|
20
|
+
@import './utilities/motion.css';
|
|
21
|
+
@import './utilities/motion-overrides.css';
|
|
22
|
+
@import './utilities/contrast.css';
|
|
23
|
+
@import './utilities/semantic-indicators.css';
|
|
24
|
+
|
|
25
|
+
/* Layout */
|
|
26
|
+
@import './layout/layout.css';
|
|
27
|
+
|
|
28
|
+
/* Core UI Elements */
|
|
29
|
+
@import './core/index.css';
|
|
30
|
+
|
|
31
|
+
/* Core Components */
|
|
32
|
+
@import './components/auth.css';
|
|
33
|
+
@import './components/tables.css';
|
|
34
|
+
@import './components/toast.css';
|
|
35
|
+
@import './components/status-display.css';
|
|
36
|
+
@import './components/panels-base.css';
|
|
37
|
+
@import './components/panel-sections.css';
|
|
38
|
+
@import './components/modals.css';
|
|
39
|
+
@import './components/search-modal.css';
|
|
40
|
+
@import './components/branding.css';
|
|
41
|
+
@import './components/toolbar.css';
|
|
42
|
+
@import './components/cards.css';
|
|
43
|
+
@import './components/detection-widget.css';
|
|
44
|
+
@import './components/references.css';
|
|
45
|
+
@import './components/navigation-tabs.css';
|
|
46
|
+
@import './components/collapsible-resource-navigation.css';
|
|
47
|
+
@import './components/annotations.css';
|
|
48
|
+
@import './components/annotation-entries.css';
|
|
49
|
+
@import './components/skip-links.css';
|
|
50
|
+
@import './components/header.css';
|
|
51
|
+
@import './components/footer.css';
|
|
52
|
+
@import './components/left-sidebar.css';
|
|
53
|
+
@import './components/navigation-menu.css';
|
|
54
|
+
@import './components/resize-handle.css';
|
|
55
|
+
|
|
56
|
+
/* Motivation-Specific Styles (W3C Web Annotation) */
|
|
57
|
+
@import './motivations/motivation-reference.css';
|
|
58
|
+
@import './motivations/motivation-highlight.css';
|
|
59
|
+
@import './motivations/motivation-assessment.css';
|
|
60
|
+
@import './motivations/motivation-comment.css';
|
|
61
|
+
@import './motivations/motivation-tag.css';
|
|
62
|
+
|
|
63
|
+
/* Individual Panel Styles */
|
|
64
|
+
@import './panels/collaboration-panel.css';
|
|
65
|
+
@import './panels/jsonld-panel.css';
|
|
66
|
+
@import './panels/references-panel.css';
|
|
67
|
+
@import './panels/settings-panel.css';
|
|
68
|
+
@import './panels/unified-annotations-panel.css';
|
|
69
|
+
@import './panels/resource-info-panel.css';
|
|
70
|
+
@import './panels/tagging-panel.css';
|
|
71
|
+
@import './panels/highlight-panel.css';
|
|
72
|
+
@import './panels/comments-panel.css';
|
|
73
|
+
@import './panels/assessment-panel.css';
|
|
74
|
+
@import './panels/statistics-panel.css';
|
|
75
|
+
@import './panels/history-panel.css';
|
|
76
|
+
@import './panels/user-panel.css';
|
|
77
|
+
|
|
78
|
+
/* Features */
|
|
79
|
+
@import './features/admin.css';
|
|
80
|
+
@import './features/compose.css';
|
|
81
|
+
@import './features/devops.css';
|
|
82
|
+
@import './features/entity-tags.css';
|
|
83
|
+
@import './features/recent-docs.css';
|
|
84
|
+
@import './features/resource.css';
|
|
85
|
+
@import './features/resource-discovery.css';
|
|
86
|
+
@import './features/resource-viewer.css';
|
|
87
|
+
@import './features/schemas.css';
|
|
88
|
+
@import './features/static-pages.css';
|
|
89
|
+
@import './features/welcome.css';
|
|
90
|
+
|
|
91
|
+
/* Patterns */
|
|
92
|
+
@import './patterns/loading.css';
|
|
93
|
+
@import './patterns/errors.css';
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
Tier 3: Layout Components
|
|
3
|
+
============================================ */
|
|
4
|
+
|
|
5
|
+
/* PageLayout Component */
|
|
6
|
+
.semiont-page-layout {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Page wrapper for standalone pages (auth, etc) */
|
|
13
|
+
.semiont-page-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
min-height: 100vh;
|
|
17
|
+
background: var(--semiont-bg-primary);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-theme="dark"] .semiont-page-wrapper {
|
|
21
|
+
background: var(--semiont-bg-primary);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Auth-specific page layout modifier */
|
|
25
|
+
.semiont-page-layout--auth {
|
|
26
|
+
background: var(--semiont-color-gray-50);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-theme="dark"] .semiont-page-layout--auth {
|
|
30
|
+
background: var(--semiont-color-gray-900);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.semiont-page-layout__header {
|
|
34
|
+
position: sticky;
|
|
35
|
+
top: 0;
|
|
36
|
+
z-index: 40;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.semiont-page-layout__header-container {
|
|
40
|
+
width: 100%;
|
|
41
|
+
background: var(--semiont-bg-primary);
|
|
42
|
+
border-bottom: 1px solid var(--semiont-border-primary);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.semiont-page-layout__main {
|
|
46
|
+
flex: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* App Layout for Document/Knowledge Views */
|
|
50
|
+
.semiont-app-layout {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
height: 100vh;
|
|
54
|
+
width: 100%;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Layout with footer */
|
|
59
|
+
.semiont-layout-with-footer {
|
|
60
|
+
/* Footer participates in flex layout flow. Content areas are scrollable within their flex boundaries. */
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.semiont-app-layout__content {
|
|
64
|
+
flex: 1;
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
min-width: 0; /* Allow content to shrink */
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.semiont-app-layout__sidebar {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
height: 100%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.semiont-app-layout__toolbar-panel {
|
|
78
|
+
width: 20rem;
|
|
79
|
+
height: 100%;
|
|
80
|
+
background: var(--semiont-bg-primary);
|
|
81
|
+
border-left: 1px solid var(--semiont-border-primary);
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motivation: Assessing
|
|
3
|
+
* Color Theme: Red with wavy underline
|
|
4
|
+
* W3C Web Annotation: assessing motivation
|
|
5
|
+
*
|
|
6
|
+
* This file defines all styles for assessment annotations
|
|
7
|
+
* across text, panels, and image annotations.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* ============================================
|
|
11
|
+
Color Variables
|
|
12
|
+
============================================ */
|
|
13
|
+
:root {
|
|
14
|
+
/* Light theme colors */
|
|
15
|
+
--semiont-motivation-assessment-primary: var(--semiont-color-red-500);
|
|
16
|
+
--semiont-motivation-assessment-secondary: var(--semiont-color-red-700);
|
|
17
|
+
--semiont-motivation-assessment-bg: rgba(254, 226, 226, 0.5);
|
|
18
|
+
--semiont-motivation-assessment-bg-hover: rgba(254, 226, 226, 0.7);
|
|
19
|
+
--semiont-motivation-assessment-border: rgba(239, 68, 68, 0.3);
|
|
20
|
+
--semiont-motivation-assessment-border-hover: rgba(239, 68, 68, 0.5);
|
|
21
|
+
--semiont-motivation-assessment-text: var(--semiont-color-red-700);
|
|
22
|
+
|
|
23
|
+
/* Dark theme colors */
|
|
24
|
+
--semiont-motivation-assessment-dark-bg: rgba(127, 29, 29, 0.3);
|
|
25
|
+
--semiont-motivation-assessment-dark-bg-hover: rgba(127, 29, 29, 0.4);
|
|
26
|
+
--semiont-motivation-assessment-dark-text: var(--semiont-color-red-300);
|
|
27
|
+
--semiont-motivation-assessment-dark-primary: var(--semiont-color-red-400);
|
|
28
|
+
|
|
29
|
+
/* Panel backgrounds */
|
|
30
|
+
--semiont-motivation-assessment-panel-bg: rgba(254, 226, 226, 0.3);
|
|
31
|
+
--semiont-motivation-assessment-panel-bg-dark: rgba(127, 29, 29, 0.2);
|
|
32
|
+
|
|
33
|
+
/* Button gradients - using red gradient for assessment */
|
|
34
|
+
--semiont-motivation-assessment-button-bg: linear-gradient(to right, var(--semiont-color-red-500), var(--semiont-color-red-600));
|
|
35
|
+
--semiont-motivation-assessment-button-bg-hover: linear-gradient(to right, var(--semiont-color-red-600), var(--semiont-color-red-700));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* ============================================
|
|
39
|
+
Inline Text Annotations - Wavy Underline
|
|
40
|
+
============================================ */
|
|
41
|
+
.semiont-motivation-assessment,
|
|
42
|
+
.annotation-assessment,
|
|
43
|
+
.red-underline {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
transition: all 200ms;
|
|
46
|
+
text-decoration: underline wavy;
|
|
47
|
+
text-decoration-color: var(--semiont-motivation-assessment-primary);
|
|
48
|
+
text-decoration-thickness: 1.2px;
|
|
49
|
+
text-underline-offset: 0.8px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.semiont-motivation-assessment:hover,
|
|
53
|
+
.annotation-assessment:hover,
|
|
54
|
+
.red-underline:hover {
|
|
55
|
+
opacity: 0.8;
|
|
56
|
+
text-decoration-thickness: 1.6px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Fallback for browsers that don't support wavy underline */
|
|
60
|
+
@supports not (text-decoration-style: wavy) {
|
|
61
|
+
.semiont-motivation-assessment,
|
|
62
|
+
.annotation-assessment,
|
|
63
|
+
.red-underline {
|
|
64
|
+
border-bottom: 1.2px solid var(--semiont-motivation-assessment-primary);
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.semiont-motivation-assessment:hover,
|
|
69
|
+
.annotation-assessment:hover,
|
|
70
|
+
.red-underline:hover {
|
|
71
|
+
border-bottom-width: 1.6px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ============================================
|
|
76
|
+
Panel Entry Styling
|
|
77
|
+
============================================ */
|
|
78
|
+
.semiont-motivation-assessment-entry,
|
|
79
|
+
.semiont-annotation-entry[data-type="assessment"] {
|
|
80
|
+
border-color: var(--semiont-motivation-assessment-border);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-theme="dark"] .semiont-motivation-assessment-entry,
|
|
84
|
+
[data-theme="dark"] .semiont-annotation-entry[data-type="assessment"] {
|
|
85
|
+
border-color: var(--semiont-motivation-assessment-border);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.semiont-motivation-assessment-entry:hover,
|
|
89
|
+
.semiont-annotation-entry[data-type="assessment"]:hover {
|
|
90
|
+
background: var(--semiont-motivation-assessment-panel-bg);
|
|
91
|
+
border-color: var(--semiont-motivation-assessment-border-hover);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[data-theme="dark"] .semiont-motivation-assessment-entry:hover,
|
|
95
|
+
[data-theme="dark"] .semiont-annotation-entry[data-type="assessment"]:hover {
|
|
96
|
+
background: var(--semiont-motivation-assessment-panel-bg-dark);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* ============================================
|
|
100
|
+
Quote/Excerpt Styling in Panels
|
|
101
|
+
============================================ */
|
|
102
|
+
.semiont-motivation-assessment-quote,
|
|
103
|
+
.semiont-annotation-entry__quote[data-type="assessment"] {
|
|
104
|
+
background: var(--semiont-motivation-assessment-bg);
|
|
105
|
+
color: var(--semiont-motivation-assessment-text);
|
|
106
|
+
padding: 0.375rem 0.5rem;
|
|
107
|
+
border-radius: var(--semiont-radius-sm);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
[data-theme="dark"] .semiont-motivation-assessment-quote,
|
|
111
|
+
[data-theme="dark"] .semiont-annotation-entry__quote[data-type="assessment"] {
|
|
112
|
+
background: var(--semiont-motivation-assessment-dark-bg);
|
|
113
|
+
color: var(--semiont-motivation-assessment-dark-text);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* ============================================
|
|
117
|
+
Body Content (Rating Stars)
|
|
118
|
+
============================================ */
|
|
119
|
+
.semiont-annotation-entry__body[data-type="assessment"] {
|
|
120
|
+
display: flex;
|
|
121
|
+
gap: 0.25rem;
|
|
122
|
+
color: var(--semiont-color-warning);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
[data-theme="dark"] .semiont-annotation-entry__body[data-type="assessment"] {
|
|
126
|
+
color: var(--semiont-color-warning);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* ============================================
|
|
130
|
+
Detection Section in Unified Panel
|
|
131
|
+
============================================ */
|
|
132
|
+
.semiont-motivation-assessment-section,
|
|
133
|
+
.semiont-detect-section[data-type="assessment"] {
|
|
134
|
+
border-color: var(--semiont-color-error);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
[data-theme="dark"] .semiont-motivation-assessment-section,
|
|
138
|
+
[data-theme="dark"] .semiont-detect-section[data-type="assessment"] {
|
|
139
|
+
border-color: var(--semiont-color-error-dark);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* ============================================
|
|
143
|
+
Button Styling
|
|
144
|
+
============================================ */
|
|
145
|
+
.semiont-motivation-assessment-button,
|
|
146
|
+
.semiont-button[data-variant="detect"][data-type="assessment"] {
|
|
147
|
+
background: var(--semiont-motivation-assessment-button-bg) !important;
|
|
148
|
+
color: var(--semiont-color-white) !important;
|
|
149
|
+
border: 1px solid var(--semiont-motivation-assessment-border);
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
transition: all 0.3s ease;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.semiont-motivation-assessment-button:hover,
|
|
155
|
+
.semiont-button[data-variant="detect"][data-type="assessment"]:hover {
|
|
156
|
+
background: var(--semiont-motivation-assessment-button-bg-hover);
|
|
157
|
+
border-color: var(--semiont-motivation-assessment-primary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[data-theme="dark"] .semiont-motivation-assessment-button,
|
|
161
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="assessment"] {
|
|
162
|
+
border-color: var(--semiont-motivation-assessment-border);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
[data-theme="dark"] .semiont-motivation-assessment-button:hover,
|
|
166
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="assessment"]:hover {
|
|
167
|
+
border-color: var(--semiont-motivation-assessment-dark-primary);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.semiont-motivation-assessment-button:focus-visible,
|
|
171
|
+
.semiont-button[data-variant="detect"][data-type="assessment"]:focus-visible {
|
|
172
|
+
outline: 2px solid var(--semiont-motivation-assessment-primary);
|
|
173
|
+
outline-offset: 2px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
[data-theme="dark"] .semiont-motivation-assessment-button:focus-visible,
|
|
177
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="assessment"]:focus-visible {
|
|
178
|
+
outline: 2px solid var(--semiont-motivation-assessment-dark-primary);
|
|
179
|
+
outline-offset: 2px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* ============================================
|
|
183
|
+
Image Annotation Overlays
|
|
184
|
+
============================================ */
|
|
185
|
+
.semiont-image-annotation-assessment {
|
|
186
|
+
stroke: var(--semiont-motivation-assessment-primary);
|
|
187
|
+
stroke-width: 2px;
|
|
188
|
+
stroke-dasharray: 5, 3;
|
|
189
|
+
fill: var(--semiont-motivation-assessment-border);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.semiont-image-annotation-assessment:hover {
|
|
193
|
+
stroke-width: 3px;
|
|
194
|
+
fill: var(--semiont-motivation-assessment-border-hover);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
[data-theme="dark"] .semiont-image-annotation-assessment {
|
|
198
|
+
stroke: var(--semiont-motivation-assessment-dark-primary);
|
|
199
|
+
fill: rgba(239, 68, 68, 0.2);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* ============================================
|
|
203
|
+
Assessment-specific Visual Elements
|
|
204
|
+
============================================ */
|
|
205
|
+
.semiont-assessment-indicator {
|
|
206
|
+
color: var(--semiont-motivation-assessment-primary);
|
|
207
|
+
font-size: 1.125rem;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
[data-theme="dark"] .semiont-assessment-indicator {
|
|
211
|
+
color: var(--semiont-motivation-assessment-dark-primary);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.semiont-assessment-star {
|
|
215
|
+
color: var(--semiont-color-warning);
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
transition: transform 0.2s ease;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
[data-theme="dark"] .semiont-assessment-star {
|
|
221
|
+
color: var(--semiont-color-warning);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.semiont-assessment-star:hover {
|
|
225
|
+
transform: scale(1.1);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.semiont-assessment-star--filled {
|
|
229
|
+
color: var(--semiont-color-warning);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
[data-theme="dark"] .semiont-assessment-star--filled {
|
|
233
|
+
color: var(--semiont-color-warning);
|
|
234
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motivation: Commenting
|
|
3
|
+
* Color Theme: Gray/Black/White with dashed outline
|
|
4
|
+
* W3C Web Annotation: commenting motivation
|
|
5
|
+
*
|
|
6
|
+
* This file defines all styles for comment annotations
|
|
7
|
+
* across text, panels, and image annotations.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* ============================================
|
|
11
|
+
Color Variables
|
|
12
|
+
============================================ */
|
|
13
|
+
:root {
|
|
14
|
+
/* Light theme colors */
|
|
15
|
+
--semiont-motivation-comment-primary: var(--semiont-color-gray-700);
|
|
16
|
+
--semiont-motivation-comment-secondary: var(--semiont-color-gray-600);
|
|
17
|
+
--semiont-motivation-comment-bg: var(--semiont-color-gray-100);
|
|
18
|
+
--semiont-motivation-comment-bg-hover: var(--semiont-color-gray-200);
|
|
19
|
+
--semiont-motivation-comment-border: rgba(107, 114, 128, 0.3);
|
|
20
|
+
--semiont-motivation-comment-border-hover: rgba(107, 114, 128, 0.5);
|
|
21
|
+
--semiont-motivation-comment-text: var(--semiont-color-gray-700);
|
|
22
|
+
--semiont-motivation-comment-outline: var(--semiont-color-gray-900);
|
|
23
|
+
|
|
24
|
+
/* Dark theme colors */
|
|
25
|
+
--semiont-motivation-comment-dark-bg: rgba(55, 65, 81, 0.3);
|
|
26
|
+
--semiont-motivation-comment-dark-bg-hover: var(--semiont-bg-secondary);
|
|
27
|
+
--semiont-motivation-comment-dark-text: var(--semiont-color-gray-300);
|
|
28
|
+
--semiont-motivation-comment-dark-outline: var(--semiont-color-gray-100);
|
|
29
|
+
--semiont-motivation-comment-dark-primary: var(--semiont-color-gray-400);
|
|
30
|
+
|
|
31
|
+
/* Panel backgrounds */
|
|
32
|
+
--semiont-motivation-comment-panel-bg: rgba(243, 244, 246, 0.5);
|
|
33
|
+
--semiont-motivation-comment-panel-bg-dark: rgba(55, 65, 81, 0.2);
|
|
34
|
+
|
|
35
|
+
/* Button gradients */
|
|
36
|
+
--semiont-motivation-comment-button-bg: linear-gradient(to right, var(--semiont-color-purple-600), var(--semiont-color-indigo-600));
|
|
37
|
+
--semiont-motivation-comment-button-bg-hover: linear-gradient(to right, var(--semiont-color-purple-700), var(--semiont-color-indigo-700));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* ============================================
|
|
41
|
+
Inline Text Annotations - Dashed Outline
|
|
42
|
+
============================================ */
|
|
43
|
+
.semiont-motivation-comment,
|
|
44
|
+
.annotation-comment {
|
|
45
|
+
border-radius: 0.25rem;
|
|
46
|
+
padding: 0 0.125rem;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
transition: all 200ms;
|
|
49
|
+
outline: 2px dashed var(--semiont-motivation-comment-outline);
|
|
50
|
+
outline-offset: 1px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.semiont-motivation-comment:hover,
|
|
54
|
+
.annotation-comment:hover {
|
|
55
|
+
background: var(--semiont-motivation-comment-bg);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-theme="dark"] .semiont-motivation-comment,
|
|
59
|
+
[data-theme="dark"] .annotation-comment {
|
|
60
|
+
outline: 2px dashed var(--semiont-motivation-comment-dark-outline);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[data-theme="dark"] .semiont-motivation-comment:hover,
|
|
64
|
+
[data-theme="dark"] .annotation-comment:hover {
|
|
65
|
+
background: var(--semiont-motivation-comment-dark-bg-hover);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ============================================
|
|
69
|
+
Panel Entry Styling
|
|
70
|
+
============================================ */
|
|
71
|
+
.semiont-motivation-comment-entry,
|
|
72
|
+
.semiont-annotation-entry[data-type="comment"] {
|
|
73
|
+
border-color: var(--semiont-motivation-comment-border);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-theme="dark"] .semiont-motivation-comment-entry,
|
|
77
|
+
[data-theme="dark"] .semiont-annotation-entry[data-type="comment"] {
|
|
78
|
+
border-color: var(--semiont-motivation-comment-border);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.semiont-motivation-comment-entry:hover,
|
|
82
|
+
.semiont-annotation-entry[data-type="comment"]:hover {
|
|
83
|
+
background: var(--semiont-motivation-comment-panel-bg);
|
|
84
|
+
border-color: var(--semiont-motivation-comment-border-hover);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-theme="dark"] .semiont-motivation-comment-entry:hover,
|
|
88
|
+
[data-theme="dark"] .semiont-annotation-entry[data-type="comment"]:hover {
|
|
89
|
+
background: var(--semiont-motivation-comment-panel-bg-dark);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* ============================================
|
|
93
|
+
Quote/Excerpt Styling in Panels
|
|
94
|
+
============================================ */
|
|
95
|
+
.semiont-motivation-comment-quote,
|
|
96
|
+
.semiont-annotation-entry__quote[data-type="comment"] {
|
|
97
|
+
background: var(--semiont-motivation-comment-bg);
|
|
98
|
+
color: var(--semiont-motivation-comment-text);
|
|
99
|
+
padding: 0.375rem 0.5rem;
|
|
100
|
+
border-radius: var(--semiont-radius-sm);
|
|
101
|
+
border-left: 3px dashed var(--semiont-motivation-comment-border-hover);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
[data-theme="dark"] .semiont-motivation-comment-quote,
|
|
105
|
+
[data-theme="dark"] .semiont-annotation-entry__quote[data-type="comment"] {
|
|
106
|
+
background: var(--semiont-motivation-comment-dark-bg);
|
|
107
|
+
color: var(--semiont-motivation-comment-dark-text);
|
|
108
|
+
border-left-color: var(--semiont-motivation-comment-dark-primary);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* ============================================
|
|
112
|
+
Detection Section in Unified Panel
|
|
113
|
+
============================================ */
|
|
114
|
+
.semiont-motivation-comment-section,
|
|
115
|
+
.semiont-detect-section[data-type="comment"] {
|
|
116
|
+
border-color: var(--semiont-color-purple-500);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
[data-theme="dark"] .semiont-motivation-comment-section,
|
|
120
|
+
[data-theme="dark"] .semiont-detect-section[data-type="comment"] {
|
|
121
|
+
border-color: var(--semiont-color-purple-600);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* ============================================
|
|
125
|
+
Button Styling
|
|
126
|
+
============================================ */
|
|
127
|
+
.semiont-motivation-comment-button,
|
|
128
|
+
.semiont-button[data-variant="detect"][data-type="comment"] {
|
|
129
|
+
background: linear-gradient(to right, var(--semiont-color-gray-800), var(--semiont-color-gray-700)) !important;
|
|
130
|
+
color: var(--semiont-color-white) !important;
|
|
131
|
+
border: 1px solid var(--semiont-motivation-comment-border);
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
transition: all 0.3s ease;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.semiont-motivation-comment-button:hover:not(:disabled),
|
|
137
|
+
.semiont-button[data-variant="detect"][data-type="comment"]:hover:not(:disabled) {
|
|
138
|
+
background: linear-gradient(to right, var(--semiont-color-gray-900), var(--semiont-color-gray-800)) !important;
|
|
139
|
+
border-color: var(--semiont-color-gray-600);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-theme="dark"] .semiont-motivation-comment-button,
|
|
143
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="comment"] {
|
|
144
|
+
background: linear-gradient(to right, var(--semiont-color-gray-600), var(--semiont-color-gray-500)) !important;
|
|
145
|
+
color: var(--semiont-color-white) !important;
|
|
146
|
+
border-color: var(--semiont-motivation-comment-dark-primary);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
[data-theme="dark"] .semiont-motivation-comment-button:hover:not(:disabled),
|
|
150
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="comment"]:hover:not(:disabled) {
|
|
151
|
+
background: linear-gradient(to right, var(--semiont-color-gray-500), var(--semiont-color-gray-400)) !important;
|
|
152
|
+
border-color: var(--semiont-color-gray-400);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.semiont-motivation-comment-button:focus-visible,
|
|
156
|
+
.semiont-button[data-variant="detect"][data-type="comment"]:focus-visible {
|
|
157
|
+
outline: 2px solid var(--semiont-motivation-comment-primary);
|
|
158
|
+
outline-offset: 2px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
[data-theme="dark"] .semiont-motivation-comment-button:focus-visible,
|
|
162
|
+
[data-theme="dark"] .semiont-button[data-variant="detect"][data-type="comment"]:focus-visible {
|
|
163
|
+
outline: 2px solid var(--semiont-color-purple-400);
|
|
164
|
+
outline-offset: 2px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* ============================================
|
|
168
|
+
Comment Input Areas
|
|
169
|
+
============================================ */
|
|
170
|
+
.semiont-annotation-prompt[data-type="comment"] {
|
|
171
|
+
background: var(--semiont-motivation-comment-bg);
|
|
172
|
+
padding: var(--semiont-panel-padding);
|
|
173
|
+
border-radius: var(--semiont-radius-md);
|
|
174
|
+
border: 2px dashed var(--semiont-motivation-comment-border);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
[data-theme="dark"] .semiont-annotation-prompt[data-type="comment"] {
|
|
178
|
+
background: var(--semiont-motivation-comment-dark-bg);
|
|
179
|
+
border-color: var(--semiont-motivation-comment-dark-primary);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.semiont-annotation-prompt__quote {
|
|
183
|
+
background: var(--semiont-bg-primary);
|
|
184
|
+
padding: var(--semiont-panel-padding-sm);
|
|
185
|
+
border-radius: var(--semiont-radius-sm);
|
|
186
|
+
border-left: 3px solid var(--semiont-motivation-comment-primary);
|
|
187
|
+
margin-bottom: var(--semiont-panel-gap-sm);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
[data-theme="dark"] .semiont-annotation-prompt__quote {
|
|
191
|
+
background: var(--semiont-bg-secondary);
|
|
192
|
+
border-left-color: var(--semiont-motivation-comment-dark-primary);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* ============================================
|
|
196
|
+
Image Annotation Overlays
|
|
197
|
+
============================================ */
|
|
198
|
+
.semiont-image-annotation-comment {
|
|
199
|
+
stroke: var(--semiont-motivation-comment-primary);
|
|
200
|
+
stroke-width: 2px;
|
|
201
|
+
stroke-dasharray: 8, 4;
|
|
202
|
+
fill: transparent;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.semiont-image-annotation-comment:hover {
|
|
206
|
+
stroke-width: 3px;
|
|
207
|
+
fill: var(--semiont-motivation-comment-border);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
[data-theme="dark"] .semiont-image-annotation-comment {
|
|
211
|
+
stroke: var(--semiont-motivation-comment-dark-outline);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[data-theme="dark"] .semiont-image-annotation-comment:hover {
|
|
215
|
+
fill: rgba(107, 114, 128, 0.2);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* ============================================
|
|
219
|
+
Comment-specific Visual Elements
|
|
220
|
+
============================================ */
|
|
221
|
+
.semiont-comment-indicator {
|
|
222
|
+
display: inline-block;
|
|
223
|
+
width: 1.25rem;
|
|
224
|
+
height: 1.25rem;
|
|
225
|
+
border: 2px dashed var(--semiont-motivation-comment-primary);
|
|
226
|
+
border-radius: 50%;
|
|
227
|
+
position: relative;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
[data-theme="dark"] .semiont-comment-indicator {
|
|
231
|
+
border-color: var(--semiont-motivation-comment-dark-primary);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.semiont-comment-bubble {
|
|
235
|
+
background: var(--semiont-motivation-comment-bg);
|
|
236
|
+
border: 1px solid var(--semiont-motivation-comment-border);
|
|
237
|
+
border-radius: var(--semiont-radius-md);
|
|
238
|
+
padding: var(--semiont-panel-padding-sm);
|
|
239
|
+
position: relative;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
[data-theme="dark"] .semiont-comment-bubble {
|
|
243
|
+
background: var(--semiont-motivation-comment-dark-bg);
|
|
244
|
+
border-color: var(--semiont-motivation-comment-dark-primary);
|
|
245
|
+
}
|