-
-
Notifications
You must be signed in to change notification settings - Fork 35
Fixed UI of Select Box in callout in Blog Editor #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1050,20 +1050,24 @@ | |||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| .callout-type-selector { | ||||||||||||||
| padding: 5px 10px; | ||||||||||||||
| border: 1px solid var(--border-color); | ||||||||||||||
| border-radius: var(--radius-sm); | ||||||||||||||
| background-color: var(--bg-light); | ||||||||||||||
| color: var(--text-primary); | ||||||||||||||
| font-size: 13px; | ||||||||||||||
| font-weight: 600; | ||||||||||||||
| padding: 8px 12px; | ||||||||||||||
| border: 2px solid var(--accent-color); | ||||||||||||||
| border-radius: 8px; | ||||||||||||||
| background: var(--bg-color); | ||||||||||||||
| color: var(--accent-color); | ||||||||||||||
| font-size: 14px; | ||||||||||||||
| font-weight: 700; | ||||||||||||||
| cursor: pointer; | ||||||||||||||
| transition: all 0.2s; | ||||||||||||||
| transition: all 0.3s ease; | ||||||||||||||
| text-transform: uppercase; | ||||||||||||||
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
because I don't really like the black bg on dark mode |
||||||||||||||
| .callout-type-selector:hover { | ||||||||||||||
| border-color: var(--accent-color); | ||||||||||||||
| background: var(--bg-color); | ||||||||||||||
| box-shadow: 0 4px 12px rgba(0, 230, 230, 0.3); | ||||||||||||||
| transform: translateY(-2px); | ||||||||||||||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The transform is nice, but it causes a bug where if you hover on the bottom of the button, where it rises 2px, the hover enters an infinite loop, which isn't nice. If you want to keep the hover, fix this bug; otherwise, you can remove it. |
||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| .callout-type-selector:focus { | ||||||||||||||
|
|
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change of default background due to the following suggestion