feat: change google-translate style

This commit is contained in:
jeffreytse 2020-07-12 16:20:13 +08:00
parent 50a9106b6c
commit bdbdefaaa2

View file

@ -113,7 +113,7 @@ body {
// Main look // Main look
.ct-language-selected { .ct-language-selected {
background: lighten($theme-color, 10%) !important; background: darken($theme-color, 5%) !important;
} }
.ct-language-dropdown { .ct-language-dropdown {
@ -130,13 +130,23 @@ body {
margin-top: 0; margin-top: 0;
z-index: 200; z-index: 200;
border-radius: 3px; border-radius: 3px;
padding-top: 8px;
padding-bottom: 8px;
visibility: hidden; visibility: hidden;
li { li {
padding: 5px; 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 { a {
display: block; display: block;
color: invert($theme-color); color: invert($theme-color);
@ -174,6 +184,7 @@ body {
margin-top: 8px; margin-top: 8px;
max-height: 10000px; max-height: 10000px;
visibility: visible; visibility: visible;
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .06);
} }
} }