fix: light mode styling for copy button and modal title
- Add light mode specific styling for copy code button (white bg, dark text) - Ensure modal title stays white in both builtin and pico CSS versions - Prevent PicoCSS from overriding title color in light mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
bbbd24503f
commit
e8066e29f9
2 changed files with 16 additions and 0 deletions
|
|
@ -816,6 +816,13 @@ dialog#tts-modal {
|
|||
z-index: 5;
|
||||
}
|
||||
|
||||
/* Light theme copy button */
|
||||
dialog#uncloseai-embedded-modal[data-theme="light"] .uncloseai-code-copy-btn {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
color: #333;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.uncloseai-code-copy-btn:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
@ -857,6 +864,7 @@ dialog#tts-modal {
|
|||
.uncloseai-modal-title {
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.uncloseai-modal-title-mobile {
|
||||
|
|
|
|||
|
|
@ -872,6 +872,13 @@ dialog#tts-modal::backdrop {
|
|||
z-index: 5;
|
||||
}
|
||||
|
||||
/* Light theme copy button */
|
||||
dialog#uncloseai-embedded-modal[data-theme="light"] .uncloseai-code-copy-btn {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
color: #333;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.uncloseai-code-copy-btn:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
@ -913,6 +920,7 @@ dialog#tts-modal::backdrop {
|
|||
.uncloseai-modal-title {
|
||||
margin: 0 !important;
|
||||
font-weight: 600 !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.uncloseai-modal-title-mobile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue