@@ -151,15 +163,6 @@
flex-direction: column;
align-items: flex-start;
- .label {
- margin-bottom: 0.25rem;
- font-size: 0.75rem;
- font-weight: 500;
- color: var(--theme-content-accent-color);
- pointer-events: none;
- user-select: none;
- }
-
.large-style {
font-weight: 500;
font-size: 1.125rem;
@@ -172,6 +175,32 @@
font-weight: 400;
padding: 0.625rem 0.75rem;
}
+ .underline {
+ font-weight: 500;
+
+ input {
+ padding: 0.25rem 0.5rem;
+ background-color: var(--accent-bg-color);
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+
+ &:focus {
+ border: 1px solid var(--primary-edit-border-color);
+ }
+ }
+ }
+ .focusable {
+ margin: 0 -0.75rem;
+ padding: 0.625rem 0.75rem;
+ width: calc(100% + 1.5rem);
+ border: 1px solid transparent;
+ border-radius: 0.25rem;
+ transition: border-color 0.15s ease-in-out;
+
+ &:focus-within {
+ border-color: var(--primary-edit-border-color);
+ }
+ }
input {
margin: 0;
diff --git a/packages/ui/src/components/icons/Activity.svelte b/packages/ui/src/components/icons/Activity.svelte
index a4999e6325..ff8361fe73 100644
--- a/packages/ui/src/components/icons/Activity.svelte
+++ b/packages/ui/src/components/icons/Activity.svelte
@@ -5,12 +5,12 @@
diff --git a/packages/ui/src/types.ts b/packages/ui/src/types.ts
index 6ebc5a67c1..91bc72bfe0 100644
--- a/packages/ui/src/types.ts
+++ b/packages/ui/src/types.ts
@@ -91,7 +91,7 @@ export type ButtonKind =
| 'list'
export type ButtonSize = 'inline' | 'small' | 'medium' | 'large' | 'x-large'
export type ButtonShape = 'rectangle' | 'rectangle-left' | 'rectangle-right' | 'circle' | 'round' | undefined
-export type EditStyle = 'editbox' | 'large-style' | 'small-style' | 'search-style'
+export type EditStyle = 'editbox' | 'large-style' | 'small-style' | 'search-style' | 'underline'
export interface PopupPositionElement {
getBoundingClientRect: () => DOMRect
position?: {
diff --git a/plugins/activity-resources/src/components/Activity.svelte b/plugins/activity-resources/src/components/Activity.svelte
index 41bda77c12..8cb65d1d02 100644
--- a/plugins/activity-resources/src/components/Activity.svelte
+++ b/plugins/activity-resources/src/components/Activity.svelte
@@ -113,12 +113,10 @@