mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 23:02:51 +08:00
⛄ Sync 2026-08-29 05:43:50
This commit is contained in:
1 parent
cde306abff
commit
7498951b9f
8 files changed
+24
-8
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-argon-config
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||
|
||||
|
||||
@@ -50,11 +50,12 @@ return view.extend({
|
||||
s.anonymous = true;
|
||||
|
||||
o = s.option(form.ListValue, 'online_wallpaper', _('Wallpaper source'));
|
||||
o.value('default', _('Default'));
|
||||
o.value('none', _('Built-in'));
|
||||
o.value('bing', _('Bing'));
|
||||
o.value('unsplash', _('Unsplash'));
|
||||
o.value('wallhaven', _('Wallhaven'));
|
||||
o.default = 'bing';
|
||||
o.default = 'default';
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.option(form.ListValue, 'mode', _('Theme mode'));
|
||||
|
||||
@@ -6,5 +6,5 @@ config global
|
||||
option transparency '0.5'
|
||||
option transparency_dark '0.5'
|
||||
option mode 'dark'
|
||||
option online_wallpaper 'bing'
|
||||
option online_wallpaper 'default'
|
||||
|
||||
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
LUCI_TITLE:=Argon Theme
|
||||
LUCI_DEPENDS:=+USE_APK:wget-any +!USE_APK:wget +jsonfilter
|
||||
PKG_VERSION:=2.4.7
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
CONFIG_LUCI_CSSTIDY:=
|
||||
|
||||
|
||||
@@ -7,6 +7,20 @@
|
||||
|
||||
// 1. Main Container Layout
|
||||
// ==========================================================================
|
||||
body::before {
|
||||
content: "";
|
||||
background-image: url("/luci-static/argon/img/pattern.svg");
|
||||
background-repeat: repeat;
|
||||
background-size: 440px auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
opacity: .3;
|
||||
}
|
||||
|
||||
.main {
|
||||
position: relative;
|
||||
@@ -15,6 +29,9 @@
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.main-right {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 2. Left Sidebar Layout
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
// Login container
|
||||
.login-container {
|
||||
z-index: 10;
|
||||
margin-left: 5%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
width: 26rem;
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
<!-- added style="text-wrap: auto" but on this page it is still not the best solution. I will take it to consideration next time :) -->
|
||||
<footer style="text-wrap: auto">
|
||||
<div>
|
||||
<a class="luci-link" href="https://github.com/openwrt/luci" target="_blank">Powered by {{ version.luciname }} ({{ version.luciversion }})</a>
|
||||
<a href="https://github.com/jerrykuku/luci-theme-argon" target="_blank">ArgonTheme {# vPKG_VERSION #}</a>
|
||||
<a class="luci-link" href="{{ version.disturl }}" target="_blank">{{ version.distname }} {{ version.distversion }}-{{ version.distrevision }}</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
<!-- Video Player End -->
|
||||
{% else %}
|
||||
<!-- Image Background Start -->
|
||||
<div class="main-bg" id="main-bg" style="background-image:url({{ bgArry.bgUrl }})"></div>
|
||||
<div class="main-bg" id="main-bg" {% if (cfg.get_first('argon', 'global', 'online_wallpaper') == "default"): %}style="background-image:url({{ bgArry.bgUrl }})"{% endif %}></div>
|
||||
<!-- Image Background End -->
|
||||
{% endif %}
|
||||
<!-- Login Container Start -->
|
||||
|
||||
Reference in new issue
Block a user