This commit is contained in:
vinceliuice 2018-02-24 20:07:53 +08:00
parent 354026e722
commit 5d5383d48a
5 changed files with 51 additions and 19 deletions

View File

@ -2304,10 +2304,12 @@ menu,
padding: 8px 0;
border-radius: 6px;
background-color: #333333;
transition: none;
}
.csd menu, .csd
.menu {
transition: none;
border-radius: 6px;
background-color: #333333;
border: 1px solid rgba(255, 255, 255, 0.12);
@ -2330,8 +2332,8 @@ menu menuitem,
min-width: 40px;
padding: 2px 6px;
text-shadow: none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
transition: none;
}
menu menuitem:hover,
@ -2340,12 +2342,12 @@ menu menuitem:hover,
color: #ffffff;
background-color: #0062FF;
text-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
border-top: 1px solid transparent;
border-bottom: 1px solid #004ecc;
}
menu menuitem:hover arrow,
.menu menuitem:hover arrow {
transition: none;
color: #ffffff;
-gtk-icon-shadow: none;
}
@ -2357,6 +2359,7 @@ menu menuitem:disabled,
menu menuitem arrow,
.menu menuitem arrow {
transition: none;
min-height: 16px;
min-width: 16px;
background-color: transparent;
@ -2398,8 +2401,10 @@ menuitem check:dir(rtl), menuitem radio:dir(rtl) {
menu > arrow,
.menu > arrow {
transition: none;
min-width: 16px;
min-height: 16px;
padding: 2px;
background-color: #333333;
border-radius: 0;
border: 1px solid transparent;
@ -2425,6 +2430,7 @@ menu > arrow.bottom,
menu > arrow:hover,
.menu > arrow:hover {
transition: none;
background-color: #373737;
}

View File

@ -2304,10 +2304,12 @@ menu,
padding: 8px 0;
border-radius: 6px;
background-color: rgba(51, 51, 51, 0.95);
transition: none;
}
.csd menu, .csd
.menu {
transition: none;
border-radius: 6px;
background-color: rgba(51, 51, 51, 0.95);
border: 1px solid rgba(255, 255, 255, 0.12);
@ -2330,8 +2332,8 @@ menu menuitem,
min-width: 40px;
padding: 2px 6px;
text-shadow: none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
transition: none;
}
menu menuitem:hover,
@ -2340,12 +2342,12 @@ menu menuitem:hover,
color: #ffffff;
background-color: #0062FF;
text-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
border-top: 1px solid transparent;
border-bottom: 1px solid #004ecc;
}
menu menuitem:hover arrow,
.menu menuitem:hover arrow {
transition: none;
color: #ffffff;
-gtk-icon-shadow: none;
}
@ -2357,6 +2359,7 @@ menu menuitem:disabled,
menu menuitem arrow,
.menu menuitem arrow {
transition: none;
min-height: 16px;
min-width: 16px;
background-color: transparent;
@ -2398,8 +2401,10 @@ menuitem check:dir(rtl), menuitem radio:dir(rtl) {
menu > arrow,
.menu > arrow {
transition: none;
min-width: 16px;
min-height: 16px;
padding: 2px;
background-color: #333333;
border-radius: 0;
border: 1px solid transparent;
@ -2425,6 +2430,7 @@ menu > arrow.bottom,
menu > arrow:hover,
.menu > arrow:hover {
transition: none;
background-color: #373737;
}

View File

@ -2307,10 +2307,12 @@ menu,
padding: 8px 0;
border-radius: 6px;
background-color: #ffffff;
transition: none;
}
.csd menu, .csd
.menu {
transition: none;
border-radius: 6px;
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.11);
@ -2333,8 +2335,8 @@ menu menuitem,
min-width: 40px;
padding: 2px 6px;
text-shadow: none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
transition: none;
}
menu menuitem:hover,
@ -2343,12 +2345,12 @@ menu menuitem:hover,
color: #ffffff;
background-color: #0e6bff;
text-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
border-top: 1px solid transparent;
border-bottom: 1px solid #0054da;
}
menu menuitem:hover arrow,
.menu menuitem:hover arrow {
transition: none;
color: #ffffff;
-gtk-icon-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
}
@ -2360,6 +2362,7 @@ menu menuitem:disabled,
menu menuitem arrow,
.menu menuitem arrow {
transition: none;
min-height: 16px;
min-width: 16px;
background-color: transparent;
@ -2401,8 +2404,10 @@ menuitem check:dir(rtl), menuitem radio:dir(rtl) {
menu > arrow,
.menu > arrow {
transition: none;
min-width: 16px;
min-height: 16px;
padding: 2px;
background-color: #ffffff;
border-radius: 0;
border: 1px solid transparent;
@ -2428,6 +2433,7 @@ menu > arrow.bottom,
menu > arrow:hover,
.menu > arrow:hover {
transition: none;
background-color: #e9e9e9;
}

View File

@ -2307,10 +2307,12 @@ menu,
padding: 8px 0;
border-radius: 6px;
background-color: rgba(255, 255, 255, 0.95);
transition: none;
}
.csd menu, .csd
.menu {
transition: none;
border-radius: 6px;
background-color: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(0, 0, 0, 0.11);
@ -2333,8 +2335,8 @@ menu menuitem,
min-width: 40px;
padding: 2px 6px;
text-shadow: none;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
transition: none;
}
menu menuitem:hover,
@ -2343,12 +2345,12 @@ menu menuitem:hover,
color: #ffffff;
background-color: #0e6bff;
text-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
border-top: 1px solid transparent;
border-bottom: 1px solid #0054da;
}
menu menuitem:hover arrow,
.menu menuitem:hover arrow {
transition: none;
color: #ffffff;
-gtk-icon-shadow: 0 -1px rgba(255, 255, 255, 0.04), -1px 0px rgba(32, 32, 32, 0.05), 1px 0px rgba(32, 32, 32, 0.05), 0px 1px rgba(32, 32, 32, 0.3), 0px 2px rgba(32, 32, 32, 0.05);
}
@ -2360,6 +2362,7 @@ menu menuitem:disabled,
menu menuitem arrow,
.menu menuitem arrow {
transition: none;
min-height: 16px;
min-width: 16px;
background-color: transparent;
@ -2401,8 +2404,10 @@ menuitem check:dir(rtl), menuitem radio:dir(rtl) {
menu > arrow,
.menu > arrow {
transition: none;
min-width: 16px;
min-height: 16px;
padding: 2px;
background-color: #ffffff;
border-radius: 0;
border: 1px solid transparent;
@ -2428,6 +2433,7 @@ menu > arrow.bottom,
menu > arrow:hover,
.menu > arrow:hover {
transition: none;
background-color: #e9e9e9;
}

View File

@ -1826,13 +1826,15 @@ menu,
padding: 8px 0;
border-radius: $wm_radius;
background-color: if($transparency == 'true', rgba($_menu_bg, 0.95), $_menu_bg);
transition: none;
// border: 1px solid $borders_color;
.csd & {
border-radius: $wm_radius;
background-color: if($transparency == 'true', rgba($_menu_bg, 0.95), $_menu_bg);
border: 1px solid $borders_color;
}
transition: none;
border-radius: $wm_radius;
background-color: if($transparency == 'true', rgba($_menu_bg, 0.95), $_menu_bg);
border: 1px solid $borders_color;
}
separator,
.csd & separator {
@ -1852,18 +1854,23 @@ menu,
min-width: 40px;
padding: 2px 6px;
text-shadow: none;
border-top: 1px solid transparent;
// border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
// transition: background-color 0.05s cubic-bezier(0, 0, 0.2, 1);
transition: none;
&:hover {
transition: none;
color: $selected_fg_color;
background-color: $selected_bg_color;
text-shadow: $text_shadow;
border-top: 1px solid transparent;
// border-top: 1px solid transparent;
border-bottom: 1px solid darken($selected_bg_color, 10%);
arrow { color: $selected_fg_color; -gtk-icon-shadow: if($variant=='light', $text_shadow, none); }
arrow {
transition: none;
color: $selected_fg_color;
-gtk-icon-shadow: if($variant=='light', $text_shadow, none);
}
}
&:disabled {
@ -1872,6 +1879,7 @@ menu,
//submenu indicators
arrow {
transition: none;
min-height: 16px;
min-width: 16px;
background-color: transparent;
@ -1901,10 +1909,10 @@ menu,
}
// overflow buttons
> arrow {
// @include button(undecorated);
transition: none;
min-width: 16px;
min-height: 16px;
// padding: 0;
padding: 2px;
background-color: $_menu_bg;
border-radius: 0;
border: 1px solid transparent;
@ -1923,7 +1931,7 @@ menu,
border-top: 1px solid $borders_color;
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
}
&:hover { background-color: mix($fg_color, $base_color, 10%); }
&:hover { transition: none; background-color: mix($fg_color, $base_color, 10%); }
&:disabled {
color: transparent;
background-color: transparent;