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
shunjou 2018-12-01 13:00:16 -05:00
parent 4f2b80e109
commit dba2462fe1
3 changed files with 1965 additions and 1413 deletions

View File

@ -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";
}

View File

@ -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");
}
});