diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ada11f93c..9a308aa68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: OMR_TARGET: [bpi-r1, bpi-r2, bpi-r64, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64, ubnt-erx, r4s, r7800, rutx12, rutx50, r5s, qnap-301w, rpi5, z8102ax_128m] - OMR_KERNEL: [5.4, 6.1] + OMR_KERNEL: [5.4, 6.1, 6.6] runs-on: ubuntu-latest continue-on-error: true diff --git a/bcm27xx-eeprom/Makefile b/bcm27xx-eeprom/Makefile index b114ee11a..2d2fac5c4 100644 --- a/bcm27xx-eeprom/Makefile +++ b/bcm27xx-eeprom/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bcm27xx-eeprom -PKG_VERSION:=v2022.04.26-138a1 -PKG_RELEASE:=$(AUTORELEASE) +PKG_VERSION:=v.2024.01.05-2712 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/raspberrypi/rpi-eeprom/tar.gz/$(PKG_VERSION)? -PKG_HASH:=7c54839e68f226c5853fb63c8a1539b729d84b2e6bac311a51766c601d10a413 +PKG_HASH:=ae1d9f10e4383ee39b291b4b3be1be583f6f32f806f65a1431da65ca4ccffe39 PKG_LICENSE:=BSD-3-Clause Custom PKG_LICENSE_FILES:=LICENSE @@ -18,15 +18,39 @@ include $(INCLUDE_DIR)/package.mk TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS) TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) -define Package/bcm27xx-eeprom +define Package/bcm27xx-eeprom/Default SECTION:=utils CATEGORY:=Utilities - DEPENDS:=bcm27xx-userland +blkid +coreutils +coreutils-od +pciutils +python3-light +endef + +define Package/bcm27xx-eeprom +$(call Package/bcm27xx-eeprom/Default) TITLE:=BCM27xx EEPROM tools + DEPENDS:=bcm27xx-utils +blkid +coreutils +coreutils-od +mount-utils +pciutils +python3-light +endef + +define Package/bcm2711-eeprom +$(call Package/bcm27xx-eeprom/Default) + TITLE:=BCM2711 EEPROM tools + DEPENDS:=+bcm27xx-eeprom +endef + +define Package/bcm2712-eeprom +$(call Package/bcm27xx-eeprom/Default) + TITLE:=BCM2712 EEPROM tools + DEPENDS:=+bcm27xx-eeprom endef define Package/bcm27xx-eeprom/description - BCM27xx EEPROM tools. + BCM27xx EEPROM config and update tools. +endef + +define Package/bcm2711-eeprom/description + BCM2711 EEPROM config and update tools. +endef + +define Package/bcm2712-eeprom/description + BCM2712 EEPROM config and update tools. endef define Build/Compile @@ -45,15 +69,28 @@ define Package/bcm27xx-eeprom/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/rpi-eeprom-config $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/rpi-eeprom-digest $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/rpi-eeprom-update $(1)/usr/bin +endef - $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader - $(CP) $(PKG_BUILD_DIR)/firmware/release-notes.md $(1)/lib/firmware/raspberrypi/bootloader +define Package/bcm2711-eeprom/install + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2711 + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2711/default + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2711/latest - $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader/critical - $(CP) $(PKG_BUILD_DIR)/firmware/critical/ $(1)/lib/firmware/raspberrypi/bootloader/ + $(CP) $(PKG_BUILD_DIR)/firmware-2711/release-notes.md $(1)/lib/firmware/raspberrypi/bootloader-2711 + $(CP) $(PKG_BUILD_DIR)/firmware-2711/default $(1)/lib/firmware/raspberrypi/bootloader-2711 + $(CP) $(PKG_BUILD_DIR)/firmware-2711/latest $(1)/lib/firmware/raspberrypi/bootloader-2711 +endef - $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader/stable - $(CP) $(PKG_BUILD_DIR)/firmware/stable/ $(1)/lib/firmware/raspberrypi/bootloader/ +define Package/bcm2712-eeprom/install + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2712 + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2712/default + $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2712/latest + + $(CP) $(PKG_BUILD_DIR)/firmware-2712/release-notes.md $(1)/lib/firmware/raspberrypi/bootloader-2712 + $(CP) $(PKG_BUILD_DIR)/firmware-2712/default $(1)/lib/firmware/raspberrypi/bootloader-2712 + $(CP) $(PKG_BUILD_DIR)/firmware-2712/latest $(1)/lib/firmware/raspberrypi/bootloader-2712 endef $(eval $(call BuildPackage,bcm27xx-eeprom)) +$(eval $(call BuildPackage,bcm2711-eeprom)) +$(eval $(call BuildPackage,bcm2712-eeprom)) diff --git a/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch b/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch index 7fc10a8a5..4404fc3b6 100644 --- a/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch +++ b/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch @@ -1,4 +1,4 @@ -From da37f7b051fe6833e25e78184cc9217dd4379187 Mon Sep 17 00:00:00 2001 +From a7c4e8f246dc58b4c83293b11f6443528065dc70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Mon, 23 Mar 2020 10:10:55 +0100 Subject: [PATCH] rpi-eeprom-update: OpenWrt defaults @@ -8,38 +8,29 @@ Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- - rpi-eeprom-update | 6 +++--- - rpi-eeprom-update-default | 5 +++-- - 2 files changed, 6 insertions(+), 5 deletions(-) + rpi-eeprom-update | 4 ++-- + rpi-eeprom-update-default | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) --- a/rpi-eeprom-update +++ b/rpi-eeprom-update -@@ -24,12 +24,12 @@ else - fi +@@ -25,7 +25,7 @@ fi # Selects the release sub-directory --FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-default} -+FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-stable} - FIRMWARE_IMAGE_DIR=${FIRMWARE_IMAGE_DIR:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}} + FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-default} -FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-/var/lib/raspberrypi/bootloader/backup} +FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-${FIRMWARE_ROOT}/backup} ENABLE_VL805_UPDATES=${ENABLE_VL805_UPDATES:-1} - RECOVERY_BIN=${RECOVERY_BIN:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}/recovery.bin} - BOOTFS=${BOOTFS:-/boot} CM4_ENABLE_RPI_EEPROM_UPDATE=${CM4_ENABLE_RPI_EEPROM_UPDATE:-0} RPI_EEPROM_UPDATE_CONFIG_TOOL="${RPI_EEPROM_UPDATE_CONFIG_TOOL:-raspi-config}" - --- a/rpi-eeprom-update-default +++ b/rpi-eeprom-update-default -@@ -1,8 +1,9 @@ +@@ -1,7 +1,7 @@ FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader --FIRMWARE_RELEASE_STATUS="critical" -+FIRMWARE_RELEASE_STATUS="stable" - FIRMWARE_IMAGE_DIR="${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}" + FIRMWARE_RELEASE_STATUS="default" -FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup" +FIRMWARE_BACKUP_DIR="${FIRMWARE_ROOT}/backup" - BOOTFS=/boot - USE_FLASHROM=0 EEPROM_CONFIG_HOOK= -+VCMAILBOX=/usr/bin/vcmailbox + + # BOOTFS can be set here to override auto-detection in rpi-eeprom-update diff --git a/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch b/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch new file mode 100644 index 000000000..840cd286f --- /dev/null +++ b/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch @@ -0,0 +1,62 @@ +From fc552b1e5c503c530763e40d2b83df55c5c2e9a3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= +Date: Wed, 25 Mar 2020 20:58:35 +0100 +Subject: [PATCH] rpi-eeprom-update: change default include path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Álvaro Fernández Rojas +--- + rpi-eeprom-update | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +--- a/rpi-eeprom-update ++++ b/rpi-eeprom-update +@@ -6,8 +6,8 @@ set -e + + script_dir=$(cd "$(dirname "$0")" && pwd) + +-if [ -f /etc/default/rpi-eeprom-update ]; then +- . /etc/default/rpi-eeprom-update ++if [ -f /etc/bcm27xx-eeprom.conf ]; then ++ . /etc/bcm27xx-eeprom.conf + fi + + LOCAL_MODE=0 +@@ -423,7 +423,7 @@ checkDependencies() { + echo "Run with -h for more information." + echo + echo "To enable flashrom programming of the EEPROM" +- echo "Add these the following entries to /etc/default/rpi-eeprom-update" ++ echo "Add these the following entries to /etc/bcm27xx-eeprom.conf" + echo "RPI_EEPROM_USE_FLASHROM=1" + echo "CM4_ENABLE_RPI_EEPROM_UPDATE=1" + echo +@@ -514,7 +514,7 @@ The system should then boot normally. + + If /boot does not correspond to the boot partition and this + is not a NOOBS system, then the mount point for BOOTFS should be defined +-in /etc/default/rpi-eeprom-update by defining the BOOTFS variable. ++in /etc/bcm27xx-eeprom.conf by defining the BOOTFS variable. + + A backup of the current EEPROM config file is written to ${FIRMWARE_BACKUP_DIR} + before applying the update. +@@ -546,7 +546,7 @@ Options: + -u Install the specified VL805 (USB EEPROM) image file. + + Environment: +-Environment variables should be defined in /etc/default/rpi-eeprom-update ++Environment variables should be defined in /etc/bcm27xx-eeprom.conf + + EEPROM_CONFIG_HOOK + +@@ -618,7 +618,7 @@ must first be enabled by removing ENABLE + via usbboot. + + After enabling self-update set the CM4_ENABLE_RPI_EEPROM_UPDATE=1 environment +-variable or define it in /etc/default/rpi-eeprom-update. ++variable or define it in /etc/bcm27xx-eeprom.conf. + + N.B. If there is a power failure during SELF_UPDATE the EEPROM write may fail and + usbboot must be used to flash the bootloader EEPROM. SELF_UPDATE is not recommended diff --git a/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-change-default-include-path.patch b/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-change-default-include-path.patch deleted file mode 100644 index f24a9c3f1..000000000 --- a/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-change-default-include-path.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 6674d49dea0104031b3f54df4c7a356dc4307bb2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= -Date: Wed, 25 Mar 2020 20:58:35 +0100 -Subject: [PATCH] rpi-eeprom-update: change default include path -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Álvaro Fernández Rojas ---- - rpi-eeprom-update | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - ---- a/rpi-eeprom-update -+++ b/rpi-eeprom-update -@@ -6,8 +6,8 @@ set -e - - script_dir=$(cd "$(dirname "$0")" && pwd) - --if [ -f /etc/default/rpi-eeprom-update ]; then -- . /etc/default/rpi-eeprom-update -+if [ -f /etc/bcm27xx-eeprom.conf ]; then -+ . /etc/bcm27xx-eeprom.conf - fi - - LOCAL_MODE=0 diff --git a/bcm27xx-eeprom/patches/0004-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch b/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch similarity index 89% rename from bcm27xx-eeprom/patches/0004-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch rename to bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch index 5872f12da..344d001d8 100644 --- a/bcm27xx-eeprom/patches/0004-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch +++ b/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch @@ -1,4 +1,4 @@ -From 8376ac74390af0ad736c88615e128b82a75eebc0 Mon Sep 17 00:00:00 2001 +From 62ec3384358bda60269c131d3880795bc8cdc3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 19 Feb 2021 10:54:23 +0100 Subject: [PATCH] rpi-eeprom-update: chmod silent (-f) is not supported @@ -13,7 +13,7 @@ Signed-off-by: Álvaro Fernández Rojas --- a/rpi-eeprom-update +++ b/rpi-eeprom-update -@@ -200,7 +200,7 @@ applyRecoveryUpdate() +@@ -216,7 +216,7 @@ applyRecoveryUpdate() || die "Failed to copy ${TMP_EEPROM_IMAGE} to ${BOOTFS}" # For NFS mounts ensure that the files are readable to the TFTP user @@ -22,7 +22,7 @@ Signed-off-by: Álvaro Fernández Rojas || die "Failed to set permissions on eeprom update files" fi -@@ -211,7 +211,7 @@ applyRecoveryUpdate() +@@ -227,7 +227,7 @@ applyRecoveryUpdate() || die "Failed to copy ${VL805_UPDATE_IMAGE} to ${BOOTFS}/vl805.bin" # For NFS mounts ensure that the files are readable to the TFTP user diff --git a/bcm27xx-eeprom/patches/0005-rpi-eeprom-config-change-default-text-editor.patch b/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch similarity index 54% rename from bcm27xx-eeprom/patches/0005-rpi-eeprom-config-change-default-text-editor.patch rename to bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch index 6feb7602c..3cbdd7162 100644 --- a/bcm27xx-eeprom/patches/0005-rpi-eeprom-config-change-default-text-editor.patch +++ b/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch @@ -1,6 +1,19 @@ +From 8d1e47c956ae10d1146114f7fcd4eb0d33187d08 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= +Date: Tue, 16 Jan 2024 16:25:40 +0100 +Subject: [PATCH] rpi-eeprom-config: replace nano with vi as default editor +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Álvaro Fernández Rojas +--- + rpi-eeprom-config | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + --- a/rpi-eeprom-config +++ b/rpi-eeprom-config -@@ -166,8 +166,8 @@ def edit_config(eeprom=None): +@@ -184,8 +184,8 @@ def edit_config(eeprom=None): """ Implements something like 'git commit' for editing EEPROM configs. """ @@ -11,7 +24,7 @@ if 'EDITOR' in os.environ: editor = os.environ['EDITOR'] -@@ -428,7 +428,7 @@ Operating modes: +@@ -484,7 +484,7 @@ Operating modes: To cancel the pending update run 'sudo rpi-eeprom-update -r' diff --git a/luci-theme-alpha/LICENSE b/luci-theme-alpha/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/luci-theme-alpha/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/luci-theme-alpha/Makefile b/luci-theme-alpha/Makefile new file mode 100644 index 000000000..44174974a --- /dev/null +++ b/luci-theme-alpha/Makefile @@ -0,0 +1,54 @@ +# LuCI Alpha Theme +# Copyright 2024 derisamedia +# +# Licensed under the Apache License v2.0 +# http://www.apache.org/licenses/LICENSE-2.0 + +include $(TOPDIR)/rules.mk + +THEME_NAME:=alpha +THEME_TITLE:=Alpha + +PKG_NAME:=luci-theme-$(THEME_NAME) +PKG_VERSION:=3.9.4-beta +PKG_RELEASE:=9 + +include $(INCLUDE_DIR)/package.mk + +define Package/luci-theme-$(THEME_NAME) + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=9. Themes + DEPENDS:=+libc + TITLE:=LuCi Theme For OpenWrt And Alpha OS ONLY - $(THEME_TITLE) + URL:=http://facebook.com/derisamedia/ + PKGARCH:=all +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/luci-theme-$(THEME_NAME)/install + $(INSTALL_DIR) $(1)/etc/uci-defaults + echo "uci set luci.themes.$(THEME_TITLE)=/luci-static/$(THEME_NAME); uci commit luci" > $(1)/etc/uci-defaults/30-luci-theme-$(THEME_NAME) + $(INSTALL_DIR) $(1)/www/luci-static/$(THEME_NAME) + $(CP) -a ./luasrc/* $(1)/www/luci-static/$(THEME_NAME)/ 2>/dev/null || true + $(INSTALL_DIR) $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME) + $(CP) -a ./template/* $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME)/ 2>/dev/null || true + $(INSTALL_DIR) $(1)/www/luci-static/resources + $(CP) -a ./js/* $(1)/www/luci-static/resources/ 2>/dev/null || true + $(INSTALL_DIR) $(1)/etc/config + $(CP) -a ./root/etc/config/* $(1)/etc/config/ 2>/dev/null || true +endef + +define Package/luci-theme-$(THEME_NAME)/postinst +#!/bin/sh +[ -n "$${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/30-luci-theme-$(THEME_NAME) ) && rm -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME) +} +endef + +$(eval $(call BuildPackage,luci-theme-$(THEME_NAME))) diff --git a/luci-theme-alpha/README.md b/luci-theme-alpha/README.md new file mode 100644 index 000000000..0ee085099 --- /dev/null +++ b/luci-theme-alpha/README.md @@ -0,0 +1,53 @@ +[issues]: https://github.com/derisamedia/luci-theme-alpha/issues +[issues-badge]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg?style=flat-square +[release]: https://github.com/derisamedia/luci-theme-alpha/releases +[release-badge]: https://img.shields.io/badge/download-check_releases-blue +[group]: https://facebook.com/groups/indowrt +[group-badge]: https://img.shields.io/badge/visit_Facebook-Comunity-cyan +[discord]: https://discord.gg/gdZwmDQGUm +[discord-badge]: https://img.shields.io/badge/visit_Discord-Comunity-blue + + + + + + + +# luci-theme-alpha (BETA) +
+ + +[![issues][issues-badge]][issues] +[![release][release-badge]][release] +[![group][group-badge]][group] +[![discord][discord-badge]][discord] + + +Luci theme for Official Openwrt and Alpha OS build ,based on bootstrap and material luCi theme refferences, +Preview Screenshoot +

+ +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/ss1.png) + +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/ss2.png) + +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/ss3.png) + +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/mobileview1.png) + +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/mobileview2.png) + +![image](https://raw.githubusercontent.com/derisamedia/luci-theme-alpha/master/mobileview3.png) + +

+ +### FYI + +alpha os is my idea which wants to develop the OpenWrt community in Indonesia, even the world, thanks to friends who have supported this alpha-os theme, hopefully given health to all of us. + + +(old text) Mr. Sibondt once they said 'jalan ditempat komunitas indo', that's what moved my heart to make an innovation that I named alpha os (alpha = initial version, because it hasn't been perfect until now 😁) + +donate +buy me a padang rice or coffee +https://saweria.co/derisamedia diff --git a/luci-theme-alpha/js/menu-alpha.js b/luci-theme-alpha/js/menu-alpha.js new file mode 100644 index 000000000..62cae62e7 --- /dev/null +++ b/luci-theme-alpha/js/menu-alpha.js @@ -0,0 +1,179 @@ +"use strict"; +"require baseclass"; +"require ui"; +return baseclass.extend({ + __init__: function () { + ui.menu.load().then(L.bind(this.render, this)); + }, + render: function (tree) { + var node = tree, + url = ""; + this.renderModeMenu(node); + if (L.env.dispatchpath.length >= 3) { + for (var i = 0; i < 3 && node; i++) { + node = node.children[L.env.dispatchpath[i]]; + url = url + (url ? "/" : "") + L.env.dispatchpath[i]; + } + if (node) this.renderTabMenu(node, url); + } + document + .querySelector(".showSide") + .addEventListener( + "click", + ui.createHandlerFn(this, "handleSidebarToggle") + ); + document + .querySelector(".darkMask") + .addEventListener( + "click", + ui.createHandlerFn(this, "handleSidebarToggle") + ); + document.querySelector(".main > .loading").style.opacity = "0"; + document.querySelector(".main > .loading").style.visibility = "hidden"; + if (window.innerWidth <= 1152) + document.querySelector(".main-left").style.width = "0"; + window.addEventListener("resize", this.handleSidebarToggle, true); + }, + handleMenuExpand: function (ev) { + var a = ev.target, + ul1 = a.parentNode, + ul2 = a.nextElementSibling; + document.querySelectorAll("li.slide.active").forEach(function (li) { + if (li !== a.parentNode || li == ul1) { + li.classList.remove("active"); + li.childNodes[0].classList.remove("active"); + } + if (li == ul1) return; + }); + if (!ul2) return; + if ( + ul2.parentNode.offsetLeft + ul2.offsetWidth <= + ul1.offsetLeft + ul1.offsetWidth + ) + ul2.classList.add("align-left"); + ul1.classList.add("active"); + a.classList.add("active"); + a.blur(); + ev.preventDefault(); + ev.stopPropagation(); + }, + renderMainMenu: function (tree, url, level) { + var l = (level || 0) + 1, + ul = E("ul", { class: level ? "slide-menu" : "nav" }), + children = ui.menu.getChildren(tree); + if (children.length == 0 || l > 2) return E([]); + for (var i = 0; i < children.length; i++) { + var isActive = L.env.dispatchpath[l] == children[i].name, + submenu = this.renderMainMenu( + children[i], + url + "/" + children[i].name, + l + ), + hasChildren = submenu.children.length; + ul.appendChild( + E( + "li", + { + class: hasChildren + ? "slide" + (isActive ? " active" : "") + : isActive + ? " active" + : "", + }, + [ + E( + "a", + { + href: hasChildren ? "#" : L.url(url, children[i].name), + class: hasChildren + ? "menu" + (isActive ? " active" : "") + : null, + click: hasChildren + ? ui.createHandlerFn(this, "handleMenuExpand") + : null, + "data-title": hasChildren + ? children[i].title + : _(children[i].title), + }, + [_(children[i].title)] + ), + submenu, + ] + ) + ); + } + if (l == 1) { + var container = document.querySelector("#mainmenu"); + container.appendChild(ul); + container.style.display = ""; + } + return ul; + }, + renderModeMenu: function (tree) { + var ul = document.querySelector("#modemenu"), + children = ui.menu.getChildren(tree); + for (var i = 0; i < children.length; i++) { + var isActive = L.env.requestpath.length + ? children[i].name == L.env.requestpath[0] + : i == 0; + ul.appendChild( + E("li", {}, [ + E( + "a", + { + href: L.url(children[i].name), + class: isActive ? "active" : null, + }, + [_(children[i].title)] + ), + ]) + ); + if (isActive) this.renderMainMenu(children[i], children[i].name); + if (i > 0 && i < children.length) + ul.appendChild(E("li", { class: "divider" }, [E("span")])); + } + if (children.length > 1) ul.parentElement.style.display = ""; + }, + renderTabMenu: function (tree, url, level) { + var container = document.querySelector("#tabmenu"), + l = (level || 0) + 1, + ul = E("ul", { class: "tabs" }), + children = ui.menu.getChildren(tree), + activeNode = null; + if (children.length == 0) return E([]); + for (var i = 0; i < children.length; i++) { + var isActive = L.env.dispatchpath[l + 2] == children[i].name, + activeClass = isActive ? " active" : "", + className = "tabmenu-item-%s %s".format(children[i].name, activeClass); + ul.appendChild( + E("li", { class: className }, [ + E("a", { href: L.url(url, children[i].name) }, [ + _(children[i].title), + ]), + ]) + ); + if (isActive) activeNode = children[i]; + } + container.appendChild(ul); + container.style.display = ""; + if (activeNode) + container.appendChild( + this.renderTabMenu(activeNode, url + "/" + activeNode.name, l) + ); + return ul; + }, + handleSidebarToggle: function (ev) { + var width = window.innerWidth, + darkMask = document.querySelector(".darkMask"), + mainRight = document.querySelector(".main-right"), + mainLeft = document.querySelector(".main-left"), + open = mainLeft.style.width == ""; + if (width > 1152 || ev.type == "resize") open = true; + darkMask.style.visibility = open ? "" : "visible"; + darkMask.style.opacity = open ? "" : 1; + if (width <= 1152) mainLeft.style.width = open ? "0" : ""; + else mainLeft.style.width = ""; + mainLeft.style.visibility = open ? "" : "visible"; + mainRight.style["overflow-y"] = open ? "visible" : "hidden"; + }, +}); diff --git a/luci-theme-alpha/luasrc/app.js b/luci-theme-alpha/luasrc/app.js new file mode 100644 index 000000000..c61ad0834 --- /dev/null +++ b/luci-theme-alpha/luasrc/app.js @@ -0,0 +1,35 @@ +(function () { + // your page initialization code here + // the DOM will be available here + + const toggler = document.querySelector(".toggler"); + console.log(toggler); + toggler.addEventListener( + "click", + function (e) { + const element = document.querySelector(".navbar"); + element.classList.toggle("active"); + }, + false + ); + + // const isDark = localStorage.getItem("isDark"); + // if (isDark == 1) { + // const element = document.querySelector("body"); + // element.classList.add("dark"); + // } + // const themetoggler = document.querySelector(".themetoggler"); + // themetoggler.addEventListener( + // "click", + // function (e) { + // e.preventDefault(); + // const element = document.querySelector("body"); + // element.classList.toggle("dark"); + + // const isDark = localStorage.getItem("isDark"); + // localStorage.setItem("isDark", isDark == 1 ? 0 : 1); + // }, + // false + // ); + })(); + \ No newline at end of file diff --git a/luci-theme-alpha/luasrc/background/dashboard.png b/luci-theme-alpha/luasrc/background/dashboard.png new file mode 100644 index 000000000..e8fff7925 Binary files /dev/null and b/luci-theme-alpha/luasrc/background/dashboard.png differ diff --git a/luci-theme-alpha/luasrc/background/login.png b/luci-theme-alpha/luasrc/background/login.png new file mode 100644 index 000000000..e8fff7925 Binary files /dev/null and b/luci-theme-alpha/luasrc/background/login.png differ diff --git a/luci-theme-alpha/luasrc/brand.png b/luci-theme-alpha/luasrc/brand.png new file mode 100644 index 000000000..f8584ac11 Binary files /dev/null and b/luci-theme-alpha/luasrc/brand.png differ diff --git a/luci-theme-alpha/luasrc/favicon.png b/luci-theme-alpha/luasrc/favicon.png new file mode 100644 index 000000000..7c3f3acb1 Binary files /dev/null and b/luci-theme-alpha/luasrc/favicon.png differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Black.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Black.woff2 new file mode 100644 index 000000000..5b3c5bf92 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Black.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Bold.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Bold.woff2 new file mode 100644 index 000000000..2532ddd06 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Bold.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-ExtraBold.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-ExtraBold.woff2 new file mode 100644 index 000000000..1e54fb56f Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-ExtraBold.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-ExtraLight.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-ExtraLight.woff2 new file mode 100644 index 000000000..3ff561883 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-ExtraLight.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Light.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Light.woff2 new file mode 100644 index 000000000..c90308af0 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Light.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Medium.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Medium.woff2 new file mode 100644 index 000000000..12454556b Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Medium.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Regular.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Regular.woff2 new file mode 100644 index 000000000..598e76118 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Regular.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-SemiBold.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-SemiBold.woff2 new file mode 100644 index 000000000..6a73b9f74 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-SemiBold.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Inter-Thin.woff2 b/luci-theme-alpha/luasrc/fonts/Inter-Thin.woff2 new file mode 100644 index 000000000..e4982d90e Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Inter-Thin.woff2 differ diff --git a/luci-theme-alpha/luasrc/fonts/Quicksand-Bold.ttf b/luci-theme-alpha/luasrc/fonts/Quicksand-Bold.ttf new file mode 100644 index 000000000..884f8582f Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Quicksand-Bold.ttf differ diff --git a/luci-theme-alpha/luasrc/fonts/Quicksand-Light.ttf b/luci-theme-alpha/luasrc/fonts/Quicksand-Light.ttf new file mode 100644 index 000000000..d4b8dbf38 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Quicksand-Light.ttf differ diff --git a/luci-theme-alpha/luasrc/fonts/Quicksand-Medium.ttf b/luci-theme-alpha/luasrc/fonts/Quicksand-Medium.ttf new file mode 100644 index 000000000..bd7d2bdb8 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Quicksand-Medium.ttf differ diff --git a/luci-theme-alpha/luasrc/fonts/Quicksand-Regular.ttf b/luci-theme-alpha/luasrc/fonts/Quicksand-Regular.ttf new file mode 100644 index 000000000..57d002f63 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Quicksand-Regular.ttf differ diff --git a/luci-theme-alpha/luasrc/fonts/Quicksand-SemiBold.ttf b/luci-theme-alpha/luasrc/fonts/Quicksand-SemiBold.ttf new file mode 100644 index 000000000..d74121fc5 Binary files /dev/null and b/luci-theme-alpha/luasrc/fonts/Quicksand-SemiBold.ttf differ diff --git a/luci-theme-alpha/luasrc/fonts/stylesheet.css b/luci-theme-alpha/luasrc/fonts/stylesheet.css new file mode 100644 index 000000000..126a5101a --- /dev/null +++ b/luci-theme-alpha/luasrc/fonts/stylesheet.css @@ -0,0 +1,71 @@ +@font-face { + font-family: 'Inter'; + src: url('Inter-Thin.woff2') format('woff2'); + font-weight: 100; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-ExtraLight.woff2') format('woff2'); + font-weight: 200; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-Light.woff2') format('woff2'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-Regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-Medium.woff2') format('woff2'); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-SemiBold.woff2') format('woff2'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-Bold.woff2') format('woff2'); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-ExtraBold.woff2') format('woff2'); + font-weight: 800; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Inter'; + src: url('Inter-Black.woff2') format('woff2'); + font-weight: 900; + font-style: normal; + font-display: swap; +} \ No newline at end of file diff --git a/luci-theme-alpha/luasrc/gaya/gaya.css b/luci-theme-alpha/luasrc/gaya/gaya.css new file mode 100755 index 000000000..0bdbaa1be --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/gaya.css @@ -0,0 +1,3609 @@ + /* Base */ + @font-face { + font-family: "Inter-Regular"; + src: url('/luci-static/alpha/fonts/Inter-Regular.woff2'); + } + + @font-face { + font-family: "Inter-Medium"; + src: url('/luci-static/alpha/fonts/Inter-Medium.woff2'); + } + + @font-face { + font-family: "Inter-Black"; + src: url('/luci-static/alpha/fonts/Inter-Black.woff2'); + } + + @font-face { + font-family: "Inter-Bold"; + src: url('/luci-static/alpha/fonts/Inter-Bold.woff2'); + } + + @font-face { + font-family: "Quicksand-Bold"; + src: url('/luci-static/alpha/fonts/Quicksand-Bold.ttf'); + } + + @font-face { + font-family: argon; + src: url('/luci-static/alpha/fonts/argon.woff'); + + } + + [class^="icon-"], + [class*=" icon-"] { + font-family: argon !important; + font-style: normal; + font-weight: 400; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + a { + color: #5a8dee; + text-decoration: none; + background-color: transparent; + } + + b { + color: #5a8dee; + text-decoration: none; + background-color: transparent; + font-family: "Quicksand-Bold"; + + } + + ::-webkit-scrollbar:hover { + background-color: rgba(100, 100, 100, 0.09); + } + + ::-webkit-scrollbar-thumb:vertical { + background: rgba(100, 100, 100, 0.5); + -webkit-border-radius: 100px; + } + + ::-webkit-scrollbar-thumb:vertical:active { + background: rgba(100, 100, 100, 0.61); + -webkit-border-radius: 100px; + } + + ::-webkit-scrollbar { + width: 0.2em !important; + overflow: visible; + border-radius: 4px; + -webkit-border-radius: 4px; + } + + ::-webkit-scrollbar-track { + opacity: 0; + -webkit-transition: all 0.5s; + } + + ::-webkit-scrollbar-thumb { + overflow: visible; + border-radius: 4px; + background: rgba(100, 100, 100, 0.2); + } + + .icon-hello-world:before { + content: "\e90e"; + } + + .icon-expand_more:before { + content: "\e20b"; + } + + .icon-menu:before { + content: "\e20e"; + } + + .icon-favorite:before { + content: "\e291"; + } + + .icon-spinner:before { + content: "\e603"; + } + + .icon-delete:before { + content: "\e900"; + } + + .icon-edit:before { + content: "\e901"; + } + + .icon-use:before { + content: "\e902"; + } + + .icon-loading:before { + content: "\e903"; + } + + .icon-switch:before { + content: "\e904"; + } + + .icon-error:before { + content: "\e905"; + } + + .icon-dashboard:before { + content: "\e906"; + } + + .icon-logout:before { + content: "\e907"; + } + + .icon-Network:before { + content: "\e908"; + } + + .icon-services:before { + content: "\e909"; + } + + .icon-system:before { + content: "\e90a"; + } + + .icon-vpn:before { + content: "\e90b"; + } + + .icon-storage:before { + content: "\e90c"; + } + + .icon-statistics:before { + content: "\e90d"; + } + + .icon-angle-right:before { + content: "\e90f"; + } + + .icon-user:before { + content: "\e971"; + } + + .icon-question:before { + content: "\f059"; + } + + :root { + --main-color: #09c; + --header-bg: #161624; + --header-color: rgb(10, 10, 10); + --bar-bg: #3f3f3f69; + --menu-bg-color: #fff; + --menu-color: #5f6368; + --menu-color-hover: #202124; + --main-menu-color: #202124; + --submenu-bg-hover: #4d5ca5; + --submenu-bg-hover-active: #09c; + --font-body: 'Inter-Regular'; + } + + tt { + font-family: "Quicksand-Bold"; + color: #09c; + } + + em { + font-style: italic; + color: #fff + } + + p { + display: block; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; + color: #ffffff; + } + + li { + display: block; + list-style-type: disc; + margin-block-start: 5px; + margin-block-end: 5px; + margin-inline-start: 0px; + margin-inline-end: 0px; + color: #ffffff; + } + + small { + font-size: smaller; + color: #ffff; + } + + label { + cursor: default; + color: #ffffff; + } + + .table { + position: relative; + display: table; + } + + .tr { + display: table-row; + } + + .thead { + display: table-header-group; + } + + .tbody { + display: table-row-group; + } + + .tfoot { + display: table-footer-group; + } + + .td, + .th { + line-height: normal; + display: table-cell; + vertical-align: middle; + padding: 0.5em; + } + + .th { + font-weight: 700; + } + + .tr.placeholder { + height: 4em; + } + + .tr.placeholder>.td { + line-height: 3; + position: absolute; + right: 0; + bottom: 0; + left: 0; + text-align: center !important; + background: inherit; + } + + .table[width="33%"], + .th[width="33%"], + .td[width="33%"] { + width: 33%; + } + + .col-1 { + flex: 1 1 30px !important; + } + + .col-2 { + flex: 2 2 60px !important; + } + + .col-3 { + flex: 3 3 90px !important; + } + + .col-4 { + flex: 4 4 120px !important; + } + + .col-5 { + flex: 5 5 150px !important; + } + + .col-6 { + flex: 6 6 180px !important; + } + + .col-7 { + flex: 7 7 210px !important; + } + + .col-8 { + flex: 8 8 240px !important; + } + + .col-9 { + flex: 9 9 270px !important; + } + + .col-10 { + flex: 10 10 300px !important; + } + + * { + box-sizing: border-box; + padding: 0; + } + + .h1, + .h2, + .h3, + .h4, + .h5, + .h6, + h1, + h2, + h3, + h4, + h5, + h6 { + font-family: inherit; + font-weight: 400; + line-height: 1.1 !important; + color: #fff; + } + + html { + overflow-y: hidden; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + } + + body { + font-size: 0.8rem; + height: 100%; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + background-attachment: fixed; + background-color: rgb(10, 10, 10); + } + + .text { + font-style: italic; + color: #fff; + } + + html, + body { + font-family: var(--font-body); + height: 100%; + margin: 0; + padding: 0; + } + + select { + color: #555; + border: thin solid #ccc; + background-color: #fff; + background-image: none; + padding: 0.36rem 0.8rem; + } + + .btn, + button, + select, + input, + .cbi-dropdown { + height: 2.3rem; + color: rgba(255, 255, 255, 0.87); + border: 0; + border-bottom: 2px solid #30304b; + border-radius: 10px; + border-radius: 20px; + outline: 0; + background-color: #222235; + background-image: none; + box-shadow: none; + padding: 0.5rem; + } + + select, + .cbi-dropdown { + width: inherit; + cursor: default; + } + + select:not([multiple="multiple"]):focus, + input:not(.cbi-button):focus, + .cbi-dropdown:focus { + border-color: var(--main-color); + } + + .cbi-dropdown, + select[multiple="multiple"] { + height: auto; + } + + pre { + overflow: auto; + color: #fff; + } + + code { + font-size: 1rem; + font-size-adjust: 0.35; + color: #101010; + border-radius: 0px; + background: #ddd; + padding: 1px 3px; + } + + abbr { + cursor: help; + text-decoration: underline; + color: #84d0ea; + } + + hr { + opacity: 0.1; + border-color: #eee; + margin: 1rem 0; + } + + /* End Base */ + + /* Header */ + header, + .main { + position: absolute; + width: 100%; + } + + header { + position: fixed; + z-index: 2000; + float: left; + height: 4rem; + transition: box-shadow 0.2s; + color: var(--header-color); + background: #2222359a; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + } + + header>.fill>.container { + margin-top: 0.5rem; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + padding: 0.5rem 1rem 0; + } + + header>.fill>.container>#logo { + padding: 0; + margin: 0 !important; + position: absolute; + left: 0; + top: 50%; + height: 100%; + transform: translateY(-50%); + padding: 1rem; + display: flex; + justify-content: center; + width: calc(16rem); + } + + header>.fill>.container>#logo>img { + width: auto; + height: 100%; + margin-top: -0.1rem; + } + + header>.fill>.container>.brand { + font-size: 1.4rem; + position: absolute; + cursor: default; + vertical-align: text-bottom; + text-decoration: none; + color: var(--header-color); + } + + header>.fill>.container>.status { + position: fixed; + top: 9px; + right: 1em; + float: right; + } + + header>.fill>.container>.status>* { + position: relative; + top: 0.2rem; + float: left; + left: -2.5rem; + margin-left: 0.3rem; + cursor: pointer; + } + + header>.fill>.container>.logout { + position: fixed; + top: 9px; + right: 1em; + float: right; + } + + header>.fill>.container>.logout>* { + position: relative; + top: 0.2rem; + float: left; + right: 0rem; + margin-left: 0.3rem; + cursor: pointer; + content: ""; + } + + .logout a { + position: absolute; + right: 14px; + width: 32px; + height: 32px; + content: ""; + background: url(./icon/logout.svg) no-repeat; + text-indent: -9999px; + background-size: 32px; + } + + /* End Header */ + + /* Footer */ + footer { + font-size: 0.8rem; + overflow: hidden; + text-align: center; + white-space: nowrap; + color: #000000; + padding: 1rem; + } + + footer>a { + text-decoration: none; + align-items: center; + color: #e6e6e696; + border-bottom: 0; + background-color: #2222359a; + border-radius: 10px; + padding: 9px; + padding-bottom: 3px; + padding-top: 3px; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + } + + small { + font-size: 90%; + line-height: 1.42857143; + white-space: normal; + } + + /* End Footer */ + + /* Navbar */ + @media screen and (min-width: 720px) { + .navbar { + position: fixed; + bottom: 50%; + transform: translateY(50%); + transition-duration: 200ms; + right: 30px; + border-top: var(--navBorder); + text-align: center; + background-color: #000000da; + box-shadow: 0 0 10px 0px #0000002d; + box-sizing: content-box; + border-radius: 10px; + } + + .navbar--hidden { + transform: translateY(60px); + box-shadow: none; + } + + .navbar .toggler { + transition-duration: 100ms; + position: absolute; + background: #ffffffb0; + box-shadow: 0 0 10px 0 #0000000f; + transform: translateY(50%); + bottom: 50%; + right: calc(100% + 10px); + width: 32px; + height: 32px; + padding: 8px; + border-radius: 100%; + content: ""; + box-sizing: border-box; + cursor: pointer; + } + + .navbar .toggler img { + transform: rotate(270deg); + } + + .navbar .dropdown { + display: flex; + flex-direction: column; + overflow: hidden; + width: 64px; + padding: 0.25rem; + } + + .navbar .dropdown a { + display: block; + text-align: center; + padding: 8px; + text-decoration: none; + max-width: 100px; + width: 100%; + } + + .navbar .dropdown a img { + width: 100%; + } + + .navbar.active { + right: -64px; + } + + .navbar.active .toggler { + right: calc(100% + 10px); + } + + .navbar.active .toggler img { + transform: rotate(90deg); + } + } + + @media screen and (max-width: 720px) { + .navbar { + + overflow: hidden; + position: fixed; + bottom: 5px; + top: auto; + left: 10px; + right: auto; + width: 95%; + align: center; + transition: transform 0.5s; + border-top: var(--navBorder); + text-align: center; + height: calc(50px + constant(safe-area-inset-bottom)); + height: calc(50px + env(safe-area-inset-bottom)); + background-color: #00000079; + border-radius: 20px; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + + } + + .navbar--hidden { + transform: translateY(60px); + box-shadow: none; + } + + .navbar a { + float: left; + text-align: center; + padding: 8px 0; + text-decoration: none; + } + + .navbar a img { + width: 28px; + } + } + + /* End Navbar */ + + .main { + position: relative; + top: 4rem; + bottom: 0; + overflow-y: auto; + height: calc(100% - 4rem); + } + + .main>.loading { + position: fixed; + z-index: 1000; + top: 0; + opacity: 1; + visibility: visible; + width: 100%; + height: 100%; + pointer-events: none; + background-color: rgba(0, 0, 0, 0.781); + transition: .4s ease-in-out; + border-radius: 10px; + } + + .main>.loading>span { + font-family: monospace; + font-size: 2rem; + font-size-adjust: 0.35; + position: relative; + top: 12.5%; + display: block; + text-align: center; + color: #888; + } + + .main>.loading>span>.loading-img { + display: inline-flex; + gap: 10px; + } + + .main>.loading>span>.loading-img:before, + .loading-img:after { + content: ""; + height: 20px; + aspect-ratio: 1; + border-radius: 50%; + background: + linear-gradient(#222 0 0) top/100% 0% no-repeat, + radial-gradient(farthest-side, #000 95%, #0000) 50%/8px 8px no-repeat #ffffff; + animation: l9 4s infinite ease-in; + } + + @keyframes l9 { + 0% { + background-size: 100% 0%, 8px 8px; + background-position: top, 50% 50% + } + + 80% { + background-size: 100% 70%, 8px 8px; + background-position: top, 50% 70% + } + + 84%, + 100% { + background-size: 100% 0%, 8px 8px; + background-position: top, 50% 50% + } + } + + .cbi-map { + margin-top: 10px; + } + + #cbi-shadowsocksr .cbi-map-descr { + display: none; + } + + strong { + font-weight: bold; + color: rgb(255, 255, 255); + } + + .main-right { + float: right; + width: calc(100% - 16rem); + height: 100%; + } + + .nowrap:not(.td) { + white-space: nowrap; + color: #ffffff; + } + + [disabled="disabled"] { + pointer-events: none; + } + + /* Sidebar */ + .main>.main-left { + position: fixed; + top: 4.8rem; + width: calc(0% + 16rem); + float: left; + overflow-x: auto; + background-color: #2222359a; + transition: visibility 400ms, width 400ms; + border-top-left-radius: 0px; + border-top-right-radius: 20px; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 20px; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + height: calc(100% - 3.5rem); + + } + + .main>.main-left>.nav { + padding: 0.5rem 0.5rem 2rem; + } + + .main>.main-left>.nav>li { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + + .main>.main-left>.nav>li>[data-title="Logout"] { + display: flex; + padding: 0.5rem 1rem; + } + + .main>.main-left>.nav>li a { + display: block; + color: #cbcbcb; + } + + .main>.main-left>.nav>li>[data-title="Logout"], + .main>.main-left>.nav>li>[data-title="iStore"] { + font-size: 1rem; + color: #fff; + } + + .main>.main-left>.nav>li.slide.active { + background-color: unset; + } + + .main>.main-left>.nav>.slide { + padding: 0; + } + + .main>.main-left>.nav>.slide>.menu, + .main>.main-left>.nav>li>[data-title="Logout"], + .main>.main-left>.nav>li>[data-title="iStore"], + .main>.main-left>.nav>li>[data-title="Dashboard"] { + font-size: 1rem; + font-weight: 500; + display: flex; + align-items: center; + width: 100%; + text-decoration: none; + color: #fff; + padding: 0.5rem 1rem; + transition-duration: 200ms; + margin-bottom: 5px; + } + + .main>.main-left>.nav>.slide>.menu::before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/app.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>.menu.active::before {} + + .main>.main-left>.nav>.slide>[data-title="Status"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/status.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="System"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/system.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="Services"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/services.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="NAS"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/nas.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="Modem"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/modem.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="Network"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/network.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="VPN"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/vpn.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide>[data-title="Docker"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/docker.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>li>[data-title="iStore"]:before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/sidebar-icon/istore.svg) no-repeat; + background-size: 25px; + } + + /* End Sidebar */ + + .modemenu-buttons { + display: flex; + flex-wrap: wrap; + align-items: center; + color: var(--header-color); + background: var(--header-bg); + transition: box-shadow 0.2s; + box-shadow: 0 2px 5px rgb(0 0 0 / 26%); + padding: 0.5rem; + } + + #modemenu { + display: flex; + align-items: center; + flex-wrap: wrap; + margin: 0.25rem; + } + + #modemenu>li.divider { + margin-left: 0.25rem; + margin-right: 0.25rem; + border: 0.5rem solid var(--submenu-bg-hover); + border-left: 1px solid var(--submenu-bg-hover); + border-right: 1px solid var(--submenu-bg-hover); + border-radius: 1rem; + } + + .danger { + background-color: #ff7d60 !important; + } + + .warning { + background-color: #bebebe87 !important; + border-radius: 10px; + color: #fff; + } + + .success { + background-color: #5cb85c !important; + } + + .error { + color: red; + } + + .alert, + .alert-message { + font-weight: 700; + margin-bottom: 1em; + border: 0; + border-radius: 20px; + background-color: #2222359a; + padding: 1rem; + margin: 1rem; + } + + .alert-message>h4 { + font-size: 110%; + font-weight: 700; + } + + .alert-message>* { + margin: 0.5rem 0; + } + + body[class*="node-"]>.main>.main-left>.nav>.slide>.menu::before { + transition: transform 0.1s ease-in-out; + } + + body[class*="node-"]>.main>.main-left>.nav>.slide>.menu.active::before { + transition: transform 0.2s ease-in-out; + } + + .main>.main-left>.nav>li>[data-title="Logout"]::before { + position: absolute; + right: 14px; + width: 25px; + height: 25px; + content: ""; + background: url(./icon/logout.svg) no-repeat; + background-size: 25px; + } + + .main>.main-left>.nav>.slide:hover { + background: none; + } + + .main>.main-left>.nav>.slide>.slide-menu>li>a { + white-space: nowrap; + text-decoration: none; + padding: 0.4rem 2rem; + } + + .main>.main-left>.nav>.slide>.slide-menu>li:not(.active):hover>a { + color: #fff; + } + + .main>.main-left>.nav>.slide>.slide-menu>.active:hover { + background-color: var(--main-color); + } + + .main>.main-left>.nav>.slide>.menu, + .main>.main-left>.nav>.slide>.slide-menu>li, + .main>.main-left>.nav>li>[data-title="Logout"], + .main>.main-left>.nav>li>[data-title="iStore"] { + position: relative; + overflow: hidden; + transform: translate3d(0, 0, 0); + } + + .main>.main-left>.nav>.slide>.menu::after, + .main>.main-left>.nav>.slide>.slide-menu>li::after, + .main>.main-left>.nav>li>[data-title="Logout"]::after, + .main>.main-left>.nav>li>[data-title="iStore"]::after { + position: absolute; + top: 0; + left: 0; + display: block; + width: 100%; + height: 100%; + content: ""; + transition: transform 0.5s, opacity 1s; + transform: scale(10, 10); + pointer-events: none; + opacity: 0; + background-image: radial-gradient(circle, #000 10%, transparent 10.01%); + background-repeat: no-repeat; + background-position: 50%; + } + + .main>.main-left>.nav>.slide>.menu:active::after, + .main>.main-left>.nav>.slide>.slide-menu>li:active::after, + .main>.main-left>.nav>li>[data-title="Logout"]:active::after, + .main>.main-left>.nav>li>[data-title="iStore"]:active::after { + transition: 0s; + transform: scale(0, 0); + opacity: 0.2; + } + + #maincontent>.container { + margin: 0 2rem 1rem; + } + + ul { + line-height: normal; + } + + li { + list-style-type: none; + } + + h1 { + font-size: 2rem; + padding-bottom: 10px; + border-bottom: thin solid #eee; + } + + h2 { + font-size: 1.8rem; + font-family: "Quicksand-Bold"; + letter-spacing: 5px; + text-align: center; + padding-bottom: 10px; + margin: 2rem 0 0; + color: #ffffff; + animation-duration: 1s; + animation-name: down; + } + + h3 { + font-size: 1.2rem; + font-family: 'Inter-Bold'; + letter-spacing: 2px; + padding-bottom: 10px; + margin: 2rem 0 0; + color: #ffffff; + } + + h4 { + font-size: 1.2rem; + color: #fff; + padding-bottom: 10px; + margin: 2rem 0 0; + } + + h5 { + font-size: 1rem; + padding-bottom: 10px; + margin: 2rem 0 0; + } + + .cbi-tab-descr { + color: #09c; + margin: 1em; + padding: 1rem; + } + + #tabmenu { + padding: 0; + } + + .cbi-section, + .cbi-section-error, + #iptables, + .Firewall form, + #cbi-network>.cbi-section-node, + #cbi-wireless>.cbi-section-node, + #cbi-wireless>#wifi_assoclist_table, + [data-tab-title], + [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), + [data-page="admin-system-opkg"] #maincontent>.container { + font-family: inherit; + font-weight: 400; + font-style: normal; + line-height: normal; + min-width: inherit; + border: 0; + border-radius: 0; + background-color: #2222359a; + margin: 1rem 0 0; + padding: 2rem; + border-radius: 20px; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + } + + .cbi-modal .cbi-section, + .cbi-section .cbi-section {} + + .cbi-modal .cbi-tabmenu { + margin-left: 0; + } + + .cbi-map-descr, + .cbi-section-descr { + font-size: small; + text-align: center; + line-height: 1.42857143; + color: #999; + padding: 0.5rem; + } + + .cbi-section>legend { + display: none !important; + } + + fieldset>fieldset, + .cbi-section>.cbi-section { + border: 0; + box-shadow: none; + margin: 0; + padding: 0; + } + + .cbi-section>h3:first-child, + .panel-title { + font-size: 1.4rem; + line-height: 1; + display: block; + width: 100%; + padding-bottom: 1rem; + color: #e4e4e4; + border-bottom: thin solid #eeeeee00; + margin: 0 0 0.5rem; + } + + .cbi-section>h4:first-child, + .cbi-section>p:first-child, + [data-tab-title]>h3:first-child, + [data-tab-title]>h4:first-child, + [data-tab-title]>p:first-child { + padding-top: 1rem; + } + + table { + border-spacing: 0; + border-collapse: collapse; + } + + table, + .table { + overflow-y: hidden; + width: 100%; + border-radius: 10px; + } + + .container>.cbi-section:first-of-type>.table[width="100%"]>.tr>.td { + padding: 0.6rem; + } + + .cbi-section-table-cell { + line-height: 1.1; + align-self: flex-end; + flex: 1 1 auto; + } + + tr>td, + tr>th, + .tr>.td, + .tr>.th, + .cbi-section-table-row::before, + #cbi-wireless>#wifi_assoclist_table>.tr:nth-child(2) { + color: #ffffff; + border-top: thin solid rgba(255, 255, 255, 0); + } + + .table[width="100%"]>.tr:first-child>.td { + margin: auto 0; + } + + .cbi-section-table-row { + margin-bottom: 1rem; + text-align: center !important; + } + + .cbi-section-table-row:last-child { + margin-bottom: 0; + } + + .cbi-section-table-row>.cbi-value-field [data-dynlist]>input, + .cbi-section-table-row>.cbi-value-field input.cbi-input-password { + width: calc(100% - 1.5rem); + } + + table table, + .table .table, + .cbi-value-field table, + .cbi-value-field .table, + td>table>tbody>tr>td, + .td>.table>.tbody>.tr>.td, + .cbi-value-field>table>tbody>tr>td, + .cbi-value-field>.table>.tbody>.tr>.td { + border: 0; + } + + .btn, + .cbi-button, + .item::after { + font-size: 0.8rem; + display: inline-block; + width: auto !important; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + transition: all 0.2s ease-in-out; + text-align: center; + vertical-align: middle; + white-space: nowrap; + text-decoration: none; + text-transform: uppercase; + color: rgba(0, 0, 0, 0.87); + border: 0; + background-color: #f0f0f0; + background-image: none; + -webkit-appearance: none; + -ms-touch-action: manipulation; + touch-action: manipulation; + padding: 0 0.8rem; + } + + .cbi-button-up { + transform: scaleY(-1); + } + + .cbi-button:not(select) { + -webkit-appearance: none !important; + } + + .cbi-button+.cbi-button { + margin-left: 0.6rem; + } + + .btn:hover, + .btn:focus, + .btn:active, + .cbi-button:hover, + .cbi-button:focus, + .cbi-button:active, + .item:hover::after, + .item:focus::after, + .item:active::after, + .cbi-page-actions .cbi-button-apply+.cbi-button-save:hover, + .cbi-page-actions .cbi-button-apply+.cbi-button-save:focus, + .cbi-page-actions .cbi-button-apply+.cbi-button-save:active { + text-decoration: none; + outline: 0; + } + + .btn:hover, + .btn:focus, + .cbi-button:hover, + .cbi-button:focus, + .item:hover::after, + .item:focus::after { + box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2); + } + + .btn:active, + .cbi-button:active, + .item:active::after { + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); + } + + .cbi-button-up:hover, + .cbi-button-up:focus { + box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 -2px 2px rgba(0, 0, 0, 0.2); + } + + .cbi-button-up:active { + box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.19), 0 -6px 6px rgba(0, 0, 0, 0.23); + } + + .btn:disabled, + .cbi-button:disabled { + cursor: not-allowed; + pointer-events: none; + opacity: 0.5; + box-shadow: none; + } + + .alert-message [class="btn"], + .modal div[class="btn"], + .cbi-button-find, + .cbi-button-link, + .cbi-button-up, + .cbi-button-down, + .cbi-button-neutral, + .cbi-button[name="zero"], + .cbi-button[name="restart"], + .cbi-button[onclick="hide_empty(this)"] { + font-weight: 700; + background-color: #d4d4d4; + } + + .btn.primary, + .cbi-page-actions .cbi-button-save, + .cbi-page-actions .cbi-button-apply+.cbi-button-save, + .cbi-button-add, + .cbi-button-save, + .cbi-button-positive, + .cbi-button-link, + .cbi-button[value="Enable"], + .cbi-button[value="Scan"], + .cbi-button[value^="Back"], + .cbi-button-neutral[onclick="handleConfig(event)"] { + font-weight: 400; + color: #fff; + background-color: rgba(0, 229, 255, 0.47); + border-radius: 20px; + } + + .cbi-page-actions .cbi-button-apply, + .cbi-section-actions .cbi-button-edit, + .cbi-button-edit, + .cbi-button-apply, + .cbi-button-reload, + .cbi-button-action, + .cbi-button[value="Submit"], + .cbi-button[value="Upload"], + .cbi-button[value$="Apply"], + .cbi-button[onclick="addKey(event)"] { + font-weight: 400; + color: #fff; + background-color: rgba(0, 229, 255, 0.47); + border-radius: 20px; + } + + .btn.danger, + .cbi-section-remove>.cbi-button, + .cbi-button-remove, + .cbi-button-reset, + .cbi-button-negative, + .cbi-button[value="Stop"], + .cbi-button[value="Kill"], + .cbi-button[onclick="reboot(this)"], + .cbi-button-neutral[value="Restart"] { + font-weight: 400; + color: #fff; + background-color: rgba(255, 0, 0, 0.47); + border-radius: 20px; + } + + .btn[value="Dismiss"], + .cbi-button[value="Terminate"], + .cbi-button[value="Reset"], + .cbi-button[value="Disabled"], + .cbi-button[onclick^="iface_reconnect"], + .cbi-button[onclick="handleReset(event)"], + .cbi-button-neutral[value="Disable"] { + font-weight: 400; + color: #fff; + border: thin solid #eea236; + background-color: #f0ad4e; + } + + .cbi-button-success, + .cbi-button-download, + .cbi-button[name="backup"], + .cbi-button[value="Download"], + .cbi-button[value="Save mtdblock"] { + font-weight: 400; + color: #fff; + border: thin solid #4cae4c; + background-color: #5cb85c; + } + + .a-to-btn { + text-decoration: none; + } + + .cbi-value-field .cbi-button-add { + font-weight: 700; + margin: 9px 0 4px 3px; + padding: 1px 6px; + } + + .tabs { + border-bottom: 0; + background-color: #2222359a; + border-radius: 20px; + padding: 9px; + padding-bottom: 3px; + padding-top: 3px; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + } + + .tabs>li, + .cbi-tabmenu>li { + display: inline-block; + cursor: pointer; + padding: 0.4rem; + margin: 0.3rem; + align-items: center; + + } + + .tool_label_span { + color: aqua; + } + + .tabs>li { + padding-bottom: 0.4rem; + } + + .tabs>li[class~="active"], + .tabs>li:hover { + border-bottom-color: var(--main-color); + } + + .tabs>li:hover { + cursor: pointer; + border-bottom-color: #c9c9c9; + } + + .tabs>li>a, + .cbi-tabmenu>li>a { + text-decoration: none; + color: #ffffff; + padding: 0.6rem 0.9rem; + + } + + .tabs>li[class~="active"]>a { + color: var(--main-color); + } + + .cbi-tabmenu { + border-bottom: 0; + background-color: #2222359a; + border-radius: 20px; + padding: 9px; + padding-bottom: 3px; + padding-top: 3px; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + } + + .cbi-tabmenu>li:hover { + background-color: #474747; + border-radius: 20px; + + + } + + .cbi-tabmenu>li[class~="cbi-tab"] { + background-color: #ff94946a; + border-radius: 20px; + } + + .cbi-tabmenu>li[class~=data-tab=] { + color: #ffffff; + } + + [data-tab-title] { + overflow: hidden; + height: 0; + opacity: 0; + margin: 0; + padding: 0rem 1rem !important; + } + + [data-tab-active="true"] { + overflow: visible; + height: auto; + opacity: 1; + transition: opacity 0.25s ease-in; + margin: inherit !important; + } + + .cbi-section-node-tabbed { + margin-top: 0; + border-top: 0; + padding: 0; + } + + .cbi-value-field, + .cbi-value-description { + line-height: 1.25; + display: table-cell; + } + + .cbi-value-description { + font-size: small; + padding-top: 0.4rem; + opacity: 0.5; + color: #fff; + } + + .cbi-value-title { + display: table-cell; + float: left; + width: 23rem; + padding-top: 0.35rem; + padding-right: 2rem; + text-align: right; + word-wrap: break-word; + } + + .cbi-value { + display: inline-block; + width: 100%; + padding: 0.35rem 1rem 0.2rem; + } + + .cbi-value ul { + line-height: 1.25; + } + + .cbi-value-field .cbi-dropdown, + .cbi-value-field .cbi-input-select, + .cbi-value input[type="text"], + .cbi-value input[type="password"] { + min-width: 25rem; + } + + #cbi-firewall-zone .cbi-input-select, + #cbi-network-switch_vlan .cbi-input-select { + min-width: 11rem; + } + + #cbi-network-switch_vlan .cbi-input-text { + max-width: 3rem; + } + + .cbi-input-invalid { + color: red; + border-bottom-color: red; + } + + .cbi-section-error { + font-weight: 700; + line-height: 1.42857143; + border: thin solid red; + border-radius: 3px; + background-color: #fce6e6; + margin: 18px; + padding: 6px; + } + + .cbi-section-error ul { + margin: 0 0 0 20px; + } + + .cbi-section-error ul li { + font-weight: 700; + color: red; + } + + .td[data-title]::before { + font-weight: 700; + display: none; + content: attr(data-title) ":\20"; + text-align: left; + white-space: nowrap; + padding: 0.25rem 0; + } + + .tr[data-title]::before, + .tr.cbi-section-table-titles.named::before { + font-weight: 700; + display: table-cell; + align-self: center; + flex: 1 1 5%; + content: attr(data-title) "\20"; + text-align: center; + vertical-align: middle; + white-space: normal; + word-wrap: break-word; + padding: 0.25rem; + } + + .cbi-rowstyle-2 .cbi-button-up, + .cbi-rowstyle-2 .cbi-button-down, + body:not(.Interfaces) .cbi-rowstyle-2:first-child {} + + .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + width: auto !important; + } + + .td.cbi-section-actions { + text-align: right !important; + vertical-align: middle; + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 5px; + } + + .td.cbi-section-actions>* { + display: inline-flex; + } + + .td.cbi-section-actions>button { + display: block; + } + + .td.cbi-section-actions>*>*, + .td.cbi-section-actions>*>form>* { + margin: 0 5px; + } + + .td.cbi-section-actions>*>form { + display: inline-flex; + margin: 0; + } + + .cbi-dynlist { + line-height: 1.3; + flex-direction: column; + min-height: 30px; + cursor: text; + } + + .cbi-dynlist>.item { + position: relative; + max-width: 25rem; + margin-right: 2em; + pointer-events: none; + color: #666; + border-bottom: 2px solid rgba(0, 0, 0, 0.26); + outline: 0; + padding: 0.5em 0.25em 0.25em 0; + } + + .cbi-dynlist[name="sshkeys"]>.item { + max-width: none; + } + + .cbi-dynlist>.item::after { + font-weight: 700; + position: absolute; + right: -2em; + bottom: 0; + display: inline-flex; + min-height: 17px; + content: "\00D7"; + pointer-events: auto; + color: #fff; + border: thin solid #d43f3a; + background-color: #d9534f; + padding: 0 6px; + border-radius: 5px; + } + + .cbi-dynlist>.item>span { + white-space: normal; + word-break: break-word; + } + + .cbi-dynlist>.add-item { + display: inline-flex; + align-items: center; + width: 100%; + min-width: 16rem; + } + + .cbi-dynlist>.add-item:not([ondrop])>input { + overflow: hidden; + width: 100%; + min-width: 15rem; + white-space: nowrap; + text-overflow: ellipsis; + } + + .cbi-dynlist>.add-item[ondrop]>input { + min-width: 13rem; + } + + .cbi-dynlist, + .cbi-dropdown { + position: relative; + display: inline-flex; + padding: 0; + } + + .cbi-dropdown[placeholder*="select"] { + max-width: 25rem; + height: auto; + margin-top: -3px; + } + + .cbi-dropdown>ul { + display: flex; + overflow-x: hidden; + overflow-y: auto; + width: 100%; + list-style: none; + outline: 0; + margin: 0 !important; + padding: 0; + } + + .cbi-dropdown>.open { + flex-basis: 15px; + } + + .cbi-dropdown>.open, + .cbi-dropdown>.more { + font-size: 1rem; + font-weight: 900; + line-height: 2; + display: flex; + flex-direction: column; + flex-grow: 0; + flex-shrink: 0; + justify-content: center; + cursor: default; + text-align: center; + outline: 0; + padding: 0 0.25em; + } + + .cbi-dropdown.btn { + min-height: 1.8rem; + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; + } + + .cbi-dropdown.btn>.open { + font-size: 0.8rem; + margin: 0 5px; + padding: 0px; + } + + .cbi-dropdown.btn>div { + margin: 0px; + } + + .cbi-dropdown>.more, + .cbi-dropdown>ul>li[placeholder] { + font-weight: 700; + display: none; + color: #777; + } + + .cbi-dropdown>ul>li { + display: none; + overflow: hidden; + align-items: center; + align-self: center; + flex-grow: 1; + flex-shrink: 1; + min-height: 20px; + white-space: nowrap; + text-overflow: ellipsis; + padding: 0.3rem; + } + + .cbi-dropdown>ul>li[display]:not([display="0"]) { + border-left: thin solid #ccc; + } + + .cbi-dropdown[empty]>ul { + max-width: 1px; + } + + .cbi-dropdown>ul>li>form { + display: none; + pointer-events: none; + margin: 0; + padding: 0; + } + + .cbi-dropdown>ul>li img { + margin-right: 0.25em; + vertical-align: middle; + } + + .cbi-dropdown>ul>li>form>input[type="checkbox"] { + height: auto; + margin: 0; + } + + .cbi-dropdown>ul>li input[type="text"] { + height: 20px; + } + + .cbi-dropdown[open]>ul.dropdown { + position: absolute; + z-index: 1100; + display: block; + width: auto; + min-width: 100%; + max-width: none; + max-height: 200px !important; + border: thin solid #918e8c; + background: #787878a8; + box-shadow: 0 0 4px #918e8c; + color: var(--main-menu-color); + } + + .cbi-dropdown>ul>li[display], + .cbi-dropdown[open]>ul.preview, + .cbi-dropdown[open]>ul.dropdown>li, + .cbi-dropdown[multiple]>ul>li>label, + .cbi-dropdown[multiple][open]>ul.dropdown>li, + .cbi-dropdown[multiple][more]>.more, + .cbi-dropdown[multiple][empty]>.more { + display: flex; + align-items: center; + flex-grow: 1; + justify-content: space-around; + } + + .cbi-dropdown[open]>ul.dropdown>li {} + + .cbi-dropdown[open]>ul.dropdown>li[selected] { + background: #b0d0f0; + } + + .cbi-dropdown[open]>ul.dropdown>li.focus { + background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%); + } + + .cbi-dropdown[open]>ul.dropdown>li:last-child { + margin-bottom: 0; + } + + .cbi-dropdown[open]>ul.dropdown>li[unselectable] { + opacity: 0.7; + } + + .cbi-dropdown[disabled] { + pointer-events: none; + opacity: 0.6; + } + + .cbi-dropdown[open] .zonebadge { + width: auto; + } + + .cbi-progressbar { + border-radius: 15px; + overflow: hidden; + position: relative; + min-width: 170px; + height: 30px; + background: #11111d61; + margin: 6px 0; + } + + .cbi-progressbar title { + font-family: "Quicksand-Bold"; + letter-spacing: 5px; + text-align: center; + padding-bottom: 10px; + margin: 2rem 0 0; + color: #ffffff; + } + + .cbi-progressbar>div { + width: 0; + height: 100%; + transition: width 2s ease-in; + background: #0099cc; + padding: 0.5rem; + } + + .cbi-progressbar::after { + font-family: monospace; + font-size: 1.2em; + font-weight: 700; + font-size-adjust: 0.38; + line-height: normal; + position: absolute; + top: 50%; + transform: translateY(-50%); + right: 0; + left: 0; + overflow: hidden; + content: attr(title); + text-align: center; + white-space: pre; + text-overflow: ellipsis; + text-shadow: 0 0 2px #eee; + } + + #modal_overlay { + position: fixed; + z-index: 900; + top: 4rem; + right: 10000px; + bottom: 0; + left: -10000px; + overflow-y: scroll; + transition: opacity 0.125s ease-in; + opacity: 0; + background: rgba(0, 0, 0, 0.7); + -webkit-overflow-scrolling: touch; + } + + .modal { + display: flex; + align-items: center; + flex-wrap: wrap; + width: 90%; + min-width: 270px; + max-width: 600px; + min-height: 32px; + border-radius: 20px !important; + background: #8f8f8f75; + margin: 5em auto; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + padding: 1em; + + } + + .modal>* { + line-height: normal; + flex-basis: 100%; + margin-bottom: 0.5em; + max-width: 100%; + } + + .modal>pre, + .modal>textarea { + font-size: 1rem; + font-size-adjust: 0.35; + overflow: auto; + margin-bottom: 0.5em; + cursor: auto; + white-space: pre-wrap; + color: #eee; + outline: 0; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12); + padding: 8.5px; + } + + .modal>h4 { + margin: 0.5em 0; + } + + .modal ul { + margin-left: 2.2em; + } + + .modal li { + list-style-type: square; + color: rgb(216, 216, 216); + } + + .modal p { + padding-left: 0.25rem; + word-break: break-word; + } + + .modal .label { + font-size: 0.6rem; + font-weight: 400; + cursor: default; + border-radius: 0; + padding: 0.1rem 0.3rem 0; + } + + .modal .label.warning { + background-color: #f0ad4e !important; + } + + .modal.cbi-modal { + max-width: 90%; + max-height: none; + } + + body.modal-overlay-active { + overflow: hidden; + height: 100vh; + } + + body.modal-overlay-active #modal_overlay { + right: 0; + left: 0; + opacity: 1; + } + + .spinning { + position: relative; + padding-left: 32px !important; + color: #fff; + } + + .spinning::before { + position: absolute; + font-size: medium; + font-style: "Quicksand-Bold"; + left: 8px; + width: 20px; + height: 20px; + content: ""; + animation: anim-rotate 2s infinite cubic-bezier(0.18, 0.89, 0.32, 1.28); + background: url(./icon/loading.svg) no-repeat center; + background-size: 20px; + } + } + + .left, + .left::before { + text-align: left !important; + } + + .right, + .right::before { + text-align: right !important; + } + + .top { + align-self: flex-start !important; + vertical-align: top !important; + } + + .bottom { + align-self: flex-end !important; + vertical-align: bottom !important; + } + + .inline { + display: inline; + } + + .cbi-page-actions { + padding-top: 1rem; + text-align: center; + } + + .cbi-page-actions>form[method="post"] { + display: inline-block; + } + + .th[data-type="button"], + .td[data-type="button"], + .th[data-type="fvalue"], + .td[data-type="fvalue"] { + flex: 1 1 2em; + text-align: center; + } + + .ifacebadge { + display: inline-flex; + background: #ffffff33; + padding: 0.5rem 0.8rem; + border-radius: 10px; + } + + td>.ifacebadge, + .td>.ifacebadge { + font-size: 0.8rem; + background-color: #000000; + border-radius: 10px; + } + + .ifacebadge>em, + .ifacebadge>img { + display: inline-block; + align-self: flex-start; + margin: 0 0.2rem; + } + + .ifacebadge>img+img { + margin: 0 0.2rem 0 0; + } + + .network-status-table .ifacebox { + flex-grow: 1; + margin: 0.5em; + } + + .network-status-table .ifacebox-body { + display: flex; + flex-direction: column; + height: 100%; + } + + .network-status-table .ifacebox-body>span { + flex: 10 10 auto; + height: 100%; + } + + .network-status-table .ifacebox-body .ifacebadge { + align-items: center; + flex: 1 1 auto; + min-width: 220px; + background-color: #11111d; + margin: 0.5em 0.25em 0; + padding: 0.5em; + border-radius: 10px; + } + + .cbi-input-textarea { + font-family: monospace; + width: 100%; + min-height: 14rem; + color: #000; + padding: 0.8rem; + } + + #syslog { + font-size: small; + overflow-y: hidden; + width: 100%; + min-height: 15rem; + resize: none; + color: #eee; + border: 0; + border-radius: 20px; + background-color: #10101057; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12); + padding: 1rem; + } + + #syslog:focus { + outline: 0; + } + + .uci-change-list { + font-family: monospace; + } + + .uci-change-list ins, + .uci-change-legend-label ins { + display: block; + text-decoration: none; + border: thin solid #0f0; + background-color: #cfc; + padding: 2px; + } + + .uci-change-list del, + .uci-change-legend-label del { + font-style: normal; + display: block; + text-decoration: none; + border: thin solid red; + background-color: #fcc; + padding: 2px; + } + + .uci-change-list var, + .uci-change-legend-label var { + font-style: normal; + display: block; + text-decoration: none; + border: thin solid #ccc; + background-color: #eee; + padding: 2px; + } + + .uci-change-list var ins, + .uci-change-list var del { + font-style: normal; + white-space: pre; + border: 0; + padding: 0; + } + + .uci-change-legend { + padding: 5px; + } + + .uci-change-legend-label { + float: left; + width: 150px; + color: #fff; + } + + .uci-change-legend-label>ins, + .uci-change-legend-label>del, + .uci-change-legend-label>var { + display: block; + float: left; + width: 10px; + height: 10px; + margin-right: 4px; + } + + .uci-change-legend-label var ins, + .uci-change-legend-label var del { + line-height: 0.4; + border: 0; + } + + #iwsvg, + #iwsvg2, + #bwsvg { + border: thin solid #d4d4d4 !important; + } + + .ifacebox { + line-height: 1.25; + display: inline-flex; + flex-direction: column; + min-width: 100px; + background-color: #54545450; + border-radius: 20px; + flex-wrap: nowrap; + align-content: center; + justify-content: flex-start; + align-items: center; + } + + div.ifacebox-head { + --zone-color-rgb: 144, 240, 144; + background-color: rgb(43, 79, 43); + } + + style attribute { + --zone-color-rgb: 144, 240, 144; + background-color: rgb(43, 79, 43); + } + + .ifacebox-head { + background: #939393; + padding: 0.25em; + color: #fff; + } + + .ifacebox-head.active { + background: var(--bar-bg); + } + + .ifacebox-body { + padding: 0.25em; + } + + .cbi-image-button { + margin-left: 0.5rem; + } + + .zonebadge { + display: inline-block; + padding: 0.2rem 0.5rem; + } + + .zonebadge .ifacebadge { + border: thin solid #6c6c6c; + margin: 0.1rem 0.2rem; + padding: 0.2rem 0.3rem; + } + + .zonebadge>input[type="text"] { + min-width: 10rem; + margin-top: 0.3rem; + padding: 0.16rem 1rem; + } + + .zonebadge>em, + .zonebadge>strong { + display: inline-block; + margin: 0 0.2rem; + } + + .cbi-value-field .cbi-input-checkbox, + .cbi-value-field .cbi-input-radio { + margin-top: 0.1rem; + } + + .cbi-value-field>ul>li .ifacebadge { + margin-top: -0.5rem; + margin-left: 0.4rem; + background-color: #eee; + } + + .cbi-section-table-row>.cbi-value-field .cbi-dropdown { + min-width: 7rem; + } + + .cbi-section-create { + display: inline-flex; + align-items: center; + margin: 0.5rem -3px; + } + + .cbi-section-create>* { + margin: 0.5rem; + } + + div.cbi-value var, + td.cbi-value-field var, + .td.cbi-value-field var { + font-style: italic; + color: #0069d6; + } + + .cbi-optionals { + border-top: thin solid #ccc; + padding: 1rem 1rem 0; + } + + .cbi-dropdown-container { + position: relative; + } + + .cbi-tooltip-container, + span[data-tooltip], + span[data-tooltip] .label { + cursor: help !important; + text-align: left !important; + font-size: 80% !important; + color: #fff !important; + } + + .cbi-tooltip { + position: absolute; + z-index: 1000; + left: -1000px; + transition: opacity 0.25s ease-out; + white-space: pre; + pointer-events: none; + opacity: 0; + border-radius: 20px; + background: #54545450; + box-shadow: 0 0 2px #444; + padding: 2px 5px; + -webkit-backdrop-filter: blur(20px); + backdrop-filter: blur(20px); + + } + + .cbi-tooltip-container:hover .cbi-tooltip { + left: auto; + transition: opacity 0.25s ease-in; + opacity: 1; + } + + .zonebadge .cbi-tooltip { + background: inherit; + margin: -1.5rem 0 0 -0.5rem; + padding: 0.25rem; + } + + .zonebadge-empty { + color: #404040; + background: repeating-linear-gradient(45deg, + rgba(204, 204, 204, 0.5), + rgba(204, 204, 204, 0.5) 5px, + rgba(255, 255, 255, 0.5) 5px, + rgba(255, 255, 255, 0.5) 10px); + } + + .zone-forwards { + display: flex; + min-width: 10rem; + } + + .zone-forwards>* { + flex: 1 1 45%; + } + + .zone-forwards>span { + flex-basis: 10%; + text-align: center; + padding: 0 0.25rem; + } + + .zone-forwards .zone-src, + .zone-forwards .zone-dest { + display: flex; + flex-direction: column; + } + + label>input[type="checkbox"], + label>input[type="radio"] { + position: relative; + top: 0.4rem; + right: 0.2rem; + vertical-align: bottom; + margin: 0; + } + + label[data-index][data-depends] { + padding-right: 2em; + } + + .darkMask { + position: fixed; + z-index: 99; + width: 100%; + height: 100%; + content: ""; + transition: opacity 400ms, visibility 400ms; + visibility: hidden; + opacity: 0; + background-color: #2222359a; + } + + #diag-rc-output>pre, + #command-rc-output>pre, + [data-page="admin-services-wol"] .notice code { + font-size: 1.2rem; + font-size-adjust: 0.35; + line-height: normal; + display: block; + overflow-y: hidden; + width: 100%; + white-space: pre; + color: #eee; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12); + padding: 8.5px; + } + + input[name="ping"], + input[name="traceroute"], + input[name="nslookup"] { + width: 80%; + } + + .node-main-login>.main fieldset { + display: inline; + overflow: hidden; + margin-bottom: 1rem; + border: 0; + background: none; + box-shadow: none; + padding: 0.5rem; + } + + .node-main-login>.main .cbi-value-title { + width: 9.5rem; + } + + .node-main-login>.main #maincontent { + text-align: center; + } + + .node-main-login>.main .container { + display: inline-block; + margin-top: 2rem !important; + text-align: left; + background-color: #2e2b2b00; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12); + padding: 1rem 3.5rem 2rem; + } + + .node-main-login>.main .cbi-value>* { + display: inline-block !important; + } + + .node-main-login>.main .cbi-input-text { + width: 100% !important; + min-width: 15rem; + } + + .node-status-overview>.main fieldset:nth-child(4) .td:nth-child(2), + .node-status-processes>.main .table .tr .td:nth-child(3) { + white-space: normal; + } + + [data-page="admin-system-reboot"] p { + padding-left: 2rem; + } + + [data-page="admin-system-reboot"] p>span { + position: relative; + top: 0.1rem; + left: 1rem; + } + + #cbi-samba [data-tab="template"] .cbi-value-title { + width: auto; + padding-bottom: 0.6rem; + } + + .controls>*>.btn:not([aria-label$="page"]) { + flex-grow: initial !important; + margin-top: 0.1rem; + } + + .controls>#pager>.btn[aria-label$="page"] { + font-size: 1.4rem; + font-weight: 700; + } + + .controls>*>label { + margin-bottom: 0.2rem; + } + + [data-page="admin-system-opkg"] div.btn { + display: inline; + padding: 0.3rem 0.6rem; + } + + [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), + [data-page="admin-system-opkg"] #maincontent>.container { + margin-top: 2rem; + padding-top: 0.1rem; + } + + [data-page="admin-system-opkg"] #maincontent>.container { + margin: 2rem 2rem 1rem; + } + + .td.version, + .td.size { + white-space: normal !important; + word-break: break-word; + } + + .cbi-tabmenu+.cbi-section { + margin-top: 0; + } + + #cbi-wireless>#wifi_assoclist_table>.tr { + box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd; + } + + #cbi-wireless>#wifi_assoclist_table>.tr.placeholder>.td { + right: 33px; + bottom: 33px; + left: 33px; + border-top: thin solid #ddd !important; + } + + #cbi-wireless>#wifi_assoclist_table>.tr.table-titles { + box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd; + } + + #cbi-wireless>#wifi_assoclist_table>.tr.table-titles>.th { + border-bottom: thin solid #ddd; + box-shadow: 0 -1px 0 0 #ddd; + } + + #wifi_assoclist_table>.tr>.td[data-title="RX Rate / TX Rate"] { + width: 23rem; + } + + #iptables { + margin: 0; + } + + .Firewall form { + box-shadow: none; + margin: 2rem 2rem 0 0; + padding: 0; + } + + #cbi-firewall-redirect table *, + #cbi-network-switch_vlan table *, + #cbi-firewall-zone table * { + font-size: small; + } + + #cbi-firewall-redirect table input[type="text"], + #cbi-network-switch_vlan table input[type="text"], + #cbi-firewall-zone table input[type="text"] { + width: 5rem; + } + + #cbi-firewall-redirect table select, + #cbi-network-switch_vlan table select, + #cbi-firewall-zone table select { + min-width: 3.5rem; + } + + #cbi-network-switch_vlan .th, + #cbi-network-switch_vlan .td { + flex-basis: 12%; + } + + #applyreboot-container { + margin: 2rem; + } + + #applyreboot-section { + line-height: 300%; + margin: 2rem; + } + + .OpenVPN a { + line-height: initial !important; + } + + .commandbox { + width: 24% !important; + border-bottom: thin solid #ccc; + background: #eee; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), + 0 1px 2px rgba(0, 0, 0, 0.05); + margin: 10px 0 0 10px !important; + padding: 0.5rem 1rem; + } + + .commandbox h3 { + line-height: normal !important; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin: 6px 0 !important; + } + + .commandbox div { + left: auto !important; + } + + .commandbox code { + position: absolute; + overflow: hidden; + max-width: 60%; + margin-left: 4px; + white-space: nowrap; + text-overflow: ellipsis; + padding: 2px 3px; + } + + .commandbox code:hover { + overflow-y: auto; + max-height: 50px; + white-space: normal; + } + + .commandbox p:first-of-type { + margin-top: -6px; + } + + .commandbox p:nth-of-type(2) { + margin-top: 2px; + } + + #command-rc-output .alert-message { + line-height: 1.42857143; + position: absolute; + top: 40px; + right: 32px; + max-width: 40%; + animation: anim-fade-in 1.5s forwards; + word-break: break-word; + opacity: 0; + margin: 0; + } + + .table[width="100%"], + .th[width="100%"], + .td[width="100%"], + .cbi-section-table-row>.cbi-value-field .cbi-dropdown, + .cbi-section-table-row>.cbi-value-field .cbi-input-select, + .cbi-section-table-row>.cbi-value-field .cbi-input-text, + .cbi-section-table-row>.cbi-value-field .cbi-input-password, + .cbi-dropdown[open]>ul.dropdown>li>input.create-item-input:first-child:last-child, + .cbi-dropdown .zonebadge, + .node-main-login>.main>.main-right, + #cbi-firewall-zone .td, + #cbi-network-switch_vlan .td { + width: 100%; + min-width: 60px; + } + + .cbi-rowstyle-2 { + background-color: ; + } + + .pull-right, + .node-main-login>.main form>div:last-child { + float: right; + } + + .pull-left, + .cbi-page-actions .cbi-button-link:first-child { + float: left; + } + + #modemenu>li>a, + .label { + background-color: rgb(104, 104, 104); + color: #fff !important; + font-size: 0.8rem; + font-weight: 700; + text-decoration: none; + text-shadow: none; + text-transform: uppercase; + white-space: nowrap; + padding: 0.3rem 0.8rem; + border-radius: 10px; + } + + [data-indicator="poll-status"][data-style="active"] { + position: absolute; + right: 14px; + width: 32px; + height: 32px; + content: ""; + background: url(./icon/loading.svg) no-repeat; + text-indent: -9999px; + animation: anim-rotate 5s infinite ease-in-out; + background-size: 32px; + } + + [data-indicator="poll-status"][data-style="inactive"] { + position: absolute; + right: 14px; + width: 32px; + height: 32px; + content: ""; + background: url(./icon/pause.svg) no-repeat; + text-indent: -9999px; + background-size: 32px; + } + + + [data-indicator="uci-changes"][data-style="active"] { + position: absolute; + width: 32px; + height: 32px; + content: ""; + background: url(./icon/save.svg) no-repeat; + text-indent: -9999px; + background-size: 32px; + } + + #modemenu>li>a.active, + .notice { + background-color: rgb(66, 66, 66) !important; + } + + #xhr_poll_status, + .cbi-value-field>ul>li { + display: flex; + } + + .alert-message .btn, + .modal .btn { + padding: 0.3rem 0.6rem; + } + + .container .alert, + .container .alert-message, + .cbi-map-descr+fieldset { + margin-top: 1rem; + } + + .main>.main-left>.nav, + .cbi-value-field>ul>li>label { + margin-top: 0.5rem; + } + + .main>.main-left>.nav>li.active>a, + .main>.main-left>.nav>.slide>.slide-menu>.active>a { + color: #fff; + } + + .main>.main-left>.nav>li.active, + .main>.main-left>.nav>.slide>.slide-menu>.active { + + background-color: var(--submenu-bg-hover-active); + border-radius: 10px; + } + + .main>.main-left>.nav>.slide>ul, + .main>.main-left[style*="overflow: hidden"]>.nav>.slide>.menu::before, + .tr.placeholder .td[data-title]::before, + .cbi-dropdown>ul.preview, + .cbi-dropdown>ul>li .hide-close, + .cbi-dropdown[open]>ul.dropdown>li .hide-open, + .hidden, + .showSide, + .node-main-login>.main>.main-left, + [data-page^="admin-system-commands"] .panel-title, + [data-page^="command-cfg"] .mobile-hide, + [data-page^="command-cfg"] .showSide { + display: none; + } + + .main>.main-left>.nav>.slide.active>ul, + .cbi-dropdown[empty]>ul>li, + .cbi-dropdown[optional][open]>ul.dropdown>li[placeholder], + .cbi-dropdown[multiple][open]>ul.dropdown>li>form, + .node-main-login>.main .cbi-value, + #cbi-samba [data-tab="template"] .cbi-value-field, + #cbi-firewall-zone .table, + #cbi-network-switch_vlan .table { + display: block; + } + + .main>.main-left>.nav>li:hover, + .main>.main-left>.nav>.slide>.menu:hover, + .main>.main-left>.nav>.slide>.slide-menu>li:hover { + background: var(--submenu-bg-hover); + border-radius: 10px; + } + + table>tbody>tr>td, + table>tbody>tr>th, + table>tfoot>tr>td, + table>tfoot>tr>th, + table>thead>tr>td, + table>thead>tr>th, + .table>.tbody>.tr>.td, + .table>.tbody>.tr>.th, + .table>.tfoot>.tr>.td, + .table>.tfoot>.tr>.th, + .table>.thead>.tr>.td, + .table>.thead>.tr>.th, + .table>.tr>.td.cbi-value-field, + .table>.tr>.th.cbi-section-table-cell, + .uci-change-list var, + .uci-change-list del, + .uci-change-list ins, + .cbi-section-remove { + padding: 0.5rem; + } + + #cbi-wireless .td, + #cbi-network .tr:first-child>.td, + .table[width="100%"]>.tr:first-child>.td, + [data-page="admin-network-diagnostics"] .tr>.td, + .tr.table-titles>.th, + .tr.cbi-section-table-titles>.th, + #iwsvg, + [data-page="admin-status-realtime-bandwidth"] #bwsvg { + border-top: 0 !important; + } + + .cbi-section-table-row .td, + .center, + .center::before { + text-align: center !important; + } + + div>table>tbody>tr:nth-of-type(2n), + div>.table>.tr:nth-of-type(2n), + .cbi-section .cbi-section-remove:nth-of-type(2n), + .container>.cbi-section .cbi-section-node:nth-of-type(2n), + .cbi-section[id] .cbi-section-remove:nth-of-type(4n + 3), + .cbi-section[id] .cbi-section-node:nth-of-type(4n + 4), + .cbi-tabcontainer>.cbi-value:nth-of-type(2n), + .cbi-rowstyle-1 {} + + .cbi-dropdown>ul>li .hide-open, + .cbi-dropdown[open]>ul.dropdown>li .hide-close { + display: initial; + } + + .network-status-table, + .network-status-table .ifacebox-body>div { + display: flex; + flex-wrap: wrap; + } + + [data-page="admin-network-diagnostics"] .table, + .node-main-login .cbi-section { + box-shadow: none; + } + + @keyframes down { + from { + margin-left: 50%; + opacity: 0; + } + + to { + margin-left: 0%; + opacity: 1; + } + } + + @keyframes anim-rotate { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + + 100% { + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } + } + + @media screen and (min-height: 585px) { + .node-main-login footer { + position: absolute; + bottom: 0; + width: 100%; + } + } + + @keyframes anim-fade-in { + 100% { + opacity: 1; + } + } + + @media all and (-ms-high-contrast: none) { + .main>.main-left>.nav>.slide>.menu::before { + top: 30.25%; + } + + .main>.main-left>.nav>li:last-child::before { + top: 20%; + } + + .showSide::before { + top: -12px; + } + } + + @media screen and (max-width: 1600px) { + header>.fill>.container { + display: flex; + align-items: center; + margin-top: 0; + } + + header>.fill>.container>#logo { + width: calc(13rem); + } + + .main>.main-left { + width: calc(0% + 13rem); + } + + .main>.main-right { + width: calc(100% - 13rem); + } + + .btn:not(button), + .cbi-button { + font-size: 0.8rem; + padding: 0.3rem 0.6rem; + position: relative; + /*bottom: -0.5rem;*/ + } + + .label, + [data-indicator] { + padding: 0.2rem 0.6rem; + } + + fieldset, + .cbi-section { + padding: 1rem; + } + + .cbi-value-title { + width: 15rem; + padding-right: 0.6rem; + } + + .cbi-value-field .cbi-dropdown, + .cbi-value-field .cbi-input-select, + .cbi-value input[type="text"], + .cbi-value input[type="password"] { + min-width: 22rem; + } + + #cbi-firewall-zone .cbi-input-select { + min-width: 9rem; + } + + .cbi-input-textarea { + font-size: small; + } + + .node-admin-status>.main fieldset li>a { + padding: 0.3rem 0.6rem; + } + } + + @media screen and (max-width: 2000000000px) { + header { + height: 3.5rem; + } + + header>.fill>.container { + margin-top: 0.25rem; + cursor: default; + padding: 0.5rem 1rem; + } + + .main { + top: 3.5rem; + height: calc(100% - 3.5rem); + } + + .main>.main-left { + top: 4.3rem; + width: calc(0% + 13rem); + height: calc(100% - 3.5rem); + } + + .main>.main-right { + width: calc(100% - 13rem); + } + + .tabs>li>a, + .cbi-tabmenu>li>a { + padding: 0.2rem 0.5rem; + } + + .cbi-section>h3:first-child, + .panel-title { + font-size: 1.1rem; + padding-bottom: 1rem; + } + + table { + font-size: 0.7rem !important; + width: 100% !important; + } + + .table .cbi-input-text { + width: 100%; + } + + .cbi-value-field .cbi-dropdown, + .cbi-value-field .cbi-input-select, + .cbi-value input[type="text"], + .cbi-value input[type="password"] { + min-width: 19rem; + } + + #cbi-firewall-zone .cbi-input-select { + min-width: 4rem; + } + + .main>.main-left>.nav>li, + .main>.main-left>.nav>li a, + .main>.main-left>.nav>.slide>.menu, + .main>.main-left>.nav>li>[data-title="Logout"], + .main>.main-left>.nav>li>[data-title="iStore"] { + font-size: 1rem; + color: #fff; + } + + .main>.main-left>.nav>.slide>.slide-menu>li>a { + font-size: 0.7rem; + color: #fff; + } + + #modal_overlay { + top: 3.5rem; + } + + [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) { + display: block; + } + + [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table), + [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table), + [data-page="admin-network-hosts"] .table, + [data-page="admin-network-routes"] .table { + overflow-y: visible; + } + + .commandbox { + width: 32% !important; + } + } + + @media screen and (max-width: 1152px) { + header>.fill>.container>.brand { + position: relative; + } + + html, + .main { + overflow-y: visible; + } + + .main>.loading>span { + top: 25%; + } + + .main>.main-left { + position: fixed; + z-index: 100; + visibility: hidden; + } + + .main>.main-right { + width: 100%; + } + + .showSide { + position: -webkit-sticky; + position: sticky; + top: 0rem; + display: inline-flex; + align-items: center; + height: 100%; + margin-right: 0.7rem; + cursor: pointer; + } + + body:not(.logged-in) .showSide { + visibility: hidden; + width: 0; + margin: 0; + } + + .cbi-value-title { + width: 12rem; + padding-right: 1rem; + } + + .cbi-value-field .cbi-dropdown, + .cbi-value-field .cbi-input-select, + .cbi-value input[type="text"] { + width: 16rem; + min-width: 16rem; + color: rgb(255, 255, 255); + } + + .cbi-value input[type="password"], + .cbi-value input[name^="pw"], + .cbi-value input[data-update="change"]:nth-child(2) { + width: 13rem !important; + min-width: 13rem; + color: #fff; + } + + #diag-rc-output>pre, + #command-rc-output>pre, + [data-page="admin-services-wol"] .notice code { + font-size: 1rem; + } + + .Interfaces .table { + overflow-x: hidden; + } + + #packages.table { + display: grid; + } + + .tr { + display: flex; + flex-direction: row; + flex-wrap: wrap; + } + + .Overview .table[width="100%"]>.tr { + flex-wrap: nowrap; + } + + .tr.placeholder { + border-bottom: thin solid #ddd; + } + + .tr.placeholder>.td, + #cbi-firewall .tr>.td, + #cbi-network .tr:nth-child(2)>.td, + .cbi-section #wifi_assoclist_table .tr>.td { + border-top: 0; + } + + .th, + .td { + display: inline-block; + align-self: flex-start; + flex: 2 2 25%; + text-overflow: ellipsis; + word-wrap: break-word; + } + + .td select, + .td input[type="text"] { + width: 100%; + word-wrap: normal; + } + + .td [data-dynlist]>input, + .td input.cbi-input-password { + width: calc(100% - 1.5rem); + } + + .td[data-type="button"], + .td[data-type="fvalue"] { + flex: 1 1 12.5%; + text-align: left; + } + + .th.cbi-value-field, + .td.cbi-value-field, + .th.cbi-section-table-cell, + .td.cbi-section-table-cell { + flex-basis: auto; + padding-top: 1rem; + } + + .cbi-section-table-row { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; + } + + .td.cbi-value-field, + .cbi-section-table-cell { + display: inline-block; + flex: 10 10 auto; + flex-basis: 50%; + text-align: center; + } + + .td.cbi-section-actions { + vertical-align: bottom; + } + + .tr[data-title]::before, + .tr.cbi-section-table-titles.named::before { + font-size: 0.9rem; + display: block; + flex: 1 1 100%; + border-bottom: thin solid rgba(0, 0, 0, 0.26); + background: #90c0e0; + } + + .cbi-button+.cbi-button { + margin-left: 0; + } + + .td.cbi-section-actions>*>*, + .td.cbi-section-actions>*>form>* { + margin: 2.1px 3px; + } + + .Firewall form { + position: static !important; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12); + margin: 0 0 2rem; + padding: 2rem; + } + + .Firewall form input { + width: 100% !important; + margin: 1rem 0 0; + } + + .Firewall .center, + .Firewall .center::before { + text-align: left !important; + } + + .commandbox { + width: 100% !important; + margin-left: 0 !important; + } + + .tr.table-titles, + .tr.cbi-section-table-titles, + .tr.cbi-section-table-descr { + display: none; + } + + .node-main-login>.main .cbi-value-title, + .td[data-title], + [data-page^="admin-status-realtime"] .td[id] { + text-align: left; + color: #ffffff; + } + + .table, + .td[data-title]::before { + display: block; + } + } + + @media screen and (max-width: 600px) { + header>.fill>.container>#logo { + padding: 1rem; + margin: 0; + position: absolute; + left: 50%; + top: 0; + width: 100px; + transform: translateX(-50%); + } + + header>.fill>.container>#logo>img { + width: 100%; + margin-top: 0; + } + + .cbi-progressbar::after { + font-size: 0.95em; + line-height: 1.5; + } + + fieldset, + .cbi-section { + margin: 1rem 0 0; + } + + } + + #maincontent>.container { + margin: 0 0.5rem 1.5rem; + } + + .main>.main-left>.nav>.slide>.menu, + .main>.main-left>.nav>li>[data-title="Logout"], + .main>.main-left>.nav>li>[data-title="iStore"] { + font-size: 1.1rem; + } + + .cbi-value-title { + display: block; + min-width: 0 !important; + text-align: left; + margin: 0.5rem 0; + } + + .cbi-value>.cbi-value-field { + display: inline-block; + } + + .tabs>li>a, + .cbi-tabmenu>li>a { + padding: 0.2rem 0.3rem; + } + + .cbi-page-actions>.cbi-button { + margin-top: 0.2rem; + } + + .node-main-login>.main .container { + margin: 2rem 1.2rem 1.5rem !important; + padding: 0.3rem 1.7rem 2rem 1.6rem; + } + + .node-main-login>.main .cbi-value { + padding: 0; + } + + .node-main-login>.main form>div:last-child { + margin-top: 2rem; + } + + .node-main-login>.main .cbi-value-title { + font-size: 1.2rem; + width: 100% !important; + } + + .node-main-login>.main fieldset { + margin: 0; + padding: 0.5rem; + } + + .commandbox p:first-of-type { + margin-top: -8px; + } + + #syslog, + #diag-rc-output>pre, + #command-rc-output>pre, + [data-page="admin-services-wol"] .notice code { + font-size: 0.8rem !important; + } + + h2 {} + + .cbi-section>h3:first-child, + .panel-title { + font-size: 1.2rem; + padding-bottom: 1rem; + } + + .node-system-packages>.main .cbi-value.cbi-value-last>div { + width: 100% !important; + } + + .th, + .td { + flex-basis: 50%; + color: #fff; + } + + .tr>.td[data-title="Sensor"] { + text-align: center; + } + + .tr>.td[data-title="Temperature"] { + text-align: center; + } + + .tr>.td[data-title="Hostname"] { + text-align: center; + } + + .tr>.td[data-title="IPv4 address"] { + text-align: center; + } + + .tr>.td[data-title="MAC address"] { + text-align: center; + } + + .tr>.td[data-title="Lease time remaining"] { + text-align: center; + } + + + .td.cbi-value-field { + flex-basis: 100%; + } + + .td.cbi-value-field[data-type="button"], + .td.cbi-value-field[data-type="fvalue"] { + flex-basis: 25%; + text-align: left; + } + + td>.ifacebadge, + .td>.ifacebadge { + font-size: 0.62rem; + } + + #cbi-wireless>#wifi_assoclist_table .td { + overflow: hidden; + } + + #cbi-wireless>.cbi-section-node .td, + .Interfaces .td.cbi-section-actions { + text-align: center !important; + } + + .cbi-modal { + padding: 0.5rem; + } + + .cbi-modal .cbi-value { + padding: 0 0 0.25rem; + } + + .cbi-modal [data-tab-title] { + padding: 0 0.25rem !important; + } + + [data-tab-title] { + padding: 0 0.5rem !important; + } + + body, + code { + font-size: 0.8rem; + } + + .main>.main-left>.nav>.slide>.slide-menu>li>a, + .tr[data-title]::before, + .tr.cbi-section-table-titles.named::before { + font-size: + } + + .cbi-value-title, + .cbi-value-description, + .cbi-value-field, + .cbi-value-field .cbi-dropdown, + .cbi-value-field .cbi-input-select, + .cbi-value input[type="text"], + .node-system-packages>.main .cbi-value .cbi-value-field input { + width: 30%; + color: #fff; + } + + .cbi-page-actions>div>input, + .mobile-hide, + [data-page="admin-status-processes"] .td[data-title="Hang Up"]::before, + [data-page="admin-status-processes"] .td[data-title="Terminate"]::before, + [data-page="admin-status-processes"] .td[data-title="Kill"]::before, + .hide-sm, + .hide-xs:not([data-title="MAC-Address"]) { + display: none; + } + + .tabs>li>a, + select, + input { + font-size: 0.9rem; + } + + @media screen and (min-width: 600px) { + ::-webkit-scrollbar { + width: 10px; + height: 10px; + } + + ::-webkit-scrollbar, + ::-webkit-scrollbar-corner { + background: transparent; + } + + ::-webkit-scrollbar-thumb { + background: #9e9e9e; + } + + ::-webkit-scrollbar-thumb:hover { + background: #757575; + } + + ::-webkit-scrollbar-thumb:active { + background: #424242; + } + } diff --git a/luci-theme-alpha/luasrc/gaya/icon/arrow.svg b/luci-theme-alpha/luasrc/gaya/icon/arrow.svg new file mode 100644 index 000000000..be864c5ac --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/luci-theme-alpha/luasrc/gaya/icon/loading.svg b/luci-theme-alpha/luasrc/gaya/icon/loading.svg new file mode 100644 index 000000000..0112b31a4 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/loading.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/logout.svg b/luci-theme-alpha/luasrc/gaya/icon/logout.svg new file mode 100644 index 000000000..78c0fe42b --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/logout.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/menu_icon.svg b/luci-theme-alpha/luasrc/gaya/icon/menu_icon.svg new file mode 100644 index 000000000..1833cee96 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/menu_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/interface.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/interface.png new file mode 100644 index 000000000..d5888cca9 Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/interface.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/modem.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/modem.png new file mode 100644 index 000000000..aa2d96a61 Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/modem.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/nas.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/nas.png new file mode 100644 index 000000000..de168033e Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/nas.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/neko.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/neko.png new file mode 100644 index 000000000..1fbab6bdd Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/neko.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/oc.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/oc.png new file mode 100644 index 000000000..7a7ded8b8 Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/oc.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/status.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/status.png new file mode 100644 index 000000000..1da03903e Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/status.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/navbar/terminal.png b/luci-theme-alpha/luasrc/gaya/icon/navbar/terminal.png new file mode 100644 index 000000000..4594e8c0c Binary files /dev/null and b/luci-theme-alpha/luasrc/gaya/icon/navbar/terminal.png differ diff --git a/luci-theme-alpha/luasrc/gaya/icon/pause.svg b/luci-theme-alpha/luasrc/gaya/icon/pause.svg new file mode 100644 index 000000000..862a712db --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/pause.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/save.svg b/luci-theme-alpha/luasrc/gaya/icon/save.svg new file mode 100644 index 000000000..690905dbd --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/save.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/app.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/app.svg new file mode 100644 index 000000000..366ace333 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/app.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/docker.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/docker.svg new file mode 100644 index 000000000..c28d199d9 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/docker.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/istore.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/istore.svg new file mode 100644 index 000000000..289c42094 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/istore.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/modem.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/modem.svg new file mode 100644 index 000000000..c270cbfe3 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/modem.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/nas.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/nas.svg new file mode 100644 index 000000000..273fadb71 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/nas.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/network.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/network.svg new file mode 100644 index 000000000..5131c1704 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/network.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/services.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/services.svg new file mode 100644 index 000000000..5280c990c --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/services.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/status.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/status.svg new file mode 100644 index 000000000..f1e3c2c8f --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/status.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/system.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/system.svg new file mode 100644 index 000000000..ba932d479 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/system.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/vpn.svg b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/vpn.svg new file mode 100644 index 000000000..0f48cba43 --- /dev/null +++ b/luci-theme-alpha/luasrc/gaya/icon/sidebar-icon/vpn.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/luci-theme-alpha/luasrc/style/brand.png b/luci-theme-alpha/luasrc/style/brand.png new file mode 100644 index 000000000..243457d8c Binary files /dev/null and b/luci-theme-alpha/luasrc/style/brand.png differ diff --git a/luci-theme-alpha/luasrc/style/catatan.txt b/luci-theme-alpha/luasrc/style/catatan.txt new file mode 100644 index 000000000..c74e132ee --- /dev/null +++ b/luci-theme-alpha/luasrc/style/catatan.txt @@ -0,0 +1 @@ +buat tambah login page disini diff --git a/luci-theme-alpha/luasrc/style/indo-wrt.png b/luci-theme-alpha/luasrc/style/indo-wrt.png new file mode 100644 index 000000000..fde99ef17 Binary files /dev/null and b/luci-theme-alpha/luasrc/style/indo-wrt.png differ diff --git a/luci-theme-alpha/luasrc/style/style.css b/luci-theme-alpha/luasrc/style/style.css new file mode 100644 index 000000000..a162c1051 --- /dev/null +++ b/luci-theme-alpha/luasrc/style/style.css @@ -0,0 +1,416 @@ +/*-------------------- +catatan usahakan untuk mengganti bg pakai format png, kalo jpg ganti aja di bagian body, sesuaikan aja nama formatnya +---------------------*/ +*, +*::before, +*::after { + box-sizing: border-box; +} + +body, +html { + height: 100%; + font-family: 'Segoe UI', Arial, Helvetica, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +body { + height: 100%; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + background-attachment: fixed; +} + + +/*-------------------- +Text +---------------------*/ + +h2, +h3 { + font-size: 16px; + letter-spacing: -1px; + line-height: 20px; +} + +h2 { + color: #fff; + text-align: center; +} + +h3 { + color: #032942; + text-align: right; +} + +/*-------------------- +Icons +---------------------*/ +.i { + width: 20px; + height: 20px; +} + +.i-login { + margin: 13px 0px 0px 15px; + position: relative; + float: left; + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDQxNi4yMjkgNDE2LjIyOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDE2LjIyOSA0MTYuMjI5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQwMy43MjksMjkuNjVINzEuODAyYy02LjkwMywwLTEyLjUsNS41OTctMTIuNSwxMi41djg2LjM2M2MwLDYuOTAzLDUuNTk3LDEyLjUsMTIuNSwxMi41czEyLjUtNS41OTcsMTIuNS0xMi41VjU0LjY1ICAgIGgzMDYuOTI3djMwNi45MjhIODQuMzAydi03My44NjFjMC02LjkwMy01LjU5Ny0xMi41LTEyLjUtMTIuNXMtMTIuNSw1LjU5Ny0xMi41LDEyLjV2ODYuMzYxYzAsNi45MDMsNS41OTcsMTIuNSwxMi41LDEyLjUgICAgaDMzMS45MjdjNi45MDIsMCwxMi41LTUuNTk3LDEyLjUtMTIuNVY0Mi4xNUM0MTYuMjI5LDM1LjI0Nyw0MTAuNjMxLDI5LjY1LDQwMy43MjksMjkuNjV6IiBmaWxsPSIjODczMTRlIi8+CgkJPHBhdGggZD0iTTE4NS40MTcsMjg3LjgxMWMwLDUuMDU3LDMuMDQ1LDkuNjEzLDcuNzE2LDExLjU1YzEuNTQ3LDAuNjQyLDMuMTcsMC45NSw0Ljc4MSwwLjk1YzMuMjUzLDAsNi40NTEtMS4yNyw4Ljg0Mi0zLjY2ICAgIGw3OS42OTctNzkuNjk3YzIuMzQ0LTIuMzQ0LDMuNjYtNS41MjMsMy42Ni04LjgzOWMwLTMuMzE2LTEuMzE2LTYuNDk1LTMuNjYtOC44MzlsLTc5LjY5Ny03OS42OTcgICAgYy0zLjU3NS0zLjU3NS04Ljk1MS00LjY0Ni0xMy42MjMtMi43MWMtNC42NzEsMS45MzYtNy43MTYsNi40OTMtNy43MTYsMTEuNTQ5djY3LjE5N0gxMi41Yy02LjkwMywwLTEyLjUsNS41OTctMTIuNSwxMi41ICAgIGMwLDYuOTAzLDUuNTk3LDEyLjUsMTIuNSwxMi41aDE3Mi45MTdWMjg3LjgxMUwxODUuNDE3LDI4Ny44MTF6IE0yMTAuNDE3LDE1OC41OTRsNDkuNTIxLDQ5LjUybC00OS41MjEsNDkuNTIxVjE1OC41OTR6IiBmaWxsPSIjODczMTRlIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==); + background-size: 18px 18px; + background-repeat: no-repeat; + background-position: center; +} + +.i-more { + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDYxMiA2MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDYxMiA2MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8ZyBpZD0ibW9yZSI+CgkJPGc+CgkJCTxwYXRoIGQ9Ik03Ni41LDIyOS41QzM0LjMsMjI5LjUsMCwyNjMuOCwwLDMwNnMzNC4zLDc2LjUsNzYuNSw3Ni41UzE1MywzNDguMiwxNTMsMzA2UzExOC43LDIyOS41LDc2LjUsMjI5LjV6IE03Ni41LDM0NC4yICAgICBjLTIxLjEsMC0zOC4yLTE3LjEwMS0zOC4yLTM4LjJjMC0yMS4xLDE3LjEtMzguMiwzOC4yLTM4LjJzMzguMiwxNy4xLDM4LjIsMzguMkMxMTQuNywzMjcuMSw5Ny42LDM0NC4yLDc2LjUsMzQ0LjJ6ICAgICAgTTUzNS41LDIyOS41Yy00Mi4yLDAtNzYuNSwzNC4zLTc2LjUsNzYuNXMzNC4zLDc2LjUsNzYuNSw3Ni41UzYxMiwzNDguMiw2MTIsMzA2UzU3Ny43LDIyOS41LDUzNS41LDIyOS41eiBNNTM1LjUsMzQ0LjIgICAgIGMtMjEuMSwwLTM4LjItMTcuMTAxLTM4LjItMzguMmMwLTIxLjEsMTcuMTAxLTM4LjIsMzguMi0zOC4yczM4LjIsMTcuMSwzOC4yLDM4LjJDNTczLjcsMzI3LjEsNTU2LjYsMzQ0LjIsNTM1LjUsMzQ0LjJ6ICAgICAgTTMwNiwyMjkuNWMtNDIuMiwwLTc2LjUsMzQuMy03Ni41LDc2LjVzMzQuMyw3Ni41LDc2LjUsNzYuNXM3Ni41LTM0LjMsNzYuNS03Ni41UzM0OC4yLDIyOS41LDMwNiwyMjkuNXogTTMwNiwzNDQuMiAgICAgYy0yMS4xLDAtMzguMi0xNy4xMDEtMzguMi0zOC4yYzAtMjEuMSwxNy4xLTM4LjIsMzguMi0zOC4yYzIxLjEsMCwzOC4yLDE3LjEsMzguMiwzOC4yQzM0NC4yLDMyNy4xLDMyNy4xLDM0NC4yLDMwNiwzNDQuMnoiIGZpbGw9IiNkZjQwNWEiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==); + background-size: 20px 20px; + background-repeat: no-repeat; + background-position: center; +} + +.i-save { + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDYxMiA2MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDYxMiA2MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8ZyBpZD0idGljayI+CgkJPGc+CgkJCTxwYXRoIGQ9Ik00MzYuNywxOTYuNzAxTDI1OC4xODgsMzc1LjIxM2wtODIuODY5LTgyLjg4N2MtNy4yODctNy4yODctMTkuMTI1LTcuMjg3LTI2LjQxMiwwcy03LjI4NywxOS4xMjUsMCwyNi40MTIgICAgIGw5My44MDgsOTMuODA4YzAuNjMxLDAuODk5LDEuMDE0LDEuOTMyLDEuODE3LDIuNzM1YzMuNzY4LDMuNzY4LDguNzIxLDUuNTA4LDEzLjY1NSw1LjM3NGM0LjkzNCwwLjExNSw5LjkwNy0xLjYwNiwxMy42NzQtNS4zNzQgICAgIGMwLjgwMy0wLjgwNCwxLjE4Ni0xLjgzNiwxLjgxNy0yLjczNWwxODkuNDM0LTE4OS40MzNjNy4yODYtNy4yODcsNy4yODYtMTkuMTI1LDAtMjYuNDEyICAgICBDNDU1LjgwNiwxODkuNDE0LDQ0My45ODcsMTg5LjQxNCw0MzYuNywxOTYuNzAxeiBNMzA2LDBDMTM2Ljk5MiwwLDAsMTM2Ljk5MiwwLDMwNnMxMzYuOTkyLDMwNiwzMDYsMzA2ICAgICBjMTY4Ljk4OCwwLDMwNi0xMzYuOTkyLDMwNi0zMDZTNDc1LjAwOCwwLDMwNiwweiBNMzA2LDU3My43NUMxNTguMTI1LDU3My43NSwzOC4yNSw0NTMuODc1LDM4LjI1LDMwNiAgICAgQzM4LjI1LDE1OC4xMjUsMTU4LjEyNSwzOC4yNSwzMDYsMzguMjVjMTQ3Ljg3NSwwLDI2Ny43NSwxMTkuODc1LDI2Ny43NSwyNjcuNzVDNTczLjc1LDQ1My44NzUsNDUzLjg3NSw1NzMuNzUsMzA2LDU3My43NXoiIGZpbGw9IiMyMGMxOTgiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==); + background-size: 20px 20px; + background-repeat: no-repeat; + background-position: center; +} + +.i-warning { + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDYxMi44MTYgNjEyLjgxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjEyLjgxNiA2MTIuODE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCI+CjxnPgoJPHBhdGggZD0iTTMwNi40MDgsMEMxMzcuMzY4LDAsMC4zNzEsMTM2Ljk5NywwLjM3MSwzMDYuMDM3czEzNi45OTcsMzA2Ljc3OSwzMDYuMDM3LDMwNi43NzlzMzA2LjAzNy0xMzcuODEzLDMwNi4wMzctMzA2LjAzNyAgIEM2MTIuNDQ1LDEzNy43MzksNDc1LjQ0OCwwLDMwNi40MDgsMHogTTMwNi40MDgsNTgzLjE0N2MtMTUyLjIwMywwLTI3Ni4zNjgtMTI0LjE2NS0yNzYuMzY4LTI3Ni4zNjggICBTMTU0LjIwNSwyOS41OTUsMzA2LjQwOCwyOS41OTVTNTgyLjc3NiwxNTMuNzYsNTgyLjc3NiwzMDYuNzc5UzQ1OC42MTEsNTgzLjE0NywzMDYuNDA4LDU4My4xNDd6IE0zMjEuNjEzLDQzMS43NiAgIGMwLDguODI3LTcuMTk1LDE2LjAyMS0xNi4wMjEsMTYuMDIxYy04LjgyNywwLTE2LjAyMS03LjE5NS0xNi4wMjEtMTYuMDIxYzAtOC44MjcsNy4xOTUtMTYuMDIxLDE2LjAyMS0xNi4wMjEgICBTMzIxLjYxMyw0MjIuOTM0LDMyMS42MTMsNDMxLjc2eiBNMjkwLjM4NywzNTMuMjExdi0xODAuMjRjMC04LjAxMSw2LjM3OS0xNC4zOSwxNC4zOS0xNC4zOWM4LjAxMSwwLDE0LjM5LDYuMzc5LDE0LjM5LDE0LjM5ICAgdjE4MC4yNGMwLDguMDExLTYuMzc5LDE0LjM5LTE0LjM5LDE0LjM5QzI5Ni43NjYsMzY4LjQ5MSwyOTAuMzg3LDM2MS4yMjIsMjkwLjM4NywzNTMuMjExeiIgZmlsbD0iI2Y1ZDg3OCIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=); + background-size: 20px 20px; + background-repeat: no-repeat; + background-position: center; +} + +.i-close { + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDYxMi40NDUgNjEyLjQ0NSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjEyLjQ0NSA2MTIuNDQ1OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCI+CjxnPgoJPHBhdGggZD0iTTUyMi42NDIsODkuODA0QzQ2NC45LDMyLjA2MiwzODguMDExLDAsMzA2LjIyMywwUzE0Ny41NDUsMzIuMDYyLDg5LjgwNCw4OS44MDQgICBjLTExOS40MTYsMTE5LjQxNi0xMTkuNDE2LDMxMy40MjIsMCw0MzIuODM4YzU3Ljc0MSw1Ny43NDEsMTM0LjYzMSw4OS44MDQsMjE2LjQxOSw4OS44MDRzMTU4LjY3OC0zMi4wNjIsMjE2LjQxOS04OS44MDQgICBDNjQyLjA1OCw0MDMuMjI1LDY0Mi4wNTgsMjA5LjIyLDUyMi42NDIsODkuODA0eiBNNTAxLjc4Nyw1MDEuNzg3Yy01Mi4xMDEsNTIuMTAxLTEyMS43OTEsODAuOTcyLTE5NS41NjQsODAuOTcyICAgcy0xNDMuNDYzLTI4Ljg3MS0xOTUuNTY0LTgwLjk3MlMyOS42ODcsMzc5Ljk5NSwyOS42ODcsMzA2LjIyM3MyOC44NzEtMTQzLjQ2Myw4MC45NzItMTk1LjU2NHMxMjEuODY2LTgwLjk3MiwxOTUuNTY0LTgwLjk3MiAgIHMxNDMuNDYzLDI4Ljg3MSwxOTUuNTY0LDgwLjk3MnM4MC45NzIsMTIxLjg2Niw4MC45NzIsMTk1LjU2NFM1NTMuODg3LDQ0OS42ODYsNTAxLjc4Nyw1MDEuNzg3eiBNMzk5LjIxOCwyMzQuODk5bC03NC41MTUsNzQuNTE1ICAgbDc0LjUxNSw3NC41MTVjNS42NDEsNS42NDEsNS42NDEsMTUuMjE1LDAsMjAuODU1Yy0zLjE5MSwzLjE5MS02LjM4Myw0LjAwOC0xMC4zOTEsNC4wMDhjLTQuMDA4LDAtNy4xOTktMS42MzMtMTAuMzktNC4wMDggICBsLTc0LjU4OS03NC41MTVsLTc0LjU4OSw3NC41MTVjLTMuMTkxLDMuMTkxLTYuMzgzLDQuMDA4LTEwLjM5LDQuMDA4cy03LjE5OS0xLjYzMy0xMC4zOS00LjAwOCAgIGMtNS42NDEtNS42NDEtNS42NDEtMTUuMjE1LDAtMjAuODU1bDc0LjUxNS03NC41MTVsLTc0LjUxNS03NC41MTVjLTUuNjQxLTUuNjQxLTUuNjQxLTE1LjIxNSwwLTIwLjg1NSAgIGM1LjY0MS01LjY0MSwxNS4yMTUtNS42NDEsMjAuODU1LDBsNzQuNTE1LDc0LjUxNWw3NC41MTUtNzQuNTE1YzUuNjQxLTUuNjQxLDE1LjIxNS01LjY0MSwyMC44NTUsMCAgIEM0MDQuODU4LDIxOS42ODUsNDA0Ljg1OCwyMjguNDQyLDM5OS4yMTgsMjM0Ljg5OXoiIGZpbGw9IiNmNTVhNGUiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K); + background-size: 20px 20px; + background-repeat: no-repeat; + background-position: center; +} + +.i-left { + background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDQxNC4yOTggNDE0LjI5OSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDE0LjI5OCA0MTQuMjk5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMuNjYzLDQxMC42MzdjMi40NDEsMi40NCw1LjY0LDMuNjYxLDguODM5LDMuNjYxYzMuMTk5LDAsNi4zOTgtMS4yMjEsOC44MzktMy42NjFsMTg1LjgwOS0xODUuODFsMTg1LjgxLDE4NS44MTEgICBjMi40NCwyLjQ0LDUuNjQxLDMuNjYxLDguODQsMy42NjFjMy4xOTgsMCw2LjM5Ny0xLjIyMSw4LjgzOS0zLjY2MWM0Ljg4MS00Ljg4MSw0Ljg4MS0xMi43OTYsMC0xNy42NzlsLTE4NS44MTEtMTg1LjgxICAgbDE4NS44MTEtMTg1LjgxYzQuODgxLTQuODgyLDQuODgxLTEyLjc5NiwwLTE3LjY3OGMtNC44ODItNC44ODItMTIuNzk2LTQuODgyLTE3LjY3OSwwbC0xODUuODEsMTg1LjgxTDIxLjM0LDMuNjYzICAgYy00Ljg4Mi00Ljg4Mi0xMi43OTYtNC44ODItMTcuNjc4LDBjLTQuODgyLDQuODgxLTQuODgyLDEyLjc5NiwwLDE3LjY3OGwxODUuODEsMTg1LjgwOUwzLjY2MywzOTIuOTU5ICAgQy0xLjIxOSwzOTcuODQxLTEuMjE5LDQwNS43NTYsMy42NjMsNDEwLjYzN3oiIGZpbGw9IiM4NzMxNGUiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K); + background-size: 16px 16px; + background-repeat: no-repeat; + background-position: center; +} + +/*-------------------- +Login Box +---------------------*/ + +.box { + width: 330px; + position: absolute; + top: 50%; + left: 50%; + + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +.box-form { + width: 320px; + position: relative; + z-index: 1; +} + +.box-login-tab { + width: 50%; + height: 40px; + background: #00000044; + position: relative; + float: left; + z-index: 1; + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; + + -webkit-transform: perspective(5px) rotateX(0.93deg) translateZ(-1px); + transform: perspective(5px) rotateX(0.93deg) translateZ(-1px); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + + -webkit-box-shadow: 15px -15px 30px rgba(0, 0, 0, 0.32); + -moz-box-shadow: 15px -15px 30px rgba(0, 0, 0, 0.32); + box-shadow: 15px -15px 30px rgba(0, 0, 0, 0.32); +} + +.box-login-title { + width: 35%; + height: 40px; + position: absolute; + float: left; + z-index: 2; +} + +.box-login { + position: relative; + top: -4px; + width: 320px; + background: #00000044; + text-align: center; + overflow: hidden; + z-index: 2; + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + -webkit-border-radius: 20px: -moz-border-radius=20px; + border-radius: 20px; + -moz-box-shadow: 15px 30px 30px rgba(0, 0, 0, 0.32); + box-shadow: 15px 30px 30px rgba(0, 0, 0, 0.32); +} + +.box-info { + width: 260px; + top: 60px; + position: absolute; + right: -5px; + padding: 15px 15px 15px 30px; + background-color: rgba(255, 255, 255, 0.6); + border: 1px solid rgba(255, 255, 255, 0.2); + z-index: 0; + + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + + -webkit-box-shadow: 15px 30px 30px rgba(0, 0, 0, 0.32); + -moz-box-shadow: 15px 30px 30px rgba(0, 0, 0, 0.32); + box-shadow: 15px 30px 30px rgba(0, 0, 0, 0.32); +} + +.line-wh { + width: 100%; + height: 1px; + top: 0px; + margin: 12px auto; + position: relative; + border-top: 1px solid rgba(255, 255, 255, 0.3); +} + +/*-------------------- +Form +---------------------*/ + +a { + text-decoration: none; +} + +button:focus { + outline: 0; +} + +.b { + height: 24px; + line-height: 24px; + background-color: transparent; + border: none; + cursor: pointer; +} + +.b-form { + opacity: 0.5; + margin: 10px 20px; + float: right; +} + +.b-info { + opacity: 0.5; + float: left; +} + +.b-form:hover, +.b-info:hover { + opacity: 1; +} + +.b-support, +.b-cta { + width: 100%; + padding: 0px 15px; + font-family: 'Quicksand', sans-serif; + font-weight: 700; + letter-spacing: -1px; + font-size: 16px; + line-height: 32px; + cursor: pointer; + + -webkit-border-radius: 16px; + -moz-border-radius: 16px; + border-radius: 16px; +} + +.b-support { + border: #87314e 1px solid; + background-color: transparent; + color: #87314e; + margin: 6px 0; +} + +.b-cta { + border: #df405a 1px solid; + background-color: #df405a; + color: #fff; +} + +.b-support:hover, +.b-cta:hover { + color: #fff; + background-color: #87314e; + border: #87314e 1px solid; +} + +.fieldset-body { + display: table; +} + +.fieldset-body p { + width: 100%; + display: inline-table; + padding: 5px 20px; + margin-bottom: 2px; +} + +label { + float: left; + width: 100%; + top: 0px; + color: #fff; + font-size: 13px; + font-weight: 700; + text-align: center; + line-height: 2.5; +} + +label.checkbox { + float: left; + padding: 5px 20px; + line-height: 1.7; +} + +input[type=text], +input[type=password] { + width: auto; + height: 32px; + padding: 0px 10px; + background-color: rgb(0 0 0 / 28%); + border: none; + display: inline; + color: #bdbdbd; + font-size: 16px; + font-weight: 400; + float: none; + border-radius: 10px; +} + +input[type=text]:focus, +input[type=password]:focus { + background-color: #f8f8c6; + outline: none; +} + +input[type=submit] { + width: 100%; + height: 48px; + margin-top: 24px; + padding: 0px 20px; + font-family: 'Segoe UI', Arial, Helvetica, sans-serif; + font-weight: 700; + font-size: 18px; + color: #fff; + line-height: 40px; + text-align: center; + background-color: #0c5091; + border: 1px #075fa7 solid; + opacity: 1; + cursor: pointer; +} + +input[type=submit]:hover { + background-color: #df405a; + border: 1px #df405a solid; +} + +input[type=submit]:focus { + outline: none; +} + +p.field span.i { + width: 24px; + height: 24px; + float: right; + position: relative; + margin-top: -26px; + right: 2px; + z-index: 2; + display: none; + + -webkit-animation: bounceIn 0.6s linear; + -moz-animation: bounceIn 0.6s linear; + -o-animation: bounceIn 0.6s linear; + animation: bounceIn 0.6s linear; +} + +/*-------------------- +Transitions +---------------------*/ + +.box-form, +.box-info, +.b, +.b-support, +.b-cta, +input[type=submit], +p.field span.i { + + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -ms-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; +} + +/*-------------------- +Credits +---------------------*/ + +.icon-credits { + width: 100%; + position: absolute; + bottom: 4px; + font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif; + font-size: 12px; + color: rgba(255, 255, 255, 0.1); + text-align: center; + z-index: -1; +} + +img.tengah { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; + padding: 20px; + text-decoration: none; + width: 200px; +} + +img.bawah { + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + padding: 2rem; +} + +.icon-credits a { + text-decoration: none; + color: rgba(255, 255, 255, 0.2); +} \ No newline at end of file diff --git a/luci-theme-alpha/mobileview1.png b/luci-theme-alpha/mobileview1.png new file mode 100644 index 000000000..b4027a2a5 Binary files /dev/null and b/luci-theme-alpha/mobileview1.png differ diff --git a/luci-theme-alpha/mobileview2.png b/luci-theme-alpha/mobileview2.png new file mode 100644 index 000000000..cc7a2e59c Binary files /dev/null and b/luci-theme-alpha/mobileview2.png differ diff --git a/luci-theme-alpha/mobileview3.png b/luci-theme-alpha/mobileview3.png new file mode 100644 index 000000000..0bfac0c98 Binary files /dev/null and b/luci-theme-alpha/mobileview3.png differ diff --git a/luci-theme-alpha/root/etc/config/alpha b/luci-theme-alpha/root/etc/config/alpha new file mode 100644 index 000000000..4e9a19522 --- /dev/null +++ b/luci-theme-alpha/root/etc/config/alpha @@ -0,0 +1,7 @@ + +config alpha 'config' + option nav_01 '/cgi-bin/luci/admin/status/overview' + option nav_02 '/cgi-bin/luci/admin/services/ttyd' + option nav_03 '/cgi-bin/luci/admin/network/network' + option blur '20' + option color '#2222359a' diff --git a/luci-theme-alpha/ss1.png b/luci-theme-alpha/ss1.png new file mode 100644 index 000000000..075f22d11 Binary files /dev/null and b/luci-theme-alpha/ss1.png differ diff --git a/luci-theme-alpha/ss2.png b/luci-theme-alpha/ss2.png new file mode 100644 index 000000000..d871e9e09 Binary files /dev/null and b/luci-theme-alpha/ss2.png differ diff --git a/luci-theme-alpha/ss3.png b/luci-theme-alpha/ss3.png new file mode 100644 index 000000000..542ec2e5e Binary files /dev/null and b/luci-theme-alpha/ss3.png differ diff --git a/luci-theme-alpha/template/footer.htm b/luci-theme-alpha/template/footer.htm new file mode 100644 index 000000000..0166861db --- /dev/null +++ b/luci-theme-alpha/template/footer.htm @@ -0,0 +1,108 @@ +<%# + Alpha os is made from me for all .. especially for indo wrt members and fan of OpenWrt or DBAI Community + luci-theme-alpha + Copyright 2024 derisamedia + Have a bug? Please create an issue here on GitHub! + + luci-theme-material + Copyright 2015 Lutty Yang + + luci-theme-bootstrap: + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 David Menting + + MUI: + https://github.com/muicss/mui + + Licensed to the public under the Apache License 2.0 +-%> +<% +local ver = require "luci.version" +local uci = require "luci.model.uci".cursor() +local config = uci:get_all("alpha", "config") +local icon = { + ['/cgi-bin/luci/admin/status/overview'] = '/gaya/icon/navbar/status.png', + ['/cgi-bin/luci/admin/services/ttyd'] = '/gaya/icon/navbar/terminal.png', + ['/cgi-bin/luci/admin/services/openclash'] = '/gaya/icon/navbar/oc.png', + ['/cgi-bin/luci/admin/nas/tinyfm'] = '/gaya/icon/navbar/nas.png', + ['/cgi-bin/luci/admin/modem/main'] = '/gaya/icon/navbar/modem.png', + ['/cgi-bin/luci/admin/network/network'] = '/gaya/icon/navbar/interface.png', + ['/cgi-bin/luci/admin/services/neko'] = '/gaya/icon/navbar/neko.png' +} + +local function getLink(nav) + local link = config[nav] + return (link and link ~= "none") and link or nil +end + +local num_links = 0 +for i = 1, 6 do + local nav_key = 'nav_0' .. i + local link = getLink(nav_key) + if link then + num_links = num_links + 1 + end +end + +local link_width = string.format("calc(100%% / %d)", num_links) +local blur_value = tonumber(config.blur) +local link_blur = string.format("blur(%dpx)", blur_value) +local background_color = config.color +%> + + + +
+ + + + + + + + + diff --git a/luci-theme-alpha/template/header.htm b/luci-theme-alpha/template/header.htm new file mode 100644 index 000000000..53e5aac9f --- /dev/null +++ b/luci-theme-alpha/template/header.htm @@ -0,0 +1,96 @@ +<%# + Alpha os is made from me for all .. especially for indo wrt members and fan of OpenWrt or DBAI Community + luci-theme-alpha + Copyright 2022 derisamedia + Have a bug? Please create an issue here on GitHub! + + luci-theme-material + Copyright 2015-2017 Lutty Yang + + luci-theme-bootstrap: + Copyright 2008 Steven Barth + Copyright 2008-2016 Jo-Philipp Wich + Copyright 2012 David Menting + + MUI: + https://github.com/muicss/mui + + Licensed to the public under the Apache License 2.0 +-%> + +<% + local sys = require "luci.sys" + local util = require "luci.util" + local http = require "luci.http" + local disp = require "luci.dispatcher" + local ver = require "luci.version" + + local boardinfo = util.ubus("system", "board") or { } + + local node = disp.context.dispatched + local path = table.concat(disp.context.path, "-") + + http.prepare_content("text/html; charset=UTF-8") +-%> + + + + + + + + + + + - LuCI"> + - LuCI"> + + +<% if node and node.css then %> + +<% end -%> + + +<%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI +<% if css then %> +<% end -%> + +node-<%= path %><% else %>node-main-login<% end %>" data-page="<%= pcdata(path) %>" style="background-image:url('/luci-static/alpha/background/dashboard.png')"> +
+
+
+ +
+
+ Keluar +
+
+ +
+
+
+
+
+
+ +
+ +
+
+
+ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and path ~= "admin-system-admin-password" then -%> + <%- end -%> + + + diff --git a/luci-theme-alpha/template/sysauth.htm b/luci-theme-alpha/template/sysauth.htm new file mode 100644 index 000000000..44bda4740 --- /dev/null +++ b/luci-theme-alpha/template/sysauth.htm @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + +Alpha - Login Dulu + + + +
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + + +
+
+ + + + + \ No newline at end of file diff --git a/luci-theme-design/LICENSE b/luci-theme-design/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/luci-theme-design/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/luci-theme-design/Makefile b/luci-theme-design/Makefile new file mode 100644 index 000000000..a7bf07c24 --- /dev/null +++ b/luci-theme-design/Makefile @@ -0,0 +1,15 @@ +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=Design Theme +LUCI_DEPENDS:= +PKG_VERSION:=6.0 +PKG_RELEASE:=20230224 + +include $(TOPDIR)/feeds/luci/luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/luci-theme-design/README.md b/luci-theme-design/README.md new file mode 100644 index 000000000..2381e7409 --- /dev/null +++ b/luci-theme-design/README.md @@ -0,0 +1,71 @@ + + +# luci-theme-design + +**luci-theme-design**基于[luci-theme-neobird](https://github.com/thinktip/luci-theme-neobird)二次开发, 适用于lede For Lean's OpenWRT Only [lede](https://github.com/coolsnowwolf/lede) + +- 修复安装package提示信息背景泛白 +- 优化菜单缩放 +- 优化显示网口down状态显示图标 +- 优化logo显示 +- 新增各设备状态图标显示 +- 更换logo显示为字体"OpenWrt",支持以主机名显示logo +- 修复部分插件显示bug +- 修复vssr状态bar +- 修复诸多bug +- 修复兼容部分插件样式 +- 修复aliyundrive-webdav样式 +- 修复vssr在iOS/iPadOS WebApp模式下显示异常 +- 修复openclash插件在iOS/iPadOS WebApp 模式下env(safe-area-inset-bottom) = 0 +- 优化菜单hover action状态分辨 +- 支持luci-app-wizard向导菜单 +- Update header box-shadow style +- Update uci-change overflow +- Fix nlbw component +- Added QSDK/QWRT wizard and iStore menu icon fonts + +## 主要特点 + +- 针对移动端优化,特别适合手机端做为webapp使用 +- 修改和优化了很多插件显示,完善的icon图标,尽量视觉统一 +- 简洁的登录界面,底部导航栏,类App的沉浸式体验; +- 适配深色模式,适配系统自动切换; + +## 体验Webapp方法 + +- 在移动端(iOS/iPadOS)浏览器打开管理界面,添加到主屏幕即可。 +- 想要实现完全的沉浸式(无浏览器导航、无地址栏等)体验,需要使用SSL证书,请自行申请域名、证书、安装并启用。 +- 如果不使用SSL证书,基于安全原因,iOS/iPadOS 在打开新的页面后,将会显示浏览器顶部菜单栏。 + +## PS + +- 资源接口icon未完善,如果有能力画图的欢迎pr,但请确保跟现有icon颜色风格一致 +- 有bug欢迎提issue +- 主题个人配色可能会不符合大众胃口,欢迎提配色建议 + +## 自行编译 + +``` +git clone https://github.com/gngpp/luci-theme-design.git package/luci-theme-design +make menuconfig # choose LUCI->Theme->Luci-theme-design +make V=s +``` + +## 预览(ps: 下面PC端普通字体为苹果浏览器字体,只有移动端是正常显示的) + +
iOS + + +
+ +
iPadOS + + +
+ + + + + + + diff --git a/luci-theme-design/htdocs/luci-static/design/css/style copy.css b/luci-theme-design/htdocs/luci-static/design/css/style copy.css new file mode 100644 index 000000000..0d8879cb4 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/css/style copy.css @@ -0,0 +1,3353 @@ +/** + * Design is a clean HTML5 theme for LuCI. It is based on luci-theme-material and luci-theme-neobird + * + * luci-theme-material + * Copyright 2015 Lutty Yang + * + * luci-theme-Neobird + * Copyright 2021 2smile + * + * Licensed to the public under the Apache License 2.0 + */ + + :root { + --bg: #f1f4f5; + --mainbg: #fff; + --bgwhite: #fff; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --textColor: rgb(132,119,116); + --borderColor: rgba(0,0,0,.15); + --navbgColor: rgba(255, 255, 255, .7); + --navBorder: 1px solid #f2f2f2; + --sectionbgColor: #fff; + --sectionbgColor2: #fff; + --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); + --sectionBorder: none; + --sectiontabBorder: none; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #e4eaec 1px solid; + --tabmenuRadius: 0; + --sectionnodeBorder: #f7f7f7 1px solid; + --cbilineColor: #f7f7f7 1px solid; + --tabbgColor: #fff; + --inputbgColor: #f8f8f8; + --inputtextColor: #76838f; + --inputBorder: 1px solid #e4eaec; + --mainleftbgColor: rgb(255,255,255); + --bttextColor: #fff; + --badgebgColor: #f7f7f7; + --badgeBorder: #e4eaec 1px solid; + --progressbarColor: #c8c8c8; + --progressbar: #5ea69b; + --progressbartxtColor: #fff; + /* --logo: url('/luci-static/design/images/logo.png'); + --mlogo: url('/luci-static/design/images/mlogo.png'); */ + --logo_color: #222b36; + --alertColor: #000000; + --alertBackground: rgb(230 230 230); + --scrollbarColor:#d0d0d0; +} + +@media (prefers-color-scheme: dark) { + :root { + --bg: #000; + --bgwhite: #000; + --textColor: #fefefe; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --borderColor: #2C2C3A; + --navbgColor: hsla(0, 0%, 7%, .8); + --navBorder: 1px solid #1c1c1e; + --sectionbgColor: #1c1c1e; + --sectionbgColor2: #1c1c1e; + --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); + --sectionBorder: none; + --sectiontabBorder: none; + --sectionnodeBorder: #3d3d41 1px solid; + --cbilineColor: #2d2d2d 1px solid; + --tabbgColor: #1c1c1e; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #2d2d2d 1px solid; + --tabmenuRadius: 6px 6px 0 0; + --inputbgColor: #2f2f2f; + --inputtextColor: #fefefe; + --inputBorder: 1px solid #4d4d4d; + --mainleftbgColor: #000; + --bttextColor: #fefefe; + --badgebgColor: #fefefe; + --badgeBorder: #3d3d40 1px solid; + --progressbarColor: #6d6d6d; + --progressbar: #5ea69b; + --progressbartxtColor: #fefefe; + /* --logo: url('/luci-static/design/images/logod.png'); + --mlogo: url('/luci-static/design/images/mlogod.png'); */ + --logo_color: #fefefe; + --alertColor: #ffffff; + --alertBackground: rgb(30 30 30); + --scrollbarColor:#222; + } +} + +@font-face { + font-family: 'icomoon'; + src: url('../fonts/font.eot'); + src: url('../fonts/font.eot') format('embedded-opentype'), + url('../fonts/font.ttf') format('truetype'), + url('../fonts/font.woff') format('woff'), + url('../fonts/font.svg') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'design'; + src: url(''); + src: url('?#iefix') format('embedded-opentype'), + url('../fonts/iconfont-Regular.woff2') format('woff2'), + url('../fonts/iconfont-Regular.woff') format('woff'), + url('../fonts/iconfont-Regular.ttf') format('truetype'), + url('#iconfont') format('svg'); +} + +@font-face{ + font-family: 'Cocon-Regular-Font'; + src : url('../fonts/Cocon-Regular-Font.otf') format('opentype'); +} +div{ + font-family: 'HYk2gj'; +} + +::-webkit-scrollbar { + width: 4px; +} +::-webkit-scrollbar-thumb { + background: var(--scrollbarColor) ; + border-radius: 2px; +} + + +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +html, body { + margin: 0px; + padding: 0px; + height: 100%; + font-family: -apple-system, 'Microsoft Yahei' !important; + font-size: 0.92rem; + line-height: 150%; + background-color: var(--bg); + color:var(--textColor); +} + +body div { + line-height:150%; +} + +a { + color: var(--textColor); + text-decoration: none; +} + +em { + font-style:normal !important; + line-height: 1.5; + padding-left: 10px; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + } + +select { + overflow: hidden !important; + width: 100%; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + padding: 0 25px 0 10px !important; + background-size: 24px 16px; + background-repeat: no-repeat; + background-position: right center; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC'); +} + +select, +input { + color: var(--inputtextColor); + padding: 5px 10px; + font-size: 0.92rem; + font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: middle; + border-radius: 8px; + margin: 3px 3px 3px 0; + height: 2.8rem; + line-height: 2.8rem; + max-width: 550px; + +} + +select:not([multiple="multiple"]):focus, +input:focus { + border-color: #948FE1; + box-shadow:0 0 6px #948FE1; + -webkit-box-shadow:0 0 6px #948FE1; + -moz-box-shadow:0 0 6px #948FE1; +} + +input[type='file'] { + border: none; + background: none; + height: auto; + line-height: 1rem; +} + +input[type='checkbox'] { + height: 1.2rem; + width: 1.2rem; + +} +input[type='radio'] { + height: 1.2rem; + width: 1.2rem; +} + +select[multiple="multiple"] { + height: auto; +} + +input[type='text'],input[type='password'] { + width: 100%; +} +code { + color: #0099CC; +} + +/* img[src*="/images/logo.png"] + { + height: 60px; + background-image: var(--logo); + background-size: 220px; + background-repeat: no-repeat; + padding: 0 0 0 250px; + width: 0; + background-position-x: 10px; + background-position-y: 10px; + background-color: var(--mainleftbgColor); +} */ + +abbr { + text-decoration: underline; + cursor: help; +} + +br { + display: block; + margin-bottom: 0.2px; + content: ''; +} + +hr{ + margin: 1rem 0; + border-color: #EEE; + opacity: 0.1; +} + +.cbi-section-table-cell br, #cbi-system br, #cbi-dropbear br, .node-status-routes br { + display: none; +} + +header, .main { + width: 100%; + position: absolute; +} + +header { + background-color: var(--bgwhite); + box-shadow: 17rem 2px 4px rgba(0, 0, 0, 0.08); + transition: box-shadow 0.2s; + height: 55px; + float: left; + position: fixed; + z-index: 101; +} + +footer { + text-align: right; + padding: 1rem; + color: #aaa; + font-size: 11px; + height: 80px; + visibility:hidden; + /*text-shadow: 0px 0px 2px #BBB;*/ +} + +footer > a { + color: rgb(154,37,143); + text-decoration: none; +} + +text, line { + font-family: Verdana !important; +} + +.cbi-button-up, +.cbi-button-down, +.cbi-value-helpicon, +.showSide, +.main > .loading > span { + font-family: 'icomoon' !important; + font-size:10px; + speak: none; + font-style: normal !important; + font-weight: normal !important; + font-variant: normal !important; + text-transform: none !important; + line-height: 1; + + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +input.cbi-button.cbi-button-add { + /* margin-left: 10px; */ +} + +.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { + font-family: -apple-system, 'Microsoft Yahei'; + font-weight: 600; + line-height: 1.1; + color: inherit; + clear:both; + text-transform: capitalize; +} + +label.zonebadge{ + border-radius: 5px; + padding: 2px 5px 2px 5px !important; + background-color: #5bdeae !important; + display: inline-block; + cursor: pointer; + color: #fefefe; +} +.zonebadge { + background-color: var(--tabmenubgColor) !important; + border-radius: 6px; + padding: 5px; +} + +.zonebadge em { + padding:3px; +} + +svg { + background-color: var(--sectionbgColor); +} + +/* fix p#aliyundrive-webdav_status b */ + +/* p#aliyundrive-webdav_status b { + color: #ff6666 !important; + text-transform:capitalize; +} */ + +/* fix .cbi-section .cbi-section */ + +.cbi-section .cbi-section { + margin: 10px; +} + +/* fix node-services-vssr */ + +.node-services-vssr .status-bar { + bottom:calc(50px + constant(safe-area-inset-bottom)); + bottom:calc(50px + env(safe-area-inset-bottom)); + /* display: none; */ +} + +.node-services-vssr .ssr-button { + min-width: 30px; +} +.node-services-vssr #cbi-vssr .panel-title { + padding: 10px 0 10px 10px !important; + letter-spacing: 0 !important; +} + +.node-services-vssr .status .block { + border-radius: 10px !important; + box-shadow: none !important; + background-color: var(--sectionbgColor) !important; +} + +.node-services-vssr button { + border-radius: 10px !important; + } + +#cbi-vssr-servers .cbi-section-table-row { + position: relative; + margin: 10px !important; + padding: 8px 15px 8px 70px; + box-shadow: none !important; + border-radius: 10px !important; + border: 0; + color: var(--textColor) !important; + text-align: left; + line-height: 1.7em; + overflow: hidden; + letter-spacing: normal; + background-color: var(--inputbgColor) !important; +} +.cbi-section-table-row.fast { + background-color: #add8e6 !important; +} +.incon .tp { + text-transform: uppercase; + color: var(--bg) !important; +} + +/** img retina **/ + +img[src*="/luci-static/resources/icons/port_up.png"] { + background-image: url(../images/port_up.png); + background-size: 32px 32px; + height: 32px; + padding: 0 0 0 32px; + width: 0; +} + +img[src*="/luci-static/resources/icons/port_down.png"] { + background-image: url(../images/port_down.png); + background-size: 32px 32px; + height: 32px; + padding: 0 0 0 32px; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/ethernet.png"], +#wan6_i img[src*="/luci-static/resources/icons/ethernet.png"], +img[src*="/luci-static/resources/icons/ethernet.png"] { + background-image: url(../images/ethernet.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet.png"], +.ifacebadge img[src*="/luci-static/resources/icons/ethernet.png"], +li img[src*="/luci-static/resources/icons/ethernet.png"] + { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +img[src*="/luci-static/resources/icons/ethernet_disabled.png"] { + background-image: url(../images/ethernet_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +.ifacebadge img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +li img[src*="/luci-static/resources/icons/ethernet_disabled.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet_disabled.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/wifi.png"], +#wan6_i img[src*="/luci-static/resources/icons/wifi.png"], +img[src*="/luci-static/resources/icons/wifi.png"] { + background-image: url(../images/wifi.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi.png"], +.ifacebadge img[src*="/luci-static/resources/icons/wifi.png"], +li img[src*="/luci-static/resources/icons/wifi.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/wifi_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/wifi_disabled.png"], +img[src*="/luci-static/resources/icons/wifi_disabled.png"] { + background-image: url(../images/wifi_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi_disabled.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi_disabled.png"], +.ifacebadge img[src*="/luci-static/resources/icons/wifi_disabled.png"], +li img[src*="/luci-static/resources/icons/wifi_disabled.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi_disabled.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/vlan.png"], +#wan6_i img[src*="/luci-static/resources/icons/vlan.png"], +img[src*="/luci-static/resources/icons/vlan.png"] { + background-image: url(../images/vlan.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/vlan.png"], +li img[src*="/luci-static/resources/icons/vlan.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/vlan_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/vlan_disabled.png"], +img[src*="/luci-static/resources/icons/vlan_disabled.png"] { + background-image: url(../images/vlan_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/vlan_disabled.png"], +li img[src*="/luci-static/resources/icons/vlan_disabled.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan_disabled.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/bridge.png"], +#wan6_i img[src*="/luci-static/resources/icons/bridge.png"], +img[src*="/luci-static/resources/icons/bridge.png"] { + background-image: url(../images/bridge.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/bridge.png"], +li img[src*="/luci-static/resources/icons/bridge.png"] { + background-image: url(../images/bridge.png); + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; + width: 0; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/bridge_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/bridge_disabled.png"], +img[src*="/luci-static/resources/icons/bridge_disabled.png"] { + background-image: url(../images/bridge_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/bridge_disabled.png"], +li img[src*="/luci-static/resources/icons/bridge_disabled.png"] { + background-image: url(../images/bridge_disabled.png); + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; + width: 0; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge_disabled.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/tunnel.png"], +#wan6_i img[src*="/luci-static/resources/icons/tunnel.png"], +img[src*="/luci-static/resources/icons/tunnel.png"] { + background-image: url(../images/tunnel.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/tunnel.png"], +li img[src*="/luci-static/resources/icons/tunnel.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +#wan4_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +img[src*="/luci-static/resources/icons/tunnel_disabled.png"] { + background-image: url(../images/tunnel_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0; +} +.ifacebadge img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +li img[src*="/luci-static/resources/icons/tunnel_disabled.png"] +{ + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; +} +#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel_disabled.png"] +{ + background-size: 32px 32px!important; + height: 32px !important; + width: 32px!important; + padding: 0 0 0 32px!important; + width: 0; +} + +img[src*="/luci-static/resources/icons/wifi_big.png"] { + background-image: url(../images/wifi_big.png); + background-size: 64px 64px; + height: 64px; + padding: 0 0 0 64px; + width: 0; +} + +img[src*="/luci-static/resources/icons/wifi_big_disabled.png"] { + background-image: url(../images/wifi_big_disabled.png); + background-size: 64px 64px; + height: 64px; + padding: 0 0 0 64px; + width: 0; +} + +img[src*="/luci-static/resources/icons/loading.gif"] { + background-image: url(../images/loading.gif); + background-size: 20px 20px; + height: 20px; + width: 20px; + padding: 0 0 0 20px; + width: 0; +} + +.ifacebox-body img { + background-size: 22px 22px; + padding: 0 0 0 22px; + width:22px !important; + height:22px !important; + padding: 0 0 0 22px !important; +} +.ifacebox-head { + background-color: #1096db !important; + border-radius: 4px 4px 0 0; +} + + +img[src*="/luci-static/resources/cbi/add.gif"] { + background-image: url(../images/add.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2; + +} +img[src*="/luci-static/resources/cbi/remove.gif"] { + background-image: url(../images/remove.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2; +} + +img[src*="/luci-static/resources/cbi/reload.gif"] { + background-image: url(../images/reload.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-75-100.png"] +{ + background-image: url(../images/signal-75-100.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-50-75.png"] +{ + background-image: url(../images/signal-50-75.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-25-50.png"] +{ + background-image: url(../images/signal-25-50.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-0-25.png"] +{ + background-image: url(../images/signal-0-25.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-0.png"] +{ + background-image: url(../images/signal-0.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + +img[src*="/luci-static/resources/icons/signal-none.png"] +{ + background-image: url(../images/signal-none.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2; +} + + +.myIcon{ + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + text-transform: none !important; +} + +.myIcon-logout:after{ + content: "\e005"; +} + +.myIcon-reboot:after{ + content: "\e02a"; +} + +.myIcon-wifi:after{ + content: "\e00c"; +} + +.main { + top: 50px; + bottom: 0rem; + position: relative; + height: 100%; + height: calc(100% - 4rem); +} + +.main > .loading { + position: fixed; + width: 100%; + height: 100%; + z-index: 1000; + display: block; + background-color: rgb(240, 240, 240); + top: 0; +} + +.main > .loading > span { + display: block; + text-align: center; + margin-top: 2rem; + color: #888; + font-size: 1rem; +} + +.main > .loading > span > .loading-img:before { + content: "\e603"; +} + +.main > .loading > span > .loading-img { + animation: anim-rotate 2s infinite linear; + margin-right: 0.2rem; + display: inline-block; +} + +.navbar { + overflow: hidden; + position: fixed; + bottom: 0; + width: 100%; + border-top: var(--navBorder); + text-align: center; + height:calc(50px + constant(safe-area-inset-bottom)); + height:calc(50px + env(safe-area-inset-bottom)); + background-color: var(--navbgColor); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); +} + +.navbar a { + float: left; + text-align: center; + padding: 8px 0; + width: 20%; + text-decoration: none; + max-width: 100px; +} + +.cbi-map { + margin-top: 10px; +} + +#cbi-shadowsocksr .cbi-map-descr { + display: none; +} + +.navbar a img { + width: 28px; +} + +@keyframes anim-rotate { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + 100% { + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg) + } +} + + +.main-left { + float: left; + width: 17rem; + background-color: var(--mainleftbgColor); + overflow-x: auto; + height: calc(100% - 3.5rem); + position: fixed; + padding-top: 15px; + box-shadow: 0 0px 4px rgb(0 0 0 / 8%); +} + +.main-right { + width: 85%; + width: calc(100% - 17rem); + float: right; + height: 100%; + border-left: var(--sectionBorder); +} + +.main-right > #maincontent { +} + +.pull-right { + position: absolute; + top: -2px; + right: 30px; + cursor: pointer; +} + +.pull-left { + float: left; +} + + +header > .container { +margin:0; +padding:0; +} + +header > .container > .brand { + font-size: 25px; + font-family: "Cocon-Regular-Font"; + /*font-weight:bold;*/ + line-height:60px; + /*color: white;*/ + color: var(--logo_color); + cursor: default; + /*background: #51c291;*/ + display:block; + width:17rem; + /* padding-left: 30px; */ + height:60px; + text-align:center; + float:left; + font-weight:900; + letter-spacing:1px; +} +header > .container > a[class="brand"]:after { + content:""; + font-size:14px; + font-family:Tahoma; + position: absolute; + top:-10px; + font-weight:normal !important; +} + +header > .container > .brand-hostname { + font-size: 14px; + line-height:60px; + color: #555555; + cursor: default; + display:block; + width:17rem; + padding-right: 10px; + height:60px; + text-align:left; + float:left; + margin-top: 7px; + font-weight:300; + margin-left: -15px; +} + +.warning { + background-color: #FF7D60 !important; + color: #FFF; +} + +.errorbox, +.alert-message { + font-weight: bold; + margin-bottom: 1em; + padding: 1rem; + border: 0; + border-radius: 3px !important; + color: var(--alertColor); + background-color: #5c5c5c; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); + text-shadow: 1px 1px rgba(0, 0, 0, .1); + background-color: var(--alertBackground); +} + +.errorbox { + color: #fff; + background-color: #ff6767; + border-radius: 10px; +} + +.error { + color: red; +} +p#shadowsocksr_status { + padding: 3px; +} + + +#maincontent > .container > div:nth-child(1).alert-message.warning > a { + font: inherit; + overflow: visible; + text-transform: none; + display: inline-block; + margin-bottom: 0; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + min-width: 6rem; + padding: 0.5rem 1rem; + font-size: 14px; + line-height: 1.42857143; + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; + margin-top: 2rem; + text-decoration: inherit; +} + +.main > .main-left > .nav { + overflow-y: visible !important; + font-size: 1rem; + width: 90%; + margin: auto; + margin-bottom: 90px; +} + +.main > .main-left > .nav > li a { + color: var(--activeColor); + display: block; + border-radius: 6px; + cursor: pointer; + font-weight: bold; + font-size: 1.1rem; + transition: all 0.2s; +} + +/* +.main > .main-left > .nav > li:nth-last-child(1) { + font-size: 11pt; + height:40px; + padding-top:6px; +} +*/ + +.main > .main-left > .nav > li { + cursor: pointer; + padding-top:6px; +} + + + +.main > .main-left > .nav > .slide { + padding: 0; + padding-top:8px; +} + +.main > .main-left > .nav > .slide > a:before { + display: inline-block; + left:-10px; + top: 1px; + position: relative; + font-family: "design" !important; + font-weight: bold !important; + text-transform: none !important; + speak: none; + font-size: 1.2rem !important; + -webkit-font-smoothing: antialiased; +} + +.main .main-left .nav li.slide .menu.active::after { + transform: rotate(90deg); +} + +.main > .main-left > .nav > .slide > a[data-title="Status"]:before { + content: "\e6b8"; +} + +.main > .main-left > .nav > .slide > a[data-title="Status"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="System"]:before { + content: "\e645"; +} + +.main > .main-left > .nav > .slide > a[data-title="System"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="Services"]:before { + content: "\e6cb"; +} + +.main > .main-left > .nav > .slide > a[data-title="Services"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="Docker"]:before { + content: "\44"; +} + +.main > .main-left > .nav > .slide > a[data-title="Docker"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="NAS"]:before { + content: "\eb04"; +} + +.main > .main-left > .nav > .slide > a[data-title="NAS"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="VPN"]:before { + content: "\56"; +} + +.main > .main-left > .nav > .slide > a[data-title="VPN"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="Network"]:before { + content: "\72"; +} + +.main > .main-left > .nav > .slide > a[data-title="Network"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a[data-title="Bandwidth Monitor"]:before { + content: "\e764"; +} + +.main > .main-left > .nav > .slide > a[data-title="Bandwidth Monitor"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main .main-left .nav li.slide .menu[data-title="Statistics"]:before { + content: "\e604"; +} + +.main > .main-left > .nav > .slide > a[data-title="Statistics"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main .main-left .nav li.slide .menu[data-title="Control"]:before { + content: "\e67a"; +} + +.main > .main-left > .nav > .slide > a[data-title="Control"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main .main-left .nav li.slide .menu[data-title="Asterisk"]:before { + content: "\e7dd"; +} + +.main > .main-left > .nav > .slide > a[data-title="Asterisk"]:after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > li > a[data-title="Inital Setup"]:before { + content: "\e67e"; +} + +.main > .main-left > .nav > li > a[href="/cgi-bin/luci//admin/wizard"]:before { + content: "\e67e"; +} + +.main > .main-left > .nav > li > a[data-title="iStore"]:before { + content: "\e676"; +} + + +.main > .main-left > .nav > li > a[data-title="Logout"] { + padding: 0.675rem 0 0.675rem 2.5rem; +} + +.main > .main-left > .nav > li > a[data-title="Logout"]:before { + content: "\e641"; +} + +.main > .main-left > .nav > li > a[data-title="Reboot"] { + padding: 6px 25px; +} +.main > .main-left > .nav > li > a[data-title="Reboot"]:before { + content: "\e004"; +} + +.main > .main-left > .nav > .slide > ul { + display: none; + list-style:dotted; +} + +.main > .main-left > .nav > .slide > .menu { + display: block; + padding: 0.675rem 0 0.675rem 2.5rem; + text-decoration: none; + cursor: pointer;; +} + +.main > .main-left > .nav > .slide > .menu2 { + display: block; + padding: 0.675rem 0 0.675rem 2.5rem; + text-decoration: none; + cursor: pointer;; +} +.main > .main-left > .nav > li:hover, +.main > .main-left > .nav > .slide > .menu:hover { + background: var(--activeColor); + color:white; +} +.main > .main-left > .nav > .slide > .menu2:hover { + background: var(--activeColor); + color:white; +} + +.main > .main-left > .nav > .slide:hover { + background: none; +} +.slide-menu { + overflow:hidden; + } +.main > .main-left > .nav > .slide > .slide-menu > li { + margin-top: 8px; + border-radius: 6px; +} + + + +.main > .main-left > .nav > .slide > .slide-menu > .active { + background-color: var(--activeColor); +} + +.main > .main-left > .nav > .slide > .slide-menu > li > a { + position: relative; + display: block; + color: var(--textColor); + vertical-align: middle; + background:none !important; + border: none !important; + text-transform: capitalize; + font-size: 1rem; + margin: 0.1rem 0.5rem 0.1rem 0.5rem; + padding: 0.675rem 0 0.675rem 2.5rem; +} +.main .main-left .nav li.slide .slide-menu .active a { + color: #000; + z} + +.main > .main-left > .nav > .slide > .slide-menu > li > a:hover { + color:white; +} + +.main > .main-left > .nav > .slide > .slide-menu > .active > a { + color: white; +} + +.main > .main-left > .nav > .slide > .slide-menu > li:hover { + background: var(--activeColor); + color:white !important; + transition: all 0.2s; +} + +.main > .main-left > .nav > .slide > .slide-menu > .active:hover { + background-color: var(--activeColor); + cursor: pointer; +} + +.cbi-tab-descr { + padding:10px; +} + +li { + list-style-type: none; +} + +#maincontent > .container { + margin:30px 30px 50px 30px; +} + +h1 { + color: var(--activeColor); + font-size: 20px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + +h2 { + color: var(--activeColor); + padding: 0 12px 6px 12px; + text-transform: capitalize; +} + +h3 { + font-size: 1.2rem; + color: var(--activeColor); + font-weight:bold; + padding: 0 12px 10px 12px; +} + +h4 { + +} + +label { + display: inline-block; + vertical-align: middle; +} +div.cbi-section, +.node-admin-status-routes #view { + /* margin: 10px 0 0 0; */ + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + /* box-shadow: var(--sectionShaddow); */ + -webkit-overflow-scrolling: touch; +} + +div.cbi-section > legend { + display: none !important; +} + +div.cbi-section > div.cbi-section { + /* margin: 0; */ + padding: 0; + /* border: none; */ + /* box-shadow: none; */ +} + +.panel-title { + width: 100%; + display: block; + padding: 10px; + font-weight: bold; + font-size: 1rem; +} + +table { + border-spacing: 0; + border-collapse: collapse; + width: 100%; + border: 0px solid #eee; +} + +table tr th:empty { + display: none; +} +strong { + font-weight: bold; + padding: 2px; +} + +#lb_load01_cur, +#lb_load01_peak, +#lb_load05_cur, +#lb_load15_cur{ + text-align:right !important; +} + +#lb_load01_peak { + text-align:left !important; + } +#lb_load01_cur { + +} + +table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th { + padding: 12px; + white-space: nowrap; + line-height:1.5; + vertical-align: middle !important; +} + +table > tbody > tr { + border-bottom: var(--cbilineColor) !important; +} + +table > tbody > tr:last-child { + border-bottom: none !important; +} + +.cbi-section-table-cell { + text-align: center; +} + +.cbi-section-table-row { + text-align: center; +} + +.cbi-section-remove{ + margin-bottom: 2px; +} +.cbi-section-remove > input { + background-color: #cc0066; +} +div.cbi-section > table > tbody > tr:nth-of-type(odd) { + background-color: var(--sectionbgColor2); +} + +/* fix progress bar */ +#swaptotal > div, +#swapfree > div, +#swapcache > div, +#memfree > div, +#membuff > div, +#conns > div, +#memcache > div, +#memtotal > div { + width: 100% !important; + border-color: var(--progressbarColor) !important; + background-color:var(--progressbarColor) !important; +} + +#swaptotal > div > div, +#swapfree > div > div, +#swapcache > div > div, +#memfree > div > div, +#membuff > div > div, +#conns > div > div, +#memcache > div > div, +#memtotal > div > div { + background-color: var(--progressbar) !important; + color: var(--progressbartxtColor) !important; +} + +#swaptotal div div, +#swapfree div div, +#swapcache div div, +#memfree div div, +#membuff div div, +#conns div div, +#memcache div div, +#memtotal div div { + align-items: center; + align-content: center; + justify-content: center; + display: flex; +} + +#swaptotal div div small, +#swapfree div div small, +#swapcache div div small, +#memfree div div small, +#membuff div div small, +#conns div div small, +#memcache div div small, +#memtotal div div small{ + font-size: 0.75rem !important; + line-height: 130%; + color: var(--progressbartxtColor) !important; +} + +.cbi-value-field { + width: 65%; +} +/* fix node-system-admin */ +.node-system-admin .cbi-value-field li div { + padding: 0 !important; +} + +.node-system-admin em { + padding: 0 !important; +} + +/* fix node-nlbw-display */ +.node-nlbw-display hr { + display: none; +} + +.node-nlbw-display p { + line-height: 1.5; + padding: 0 10px 5px 10px; +} + + +/* fix node-network-network */ + +/* #cbi-network-lan-__status table { + width: auto; +} + +#cbi-network-lan-__status table td { + width: 0; + padding: 0; + +} +#cbi-network-lan-__status table td small { + font-size: 11px; + white-space: nowrap; +} */ + +div [id*="cbi-network-"] [id*="-__status"] table { + width: auto; +} + +div [id*="cbi-network-"] [id*="-__status"] table td { + width: 0; + padding: 0; + +} +div [id*="cbi-network-"] [id*="-__status"] table td small { + width: auto; +} + +div [id*="cbi-wireless"] [id*="-__status"] table { + width: auto; +} + +div [id*="cbi-wireless"] [id*="-__status"] table td { + width: 0; + padding: 0; + +} +div [id*="cbi-wireless"] [id*="-__status"] table td small { + width: auto; +} + +/* fix node-status-routes */ + +.node-status-routes .cbi-section-node{ + max-height: 500px; + overflow-y: auto; + overflow-x: hidden; +} + +/* fix multiple table */ + +table table { + border: none; +} + +.cbi-value-field table { + border: none; +} +.cbi-value-field label { + padding: 0 ; +} +td > table > tbody > tr > td { + border: none; +} + +.cbi-value-field > table > tbody > tr > td { + border: none; +} + +div#container\.nlbw\.traffic { + /* overflow: auto; */ +} +div#container\.nlbw\.traffic #host-data { + display: block; + overflow: auto; +} + +td#__status-ifc-signal { + width: 60px !important; +} + +/* button style */ + +.cbi-button { + -webkit-appearance: none; + text-transform: uppercase; + color: #fff; + background-color: #337ab7; + transition: all 0.2s ease-in-out; + display: inline-block; + border: none; + cursor: pointer; + -ms-touch-action: manipulation; + touch-action: manipulation; + background-image: none; + text-align: center; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: auto !important; + min-width: 80px; + padding: 0px 8px 0px 8px; + max-width: 160px; + height: 35px; + line-height: 35px; +} + +.cbi-button:hover, +.cbi-button:focus, +.cbi-button:active { + color: #fff; + outline: 0; + text-decoration: none; + background-color: rgb(106,101,214); +} + +.cbi-button:hover, +.cbi-button:focus { + box-shadow: 0 1px 1px rgba(0,0,0,.05); +} + +.cbi-button:active { + box-shadow: 0 1px 1px rgba(0,0,0,.05); +} + +.cbi-button:disabled { + cursor: not-allowed; + pointer-events: none; + opacity: 0.60; + box-shadow: none; +} + +form.inline + form.inline, +.cbi-button + .cbi-button { +} + +.cbi-button-reset, +.cbi-input-remove { + color: #fff !important; + background-color: #617486 !important; +} + +.cbi-button-reset:hover, +.cbi-input-remove:hover, +.cbi-button-remove:hover{ + color: #fff !important; + background-color: rgb(83,100,115) !important; +} + +.cbi-button-link, +.cbi-input-find, +.cbi-input-save, +.cbi-button-add, +.cbi-button-save, +.cbi-button-find, +.cbi-input-reload, +.cbi-button-reload { + color: var(--bttextColor); + background-color: rgb(0,171,232) !important; + border-color: rgb(0,171,232) !important; +} + +.cbi-button-link:hover, +.cbi-input-find:hover, +.cbi-input-save:hover, +.cbi-button-add:hover, +.cbi-button-save:hover, +.cbi-button-find:hover, +.cbi-input-reload:hover, +.cbi-button-reload:hover{ + color: #fff !important; + background-color: #337ab7 !important; + border-color: #337ab7 !important; +} + +.cbi-input-apply, +.cbi-button-apply, +.cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor); +} + +.cbi-input-reset, +.cbi-button-remove { + color: #fff !important; + background: #617486; +} + + +.a-to-btn { + text-decoration: none; +} + +/* table */ + +.tabs { + margin: 15px 0; + overflow-x: auto; +} + +.cbi-tabmenu > li, +.tabs > li { + display: table-cell; +} + +.cbi-tabmenu > li { + border-radius: var(--tabmenuRadius); +} + +.tabs > li > a { + text-decoration: none; + padding: 0 6px 0 6px; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; +} + +.cbi-tabmenu > li > a { + text-decoration: none; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; + margin: 0 10px; +} + +.tabs > li[class~="active"], +.tabs > li:hover{ + cursor: pointer; + +} + +.tabs > li[class~="active"] > a { + color: var(--activeColor) !important; + padding-bottom: 8px; + border-bottom: var(--activeColor) 2px solid; +} + +.tabs > li:hover { + /*border-bottom: 0.18751rem solid rgb(133,129,216);*/ +} + +.cbi-tabmenu { + border-top: var(--sectiontabBorder); + border-left: var(--tabmenuBorderLR); + border-right: var(--tabmenuBorderLR); + border-bottom: var(--tabmenuBottom); + background-color: var(--tabmenubgColor); + width: 100%; + overflow-x: auto; + margin-top: 5px; + margin-bottom: 10px; +} + +.cbi-tabmenu > li:hover { + background-color: none; +} + +.cbi-tabmenu > li[class~="cbi-tab"] { + background-color: none; +} + +.cbi-tabmenu > li[class~="cbi-tab"] a { + color: var(--activeColor) ; + border-bottom: 2px solid var(--activeColor); +} + +.cbi-section-node-tabbed { + margin-top: 0; + border-bottom: var(--sectiontabBorder); + border-left: var(--sectiontabBorder); + border-right: var(--sectiontabBorder); + border-radius: 0 0; +} + + +.cbi-tabcontainer { + clear:both; +} +.cbi-tabcontainer > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2); +} + +.cbi-section-node > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2); +} +div > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2); +} + +.cbi-value-field, +.cbi-value-description { + display: table-cell; +} + +.cbi-value-field { + /* padding: 10px 10px 10px 0; */ +} + +.cbi-value-helpicon > img { + display: none; +} + +.cbi-value-helpicon:before { + content: "\f059"; +} + +.cbi-value-description { + opacity: 0.6; + padding-left: 4px; +} + +.cbi-value-title { + word-wrap: break-word; + display: table-cell; + width: 35%; + float: left; + padding: 13px 10px 5px 3px; +} + +.cbi-value { + display: flex; + width: 100%; + align-items: center; + align-content: center; + justify-content: flex-start; + min-height: 40px; + padding: 8px 10px; + flex-flow:row wrap; + border-bottom: var(--cbilineColor); +} + +.cbi-value:last-child { + border-bottom: none; +} + +.cbi-value strong { + font-weight: normal; +} + +.cbi-section-table-descr > .cbi-section-table-cell, +.cbi-section-table-titles > .cbi-section-table-cell { + border: none; +} + +.cbi-rowstyle-2 { + background-color: var(--sectionbgColor2); +} + +.cbi-rowstyle-2 .cbi-button-up, +.cbi-rowstyle-2 .cbi-button-down{ +} + +.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + width: auto !important; +} +.cbi-section-table tr .cbi-value-field { + text-align: center ; + width: 20% !important; + padding: 10px !important; +} +.cbi-section-table tr .cbi-value-field input { + width: auto; +} +.cbi-section-table tr .cbi-value-field .ifacebox { + margin: auto; + width: fit-content; + min-width: 60px; +} + +/* desc */ +.cbi-section-descr { + padding: 3px 10px; +} + +.cbi-map-descr { + padding: 5px 5px 5px 12px; +} + +.cbi-map-descr h3 { + font-size: 0.92rem; + font-weight: normal; + color: #666; +} + +#cbi-vsftpd .cbi-map-descr { + color: var(--activeColor); + padding: 0 12px 0px 12px; + font-size: 1.2rem; + font-weight: bold; +} + + +/* luci */ + +.hidden { + display: none +} + +.left { + text-align: left !important; +} + +.right { + text-align: right !important; +} + +.right .cbi-button { + height: 20px; + line-height: 20px; + min-width: 60px; + padding: 0; + margin: 0; +} + +.inline { + display: inline; +} + +.cbi-page-actions { + text-align: center; +} + +/* input */ +.cbi-value input[type="password"], +.cbi-value input[type="text"] { + +} + +/* select */ + + +.ifacebadge { + display: inline-flex; + padding: 5px; + background-color: var(--badgebgColor); + align-content: center; + align-items: center; + border-radius: 5px; + border: var(--badgeBorder); + color: rgb(132,119,116); +} + +#content_syslog { + padding: 5px; + margin-top:10px; + border-radius: 10px; + background-color: var(--sectionbgColor); + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); +} + +.ifacebadge > img { + float: right; + margin-left: 0.3rem; +} + +img.cbi-image-button { + vertical-align: middle; + +} + +div.cbi-section{ + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 10px; + margin-top: 5px; +} + +/*textarea*/ + +.cbi-input-textarea, textarea { + color: var(--inputtextColor); + padding: 10px; + line-height: normal; + border: var(--sectionBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: baseline; + border-radius: 10px; + font-family: Menlo, Mono; + font-size: 0.9rem; + white-space: pre; + margin-bottom: 5px; +} + +#syslog { + width: 100%; + min-height: 15rem; + padding: 10px; + margin-bottom: 20px; + border-radius: 0; + background-color: var(--sectionbgColor); + border: none; +} + +/* change */ +#wan4_i, #wan6_i { +width:50px !important; +} + +.uci-change-list { + font-family: monospace; +} + +.uci-change-list ins, +.uci-change-legend-label ins { + text-decoration: none; + border: 1px solid #00FF00; + background-color: #CCFFCC; + display: block; + padding: 2px; + color: black; + /* border-radius: 5px; */ + overflow-x: auto; +} + +.uci-change-list del, +.uci-change-legend-label del { + text-decoration: none; + border: 1px solid #FF0000; + background-color: #FFCCCC; + display: block; + font-style: normal; + padding: 2px; + color:black; + /* border-radius: 5px; */ + overflow-x: auto; +} + +.uci-change-list var, +.uci-change-legend-label var { + text-decoration: none; + border: 1px solid #CCCCCC; + background-color: #EEEEEE; + display: block; + font-style: normal; + padding: 2px; + color:black; + /* border-radius: 5px; */ + overflow-x: auto; +} + +.uci-change-list var ins, +.uci-change-list var del { + border: none; + white-space: pre; + font-style: normal; + padding: 0px; + color:black; + /* border-radius: 5px; */ + overflow-x: auto; +} + +.uci-change-legend { + padding: 5px; +} + +.uci-change-legend-label { + width: 150px; + float: left; + display: flex; + /* align-content: center; */ + align-items: center; +} + +.uci-change-legend-label > ins, +.uci-change-legend-label > del, +.uci-change-legend-label > var { + float: left; + margin-right: 4px; + width: 10px; + height: 10px; + display: block; +} + +.uci-change-legend-label var ins, +.uci-change-legend-label var del { + border: none; + height: 10px; + width: 10px; +} + +.uci-change-list var, +.uci-change-list del, +.uci-change-list ins { + padding: 0.5rem; +} + +/* other fix */ +#iwsvg, +#iwsvg2, +#bwsvg { + border: var(--sectionBorder) !important; + font-family: -apple-system; + background: none !important; +} + +.ifacebox { + border: #1096db 1px solid; + border-radius: 5px; + font-size:0.92rem; + font-weight:normal; +} +.ifacebox-head { + color:#fff; +} +.ifacebox-body small { + font-size:0.8rem !important; + padding: 5px +} + +.ifacebox-body strong { + color:#f7f7f7; + font-size: 0px !important; +} + +.cbi-image-button { + +} + + +.zonebadge > .ifacebadge { + padding: 3px 5px; + margin: 5px; +} + +.zonebadge > input[type="text"] { + padding: 0.16rem 1rem; + min-width: 10rem; + margin-top: 0.3rem; +} + +.cbi-value-field .cbi-input-checkbox, +.cbi-value-field .cbi-input-radio { + vertical-align: middle; +} + +.cbi-section-table-row > .cbi-value-field .cbi-input-select { + min-width: 7rem; +} + +.cbi-section-create { + padding: 0 10px; +} +.cbi-section-create > .cbi-button-add { + margin: 10px 0 10px 0 +} + +div.cbi-value var, td.cbi-value-field var { + font-style: italic; + color: #0069D6; +} + +small { + font-size: small; + font-weight: normal !important; + white-space: normal; +} + +.cbi-button-up, +.cbi-button-down { + display: inline-block; + min-width: 0; + font-size: 0.9rem; +} + +.cbi-optionals { + padding: 1rem 1rem 0 1rem; + border-top: 1px solid #CCC; +} + +#diag-rc-output > pre { + display: block; + padding: 10px; + line-height: 1.5rem; + -moz-border-radius: 3px; + white-space: pre-wrap; + word-wrap: break-word; + color: #76838f; +} + +input[name="ping"], +input[name="traceroute"], +input[name="nslookup"] { + width: 80%; +} + +table.cbi-section-table select { + width: auto !important; +} + +header > .container > .pull-right > * { + +} + +#xhr_poll_status > .label.success { + padding: 10px 10px; + border-radius: 20px; +} + +#xhr_poll_status_off { + padding: 10px 10px; + border-radius: 20px; +} + +.label { + padding: 0 3px 0 3px; + white-space: nowrap; + border-radius: 3px; + position: absolute; + right: 5px; + top: 15px; + line-height: 150%; +} + +.notice { + background-color: var(--activeColor); + color: #fff; + font-size: 0.8rem; + padding: 3px 10px; + border-radius: 20px; + z-index: 10; + top: 22px; +} + +#refresh_on, #refresh_off { + font-size: 1.5rem; + font-family: design; +} + +#refresh_on { + color: var(--activeColor); +} +#refresh_off { + color: var(--progressbarColor); +} + +.darkMask { + width: 100%; + height: 100%; + position: fixed; + background-color: rgba(0, 0, 0, 0.56); + content: ""; + z-index: 99; + display: none; +} + +/* fix Main Login*/ + +.node-main-login { + text-align: center; + background-color: var(--bgwhite) !important; +} +.node-main-login .cbi-section-node > .cbi-value:nth-of-type(2n) { + background: none; +} +.node-main-login h2 { + font-size: 1.5rem; +} + +.node-main-login header { + display: none; +} +.node-main-login > .main > .main-left { + display: none; +} + +.node-main-login > .main > .main-right { + width: 100%; +} + +.node-main-login > .main div.cbi-section { + padding: 0px !important; + margin-bottom: 1rem; + display: inline; + background: none; + border: none; + box-shadow: none; + overflow: hidden; +} + +.node-main-login > .main label.cbi-value-title { + display: none !important; +} + +.node-main-login > .main .cbi-section { + margin-top: 10px !important; +} + +.node-main-login > .main .cbi-map { +} + +.node-main-login > .main div.cbi-section .cbi-value { +} + +.node-main-login > .main div.cbi-section .cbi-value-title { + padding: 10px 0 10px 5px !important; +} + +.node-main-login > .main .cbi-value { + border: none; +} + +.node-main-login > .main .cbi-value-title { + width: 7rem; +} + +.node-main-login > .main #maincontent { + display: flex; + height: 100%; + text-align: center; + align-items: center; + align-content: center; + justify-content: center; +} + +/* .node-main-login > .main .container { + background-image: var(--logo); + background-repeat: no-repeat; + background-size: 300px auto; + width: 300px; + padding: 80px 0 0 0; +} */ + +.node-main-login > .main form > div:nth-last-child(1) { +} + + +.node-main-login > .main .cbi-value > * { + display: inline-block !important; +} + +/* .node-main-login > .main .cbi-input-user, +.node-main-login > .main .cbi-input-password { + min-width: 15rem; +} */ + +.node-main-login > .main .cbi-input-text { + min-width: 15rem; +} + +.node-main-login footer { + bottom: 0; + position: absolute; + width: 100%; +} + +/* fix node-services-shadowsocksr */ + +.node-services-shadowsocksr .cbi-input-textarea, +.node-nlbw-config .cbi-input-textarea { + /* margin: 10px; */ +} + +.node-services-shadowsocksr #cbi-logview .cbi-section { + padding: 0; +} + +/* fix node-network-diagnostics */ +.node-network-diagnostics .cbi-section { + border-radius: 10px; +} + + +/* fix status overview */ + +.node-status-overview > .main div.cbi-section:nth-child(4) td:nth-child(2) { + white-space: normal; +} + +/* fix status processes */ + +.node-status-processes > .main table tr td:nth-child(3) { + white-space: normal; +} + +.cbi-map div.cbi-section h3 { + } + +.cbi-map div.cbi-section ul li { + margin-right:0 !important; +} +/* fix system reboot */ + +.node-system-reboot > .main > .main-right p, +.node-system-reboot > .main > .main-right h3 { + margin-left: 12px; +} + +.node-system-reboot #maincontent { +} + +/* fix Services Network Shares*/ +.node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title { + margin-bottom: 1rem; +} + +.node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field { + display: list-item; +} + +.node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description { + padding-top: 1rem; + line-height:150%; +} + +/* fix System Software*/ +.node-system-packages > .main table tr td:nth-child(1) { + width: auto !important; +} + +.node-system-packages .cbi-section-node .cbi-value-last { + /* padding: 8px 12px; */ +} + +.node-system-packages .cbi-section-node .cbi-value-last > div { + border: none !important; +} + + + +.node-system-packages .cbi-section-node .cbi-value-last > div > div { + border: none !important; +} + +.node-system-packages .cbi-section-node .cbi-value-last:nth-last-child(1) { + padding: auto; +} + +.node-system-packages > .main table tr td:nth-last-child(1) { + white-space: normal; + font-size: small; + color: #76838f; +} + +.node-system-packages > .main .cbi-value > pre { + /* background-color: var(--inputbgColor); */ + padding: 10px; + overflow: auto; + /* border: var(--inputBorder); */ + border-radius: 10px; +} + +.node-system-packages #cbi-distfeedconf .cbi-section, +.node-system-packages #cbi-customfeedconf .cbi-section { + border-radius: 10px; +} + +.node-system-packages .cbi-value-field { + width: 58%; +} + +#container\.nlbw\.traffic, #container\.nlbw\.layer7, #container\.nlbw\.ipv6, #container\.nlbw\.export { + margin-top: 0; + margin-top: 0; + padding: 10px; + text-align: center; + border-bottom: var(--sectionBorder); + border-left: var(--sectionBorder); + border-right: var(--sectionBorder); + background-color: var(--sectionbgColor); + border-radius: 10px; +} + +#container\.nlbw\.export ul li { + + padding: 5px; + width: 150px; + margin: 10px; + border-radius: 5px; + border: #ccc 1px solid; + +} + +#container\.nlbw\.traffic table, +#container\.nlbw\.layer7 table, +#container\.nlbw\.ipv6 table, +#container\.nlbw\.export table { + border: #ccc 1px solid; +} + +#container\.nlbw\.traffic th, +#container\.nlbw\.traffic td, +#container\.nlbw\.layer7 th, +#container\.nlbw\.layer7 td, +#container\.nlbw\.ipv6 th, +#container\.nlbw\.ipv6 td, +#container\.nlbw\.export th, +#container\.nlbw\.export td { + padding: 3px; + border-top: none; + border-left: #ccc 1px solid; + border-right: #ccc 1px solid; + border-bottom: #ccc 1px solid; + } + +.cbi-tabmenu + .cbi-section ul { + text-align: left; +} + +/* fix network firewall*/ +.node-network-firewall > .main .cbi-section-table-row > .cbi-value-field .cbi-input-select { + min-width: 4rem; +} + +.node-status-iptables > .main div > .cbi-map > form { + position: static !important; + margin: 10px 0 20px 0; + padding: 12px; + border: 0; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); + border-radius: 10px; + background-color: var(--bgwhite); + -webkit-overflow-scrolling: touch; +} + + + +/** fix system packages +.node-system-packages .cbi-section { + border-radius: 0 0 10px 10px; +} + + +#cbi-ipkgconf .cbi-section { + border-radius: 0 0 10px 10px; +} + +**/ + + +.node-system-flashops div.cbi-section div.cbi-section { + border: none; +} +.node-system-flashops br { + display: none; +} + +.node-system-flashops .cbi-section { + padding: 0; +} +.node-system-flashops .cbi-section-descr { + padding: 12px; + line-height: 1.5; + border-radius: 6px; + /* border: var(--sectiontabBorder); + background-color: var(--sectionbgColor2); */ +} + + +.node-status-iptables .cbi-tabmenu, +.node-system-packages .cbi-tabmenu, +.node-system-flashops .cbi-tabmenu { + /* border: none; **/ +} + +#cbi-firewall-redirect table *, +#cbi-network-switch_vlan table *, +#cbi-firewall-zone table *{ + font-size: small; +} + +#cbi-firewall-redirect table input[type="text"], +#cbi-network-switch_vlan table input[type="text"], +#cbi-firewall-zone table input[type="text"]{ + width: 5rem; +} + +#cbi-firewall-redirect table select, +#cbi-network-switch_vlan table select, +#cbi-firewall-zone table select{ + min-width: 3.5rem; +} + +/** fix node-status-realtime **/ + +.node-status-realtime table > tbody > tr > td { + text-align: left !important; + padding: 10px 3px 10px 3px; +} + +.node-status-realtime table { + table-layout: auto !important; +} + + +select#cbi\.combobox\.cbid\.shadowsocksr\.cfg013fd6\.tunnel_forward { + overflow: hidden; + +} + +/* language fix */ +body.lang_pl.node-main-login .cbi-value-title { + width: 12rem; +} + +/* fix nlbw component */ +#detail-bubble { + /* left: unset !important; */ + width: unset!important; +} +#detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem)!important; +} +#detail-bubble .head { + display: block; + overflow: auto; +} +#detail-bubble #bubble-table { + display: inline-table; + overflow: auto; +} + +@media screen and (max-width: 1280px) { + header { + /*height: 3.5rem;*/ + } + + header > .container { + /*margin-top: 0.25rem;*/ + } + + .main { + height: calc(100% - 3.5rem); + } + + .main-left { + width: calc(0% + 17rem); + top: 50px; + } + + .main-right { + width: calc(100% - 17rem); + } + + + table { + font-size: 0.9rem !important; + width: 100% !important; + } + + .main > .main-left > .nav > li, + .main > .main-left > .nav > li a, + .main > .main-left > .nav > .slide > .menu { + font-size: 1.1rem; + } + + .main > .main-left > .nav > .slide > .slide-menu > li > a { + font-size: 1rem; + text-transform: capitalize; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + /* fix nlbw component */ + #detail-bubble { + /* left: unset !important; */ + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } + .node-nlbw-usage table { + display: block; + overflow: auto; + } +} + +@media screen and (max-width: 992px) { + + /* img[src*="/images/logo.png"] { + background-color: var(--mainleftbgColor); + height: 50px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .main-left { + width: 0; + position: fixed; + z-index: 100; + } + + .main-right { + width: 100%; + } + + .showSide { + margin: 0; + padding: 0; + display: inline-block; + position: absolute; + width: 300px; + height: 50px; + padding: 17px 27px; + } + + .showSide:before { + content: "\e20e"; + font-size: 1.7rem; + } + + #maincontent > .container { + margin: 20px 20px; + } + + .node-main-login .showSide { + display: none !important; + } + + .cbi-value-title { + width:35%; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div * { + width: 100% !important; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="text"] { + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div:nth-child(4) input[type="text"] { + margin: 0 !important; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div select, + .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="button"] { + margin: 1rem 0 0 0; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div { + width: 100% !important; + } + + .node-main-login > .main .cbi-value-title { + text-align: left; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 700px) { + + #cbi-vssr-servers .cbi-button-add { + position: static !important; + width: auto !important; + height: 2rem !important; + line-height: 2rem !important; + color: #fff; + display: block; + padding: 0 !important; + font-size: 0.92rem; + border-radius: 10px !important; + box-shadow: none ; + background-image: none; + } + #cbi-vssr-servers .cbi-section-table-row { + margin:10px 0 !important; + } + #cbi-vssr-servers .p-in5 { + padding-bottom: 10px !important; + margin: 0 !important; + } + + #cbi-vssr-servers .cbi-page-actions { + padding-bottom: 10px !important; + } + + #maincontent > .container { + margin: 20px 20px; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 470px) { + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } +} + +@media screen and (max-width: 370px) { + + div.cbi-section { + /* overflow-x: auto; */ + } + + select { + width: 100%; + } + .label { + position: absolute; + right: 5px; + top: -70px; + } + + header { + height: 55px; + } + + h3 { + padding: 0 10px 10px 10px; + } + + /* img[src*="/images/logo.png"] + { + height: 45px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .showSide { + height: 45px; + } + + #maincontent > .container { + margin: 20px 20px; + } + + .main { + top: 45px; + } + + .main-left{ + top: 45px; + } + .main > .main-left > .nav > .slide > .menu { + } + + .main > .main-left > .nav > .slide > .slide-menu > li > a { + } + + .cbi-value { + margin-bottom: 20px; + display: table; + padding: 0px; + border-bottom: none; + } + + .cbi-value-title { + width: 100%; + font-weight: 700; + float: left; + padding: 0; + margin: 0; + margin-bottom: .25rem; + } + + .cbi-section-node { + padding: 10px !important; + } + + .cbi-value-description { + width: 100%; + display: block; + } + + .cbi-value > .cbi-value-field { + display: block; + float: left; + width: 100%; + } + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + .cbi-section-node > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .cbi-tabcontainer > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + div > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .node-main-login > .main .cbi-value { + padding: 0; + } + + .node-main-login > .main form > div:nth-last-child(1) { + margin-top: 2rem; + } + + .node-main-login > .main div.cbi-section { + margin: 0; + padding: 0.5rem; + } + + #container\.network\.lan\.physical .cbi-value-title, + #cbi-network-1-_ifname .cbi-value-title + { + width: 35%; + } + #cbi-network-1-_ifname .cbi-value-field + { + width: 65%; + } + + + h2 { + font-size: 1.2rem; + text-transform: capitalize; + } + + select, + input { + /* max-width: 200px; */ + } + + input[type='checkbox'] { + height: 1.2rem !important; + width: 1.2rem !important; + } + + #swaptotal div div small, + #swapfree div div small, + #swapcache div div small, + #memfree div div small, + #membuff div div small, + #conns div div small, + #memcache div div small, + #memtotal div div small{ + } + #swaptotal div div, + #swapfree div div, + #swapcache div div, + #memfree div div, + #membuff div div, + #conns div div, + #memcache div div, + #memtotal div div{ + } + + + .node-status-iptables > .main div > .cbi-map > form input[type="submit"]{ + margin: 0; + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-title{ + width: 15%; + + } + #cbi-samba-cfg010f89-_tmpl .cbi-value-field{ + width: 95%; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } +} + + +/* fix http://192.168.2.1/cgi-bin/luci/admin/nlbw/usage */ +#intervalSelect { + height: 40px !important; +} + +/* fix luci-app-commands */ +.commandbox div { + position: unset !important; +} + +/* fix luci-app-netspeedtest */ +#cbi-netspeedtest-homebox- { + display: unset !important; +} + +.node-nlbw-usage table { + display: block; + overflow: auto; +} +/* document.getElementById("container.nlbw.traffic").offsetWidth */ diff --git a/luci-theme-design/htdocs/luci-static/design/css/style.css b/luci-theme-design/htdocs/luci-static/design/css/style.css new file mode 100644 index 000000000..2cabe112e --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/css/style.css @@ -0,0 +1,3611 @@ +/** + * Design is a clean HTML5 theme for LuCI. It is based on luci-theme-material and luci-theme-neobird + * + * luci-theme-material + * Copyright 2015 Lutty Yang + * + * luci-theme-Neobird + * Copyright 2021 2smile + * + * Licensed to the public under the Apache License 2.0 + */ + + :root { + --bg: #f1f4f5; + --mainbg: #fff; + --bgwhite: #fff; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --textColor: rgb(132,119,116); + --borderColor: rgba(0,0,0,.15); + --navbgColor: rgba(255, 255, 255, .7); + --navBorder: 1px solid #f2f2f2; + --sectionbgColor: #fff; + --sectionbgColor2: #fff; + --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); + --sectionBorder: none; + --sectiontabBorder: none; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #e4eaec 1px solid; + --tabmenuRadius: 0; + --sectionnodeBorder: #f7f7f7 1px solid; + --cbilineColor: #f7f7f7 1px solid; + --tabbgColor: #fff; + --inputbgColor: #f8f8f8; + --inputtextColor: #76838f; + --inputBorder: 1px solid #e4eaec; + --mainleftbgColor: rgb(255,255,255); + --bttextColor: #fff; + --badgebgColor: #f7f7f7; + --badgeBorder: #e4eaec 1px solid; + --progressbarColor: #c8c8c8; + --progressbar: #5ea69b; + --progressbartxtColor: #fff; + /* --logo: url('/luci-static/design/images/logo.png'); + --mlogo: url('/luci-static/design/images/mlogo.png'); */ + --logo_color: #222b36; + --alertColor: #000000; + --alertBackground: rgb(230 230 230); + --modelBackground: #d4d4d4; + --scrollbarColor:#d0d0d0; +} + +@media (prefers-color-scheme: dark) { + :root { + --bg: #000; + --bgwhite: #000; + --textColor: #fefefe; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --borderColor: #2C2C3A; + --navbgColor: hsla(0, 0%, 7%, .8); + --navBorder: 1px solid #1c1c1e; + --sectionbgColor: #1c1c1e; + --sectionbgColor2: #1c1c1e; + --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); + --sectionBorder: none; + --sectiontabBorder: none; + --sectionnodeBorder: #3d3d41 1px solid; + --cbilineColor: #2d2d2d 1px solid; + --tabbgColor: #1c1c1e; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #2d2d2d 1px solid; + --tabmenuRadius: 6px 6px 0 0; + --inputbgColor: #2f2f2f; + --inputtextColor: #fefefe; + --inputBorder: 1px solid #4d4d4d; + --mainleftbgColor: #000; + --bttextColor: #fefefe; + --badgebgColor: #fefefe; + --badgeBorder: #3d3d40 1px solid; + --progressbarColor: #6d6d6d; + --progressbar: #5ea69b; + --progressbartxtColor: #fefefe; + /* --logo: url('/luci-static/design/images/logod.png'); + --mlogo: url('/luci-static/design/images/mlogod.png'); */ + --logo_color: #fefefe; + --alertColor: #ffffff; + --alertBackground: rgb(30 30 30); + --modelBackground: #1c1c1e; + --scrollbarColor:#4a4a4a; + } +} + +@font-face { + font-family: 'icomoon'; + src: url('../fonts/font.eot'); + src: url('../fonts/font.eot') format('embedded-opentype'), + url('../fonts/font.ttf') format('truetype'), + url('../fonts/font.woff') format('woff'), + url('../fonts/font.svg') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'design'; + src: url(''); + src: url('?#iefix') format('embedded-opentype'), + url('../fonts/iconfont-Regular.woff2') format('woff2'), + url('../fonts/iconfont-Regular.woff') format('woff'), + url('../fonts/iconfont-Regular.ttf') format('truetype'), + url('#iconfont') format('svg'); +} + +@font-face{ + font-family: 'Cocon-Regular-Font'; + src : url('../fonts/Cocon-Regular-Font.otf') format('opentype'); +} +div{ + font-family: 'HYk2gj'; +} + +::-webkit-scrollbar { + width: 4px; +} + +::-webkit-scrollbar-track { + box-shadow: inset 0 0 0px rgba(240, 240, 240, .5); + background-color: rgb(255 255 255 / 0%); +} + +::-webkit-scrollbar-thumb { + background: var(--scrollbarColor) ; + border-radius: 10px; +} + +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +a { + color: var(--textColor); + text-decoration: none; +} + +em { + font-style:normal !important; + line-height: 1.5; + padding-left: 10px; +} + +body div { + line-height:150%; +} + +.table { + position: relative; + display: table; +} + +.thead { + display: table-header-group; +} + +.tbody { + display: table-row-group; +} + +.tfoot { + display: table-footer-group; +} + +.td, +.th { + line-height: normal; + display: table-cell; + padding: .5em; + text-align: center; + vertical-align: middle; + white-space: nowrap; +} + +.th { + font-weight: bold; + white-space: nowrap; +} + +.tr.placeholder { + height: 4em; +} + +.tr.placeholder > .td { + line-height: 3; + position: absolute; + right: 0; + bottom: 0; + left: 0; + text-align: center !important; + background: inherit; +} + +.td[width="33%"], +.td[width="33%"]~.td { + padding: 12px; +} + +.table[width="33%"], +.th[width="33%"], +.td[width="33%"] { + width: 33%; +} + +.table[width="100%"], +.th[width="100%"], +.td[width="100%"] { + width: 100%; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { + font-family: -apple-system, 'Microsoft Yahei'; + font-weight: 600; + line-height: 1.1; + color: inherit; + clear:both; + text-transform: capitalize; +} + +html { + overflow-y: hidden; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +html, body { + margin: 0px; + padding: 0px; + height: 100%; + font-family: -apple-system, 'Microsoft Yahei' !important; + font-size: 0.92rem; + line-height: 150%; + background-color: var(--bg); + color:var(--textColor); +} + +select { + overflow: hidden !important; + width: 100%; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + padding: 0 25px 0 10px !important; + background-size: 24px 16px; + background-repeat: no-repeat; + background-position: right center; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC'); +} + +select, +input { + color: var(--inputtextColor); + padding: 5px 10px; + font-size: 0.92rem; + font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: middle; + border-radius: 8px; + margin: 3px 3px 3px 0; + height: 2.8rem; + line-height: 2.8rem; + max-width: 550px; + +} + +select:not([multiple="multiple"]):focus, +input:focus { + border-color: #948FE1; + box-shadow:0 0 6px #948FE1; + -webkit-box-shadow:0 0 6px #948FE1; + -moz-box-shadow:0 0 6px #948FE1; +} + +select, +.cbi-dropdown { + width: inherit; + cursor: default; +} + +select:not([multiple="multiple"]):focus, +input:not(.cbi-button):focus, +.cbi-dropdown:focus { + border-color: #948FE1; + box-shadow:0 0 6px #948FE1; + -webkit-box-shadow:0 0 6px #948FE1; + -moz-box-shadow:0 0 6px #948FE1; +} + +.cbi-dropdown, +select[multiple="multiple"] { + height: auto; +} + +pre { + overflow: auto; +} + +code { + font-size: 1rem; + font-size-adjust: .35; + padding: 1px 3px; + color: #101010; + border-radius: 2px; + background: #ddd; +} + +abbr { + cursor: help; + text-decoration: underline; + color: #005470; +} + +hr { + margin: 1rem 0; + opacity: .1; + border-color: #eee; +} + +header, .main { + width: 100%; + position: absolute; +} + +header { + background-color: var(--bgwhite); + box-shadow: 17rem 2px 4px rgba(0, 0, 0, 0.08); + transition: box-shadow 0.2s; + height: 55px; + float: left; + position: fixed; + z-index: 101; +} + +footer { + text-align: right; + padding: 1rem; + color: #aaa; + font-size: 11px; + height: 80px; + visibility:hidden; + /*text-shadow: 0px 0px 2px #BBB;*/ +} + +footer > a { + color: rgb(154,37,143); + text-decoration: none; +} + +small { + font-size: 90%; + line-height: 1.42857143; + white-space: normal; +} + +.cbi-button-up, +.cbi-button-down, +.cbi-value-helpicon, +.showSide, +.main > .loading > span { + /* font-family: 'icomoon' !important; */ + /* font-size:10px; */ + speak: none; + /* font-style: normal !important; */ + /* font-weight: normal !important; */ + /* font-variant: normal !important; */ + /* text-transform: none !important; */ + /* line-height: 1; */ + + /* -webkit-font-smoothing: antialiased; */ + /* -moz-osx-font-smoothing: grayscale; */ +} + +.main { + top: 50px; + bottom: 0rem; + position: relative; + height: 100%; + height: calc(100% - 4rem); +} + +.main > .loading { + position: fixed; + width: 100%; + height: 100%; + z-index: 1000; + display: block; + background-color: var(--bgwhite); + top: 0; +} + +.main > .loading > span { + display: block; + text-align: center; + margin-top: 2rem; + color: var(--textColor); + font-size: 1rem; +} + +.main > .loading > span > .loading-img:before { + content: "\e603"; +} + +.main > .loading > span > .loading-img { + animation: anim-rotate 2s infinite linear; + margin-right: 0.2rem; + display: inline-block; +} + +@keyframes anim-rotate { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + 100% { + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +.main-left { + float: left; + width: 17rem; + background-color: var(--mainleftbgColor); + overflow-x: auto; + height: calc(100% - 3.5rem); + position: fixed; + padding-top: 15px; + box-shadow: 0 0px 4px rgb(0 0 0 / 8%); + /* transition: visibility 150ms, width 150ms; */ +} + +.main-right { + width: 85%; + width: calc(100% - 17rem); + float: right; + height: 100%; + border-left: var(--sectionBorder); +} + +.main-right > #maincontent { + position: relative; + z-index: 50; +} + + + +.pull-right { + float: right; +} + +.pull-left { + float: left; +} + +.nowrap:not(.td) { + white-space: nowrap; +} + +[disabled="disabled"] { + pointer-events: none; +} + +header > .fill > .container { + /* margin-top: .5rem; */ + /* padding: .5rem 1rem 0 1rem; */ + margin:0; + padding:0; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +header > .fill > .container > #logo { + margin: 0 3.5rem 0 1.5rem; +} + +header > .fill > .container > #logo > img { + width: calc(0% + 10rem); + margin-top: -.5rem; +} + +header > .fill > .container > .brand { + font-size: 25px; + font-family: "Cocon-Regular-Font"; + /*font-weight:bold;*/ + line-height:60px; + /*color: white;*/ + color: var(--logo_color); + cursor: default; + /*background: #51c291;*/ + display:block; + width:17rem; + /* padding-left: 30px; */ + height:60px; + text-align:center; + float:left; + font-weight:900; + letter-spacing:1px; + margin-left: 10px; +} + +header > .fill > .container > a[class="brand"]:after { + content:""; + font-size:14px; + font-family:Tahoma; + position: absolute; + top:-10px; + font-weight:normal !important; +} + +header > .fill > .container > .brand-hostname { + font-size: 14px; + line-height:60px; + color: #555555; + cursor: default; + display:block; + width:17rem; + padding-right: 10px; + height:60px; + text-align:left; + float:left; + margin-top: 7px; + font-weight:300; + margin-left: -15px; +} + +header > .fill > .container > .status { + position: absolute; + top: 25%; + right: 1em; + float: right; + font-size: 1.5rem; + font-family: 'design'; + line-height: unset !important; +} + +header > .fill > .container > .status > * { + position: relative; + top: .2rem; + float: left; + margin-left: .3rem; + cursor: pointer; +} + +/* .modemenu-buttons { + display: flex; + flex-wrap: wrap; + align-items: center; + color: #fff; + color: var(--header-color); + background: #09c; + background: var(--header-bg); + padding: .5rem; + transition: box-shadow .2s; + box-shadow: 0 2px 5px rgb(0 0 0 / 26%); +} */ + +/* #modemenu { + margin: 0.25rem; + display: flex; + align-items: center; + flex-wrap: wrap; +} + +#modemenu > li > a { + font-size: .8rem; + font-weight: bold; + padding: .3rem .8rem; + white-space: nowrap; + text-decoration: none; + text-transform: uppercase; + color: #fff !important; + border-radius: 3px; + background-color: #bfbfbf; + text-shadow: none; +} + +#modemenu > li > a.active { + background-color: #002B49 !important; +} + +#modemenu > li.divider { + margin-left: .25rem; + margin-right: .25rem; + border: .5rem solid var(--submenu-bg-hover); + border-left: 1px solid var(--submenu-bg-hover); + border-right: 1px solid var(--submenu-bg-hover); + border-radius: 1rem; +} */ + +#xhr_poll_status { + display: flex; +} + +.danger { + background-color: #ff7d60 !important; +} + +.warning { + /*background-color: #FF7D60 !important;*/ + color: #FFF; +} + +.success { + background-color: #5cb85c !important; +} + +.notice, +[data-indicator]:not([data-style="inactive"]) { + color: var(--activeColor); +} + +.notice, +[data-indicator]:not([data-style="active"]) { + color: var(--progressbarColor); +} + +span[data-indicator="uci-changes"] { + font-size: .8rem; + transition: all .3s; +} + +.error { + color: red; +} + +.alert, +.alert-message { + font-weight: bold; + margin-bottom: 1em; + padding: 1rem; + border: 0; + border-radius: 3px !important; + color: #ffffff; + background-color: #5c5c5c; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); + text-shadow: 1px 1px rgba(0, 0, 0, .1); + background-color: var(--alertBackground); +} + +.alert-message > h4 { + font-size: 110%; + font-weight: bold; +} + +.alert-message > * { + margin: .5rem 0; +} + +/*.alert-message .btn { + padding: .3rem .6rem; +}*/ + +.container .alert, +.container .alert-message { + margin-top: 1rem; +} + +.main > .main-left > .nav { + overflow-y: visible !important; + font-size: 1rem; + width: 90%; + margin: auto; + margin-bottom: 90px; +} + +.main > .main-left > .nav > li { + cursor: pointer; + padding-top:6px; +} + +.main > .main-left > .nav > li a { + color: var(--activeColor); + display: block; + border-radius: 6px; + cursor: pointer; + font-weight: bold; + font-size: 1.1rem; + transition: all 0.2s; +} + +.main > .main-left > .nav > .slide, +.main > .main-left > .nav > li:last-child a +{ + padding: 0; + padding-top:8px; +} + +.main > .main-left > .nav > .slide > ul { + display: none; + list-style:dotted; +} + +.main > .main-left > .nav > .slide.active > ul { + display: block; +} + +.main > .main-left > .nav > .slide > .slide-menu > li { + margin-top: 8px; + border-radius: 6px; +} + +.main > .main-left > .nav > .slide > .menu::after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main > .main-left > .nav > .slide > a:before, +.main > .main-left > .nav > li > a:before { + display: inline-block; + left:-10px; + top: 1px; + position: relative; + font-family: "design" !important; + font-weight: bold !important; + text-transform: none !important; + speak: none; + font-size: 1.2rem !important; + -webkit-font-smoothing: antialiased; +} + +.main > .main-left > .nav > .slide > a[data-title="Status"]:before { + content: "\e6b8"; +} + +.main > .main-left > .nav > .slide > a[data-title="System"]:before { + content: "\e645"; +} + +.main > .main-left > .nav > .slide > a[data-title="Services"]:before { + content: "\e6cb"; +} + +.main > .main-left > .nav > .slide > a[data-title="Docker"]:before { + content: "\44"; +} + +.main > .main-left > .nav > .slide > a[data-title="NAS"]:before { + content: "\eb04"; +} + +.main > .main-left > .nav > .slide > a[data-title="VPN"]:before { + content: "\56"; +} + +.main > .main-left > .nav > .slide > a[data-title="Network"]:before { + content: "\72"; +} + +.main > .main-left > .nav > .slide > a[data-title="Bandwidth Monitor"]:before { + content: "\e764"; +} + +.main .main-left .nav li.slide .menu[data-title="Statistics"]:before { + content: "\e604"; +} + +.main .main-left .nav li.slide .menu[data-title="Control"]:before { + content: "\e67a"; +} + +.main .main-left .nav li.slide .menu[data-title="Asterisk"]:before { + content: "\e7dd"; +} + +.main > .main-left > .nav > li > a[data-title="Inital Setup"]:before { + content: "\e67e"; +} + +.main > .main-left > .nav > li > a[href="/cgi-bin/luci//admin/wizard"]:before { + content: "\e67e"; +} + +.main > .main-left > .nav > li > a[data-title="iStore"]:before { + content: "\e676"; +} + +.main > .main-left > .nav > li > a[data-title="Logout"] { + padding: 0.675rem 0 0.675rem 2.5rem; +} + +.main > .main-left > .nav > li > a[data-title="Logout"]:before { + content: "\e641"; +} + +.main > .main-left > .nav > li > a[data-title="Reboot"] { + padding: 6px 25px; +} +.main > .main-left > .nav > li > a[data-title="Reboot"]:before { + content: "\e004"; +} + +.main > .main-left > .nav > .slide > .menu.active::after { + transform: rotate(90deg); +} + +body[class*="node-"] > .main > .main-left > .nav > .slide > .menu::before { + transition: transform .1s ease-in-out; +} + +body[class*="node-"] > .main > .main-left > .nav > .slide > .menu.active::before { + transition: transform .2s ease-in-out; +} + +.main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before { + display: none; +} + +.main > .main-left > .nav > li:last-child::before { + position: absolute; + left: 14px; + width: 24px; + height: 24px; + /* content: url(./icons/logout.svg); */ +} + +.main > .main-left > .nav > li:last-child a:hover, +.main > .main-left > .nav > .slide > .menu:hover { + background: var(--activeColor); + color:white; +} +.main > .main-left > .nav > .slide:hover { + background: none; +} + +.slide-menu { + overflow:hidden; +} + +.main > .main-left > .nav > .slide > .slide-menu > .active { + background-color: var(--activeColor); +} + +.main > .main-left > .nav > .slide > .slide-menu > li > a { + position: relative; + display: block; + color: var(--textColor); + vertical-align: middle; + background:none !important; + border: none !important; + text-transform: capitalize; + font-size: 1rem; + margin: 0.1rem 0.5rem 0.1rem 0.5rem; + padding: 0.675rem 0 0.675rem 2.5rem; +} + +.main > .main-left > .nav > .slide > .slide-menu > .active > a { + color: white; +} + +.main > .main-left > .nav > .slide > .slide-menu > li:hover { + background: var(--activeColor); + color:white !important; + transition: all 0.2s; +} +.main .main-left .nav li.slide .slide-menu .active a { + color: #000; +} + +.main > .main-left > .nav > .slide > .slide-menu > .active:hover { + background-color: var(--activeColor); + cursor: pointer; +} + +/* ripple effect */ +.main > .main-left > .nav > .slide > .menu, +.main > .main-left > .nav > li:last-child a +{ + display: block; + padding: 0.675rem 0 0.675rem 2.5rem; + text-decoration: none; + cursor: pointer;; +} + +img[src*="/luci-static/resources/icons/loading.gif"] { + background-image: url(../images/loading.gif); + background-size: 20px 20px; + height: 20px; + width: 20px; + padding: 0 0 0 20px; + width: 0; +} + +#maincontent > .container { + margin:30px 30px 50px 30px; +} + + +li { + list-style-type: none; +} + + +h1 { + color: var(--activeColor); + font-size: 20px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + +h2 { + color: var(--activeColor); + padding: 0 12px 6px 12px; + text-transform: capitalize; +} + +h3 { + font-size: 1.2rem; + color: var(--activeColor); + font-weight:bold; + padding: 0 12px 10px 12px; +} + +h4 { + +} + + div.cbi-section{ + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 8px; + margin-top: 5px; + } + +.cbi-section, +.cbi-section-error, +#iptables, +.Firewall form, +#cbi-network > .cbi-section-node, +#cbi-wireless > .cbi-section-node, +#cbi-wireless > #wifi_assoclist_table, +[data-tab-title], +/* [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), */ +[data-page="admin-system-opkg"] #maincontent > .container { + /* margin: 10px 0 0 0; */ + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + border-radius: 8px; + /* box-shadow: var(--sectionShaddow); */ + -webkit-overflow-scrolling: touch; +} + +#maincontent > .container > div:nth-child(1).alert-message.warning > a { + font: inherit; + overflow: visible; + text-transform: none; + display: inline-block; + margin-bottom: 0; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + min-width: 6rem; + padding: 0.5rem 1rem; + font-size: 14px; + line-height: 1.42857143; + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; + margin-top: 2rem; + text-decoration: inherit; +} + +.cbi-modal .cbi-section, +.cbi-section .cbi-section { + padding: 0; + box-shadow: none; +} + +.cbi-modal .cbi-tabmenu { + margin-left: 0; +} + +/* desc */ +.cbi-section-descr { + padding: 3px 10px; +} + +.cbi-map-descr { + padding: 5px 5px 5px 12px; +} + +.cbi-map-descr h3 { + font-size: 0.92rem; + font-weight: normal; + color: #666; +} + +#cbi-vsftpd .cbi-map-descr { + color: var(--activeColor); + padding: 0 12px 0px 12px; + font-size: 1.2rem; + font-weight: bold; +} + +.cbi-map-descr + fieldset { + margin-top: 1rem; +} + +.cbi-section > legend { + display: none !important; +} + +fieldset > fieldset, +.cbi-section > .cbi-section { + margin: 0; + padding: 0; + border: 0; + box-shadow: none; +} + +.cbi-section > h3:first-child, +.panel-title { + width: 100%; + display: block; + padding: 10px; + font-weight: bold; + font-size: 1rem; +} + +.cbi-section > h4:first-child, +.cbi-section > p:first-child, +[data-tab-title] > h3:first-child, +[data-tab-title] > h4:first-child, +[data-tab-title] > p:first-child { + padding-top: 1rem; +} + +table, +.table { + border-spacing: 0; + border-collapse: collapse; + width: 100%; + border: 0px solid #eee; +} + +table > tbody > tr > td, +table > tbody > tr > th, +table > tfoot > tr > td, +table > tfoot > tr > th, +table > thead > tr > td, +table > thead > tr > th, +.table > .tbody > .tr > .td, +.table > .tbody > .tr > .th, +.table > .tfoot > .tr > .td, +.table > .tfoot > .tr > .th, +.table > .thead > .tr > .td, +.table > .thead > .tr > .th, +.table > .tr > .td.cbi-value-field, +.table > .tr > .th.cbi-section-table-cell { + padding: 12px; + white-space: nowrap; + line-height:1.5; + vertical-align: middle !important; +} + +.container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td { + padding: .6rem; +} + + +.cbi-section-table-cell { + line-height: 1.1; + align-self: flex-end; + flex: 1 1 auto; +} + +table > tr { + border-bottom: var(--cbilineColor) !important; +} + +table > tr:last-child { + border-bottom: none !important; +} + +#cbi-wireless .td, +#cbi-network .tr:first-child > .td, +.table[width="100%"] > .tr:first-child > .td, +[data-page="admin-network-diagnostics"] .tr > .td, +.tr.table-titles > .th, +.tr.cbi-section-table-titles > .th { + border-top: 0 !important; +} + +.table[width="100%"] > .tr:first-child > .td { + margin: auto 0; +} + +.cbi-section-table-row { + text-align: center; +} + +.cbi-section-table-row:last-child { + margin-bottom: 0; +} + +.cbi-section-table-row > .cbi-value-field .cbi-dropdown, +.cbi-section-table-row > .cbi-value-field .cbi-input-select, +.cbi-section-table-row > .cbi-value-field .cbi-input-text, +.cbi-section-table-row > .cbi-value-field .cbi-input-password { + width: 100%; +} + +.cbi-section-table-row > .cbi-value-field [data-dynlist] > input, +.cbi-section-table-row > .cbi-value-field input.cbi-input-password { + width: calc(100% - 1.5rem); +} + +.cbi-section-table-row .td { + text-align: center !important; +} + +/* div > table > tbody > tr:nth-of-type(2n), +div > .table > .tr:nth-of-type(2n) { + background-color: #f9f9f9; +} */ + +/* fix multiple table */ +table table, +.table .table, +.cbi-value-field table, +.cbi-value-field .table, +td > table > tbody > tr > td, +.td > .table > .tbody > .tr > .td, +.cbi-value-field > table > tbody > tr > td, +.cbi-value-field > .table > .tbody > .tr > .td { + border: 0; +} + +/* button style */ + +.cbi-button, .btn { + -webkit-appearance: none; + text-transform: uppercase; + color: #fff; + background-color: #337ab7; + transition: all 0.2s ease-in-out; + display: inline-block; + border: none; + cursor: pointer; + -ms-touch-action: manipulation; + touch-action: manipulation; + background-image: none; + text-align: center; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: auto !important; + min-width: 80px; + padding: 0px 8px 0px 8px; + /* max-width: 160px; */ + height: 35px; + line-height: 35px; + border-radius: 8px; +} + + + +.cbi-button:hover, +.cbi-button:focus, +.cbi-button:active { + color: #fff; + outline: 0; + text-decoration: none; + background-color: rgb(106,101,214); +} + +.cbi-button:hover, +.cbi-button:focus { + box-shadow: 0 1px 1px rgba(0,0,0,.05); +} + +.cbi-button:active { + box-shadow: 0 1px 1px rgba(0,0,0,.05); +} + +.cbi-button:disabled { + cursor: not-allowed; + pointer-events: none; + opacity: 0.60; + box-shadow: none; +} + +form.inline + form.inline, +.cbi-button + .cbi-button { +} + +.cbi-button-reset, +.cbi-input-remove { + color: #fff !important; + background-color: #617486 !important; +} + +.cbi-button-reset:hover, +.cbi-input-remove:hover, +.cbi-button-remove:hover{ + color: #fff !important; + background-color: rgb(83,100,115) !important; +} + +.cbi-button-link, +.cbi-input-find, +.cbi-input-save, +.cbi-button-add, +.cbi-button-save, +.cbi-button-find, +.cbi-input-reload, +.cbi-button-reload { + color: var(--bttextColor); + background-color: rgb(0,171,232) !important; + border-color: rgb(0,171,232) !important; +} + +.cbi-button-link:hover, +.cbi-input-find:hover, +.cbi-input-save:hover, +.cbi-button-add:hover, +.cbi-button-save:hover, +.cbi-button-find:hover, +.cbi-input-reload:hover, +.cbi-button-reload:hover{ + color: #fff !important; + background-color: #337ab7 !important; + border-color: #337ab7 !important; +} + +.cbi-input-apply, +.cbi-button-apply, +.cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor); +} + +[data-page="admin-status-iptables"] .right { + margin-bottom: 10px !important; + margin-top: 10px !important; +} +.cbi-button:not(select) { + -webkit-appearance: none !important; +} + +.cbi-input-reset, +.cbi-button-remove, +.cbi-button-neutral.down{ + color: #fff !important; + background: #617486; +} + + +.a-to-btn { + text-decoration: none; +} + +.cbi-page-actions .cbi-button-link:first-child { + float: left; +} + +.a-to-btn { + text-decoration: none; +} + +.cbi-value-field .cbi-button-add { + font-weight: bold; + margin: 4px 3px; + padding: 1px 6px; +} + +.tabs { + margin: 15px 0; + overflow-x: auto; +} + +.tabs > li, +.cbi-tabmenu > li { + display: inline-block; + padding: .55rem 0; + cursor: pointer; +} + +.tabs > li { + padding-bottom: .4rem; + border-bottom: .2rem solid transparent; +} + +.tabs > li:hover { + cursor: pointer; + border-bottom-color: #c9c9c9; +} + +.tabs > li > a { + text-decoration: none; + padding: 0 6px 0 6px; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; +} + +.cbi-tabmenu > li > a { + text-decoration: none; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; + margin: 0 10px; +} + +.cbi-tabmenu > li { + border-radius: var(--tabmenuRadius); +} + +.cbi-tabmenu > li, .tabs > li { + display: table-cell; +} + +.tabs > li[class~="active"] > a { + color: var(--activeColor) !important; + padding-bottom: 8px; + border-bottom: var(--activeColor) 2px solid; +} + +.tabs > li[class~="active"], +.tabs > li:hover{ + cursor: pointer; +} + +.cbi-tabmenu { + border-top: var(--sectiontabBorder); + border-left: var(--tabmenuBorderLR); + border-right: var(--tabmenuBorderLR); + border-bottom: var(--tabmenuBottom); + background-color: var(--tabmenubgColor); + width: 100%; + overflow-x: auto; + margin-top: 5px; + margin-bottom: 10px; +} + +.cbi-tabmenu > li:hover { + background-color: none; +} + +.cbi-tabmenu > li[class~="cbi-tab"] a { + color: var(--activeColor); + border-bottom: 2px solid var(--activeColor); +} + +.cbi-section .cbi-section-remove:nth-of-type(2n), +.container > .cbi-section .cbi-section-node:nth-of-type(2n) { + background-color: var(--cbilineColor); +} + +[data-tab-title] { + overflow: hidden; + height: 0; + opacity: 0; + margin: 0; + padding: 0rem 1rem !important; +} + +[data-tab-active="true"] { + overflow: auto; + height: auto; + opacity: 1; + transition: opacity .25s ease-in; + margin: inherit !important; + display: block; + /* padding: 12px; */ + border-radius: 8px; + /* box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); */ + /* background-color: var(--bgwhite); */ +} + +.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3), +.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) { + /* background-color: #f9f9f9; */ +} + +.cbi-section-node-tabbed { + margin-top: 0; + border-bottom: var(--sectiontabBorder); + border-left: var(--sectiontabBorder); + border-right: var(--sectiontabBorder); + border-radius: 0 0; +} + +.cbi-tabcontainer > .cbi-value:nth-of-type(2n) { + /* background-color: #f9f9f9; */ +} + +.cbi-value-field { + width: 65%; +} + +.cbi-value-field, +.cbi-value-description { + display: table-cell; +} + +.cbi-value-description { + font-size: small; + padding-top: .4rem; + opacity: .5; +} + +.cbi-value-title { + word-wrap: break-word; + display: table-cell; + width: 35%; + float: left; + padding: 13px 10px 5px 3px; +} + +.cbi-value { + display: flex; + width: 100%; + align-items: center; + align-content: center; + justify-content: flex-start; + min-height: 40px; + padding: 8px 10px; + flex-flow:row wrap; + border-bottom: var(--cbilineColor); +} + +.cbi-value:last-child { + border-bottom: none; +} + +.cbi-value ul { + line-height: 1.25; +} + +.cbi-value strong { + font-weight: normal; +} + +.cbi-value-field .cbi-dropdown, +.cbi-value-field .cbi-input-select, +.cbi-value input[type="text"], +.cbi-value input[type="password"] { + width: 100%; +} + +#cbi-firewall-zone .cbi-input-select, +#cbi-network-switch_vlan .cbi-input-select { + min-width: 11rem; +} + +#cbi-network-switch_vlan .cbi-input-text { + max-width: 3rem; +} + +.cbi-input-invalid { + color: #f00; + border-bottom-color: #f00; +} + +.cbi-section-error { + font-weight: bold; + line-height: 1.42857143; + margin: 18px; + padding: 6px; + border: thin solid #f00; + border-radius: 3px; + background-color: #fce6e6; +} + +.cbi-section-error ul { + margin: 0 0 0 20px; +} + +.cbi-section-error ul li { + font-weight: bold; + color: #f00; +} + +.td[data-title]::before { + font-weight: bold; + display: none; + padding: .25rem 0; + content: attr(data-title) ":\20"; + text-align: left; + white-space: nowrap; +} + +.tr.placeholder .td[data-title]::before { + display: none; +} + +.tr[data-title]::before, +.tr.cbi-section-table-titles.named::before { + font-weight: bold; + display: table-cell; + align-self: center; + flex: 1 1 5%; + padding: .25rem; + content: attr(data-title) "\20"; + text-align: center; + vertical-align: middle; + white-space: normal; + word-wrap: break-word; +} + +.cbi-rowstyle-2 { + background-color: var(--sectionbgColor2); +} + +.cbi-rowstyle-2 .cbi-button-up, +.cbi-rowstyle-2 .cbi-button-down{ +} + +.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + width: auto !important; +} + +.td.cbi-section-actions { + text-align: right !important; + vertical-align: middle; +} + +.td.cbi-section-actions > * { + /* display: inline-flex; */ +} + +.td.cbi-section-actions > * > *, +.td.cbi-section-actions > * > form > * { + margin: 0 5px; +} + +.td.cbi-section-actions > * > form { + display: inline-flex; + margin: 0; +} + +/* lists */ +.cbi-dynlist { + line-height: 1.3; + flex-direction: column; + min-height: 30px; + cursor: text; +} + +.cbi-dynlist > .item { + position: relative; + max-width: 25rem; + margin-right: 2em; + padding: .5em .25em .25em 0; + pointer-events: none; + color: #666; + border-bottom: 2px solid rgba(0, 0, 0, .26); + outline: 0; +} + +.cbi-dynlist[name="sshkeys"] > .item { + max-width: none; +} + +.cbi-dynlist > .item::after { + font-weight: bold; + position: absolute; + right: -2em; + bottom: 0; + display: inline-flex; + min-height: 17px; + padding: 0 6px; + content: "\00D7"; + pointer-events: auto; + color: #fff; + border: thin solid #d43f3a; + background-color: #d9534f; +} + +.cbi-dynlist > .item > span { + white-space: normal; + word-break: break-word; +} + +.cbi-dynlist > .add-item { + display: inline-flex; + align-items: center; + width: 100%; + min-width: 16rem; +} + +.cbi-dynlist > .add-item:not([ondrop]) > input { + overflow: hidden; + width: 100%; + min-width: 15rem; + white-space: nowrap; + text-overflow: ellipsis; +} + +.cbi-dynlist > .add-item[ondrop] > input { + min-width: 13rem; +} + +.cbi-dynlist, +.cbi-dropdown { + position: relative; + display: inline-flex; + padding: 0; +} + +.cbi-dropdown[placeholder*="select"] { + max-width: 25rem; + height: auto; + margin-top: -3px; +} + +.cbi-dropdown > ul { + display: flex; + overflow-x: hidden; + overflow-y: auto; + width: 100%; + margin: 0 !important; + padding: 0; + list-style: none; + outline: 0; +} + +.cbi-dropdown > ul.preview { + display: none; +} + +.cbi-dropdown > .open { + flex-basis: 15px; +} + +.cbi-dropdown > .open, +.cbi-dropdown > .more { + font-size: 1rem; + font-weight: 900; + line-height: 2; + display: flex; + flex-direction: column; + flex-grow: 0; + flex-shrink: 0; + justify-content: center; + padding: 0 .25em; + cursor: default; + text-align: center; + outline: 0; +} + +.cbi-dropdown.btn { + min-height: 1.8rem; + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; +} + +.cbi-dropdown.btn > .open { + font-size: 0.8rem; + padding: 0px; + margin: 0 5px; +} + +.cbi-dropdown.btn > div { + margin: 0px; +} + +.cbi-dropdown > .more, +.cbi-dropdown > ul > li[placeholder] { + font-weight: bold; + display: none; + color: #777; + text-shadow: 1px 1px 0 #fff; +} + +.cbi-dropdown > ul > li { + display: none; + overflow: hidden; + align-items: center; + align-self: center; + flex-grow: 1; + flex-shrink: 1; + min-height: 20px; + padding: .25em; + white-space: nowrap; + text-overflow: ellipsis; +} + +.cbi-dropdown > ul > li .hide-open { + display: initial; +} + +.cbi-dropdown > ul > li .hide-close { + display: none; +} + +.cbi-dropdown > ul > li[display]:not([display="0"]) { + border-left: thin solid #ccc; +} + +.cbi-dropdown > ul > li[data-value*="1"] { + padding-left: 15px !important; +} + +.cbi-dropdown[empty] > ul { + max-width: 1px; +} + +.cbi-dropdown > ul > li > form { + display: none; + margin: 0; + padding: 0; + pointer-events: none; +} + +.cbi-dropdown > ul > li img { + margin-right: .25em; + vertical-align: middle; +} + +.cbi-dropdown > ul > li > form > input[type="checkbox"] { + height: auto; + margin: 0; +} + +.cbi-dropdown > ul > li input[type="text"] { + height: 20px; +} + +.cbi-dropdown[open] > ul.dropdown { + position: absolute; + z-index: 1100; + display: block; + width: auto; + max-height: 200px !important; + /* border: thin solid #918e8c; */ + background: var(--activeColor); + /* box-shadow: 0 0 4px #918e8c; */ + /* color: var(--main-menu-color); */ + text-align: center; +} + +.cbi-dropdown > ul > li[display], +.cbi-dropdown[open] > ul.preview, +.cbi-dropdown[open] > ul.dropdown > li, +.cbi-dropdown[multiple] > ul > li > label, +.cbi-dropdown[multiple][open] > ul.dropdown > li, +.cbi-dropdown[multiple][more] > .more, +.cbi-dropdown[multiple][empty] > .more { + display: flex; + align-items: center; + flex-grow: 1; +} + +.cbi-dropdown[empty] > ul > li, +.cbi-dropdown[optional][open] > ul.dropdown > li[placeholder], +.cbi-dropdown[multiple][open] > ul.dropdown > li > form { + display: block; +} + +.cbi-dropdown[open] > ul.dropdown > li .hide-open { + display: none; +} + +.cbi-dropdown[open] > ul.dropdown > li .hide-close { + display: initial; +} + +/* .cbi-dropdown[open] > ul.dropdown > li { + border-bottom: thin solid #ccc; +} */ + +.cbi-dropdown[open] > ul.dropdown > li[selected] { + background: var(--activeColor); +} + +.cbi-dropdown[open] > ul.dropdown > li.focus { + background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%); +} + +.cbi-dropdown[open] > ul.dropdown > li:last-child { + margin-bottom: 0; + border-bottom: 0; + background: #627486; +} + +.cbi-dropdown[open] > ul.dropdown > li[unselectable] { + opacity: .7; +} + +.cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child { + width: 100%; +} + +.cbi-dropdown[disabled] { + pointer-events: none; + opacity: .6; +} + +.cbi-dropdown .zonebadge { + width: 100%; +} + +.cbi-dropdown[open] .zonebadge { + width: auto; +} + +/* progressbar */ +/* progressbar */ +.cbi-progressbar { + position: relative !important; + min-width: 11rem !important; + height: 1.5rem !important; + margin: 0 0 !important; + /* border-color: var(--progressbarColor) !important; */ + background-color:var(--progressbarColor) !important; + border-radius: 5px !important; + overflow: hidden !important; +} + +.cbi-progressbar>div { + width: 0; + height: 100% !important; + transition: width .25s ease-in !important; + color: var(--progressbartxtColor) !important; + background: var(--progressbar) !important; +} + +.cbi-progressbar::after { + /* font-weight: bold; */ + /* font-family: monospace; */ + font-size: 0.75rem !important; + font-size-adjust: .38 !important; + line-height: 1.5rem !important; + position: absolute !important; + top: 0 !important; + right: 0 !important; + bottom: 0 !important; + left: 0 !important; + overflow: hidden !important; + content: attr(title) !important; + text-align: center !important; + white-space: pre !important; + text-overflow: ellipsis !important; +} + +#modal_overlay { + position: fixed; + z-index: 900; + top: 4rem; + right: 10000px; + bottom: 0; + left: -10000px; + overflow-y: scroll; + transition: opacity .125s ease-in; + opacity: 0; + background: rgba(0, 0, 0, .7); + -webkit-overflow-scrolling: touch; +} + +.modal { + display: flex; + align-items: center; + flex-wrap: wrap; + width: 90%; + min-width: 270px; + max-width: 600px; + min-height: 32px; + margin: 5em auto; + padding: 1em; + border-radius: 5px !important; + background: var(--modelBackground); + box-shadow: 0 2px 2px 0 rgb(0 0 0 / 16%), 0 0 2px 0 rgb(0 0 0 / 12%); +} + + +.modal > * { + line-height: normal; + flex-basis: 100%; + margin-bottom: .5em; + max-width: 100%; +} + +.modal > pre, +.modal > textarea { + font-size: 1rem; + font-size-adjust: .35; + overflow: auto; + margin-bottom: .5em; + padding: 8.5px; + cursor: auto; + white-space: pre-wrap; + color: #eee; + outline: 0; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); +} + +.modal > h4 { + margin: .5em 0; +} + +.modal ul { + margin-left: 2.2em; + word-break: break-word; +} + +.modal li { + list-style-type: square; + color: #808080; +} + +.modal p { + padding-left: .25rem; + word-break: break-word; + color: #fff; +} + +.modal label.btn { + display: flex; + align-items: center; + white-space: normal; + text-align: left; + text-transform: none; + padding-bottom: 0.2rem; + padding-top: 0.2rem; +} + +.modal label.warning { + background-color: #f0ad4e !important; +} + +.modal.cbi-modal { + max-width: 90%; + max-height: none; +} + +body.modal-overlay-active { + overflow: hidden; + height: 100vh; +} + +body.modal-overlay-active #modal_overlay { + right: 0; + left: 0; + opacity: 1; +} + +.spinning { + position: relative; + padding-left: 32px !important; +} + +.spinning::before { + position: absolute; + top: 0; + bottom: 0; + left: .2em; + width: 32px; + content: ""; + /* background: url(../resources/icons/loading.gif) no-repeat center; */ + background-size: 16px; +} + +/* luci */ +.hidden { + display: none; +} + +.left, +.left::before { + text-align: left !important; +} + +.right .cbi-button { + /* height: 20px; */ + line-height: 20px; +/* min-width: 100px; */ + margin: 0; +} + +.right, +.right::before { + text-align: right !important; +} + +.center, +.center::before { + text-align: center !important; +} + +.top { + align-self: flex-start !important; + /* vertical-align: top !important; */ +} + +.bottom { + align-self: flex-end !important; + vertical-align: bottom !important; +} + +.inline { + display: inline; +} + +.cbi-page-actions { + text-align: center; +} +.cbi-page-actions > form[method="post"] { + display: inline-block; +} + +.th[data-type="button"], +.td[data-type="button"], +.th[data-type="fvalue"], +.td[data-type="fvalue"] { + flex: 1 1 2em; + text-align: center; +} + +.ifacebadge { + display: inline-flex; + gap: .2rem; + padding: .5rem .8rem; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05); +} + +td > .ifacebadge, +.td > .ifacebadge { + font-size: .8rem; + background-color: var(--activeColor); + color: white; + border-radius: 8px; +} + +.ifacebadge > em, +.ifacebadge > img { + display: inline-block; + align-self: flex-start; +} + +.network-status-table { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox { + flex-grow: 1; + margin: .5em; +} + +.network-status-table .ifacebox-body { + display: flex; + flex-direction: column; + height: 100%; +} + +.network-status-table .ifacebox-body > span { + flex: 10 10 auto; + height: 100%; +} + +.network-status-table .ifacebox-body > div { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox-body .ifacebadge { + align-items: center; + flex: 1 1 auto; + min-width: 220px; + margin: .5em .25em 0 .25em; + padding: .5em; +} + +/* textarea */ +#content_syslog { + padding: 5px; + margin-top:10px; + border-radius: 8px; + background-color: var(--sectionbgColor); + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); +} + + +/*textarea*/ +.cbi-input-textarea, textarea { + color: var(--inputtextColor); + padding: 10px; + line-height: normal; + border: var(--sectionBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: baseline; + border-radius: 8px; + font-family: Menlo, Mono; + font-size: 0.9rem; + white-space: pre; + margin-bottom: 5px; +} + +/* fix .cbi-input-textarea, textarea { */ +.node-admin-system-system .cbi-input-textarea { + max-width: 550px; +} + +#syslog { + width: 100%; + min-height: 15rem; + padding: 10px; + margin-bottom: 20px; + border-radius: 0; + background-color: var(--sectionbgColor); + border: none; +} + +#syslog:focus { + outline: 0; +} + +/* config changes */ +.uci-change-list { + font-family: monospace; +} + +.uci-change-list ins, +.uci-change-legend-label ins { + text-decoration: none; + border: 1px solid #00FF00; + background-color: #CCFFCC; + display: block; + padding: 2px; + color: black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list del, +.uci-change-legend-label del { + text-decoration: none; + border: 1px solid #FF0000; + background-color: #FFCCCC; + display: block; + font-style: normal; + padding: 2px; + color:black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list var, +.uci-change-legend-label var { + text-decoration: none; + border: 1px solid #CCCCCC; + background-color: #EEEEEE; + display: block; + font-style: normal; + padding: 2px; + color:black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list var ins, +.uci-change-list var del { + border: none; + white-space: pre; + font-style: normal; + padding: 0px; + color:black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-legend { + padding: 5px; +} + +.uci-change-legend-label { + float: left; + width: 150px; +} + +.uci-change-legend-label > ins, +.uci-change-legend-label > del, +.uci-change-legend-label > var { + display: block; + float: left; + width: 10px; + height: 10px; + margin-right: 4px; +} + +.uci-change-legend-label var ins, +.uci-change-legend-label var del { + line-height: .4; + border: 0; +} + +.uci-change-list var, +.uci-change-list del, +.uci-change-list ins { + padding: 0.5rem; +} + +/* other fix */ +#iwsvg, +#iwsvg2, +#bwsvg { + border: thin solid #d4d4d4 !important; +} + +#iwsvg, +[data-page="admin-status-realtime-bandwidth"] #bwsvg { + border-top: 0 !important; +} + +.ifacebox { + line-height: 1.25; + display: inline-flex; + flex-direction: column; + min-width: 100px; + /* border-bottom: thin solid #666; */ + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2); +} + +.ifacebox-head { + padding: .25em; + background: #eee; +} + +.ifacebox-head.active { + background: #5bc0de; + background: var(--bar-bg); +} + +.ifacebox-body { + padding: .25em; +} + +.cbi-image-button { + margin-left: .5rem; +} + +.zonebadge { + display: inline-block; + padding: .2rem .5rem; +} + +.zonebadge .ifacebadge { + margin: .1rem .2rem; + padding: .2rem .3rem; + border: thin solid #6c6c6c; +} + +.zonebadge > input[type="text"] { + min-width: 10rem; + margin-top: .3rem; + padding: .16rem 1rem; +} + +.zonebadge > em, +.zonebadge > strong { + display: inline-block; + margin: 0 .2rem; +} + +.cbi-value-field .cbi-input-checkbox, +.cbi-value-field .cbi-input-radio { + margin-top: .1rem; +} + +.cbi-value-field > ul > li { + display: flex; +} + +.cbi-value-field > ul > li > label { + margin-top: .5rem; +} + +.cbi-value-field > ul > li .ifacebadge { + margin-top: -.5rem; + margin-left: .4rem; + background-color: #eee; +} + +.cbi-section-table-row > .cbi-value-field .cbi-dropdown { + min-width: 7rem; +} + +.cbi-section-create { + display: inline-flex; + align-items: center; + margin: .5rem -3px; +} + +.cbi-section-create > * { + margin: .5rem; +} + +.cbi-section-remove { + padding: .5rem; +} + +div.cbi-value var, +td.cbi-value-field var, +.td.cbi-value-field var { + font-style: italic; + color: #0069d6; +} + +.cbi-optionals { + padding: 1rem 1rem 0 1rem; + border-top: thin solid #ccc; +} + +.cbi-dropdown-container { + position: relative; +} + +.cbi-tooltip-container, +span[data-tooltip], +span[data-tooltip] .label { + cursor: help !important; +} + +.cbi-tooltip { + position: absolute; + z-index: 1000; + left: -1000px; + padding: 2px 5px; + transition: opacity .25s ease-out; + white-space: pre; + pointer-events: none; + opacity: 0; + border-radius: 3px; + background: #fff; + box-shadow: 0 0 2px #444; +} + +.cbi-tooltip-container:hover .cbi-tooltip { + left: auto; + transition: opacity .25s ease-in; + opacity: 1; +} + +.zonebadge .cbi-tooltip { + margin: -1.5rem 0 0 -.5rem; + padding: .25rem; + background: inherit; +} + +.zonebadge-empty { + color: #404040; + background: repeating-linear-gradient(45deg, rgba(204, 204, 204, .5), rgba(204, 204, 204, .5) 5px, rgba(255, 255, 255, .5) 5px, rgba(255, 255, 255, .5) 10px); +} + +.zone-forwards { + display: flex; + min-width: 10rem; +} + +.zone-forwards > * { + flex: 1 1 45%; +} + +.zone-forwards > span { + flex-basis: 10%; + padding: 0 .25rem; + text-align: center; +} + +.zone-forwards .zone-src, +.zone-forwards .zone-dest { + display: flex; + flex-direction: column; +} + +.label, +[data-indicator] { + /* font-size: .8rem; */ + font-weight: bold; + padding: .3rem .8rem; + white-space: nowrap; + text-decoration: none; + text-transform: uppercase; + /* color: #fff !important; */ + border-radius: 3px; + background-color: var(--bgwhite); + text-shadow: none; +} + +label > input[type="checkbox"], +label > input[type="radio"] { + margin-right: 0.8rem; +} + +label[data-index][data-depends] { + padding-right: 2em; +} + +.showSide { + display: none; +} + +.darkMask { + position: fixed; + z-index: 99; + width: 100%; + height: 100%; + content: ""; + background-color: rgba(0, 0, 0, .56); + transition: opacity 400ms, visibility 400ms; + visibility: hidden; + opacity: 0; +} + +/* diagnostics */ +#diag-rc-output > pre, +#command-rc-output > pre, +[data-page="admin-services-wol"] .notice code { + font-size: 1.2rem; + font-size-adjust: .35; + line-height: normal; + display: block; + overflow-y: hidden; + width: 100%; + padding: 8.5px; + white-space: pre; + color: #eee; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); +} + +[data-page="admin-network-diagnostics"] .table { + box-shadow: none; +} + +input[name="ping"], +input[name="traceroute"], +input[name="nslookup"] { + width: 80%; +} + +/* fix Main Login */ + +.node-main-login { + text-align: center; + background-color: var(--bgwhite) !important; +} +.node-main-login .cbi-section-node > .cbi-value:nth-of-type(2n) { + background: none; +} +.node-main-login h2 { + font-size: 1.5rem; +} + +.node-main-login header { + display: none; +} +.node-main-login .navbar { + display: none; +} +.node-main-login > .main > .main-left { + display: none; +} + +.node-main-login > .main > .main-right { + width: 100%; +} + +.node-main-login > .main div.cbi-section { + /* padding: 0px !important; */ + margin-bottom: 1rem; + display: inline; + background: none; + border: none; + box-shadow: none; + overflow: hidden; +} + +.node-main-login > .main label.cbi-value-title { + display: none !important; +} + +.node-main-login > .main .cbi-section { + margin-top: 10px !important; +} + +.node-main-login > .main .cbi-map { +} + +.node-main-login > .main div.cbi-section .cbi-value { +} + +.node-main-login > .main div.cbi-section .cbi-value-title { + padding: 10px 0 10px 5px !important; +} + +.node-main-login > .main .cbi-value { + border: none; +} + +.node-main-login > .main .cbi-value-title { + width: 7rem; +} + +.node-main-login > .main #maincontent { + display: flex; + height: 100%; + text-align: center; + align-items: center; + align-content: center; + justify-content: center; +} + +/* .node-main-login > .main .container { + background-image: var(--logo); + background-repeat: no-repeat; + background-size: 300px auto; + width: 300px; + padding: 80px 0 0 0; +} */ + +.node-main-login > .main form > div:nth-last-child(1) { +} + + +.node-main-login > .main .cbi-value > * { + display: inline-block !important; +} + +/* .node-main-login > .main .cbi-input-user, +.node-main-login > .main .cbi-input-password { + min-width: 15rem; +} */ + +.node-main-login > .main .cbi-input-text { + min-width: 15rem; +} + +.node-main-login footer { + bottom: 0; + position: absolute; + width: 100%; +} + +/* fix system reboot */ + +.node-system-reboot > .main > .main-right p, +.node-system-reboot > .main > .main-right h3 { + margin-left: 12px; +} + +.node-main-login > .main .cbi-section { + margin-top: 10px !important; +} + +.node-main-login > .main .cbi-map { +} + +.node-main-login > .main div.cbi-section .cbi-value { +} + +.node-main-login > .main div.cbi-section .cbi-value-title { + padding: 10px 0 10px 5px !important; +} + +.node-main-login > .main .cbi-value { + border: none; +} + +.node-main-login > .main .cbi-value-title { + width: 7rem; +} + +.node-main-login > .main #maincontent { + display: flex; + height: 100%; + text-align: center; + align-items: center; + align-content: center; + justify-content: center; +} + +/* .node-main-login > .main .container { + background-image: var(--logo); + background-repeat: no-repeat; + background-size: 300px auto; + width: 300px; + padding: 80px 0 0 0; +} */ + +.node-main-login > .main form > div:nth-last-child(1) { +} + + +.node-main-login > .main .cbi-value > * { + display: inline-block !important; +} + +/* .node-main-login > .main .cbi-input-user, +.node-main-login > .main .cbi-input-password { + min-width: 15rem; +} */ + +.node-main-login > .main .cbi-input-text { + min-width: 15rem; +} + +.node-main-login footer { + bottom: 0; + position: absolute; + width: 100%; +} + + + +/* fix status */ +.node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2), +.node-status-processes > .main .table .tr .td:nth-child(3) { + white-space: normal; +} + +/* fix system reboot */ +[data-page="admin-system-reboot"] p { + padding-left: 2rem; +} + +[data-page="admin-system-reboot"] p > span { + position: relative; + top: .1rem; + left: 1rem; +} + +/* samba */ +#cbi-samba [data-tab="template"] .cbi-value-field { + display: block; +} + +#cbi-samba [data-tab="template"] .cbi-value-title { + width: auto; + padding-bottom: .6rem; +} + +/* software */ +.controls > * > .btn:not([aria-label$="page"]) { + flex-grow: initial !important; + margin-top: .1rem; +} + +.controls > #pager > .btn[aria-label$="page"] { + font-size: 1.4rem; + font-weight: bold; +} + +.controls > * > label { + margin-bottom: .2rem; +} + +.control-group { + /* display: flex; */ + flex-wrap: wrap; + gap: 8px; +} + +[data-page="admin-system-opkg"] div.btn { + line-height: 3; + display: inline; + padding: .3rem .6rem; +} +/* +[data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), +[data-page="admin-system-opkg"] #maincontent > .container { + margin-top: 2rem; + padding-top: .1rem; +} */ + +[data-page="admin-system-opkg"] #maincontent > .container { + margin: 2rem; + margin-bottom: 1rem; + border-radius: 8px; +} + +.td.version, +.td.size { + white-space: normal !important; + word-break: break-word; +} + +.cbi-tabmenu + .cbi-section { + margin-top: 0; +} + +/* wireless overview */ +#cbi-wireless > #wifi_assoclist_table > .tr { + box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd; +} + +#cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td { + right: 33px; + bottom: 33px; + left: 33px; + border-top: thin solid #ddd !important; +} + +#cbi-wireless > #wifi_assoclist_table > .tr.table-titles { + box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd; +} + +#cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th { + border-bottom: thin solid #ddd; + box-shadow: 0 -1px 0 0 #ddd; +} + +#wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] { + width: 23rem; +} + +/* firewall */ +#iptables { + margin: 0; +} + +.Firewall form { + margin: 2rem 2rem 0 0; + padding: 0; + box-shadow: none; +} + +#cbi-firewall-redirect table *, +#cbi-network-switch_vlan table *, +#cbi-firewall-zone table * { + font-size: small; +} + +#cbi-firewall-redirect table input[type="text"], +#cbi-network-switch_vlan table input[type="text"], +#cbi-firewall-zone table input[type="text"] { + width: 5rem; +} + +#cbi-firewall-redirect table select, +#cbi-network-switch_vlan table select, +#cbi-firewall-zone table select { + min-width: 3.5rem; +} + +#cbi-network-switch_vlan .th, +#cbi-network-switch_vlan .td { + flex-basis: 12%; +} + +#cbi-firewall-zone .table, +#cbi-network-switch_vlan .table { + display: block; +} + +#cbi-firewall-zone .td, +#cbi-network-switch_vlan .td { + width: 100%; +} + +/* applyreboot fix */ +#applyreboot-container { + margin: 2rem; +} + +#applyreboot-section { + line-height: 300%; + margin: 2rem; +} + +/* openvpn bug fix */ +.OpenVPN a { + line-height: initial !important; +} + +/* custom commands */ +.commandbox { + width: 24% !important; + margin: 10px 0 0 10px !important; + padding: .5rem 1rem; + border-bottom: thin solid #ccc; + background: #eee; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05); +} + +.commandbox h3 { + line-height: normal !important; + overflow: hidden; + margin: 6px 0 !important; + white-space: nowrap; + text-overflow: ellipsis; +} + +.commandbox div { + left: auto !important; +} + +.commandbox code { + position: absolute; + overflow: hidden; + max-width: 60%; + margin-left: 4px; + padding: 2px 3px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.commandbox code:hover { + overflow-y: auto; + max-height: 50px; + white-space: normal; +} + +.commandbox p:first-of-type { + margin-top: -6px; +} + +.commandbox p:nth-of-type(2) { + margin-top: 2px; +} + +[data-page^="admin-system-commands"] .panel-title, +[data-page^="command-cfg"] .mobile-hide, +[data-page^="command-cfg"] .showSide { + display: none; +} + +#command-rc-output .alert-message { + line-height: 1.42857143; + position: absolute; + top: 40px; + right: 32px; + max-width: 40%; + margin: 0; + animation: anim-fade-in 1.5s forwards; + word-break: break-word; + opacity: 0; +} + +@keyframes anim-fade-in { + 100% { + opacity: 1; + } +} + +/* IE hacks */ +/* @media all and (-ms-high-contrast: none) { + .main > .main-left > .nav > .slide > .menu::before { + top: 30.25%; + } + + .main > .main-left > .nav > li:last-child::before { + top: 20%; + } + + .showSide::before { + top: -12px; + } +} */ + +@media screen and (max-width: 1280px) { + header { + /*height: 3.5rem;*/ + } + + header > .container { + /*margin-top: 0.25rem;*/ + } + + .main { + height: calc(100% - 3.5rem); + } + + .main-left { + width: calc(0% + 17rem); + top: 50px; + } + + .main-right { + width: calc(100% - 17rem); + } + + + table { + font-size: 0.9rem !important; + width: 100% !important; + } + + .main > .main-left > .nav > li, + .main > .main-left > .nav > li a, + .main > .main-left > .nav > .slide > .menu { + font-size: 1.1rem; + } + + .main > .main-left > .nav > .slide > .slide-menu > li > a { + font-size: 1rem; + text-transform: capitalize; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + /* fix nlbw component */ + #detail-bubble { + /* left: unset !important; */ + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } + .node-nlbw-usage table { + display: block; + overflow: auto; + } +} + +@media screen and (max-width: 992px) { + + /* img[src*="/images/logo.png"] { + background-color: var(--mainleftbgColor); + height: 50px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .main-left { + width: 17rem; + position: fixed; + z-index: 100; + } + + .main-right { + width: 100%; + } + + .showSide { + margin: 0; + padding: 0; + display: inline-block; + position: absolute; + width: 300px; + height: 50px; + padding: 17px 27px; + } + + .showSide:before { + content: "\e20e"; + font-size: 1.7rem; + font-family: 'icomoon'; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + #maincontent > .container { + margin: 20px 20px; + } + + .node-main-login .showSide { + display: none !important; + } + + .cbi-value-title { + width:35%; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div * { + width: 100% !important; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="text"] { + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div:nth-child(4) input[type="text"] { + margin: 0 !important; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div select, + .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="button"] { + margin: 1rem 0 0 0; + } + + .node-network-diagnostics > .main .cbi-map div.cbi-section > div { + width: 100% !important; + } + + .node-main-login > .main .cbi-value-title { + text-align: left; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 700px) { + + #cbi-vssr-servers .cbi-button-add { + position: static !important; + width: auto !important; + height: 2rem !important; + line-height: 2rem !important; + color: #fff; + display: block; + padding: 0 !important; + font-size: 0.92rem; + border-radius: 10px !important; + box-shadow: none ; + background-image: none; + } + #cbi-vssr-servers .cbi-section-table-row { + margin:10px 0 !important; + } + #cbi-vssr-servers .p-in5 { + padding-bottom: 10px !important; + margin: 0 !important; + } + + #cbi-vssr-servers .cbi-page-actions { + padding-bottom: 10px !important; + } + + #maincontent > .container { + margin: 20px 20px; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 470px) { + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } + .node-admin-status-routes #view table, + .node-admin-status-processes #view table, + .node-admin-status-realtime-connections #view table[id*=connections] { + display: block; + white-space: nowrap; + } + +} + + +@media screen and (max-width: 400px) { + .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child { + width: 40%; + } +} + +@media screen and (max-width: 370px) { + + div.cbi-section { + /* overflow-x: auto; */ + } + + select { + width: 100%; + } + .label { + position: absolute; + right: 5px; + top: -70px; + } + + header { + height: 55px; + } + + h3 { + padding: 0 10px 10px 10px; + } + + /* img[src*="/images/logo.png"] + { + height: 45px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .showSide { + height: 45px; + } + + #maincontent > .container { + margin: 20px 20px; + } + + .main { + top: 45px; + } + + .main-left{ + top: 45px; + } + .main > .main-left > .nav > .slide > .menu { + } + + .main > .main-left > .nav > .slide > .slide-menu > li > a { + } + + .cbi-value { + margin-bottom: 20px; + display: table; + padding: 0px; + border-bottom: none; + } + + .cbi-value-title { + width: 100%; + font-weight: 700; + float: left; + padding: 0; + margin: 0; + margin-bottom: .25rem; + } + + .cbi-section-node { + padding: 10px !important; + } + + .cbi-value-description { + width: 100%; + display: block; + } + + .cbi-value > .cbi-value-field { + display: block; + float: left; + width: 100%; + } + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + .cbi-section-node > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .cbi-tabcontainer > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + div > .cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .node-main-login > .main .cbi-value { + padding: 0; + } + + .node-main-login > .main form > div:nth-last-child(1) { + margin-top: 2rem; + } + + .node-main-login > .main div.cbi-section { + margin: 0; + padding: 0.5rem; + } + + #container\.network\.lan\.physical .cbi-value-title, + #cbi-network-1-_ifname .cbi-value-title + { + width: 35%; + } + #cbi-network-1-_ifname .cbi-value-field + { + width: 65%; + } + + + h2 { + font-size: 1.2rem; + text-transform: capitalize; + } + + select, + input { + /* max-width: 200px; */ + } + + input[type='checkbox'] { + height: 1.2rem !important; + width: 1.2rem !important; + } + + #swaptotal div div small, + #swapfree div div small, + #swapcache div div small, + #memfree div div small, + #membuff div div small, + #conns div div small, + #memcache div div small, + #memtotal div div small{ + } + #swaptotal div div, + #swapfree div div, + #swapcache div div, + #memfree div div, + #membuff div div, + #conns div div, + #memcache div div, + #memtotal div div{ + } + + + .node-status-iptables > .main div > .cbi-map > form input[type="submit"]{ + margin: 0; + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-title{ + width: 15%; + + } + #cbi-samba-cfg010f89-_tmpl .cbi-value-field{ + width: 95%; + } + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset!important; + } + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw)!important; + } + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } + .node-admin-status-routes #view table, + .node-admin-status-processes #view table, + .node-admin-status-realtime-connections #view table[id*=connections] { + display: block; + } + .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child { + width: 43%; + } +} + + +.navbar { + z-index: 200; + overflow: hidden; + position: fixed; + bottom: 0; + width: 100%; + border-top: var(--navBorder); + text-align: center; + height:calc(50px + constant(safe-area-inset-bottom)); + height:calc(50px + env(safe-area-inset-bottom)); + background-color: var(--navbgColor); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + } + + .navbar a { + float: left; + text-align: center; + padding: 8px 0; + width: 20%; + text-decoration: none; + max-width: 100px; + } + + .navbar a img { + width: 28px; + } + + .cbi-input-apply, + .cbi-button-apply, + .cbi-button.cbi-button-positive, + .cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor); + } + +td.cbi-button, .cbi-button-apply, +.right .cbi-button { + font-size: 0.92rem; + font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: middle; + border-radius: 8px; + max-width: 550px; +} +/* fix iptables */ +.node-admin-status-iptables .right { + padding: 12px; + border-radius: 8px; + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); + /* background-color: var(--bgwhite); */ +} + +.node-admin-status-iptables h3 { + padding: 0; + padding-top: 10px; + padding-bottom: 10px; +} + +/* fix routes */ +.node-admin-status-routes #view p { + padding: 5px 5px 5px 12px; +} + +.node-admin-status-routes #view h3 { + font-size: 1.1rem; + line-height: 1; + display: block; + width: 100%; + margin: 0; + margin-bottom: 0; + padding: 0.8755rem 1.25rem; + color: var(--gray-dark); + border-radius: 0.375rem; + padding-bottom: unset; + font-weight: bold; +} + +/* fix tables */ +.node-admin-status-routes #view table, +.node-admin-status-processes #view table, +.node-admin-status-realtime-connections #view table[id*=connections] { + /* margin: 10px 0 0 0; */ + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + /* box-shadow: var(--sectionShaddow); */ + -webkit-overflow-scrolling: touch; + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 8px; + margin-top: 5px; + /* display: block; */ +} + +.node-admin-status-realtime-connections #view table[id*=connections] { + white-space: nowrap; +} + +/* fix node-admin-status-processe */ +.node-admin-status-processe button.btn.cbi-button-action { + color: var(--bttextColor); + background-color: rgb(0,171,232) !important; + border-color: rgb(0,171,232) !important; +} + +/* fix node-admin-system-opkg cbi-button-positive */ +.node-admin-system-opkg button.btn.cbi-button-positive { + color: var(--bttextColor); + background-color: var(--activeColor) !important; + border-color: var(--activeColor) !important; +} + +.node-admin-status-processe, button.btn.cbi-button-negative { + color: #fff !important; + background-color: #617486 !important; +} + +/* fix node-admin-status-realtime-load */ +.node-admin-status-realtime-load #view div, +.node-admin-status-realtime-bandwidth #view div, +.node-admin-status-realtime-connections #view div{ + border: var(--sectionBorder) !important; + font-family: -apple-system; + background: none !important; +} + +/* fix */ +.cbi-dropdown.btn.cbi-button.cbi-button-apply.important, +.cbi-dropdown.btn.cbi-button.cbi-button-negative.important { + line-height: unset; + min-width: 105px; + padding-left: 5px; +} +.cbi-dropdown.btn.cbi-button.cbi-button-action { + line-height: unset; + min-width: 110px; + padding-left: 5px; +} + +.node-admin-system-ttyd-ttyd iframe { + border-radius: 5px !important; +} + +/* fix node-admin-status-realtime-load */ +.node-admin-status-realtime-load table { + table-layout: auto !important; +} +.node-admin-status-realtime-load table > tr > td { + text-align: left !important; + padding: 10px 3px 10px 3px; + white-space: nowrap; +} +/* fix node-admin-status-realtime-bandwidth */ +.node-admin-status-realtime-bandwidth table { + table-layout: auto !important; +} +.node-admin-status-realtime-bandwidth table > tr > td { + text-align: left !important; + padding: 10px 3px 10px 3px; + white-space: nowrap; +} + +/* fix node-admin-status-overview color */ +.node-admin-status-overview h3 { + color: unset !important; +} +/* fix node-admin-status-overview */ +.node-admin-status-overview > .main #view td:nth-child(2) { + white-space: normal; +} diff --git a/luci-theme-design/htdocs/luci-static/design/favicon.png b/luci-theme-design/htdocs/luci-static/design/favicon.png new file mode 100644 index 000000000..7c3f3acb1 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/favicon.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf b/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf new file mode 100644 index 000000000..9a71297f9 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.eot b/luci-theme-design/htdocs/luci-static/design/fonts/font.eot new file mode 100644 index 000000000..9e6ffc9b8 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.eot differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.svg b/luci-theme-design/htdocs/luci-static/design/fonts/font.svg new file mode 100644 index 000000000..d38d057da --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/fonts/font.svg @@ -0,0 +1,16 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + \ No newline at end of file diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf b/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf new file mode 100644 index 000000000..84669323e Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.woff b/luci-theme-design/htdocs/luci-static/design/fonts/font.woff new file mode 100644 index 000000000..00cf84ea0 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.woff differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf new file mode 100644 index 000000000..033794e51 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff new file mode 100644 index 000000000..45714f9e9 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 new file mode 100644 index 000000000..1de5ca509 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/add.png b/luci-theme-design/htdocs/luci-static/design/images/add.png new file mode 100644 index 000000000..9f53666d4 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/add.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/bridge.png b/luci-theme-design/htdocs/luci-static/design/images/bridge.png new file mode 100644 index 000000000..7d4ab5c25 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/bridge.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png new file mode 100644 index 000000000..c603b970e Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ethernet.png b/luci-theme-design/htdocs/luci-static/design/images/ethernet.png new file mode 100644 index 000000000..7cc766798 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ethernet.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png new file mode 100644 index 000000000..662468098 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/home.png b/luci-theme-design/htdocs/luci-static/design/images/home.png new file mode 100644 index 000000000..c8e900a93 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/home.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/icon.png b/luci-theme-design/htdocs/luci-static/design/images/icon.png new file mode 100644 index 000000000..aa990fa43 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/icon.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/link.png b/luci-theme-design/htdocs/luci-static/design/images/link.png new file mode 100644 index 000000000..e5307d9bc Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/link.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/loading.gif b/luci-theme-design/htdocs/luci-static/design/images/loading.gif new file mode 100644 index 000000000..a84d1cac2 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/loading.gif differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/openclash.png b/luci-theme-design/htdocs/luci-static/design/images/openclash.png new file mode 100644 index 000000000..8aed32abd Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/openclash.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/port_down.png b/luci-theme-design/htdocs/luci-static/design/images/port_down.png new file mode 100644 index 000000000..7e9edacba Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/port_down.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/port_up.png b/luci-theme-design/htdocs/luci-static/design/images/port_up.png new file mode 100644 index 000000000..f093102d2 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/port_up.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/rank.png b/luci-theme-design/htdocs/luci-static/design/images/rank.png new file mode 100644 index 000000000..eccc5c105 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/rank.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/reload.png b/luci-theme-design/htdocs/luci-static/design/images/reload.png new file mode 100644 index 000000000..1cff5fed8 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/reload.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/remove.png b/luci-theme-design/htdocs/luci-static/design/images/remove.png new file mode 100644 index 000000000..fce54d92a Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/remove.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png b/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png new file mode 100644 index 000000000..4b9f9e104 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-0.png b/luci-theme-design/htdocs/luci-static/design/images/signal-0.png new file mode 100644 index 000000000..d9fa271ae Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-0.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png b/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png new file mode 100644 index 000000000..adc02e5be Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png b/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png new file mode 100644 index 000000000..c0e906990 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png b/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png new file mode 100644 index 000000000..dc2b75079 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-none.png b/luci-theme-design/htdocs/luci-static/design/images/signal-none.png new file mode 100644 index 000000000..a03e99b76 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-none.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ssr.png b/luci-theme-design/htdocs/luci-static/design/images/ssr.png new file mode 100644 index 000000000..ee9dfd719 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ssr.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/tunnel.png b/luci-theme-design/htdocs/luci-static/design/images/tunnel.png new file mode 100644 index 000000000..3aafc571c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/tunnel.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png new file mode 100644 index 000000000..ae4a60bbc Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/user.png b/luci-theme-design/htdocs/luci-static/design/images/user.png new file mode 100644 index 000000000..a0ffe2b48 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/user.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/vlan.png b/luci-theme-design/htdocs/luci-static/design/images/vlan.png new file mode 100644 index 000000000..27255e16c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/vlan.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png new file mode 100644 index 000000000..c0cef94f2 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi.png b/luci-theme-design/htdocs/luci-static/design/images/wifi.png new file mode 100644 index 000000000..8860766ce Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png new file mode 100644 index 000000000..75501a0a4 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png new file mode 100644 index 000000000..c0556b9a5 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png new file mode 100644 index 000000000..b511e9bc0 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js b/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js new file mode 100644 index 000000000..fb8e4b919 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js @@ -0,0 +1,6 @@ +/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; + +return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"",""],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("