+/**
+ * Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
+ *
+ * luci-theme-material
+ * Copyright 2015 Lutty Yang <lutty@wcan.in>
+ *
+ * Have a bug? Please create an issue here on GitHub!
+ * https://github.com/LuttyYang/luci-theme-material/issues
+ *
+ * luci-theme-bootstrap:
+ * Copyright 2008 Steven Barth <steven@midlink.org>
+ * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright 2012 David Menting <david@nut-bolt.nl>
+ *
+ * MUI:
+ * https://github.com/muicss/mui
+ *
+ * Licensed to the public under the Apache License 2.0
+ */
+
+/*
+ * Font generate by Icomoon<icomoon.io>
+ */
@font-face {
font-family: 'icomoon';
src: url('../fonts/font.eot');
}
.warning {
- background-color: #FF7D60;
+ background-color: #FF7D60 !important;
color: #FFF;
}
.main > .main-left > .nav > li a {
color: #404040;
+ display: block;
}
.main > .main-left > .nav > li:nth-last-child(1) {
margin-top: 2rem;
+ font-size: 1.2rem;
}
.main > .main-left > .nav > li {
left: 0;
}
-/* 进度条fix */
+/* fix progress bar */
#memfree > div,
#membuff > div,
#conns > div,
background-color: #0099CC !important;
}
-/* 多重table fix*/
+/* fix multiple table */
table table {
border: none;
border: none;
}
-/* button 样式 */
+/* button style */
.cbi-button {
box-sizing: border-box;
}
.cbi-value-title {
+ word-wrap: break-word;
padding-top: 0.6rem;
- min-width: 23rem;
- display: inline-block;
+ width: 23rem;
float: left;
text-align: right;
padding-right: 2rem;
+ display: table-cell;
}
.cbi-value {
.cbi-input-textarea {
box-sizing: border-box;
width: 100%;
- min-height: 15rem;
+ min-height: 16rem;
padding: 1rem;
- font-size: 1.2rem;
+ font-size: 0.9rem;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ color: black;
}
#syslog {
- width: 90%;
- width: calc(100% - 2rem);
+ width: 100%;
min-height: 15rem;
padding: 1rem;
- font-size: 1rem;
+ font-size: smaller;
color: #5F5F5F;
margin-bottom: 20px;
.uci-change-list var ins,
.uci-change-list var del {
- /*display: inline;*/
border: none;
white-space: pre;
font-style: normal;
width: 80%;
}
-#xhr_poll_status {
+header > .container > .pull-right > *{
position: relative;
top: 0.45rem;
cursor: pointer;
background-color: #14CE14;
}
-#xhr_poll_status > .label {
+.label {
padding: 0.3rem 0.8rem;
font-size: 1rem;
box-sizing: border-box;
-moz-border-radius: 3px;
border-radius: 3px;
text-shadow: none;
+ text-decoration: none;
+}
+
+.notice{
+ background-color: #5BC0DE;
}
.showSide {
}
.node-main-login > .main fieldset {
- margin-bottom: 2rem;
- margin-bottom: 2rem;
+ padding: 0;
+ margin-bottom: 1rem;
display: inline;
background: none;
border: none;
}
.node-main-login > .main .cbi-value-title {
- min-width: 6rem;
+ width: 7rem;
}
.node-main-login > .main #maincontent {
padding: 0.5rem 1rem;
}
+.node-system-software > .main .cbi-value > pre{
+ background-color: #eee;
+ padding: 0.5rem;
+ overflow: auto;
+}
+
.node-status-firewall fieldset,
.node-system-software fieldset,
.node-system-backup_flash_firmware fieldset {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
}
+/* language fix */
+body.lang_pl.node-main-login .cbi-value-title{
+ width: 12rem;
+}
+
@media screen and (max-width: 1600px) {
.main-left {
width: calc(0% + 15rem);
line-height: 1.5;
}
- #xhr_poll_status {
+ header > .container > .pull-right > * {
top: 0.35rem;
}
- #xhr_poll_status > .label {
+ .label {
padding: 0.2rem 0.6rem;
}
.cbi-value-title {
- min-width: 15rem;
+ width: 15rem;
}
fieldset {
padding: 1rem;
}
+
+ .cbi-input-textarea{
+ font-size: smaller;
+ }
}
@media screen and (max-width: 1280px) {
}
.cbi-value-title {
- min-width: 6rem;
+ width: 9rem;
+ padding-right: 1rem;
}
#diag-rc-output > pre {
font-size: 1.2rem;
}
+
+ .node-main-login > .main .cbi-value-title{
+ text-align: left;
+ }
}
@media screen and (max-width: 480px) {
}
.cbi-value-title {
+ width: 100%;
min-width: 0rem !important;
display: block;
margin-top: 1rem;
margin-bottom: 0.5rem;
+ text-align: left;
}
.cbi-value-field, .cbi-value-description {
padding: 0.2rem 0.7rem;
}
- .cbi-page-actions > div {
+ .cbi-page-actions > div > input {
display: none;
}
}
.node-main-login > .main .cbi-value-title {
+ width: 100% !important;
font-size: 1.2rem;
}
.node-main-login > .main fieldset {
margin: 0;
+ padding: 0.5rem;
}
h2 {
input {
font-size: 1.2rem;
}
+
+ .mobile-hide{
+ display: none;
+ }
+
+ .panel-title{
+ font-size: 1.4rem;
+ padding-bottom: 1rem;
+ }
+
+ .node-system-software > .main .cbi-value.cbi-value-last > div{
+ width: 100% !important;
+ }
+
+ .node-system-software > .main .cbi-value .cbi-value-field input{
+ width: 100%;
+ }
}