From bdbdefaaa230a5c26dcad9231b985c8d40308be4 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sun, 12 Jul 2020 16:20:13 +0800 Subject: feat: change google-translate style --- _sass/misc/google-translate.scss | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to '_sass') diff --git a/_sass/misc/google-translate.scss b/_sass/misc/google-translate.scss index 243da54..d63b01a 100644 --- a/_sass/misc/google-translate.scss +++ b/_sass/misc/google-translate.scss @@ -113,7 +113,7 @@ body { // Main look .ct-language-selected { - background: lighten($theme-color, 10%) !important; + background: darken($theme-color, 5%) !important; } .ct-language-dropdown { @@ -130,13 +130,23 @@ body { margin-top: 0; z-index: 200; border-radius: 3px; - padding-top: 8px; - padding-bottom: 8px; visibility: hidden; li { padding: 5px; + &:first-child { + padding-top: 12px; + } + + &:last-child { + padding-bottom: 12px; + } + + &:not(:last-child) { + border-bottom: 1px solid rgba(0, 0, 0, .04); + } + a { display: block; color: invert($theme-color); @@ -174,6 +184,7 @@ body { margin-top: 8px; max-height: 10000px; visibility: visible; + box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .06); } } -- cgit v1.2.3