From a8ae3213565e63270a7e6c4b49b8ac1c55e8aad5 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 4 Mar 2020 12:25:48 +0800 Subject: [PATCH] luci-theme-bootstrap-mod: update up abd down button css --- package/lienol/luci-theme-bootstrap-mod/Makefile | 2 +- .../htdocs/luci-static/bootstrap_blue/cascade.css | 4 ++++ .../htdocs/luci-static/bootstrap_mod/cascade.css | 11 +++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package/lienol/luci-theme-bootstrap-mod/Makefile b/package/lienol/luci-theme-bootstrap-mod/Makefile index 30d6ce3899..f19877e3b3 100644 --- a/package/lienol/luci-theme-bootstrap-mod/Makefile +++ b/package/lienol/luci-theme-bootstrap-mod/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Bootstrap Mod Theme By Lienol LUCI_DEPENDS:= PKG_VERSION:=1.1 -PKG_RELEASE:=2-20200302 +PKG_RELEASE:=3-20200303 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_blue/cascade.css b/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_blue/cascade.css index de20d4a535..6c687f5298 100644 --- a/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_blue/cascade.css +++ b/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_blue/cascade.css @@ -927,6 +927,8 @@ button:focus { background-position: center; background-image: url('../resources/cbi/up.gif'), linear-gradient(#ffffff, #ffffff 50%, #e6e6e6); background-repeat: no-repeat; + padding-left: 15px; + padding-right: 15px; } .cbi-button-down, @@ -934,6 +936,8 @@ button:focus { background-position: center; background-image: url('../resources/cbi/down.gif'), linear-gradient(#ffffff, #ffffff 50%, #e6e6e6); background-repeat: no-repeat; + padding-left: 15px; + padding-right: 15px; } .cbi-button-add, diff --git a/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_mod/cascade.css b/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_mod/cascade.css index 6784b944e1..e2d598336f 100644 --- a/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_mod/cascade.css +++ b/package/lienol/luci-theme-bootstrap-mod/htdocs/luci-static/bootstrap_mod/cascade.css @@ -148,12 +148,15 @@ header { .nav a { display: block; - color: #fff; line-height: 40px; padding: 0 15px; + color: #bfbfbf; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); } -.nav a:hover {} +.nav a:hover { + color: white; +} /* Dropdown */ @@ -924,6 +927,8 @@ button:focus { background-position: center; background-image: url('../resources/cbi/up.gif'), linear-gradient(#ffffff, #ffffff 50%, #e6e6e6); background-repeat: no-repeat; + padding-left: 15px; + padding-right: 15px; } .cbi-button-down, @@ -931,6 +936,8 @@ button:focus { background-position: center; background-image: url('../resources/cbi/down.gif'), linear-gradient(#ffffff, #ffffff 50%, #e6e6e6); background-repeat: no-repeat; + padding-left: 15px; + padding-right: 15px; } .cbi-button-add,