mirror of https://github.com/openwrt/luci.git
luci-theme-material: partial style overhaul
* Restore theme to near original style * Properly declare variable fallbacks * More consistent table and border styling * Improve responsive design scaling * Add static ripple effect to sidebar menu * Style command output as terminal * Comb coding style and widespread cleanup * Various other improvements and fixes Signed-off-by: Shun Jou <shunjou@gmail.com>pull/2347/head
parent
4f2b80e109
commit
dba2462fe1
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,12 @@
|
|||
|
||||
:root {
|
||||
--main-color: #0099CC;
|
||||
--header-bg: #0099CC;
|
||||
--header-color: #FFFFFF;
|
||||
--menu-bg-color: #FFFFFF;
|
||||
--menu-color: #404040;
|
||||
--submenu-bg-hover: #D4D4D4;
|
||||
--submenu-bg-hover-active: #0099CC;
|
||||
--main-color: #09c;
|
||||
--header-bg: #09c;
|
||||
--header-color: #fff;
|
||||
--bar-bg: #5bc0de;
|
||||
--menu-bg-color: #fff;
|
||||
--menu-color: #5f6368;
|
||||
--menu-color-hover: #202124;
|
||||
--submenu-bg-hover: #d4d4d4;
|
||||
--submenu-bg-hover-active: #09c;
|
||||
--font-body: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB";
|
||||
}
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
$(".main-left").stop(true).animate({
|
||||
width: "0"
|
||||
}, "fast");
|
||||
$(".main-right").css("overflow-y", "auto");
|
||||
$(".main-right").css("overflow-y", "visible");
|
||||
showSide = false;
|
||||
} else {
|
||||
$(".darkMask").stop(true).fadeIn("fast");
|
||||
|
@ -179,7 +179,7 @@
|
|||
$(".main-left").stop(true).animate({
|
||||
width: "0"
|
||||
}, "fast");
|
||||
$(".main-right").css("overflow-y", "auto");
|
||||
$(".main-right").css("overflow-y", "visible");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue