aboutsummaryrefslogtreecommitdiffhomepage
path: root/css/chrome.css
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2022-12-21 22:24:31 +0000
committerjohannst <johannst@users.noreply.github.com>2022-12-21 22:24:31 +0000
commitead2ca2cfa3774af733c613ea03d9b4f3d10fbdf (patch)
tree495b5de1bd2f37536a471a6ce5b27d8a303e513f /css/chrome.css
parent2dfbc312e6ccb88f838170d8e777d48aacde2ff5 (diff)
downloadnotes-ead2ca2cfa3774af733c613ea03d9b4f3d10fbdf.tar.gz
notes-ead2ca2cfa3774af733c613ea03d9b4f3d10fbdf.zip
deploy: 4a8c8c7520419cbaa01b26353ef35e357c5d1ecf
Diffstat (limited to 'css/chrome.css')
-rw-r--r--css/chrome.css14
1 files changed, 9 insertions, 5 deletions
diff --git a/css/chrome.css b/css/chrome.css
index 10fa4b3..59eae11 100644
--- a/css/chrome.css
+++ b/css/chrome.css
@@ -507,6 +507,8 @@ ul#searchresults span.teaser em {
padding: 0;
list-style: none;
display: none;
+ /* Don't let the children's background extend past the rounded corners. */
+ overflow: hidden;
}
.theme-popup .default {
color: var(--icons);
@@ -515,7 +517,7 @@ ul#searchresults span.teaser em {
width: 100%;
border: 0;
margin: 0;
- padding: 2px 10px;
+ padding: 2px 20px;
line-height: 25px;
white-space: nowrap;
text-align: left;
@@ -527,8 +529,10 @@ ul#searchresults span.teaser em {
.theme-popup .theme:hover {
background-color: var(--theme-hover);
}
-.theme-popup .theme:hover:first-child,
-.theme-popup .theme:hover:last-child {
- border-top-left-radius: inherit;
- border-top-right-radius: inherit;
+
+.theme-selected::before {
+ display: inline-block;
+ content: "✓";
+ margin-left: -14px;
+ width: 14px;
}