mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 11:20:36 +08:00
Tweak sync/authenticate/connect buttons
- simplify positioning - make sure they expand depending on content, yet have a min width - add a popover for the connected button state, move httpd info from the authenticated button into this popover - fix external link styling - make the hover outline color pink
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
| "gray-white"
|
||||
| "none"
|
||||
| "outline"
|
||||
| "primary-outline"
|
||||
| "primary"
|
||||
| "secondary"
|
||||
| "tab" = "gray";
|
||||
@@ -137,6 +138,21 @@
|
||||
color: var(--color-foreground-contrast);
|
||||
}
|
||||
|
||||
.primary-outline {
|
||||
background-color: transparent;
|
||||
color: var(--color-foreground-contrast);
|
||||
border: 1px solid var(--color-border-hint);
|
||||
}
|
||||
.primary-outline[disabled] {
|
||||
background-color: transparent;
|
||||
color: var(--color-fill-gray);
|
||||
}
|
||||
.primary-outline:not([disabled]):hover {
|
||||
background-color: transparent;
|
||||
border: 1px solid var(--color-fill-primary);
|
||||
color: var(--color-foreground-contrast);
|
||||
}
|
||||
|
||||
.primary {
|
||||
color: var(--color-fill-primary);
|
||||
background-color: var(--color-fill-merged);
|
||||
@@ -207,6 +223,7 @@
|
||||
class:gray-white={variant === "gray-white"}
|
||||
class:none={variant === "none"}
|
||||
class:outline={variant === "outline"}
|
||||
class:primary-outline={variant === "primary-outline"}
|
||||
class:primary={variant === "primary"}
|
||||
class:secondary={variant === "secondary"}
|
||||
class:tab={variant === "tab"}>
|
||||
|
||||
Reference in New Issue
Block a user