From 4f9136e7c39cf677e6dd38f4f3313c35e042bb69 Mon Sep 17 00:00:00 2001 From: MatthieuLP Date: Tue, 10 Jan 2023 12:31:02 +0100 Subject: [PATCH] reltated to #1837 dark mode for new tooltip for badges --- admin/themes/default/template/albums.tpl | 2 -- admin/themes/default/theme.css | 8 ++++++++ admin/themes/roma/theme.css | 11 +++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/admin/themes/default/template/albums.tpl b/admin/themes/default/template/albums.tpl index 53db8aa1f..495c344b8 100644 --- a/admin/themes/default/template/albums.tpl +++ b/admin/themes/default/template/albums.tpl @@ -550,7 +550,6 @@ input[name="position"] { position: absolute; display: none; flex-direction: column; - background: linear-gradient(130deg, white 0%, white 100%); right: 50%; top: 30px; width: max-content; @@ -569,7 +568,6 @@ input[name="position"] { transform: rotate(0); border-width: 5px; border-style: solid; - border-color: transparent transparent white transparent; } .badge-dropdown span { diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index c2f46a968..08f8efad6 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -6862,6 +6862,14 @@ color:#FF7B00; align-items: center; } +.badge-dropdown { + background: linear-gradient(130deg, white 0%, white 100%); +} + +.badge-dropdown:after { + border-color: transparent transparent white transparent; +} + @media (max-width: 1450px) { .promote-text span { font-size: 20px; diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index d52cf4b61..a7df5718c 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -1900,4 +1900,15 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; background: #f7a43c; box-shadow: 0 2px #af7200; color: #444 !important; +} + +.badge-dropdown { + background: #333; +} +.badge-dropdown::after { + border-color: transparent transparent #333 transparent; +} +.badge-dropdown span { + border: none; + color: #aeaeae; } \ No newline at end of file