diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2020-07-12 16:20:13 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2020-07-12 16:20:13 +0800 |
commit | bdbdefaaa230a5c26dcad9231b985c8d40308be4 (patch) | |
tree | 2704cbfcbc03a05fe88bbdb5433e5d101aaa58eb /_sass/misc | |
parent | 50a9106b6c72a97aee9d6c430c1b3dac81ee5d3e (diff) |
feat: change google-translate style
Diffstat (limited to '_sass/misc')
-rw-r--r-- | _sass/misc/google-translate.scss | 17 |
1 files changed, 14 insertions, 3 deletions
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); } } |