fix(perplexity): input box, icons, hover states (#502)

* fix(perplexity): input box, text selections, and box hover state

* chore: formatting

* fix: use css nesting
This commit is contained in:
Tnixc authored and GitHub committed 2024-02-07 20:01:45 +00:00
1 parent b5cbfeb8a0
commit a99e0dda5e
1 file changed
+27 -1
+27 -1
View File
@@ -2,7 +2,7 @@
@name Perplexity Catppuccin
@namespace github.com/catppuccin/userstyles/styles/perplexity
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/perplexity
@version 0.0.1
@version 0.0.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/perplexity/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aperplexity
@description Soothing pastel theme for Perplexity
@@ -108,6 +108,32 @@
border-color: @surface1;
}
// Input box
::placeholder {
color: @subtext0;
}
textarea {
caret-color: @accent-color;
}
// Text selections
::selection {
background-color: @accent-color;
color: @mantle;
}
// Paths in the "search images/videos/ generate image" boxes, and box hover state
#ppl-message-scroll-target > div > div:nth-child(2) > div:nth-child(3) > div > div > div.col-span-4> div> div:nth-child(2) {
& > div:nth-child(1):hover,
& > div:nth-child(2):hover,
& > div:nth-child(3) > div > div:hover {
background: @surface1;
}
& path {
fill: @accent-color;
}
}
// code block
.ePundr,
[style^="font-size: inherit; font-family: inherit; background: rgb(45, 45, 45); color: rgb(204, 204, 204); border-radius: 3px; display: flex; line-height: 1.42857; overflow-x: auto; white-space: pre;"] {