Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions app/(core)/styles/theory.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
background: var(--bg-color);
background: var(--bg-light);

Change of default background due to the following suggestion

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);
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[data-theme="light"] .callout-type-selector {
background: var(--bg-color);
}

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);
Copy link
Owner

Choose a reason for hiding this comment

The 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 {
Expand Down
Loading