diff --git a/package/ctcgfw/luci-theme-edge/Makefile b/package/ctcgfw/luci-theme-edge/Makefile index 0902974370..76e0e53714 100644 --- a/package/ctcgfw/luci-theme-edge/Makefile +++ b/package/ctcgfw/luci-theme-edge/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Edge Theme LUCI_DEPENDS:=+curl -PKG_VERSION:=2.4 -PKG_RELEASE:=20201128 +PKG_VERSION:=2.5 +PKG_RELEASE:=20210107 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/background/3.jpg b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/background/3.jpg index 53b7fc5f38..0da1d98f87 100644 Binary files a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/background/3.jpg and b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/background/3.jpg differ diff --git a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/cascade.css b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/cascade.css index 43f0062476..3c3836a460 100644 --- a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/cascade.css +++ b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/cascade.css @@ -384,12 +384,11 @@ h5, h6 { font-family: inherit; font-weight: normal; - line-height: 1.1 !important; + line-height: 1.1rem; color: inherit; } html { - overflow-y: hidden; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } @@ -402,7 +401,6 @@ body { html, body { - height: 100%; margin: 0; padding: 0; overflow-x: hidden; @@ -1461,7 +1459,7 @@ button:hover, font-weight: normal; color: #fff; border: none; - background-color: #00CFDD !important; + background-color: #23bd70 !important; } /* green */ .cbi-button-success, @@ -1534,12 +1532,6 @@ ul.tabs,.tabmenu .tabs,#tabmenu .tabs,ul.cbi-tabmenu { background-color: #fff; padding-top: 1rem; } - -#packages{ - margin-left: -2%; - width: 105%; -} - .cbi-tabmenu > li:hover { background-color: rgba(246,178,181,0.2); } @@ -2679,6 +2671,7 @@ input[name="nslookup"] { .node-main-login .main .main-right #maincontent { height: 100%; padding-top: 23vh; + padding-bottom:1rem; margin-top: 0rem; background-color: transparent !important; text-align: center; @@ -3611,16 +3604,12 @@ display:none !important; background-color: #475F7B; } -.waves-input-wrapper { - background-color: #475F7B; -} - .cbi-button,.btn { - background-color: #00CFDD; + background-color: #23bd70; } .cbi-button.reconnect { - background-color: #00CFDD !important; + background-color: #23bd70 !important; } .cpu .cbi-progressbar > div { @@ -3973,11 +3962,6 @@ i input { flex-basis: auto !important; } -.cbi-map >.cbi-section .cbi-section-table,.container .cbi-tabmenu,.container #tabmenu,.cbi-map >.cbi-section .table { - margin-left: -2%; - width: 105%; -} - .admin-status-overview h2.content { display: none; } @@ -4023,9 +4007,8 @@ i input { min-width: 5rem !important; } -#cbi-passwall .status .red, #cbi-passwall .status .green { - font-size: 0.83rem !important; - line-height: 2rem; +#cbi-passwall .block h4 { + padding:0; } .waves-input-wrapper .waves-button-input { @@ -4078,9 +4061,12 @@ div[id^="cbi-unblockmusic"] .cbi-button { padding: 0 2rem; } -.cbi-section-table .tr>.td:last-child,#packages .tr>.td:last-child{ +#packages .tr>.td:last-child{ padding-right:3%; } +.cbi-section-table .tr>.td:last-child{ + padding-right:2rem; +} .chromeframe { padding: 2rem 3rem; @@ -4112,4 +4098,7 @@ div[id^="cbi-unblockmusic"] .cbi-button { } table.interfaces .th{ padding:1.1em 0.5rem !important; -} \ No newline at end of file +} +.cbi-value>.cbi-value-field>div:first-child+br{ +display:none; +} diff --git a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/js/script.js b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/js/script.js index 76c58c8114..abdbc6c1eb 100644 --- a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/js/script.js +++ b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/js/script.js @@ -351,4 +351,7 @@ $("select,input").filter(function () { }); }, 0); $(".cbi-value").has("textarea").css("background","none"); +if(document.body.scrollHeight > window.innerHeight){ + $(".cbi-page-actions.control-group").addClass("fixed") +} })(jQuery); diff --git a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/landscape.css b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/landscape.css index 10817377b4..b55ab6957a 100644 --- a/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/landscape.css +++ b/package/ctcgfw/luci-theme-edge/htdocs/luci-static/edge/landscape.css @@ -4,12 +4,13 @@ position: absolute; width: 100%; height: 100%; + overflow: hidden; } #CrossFade img { position: absolute; min-width: 100%; min-height: 100%; - height: auto; + width:100%; background: #fff; -webkit-backface-visibility: hidden; backface-visibility: hidden; diff --git a/package/ctcgfw/luci-theme-edge/luasrc/view/themes/edge/sysauth.htm b/package/ctcgfw/luci-theme-edge/luasrc/view/themes/edge/sysauth.htm index ba0802b812..e2389088be 100644 --- a/package/ctcgfw/luci-theme-edge/luasrc/view/themes/edge/sysauth.htm +++ b/package/ctcgfw/luci-theme-edge/luasrc/view/themes/edge/sysauth.htm @@ -120,7 +120,7 @@ if (/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) { <%+footer%> <% -luci.sys.exec("(sleep 1;curl -k -L https://source.unsplash.com/featured/1080x720/?wallpaper -o /www/luci-static/edge/background/1.jpg) &") -luci.sys.exec("(sleep 1;curl -k -L https://source.unsplash.com/featured/1080x720/?fashion -o /www/luci-static/edge/background/2.jpg) &") -luci.sys.exec("(sleep 1;curl -k -L https://source.unsplash.com/featured/1080x720/?nature -o /www/luci-static/edge/background/3.jpg) &") +luci.sys.exec("(curl -k -L \"$(curl -s https://instant.unsplash.com | grep -o 'src=.*w=1080' | grep -o 'https://.*' | sed 's/amp;//g')\" -o /www/luci-static/edge/background/1.jpg) &") +luci.sys.exec("(curl -k -L \"$(curl -s https://instant.unsplash.com | grep -o 'src=.*w=1080' | grep -o 'https://.*' | sed 's/amp;//g')\" -o /www/luci-static/edge/background/2.jpg) &") +luci.sys.exec("(curl -k -L \"$(curl -s https://instant.unsplash.com | grep -o 'src=.*w=1080' | grep -o 'https://.*' | sed 's/amp;//g')\" -o /www/luci-static/edge/background/3.jpg) &") %> \ No newline at end of file