1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549 |
- /**
- * 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');
- 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;
- }
- .cbi-button-up,
- .cbi-button-down,
- .cbi-value-helpicon,
- .showSide,
- .main > .loading > span {
- font-family: 'icomoon' !important;
- 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;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
- font-family: inherit;
- font-weight: 400;
- line-height: 1.1;
- color: inherit;
- }
- html {
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
- }
- body {
- font-size: 0.8rem;
- background-color: #EEE;
- }
- html, body {
- margin: 0px;
- padding: 0px;
- height: 100%;
- font-family: Microsoft Yahei, WenQuanYi Micro Hei, sans-serif, "Helvetica Neue", Helvetica, Hiragino Sans GB;
- }
- select {
- padding: 0.36rem 0.8rem;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- }
- select,
- input {
- background-color: transparent;
- color: rgba(0, 0, 0, .87);
- border: none;
- border-bottom: 2px solid rgba(0, 0, 0, .26);
- outline: 0;
- padding: 0;
- box-shadow: none;
- border-radius: 0;
- background-image: none;
- height: 1.8rem;
- font-size: 0.8rem;
- }
- select:not([multiple="multiple"]):focus,
- input:focus {
- border-color: #0099CC;
- }
- select[multiple="multiple"] {
- height: auto;
- }
- code {
- color: #0099CC;
- }
- abbr {
- color: #005470;
- text-decoration: underline;
- cursor: help;
- }
- hr {
- margin: 1rem 0;
- border-color: #EEE;
- opacity: 0.1;
- }
- header, .main {
- width: 100%;
- position: absolute;
- }
- header {
- height: 4rem;
- box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
- transition: box-shadow .2s;
- float: left;
- position: fixed;
- z-index: 101;
- }
- footer {
- text-align: right;
- padding: 1rem;
- color: #aaa;
- font-size: 0.8rem;
- text-shadow: 0px 0px 2px #BBB;
- }
- footer > a {
- color: #aaa;
- text-decoration: none;
- }
- .main {
- top: 4rem;
- 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: 1.2rem;
- }
- .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;
- top: 4rem;
- width: 15%;
- width: calc(0% + 15rem);
- height: 100%;
- height: calc(100% - 4rem);
- background-color: white;
- overflow-x: auto;
- position: fixed;
- }
- .main-right {
- width: 85%;
- width: calc(100% - 15rem);
- float: right;
- height: 100%;
- background-color: #EEE;
- }
- .main-right > #maincontent {
- background-color: #EEE;
- }
- .pull-right {
- float: right;
- }
- .pull-left {
- float: left;
- }
- header {
- background: #0099CC;
- color: white;
- }
- header > .container {
- margin-top: 0.5rem;
- padding: 0.5rem 1rem 0 1rem;
- }
- header > .container > .brand {
- font-size: 1.4rem;
- color: white;
- text-decoration: none;
- cursor: default;
- vertical-align: text-bottom;
- }
- .warning {
- background-color: #FF7D60 !important;
- color: #FFF;
- }
- .errorbox,
- .alert-message {
- margin: 2rem 0 0 0;
- padding: 2rem;
- border: 0;
- font-weight: normal;
- font-style: normal;
- line-height: 1;
- font-family: inherit;
- min-width: inherit;
- overflow: auto;
- border-radius: 0;
- background-color: #FFF;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- }
- .errorbox {
- color: #fff;
- background-color: #f0ad4e;
- border-color: #eea236;
- }
- .error {
- color: red;
- }
- #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: 0.9rem;
- line-height: 1.42857143;
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da;
- margin-top: 2rem;
- text-decoration: inherit;
- }
- .main > .main-left > .nav {
- margin-top: 0.5rem;
- }
- .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 {
- padding: 0.5rem 1rem;
- cursor: pointer;
- }
- .main > .main-left > .nav > .slide {
- padding: 0;
- }
- .main > .main-left > .nav > .slide > ul {
- display: none;
- }
- .main > .main-left > .nav > .slide > .menu {
- display: block;
- padding: 0.5rem 1rem;
- text-decoration: none;
- cursor: default;
- font-size: 1.15rem;
- }
- .main > .main-left > .nav > li:hover,
- .main > .main-left > .nav > .slide > .menu:hover {
- background: #D4D4D4;
- }
- .main > .main-left > .nav > .slide:hover {
- background: none;
- }
- .main > .main-left > .nav > .slide > .slide-menu > li {
- padding: 0.4rem 2rem;
- }
- .main > .main-left > .nav > .slide > .slide-menu > .active {
- background-color: #0099CC;
- }
- .main > .main-left > .nav > .slide > .slide-menu > li > a {
- text-decoration: none;
- white-space: nowrap;
- }
- .main > .main-left > .nav > .slide > .slide-menu > .active > a {
- color: white;
- }
- .main > .main-left > .nav > .slide > .slide-menu > li:hover {
- background: #D4D4D4;
- }
- .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
- background-color: #0099CC;
- cursor: hand;
- }
- li {
- list-style-type: none;
- }
- #maincontent > .container {
- margin: 0 2rem 1rem 2rem;
- }
- h1 {
- font-size: 2rem;
- padding-bottom: 10px;
- border-bottom: 1px solid #eee;
- }
- h2 {
- margin: 2rem 0 0 0;
- font-size: 1.8rem;
- padding-bottom: 10px;
- border-bottom: 1px solid #eee;
- }
- h3 {
- margin: 2rem 0 0 0;
- font-size: 1.4rem;
- padding-bottom: 10px;
- }
- h4 {
- }
- fieldset {
- margin: 2rem 0 0 0;
- padding: 2rem;
- border: 0;
- font-weight: normal;
- font-style: normal;
- line-height: 1;
- font-family: inherit;
- min-width: inherit;
- overflow-x: auto;
- overflow-y: hidden;
- border-radius: 0;
- background-color: #FFF;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- -webkit-overflow-scrolling: touch;
- }
- .cbi-map-descr + fieldset {
- margin-top: 1rem;
- }
- fieldset > legend {
- display: none !important;
- }
- fieldset > fieldset {
- margin: 0;
- padding: 0;
- border: none;
- box-shadow: none;
- }
- .panel-title {
- width: 100%;
- display: block;
- line-height: 1;
- color: #404040;
- font-size: 1.4rem;
- padding-bottom: 1rem;
- border-bottom: 1px solid #eee;
- }
- table {
- border-spacing: 0;
- border-collapse: collapse;
- width: 100%;
- border: 1px 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 {
- padding: .5rem;
- border-top: 1px solid #ddd;
- white-space: nowrap;
- }
- .cbi-section-table-cell {
- text-align: center;
- }
- .cbi-section-table-row {
- text-align: center;
- }
- fieldset > table > tbody > tr:nth-of-type(2n) {
- background-color: #f9f9f9;
- }
- /* fix progress bar */
- #swaptotal > div,
- #swapfree > div,
- #memfree > div,
- #membuff > div,
- #conns > div,
- #memtotal > div {
- width: 100% !important;
- height: 1.2rem !important;
- }
- #swaptotal > div > div,
- #swapfree > div > div,
- #memfree > div > div,
- #membuff > div > div,
- #conns > div > div,
- #memtotal > div > div {
- height: 100% !important;
- background-color: #0099CC !important;
- }
- /* fix multiple table */
- table table {
- border: none;
- }
- .cbi-value-field table {
- border: none;
- }
- td > table > tbody > tr > td {
- border: none;
- }
- .cbi-value-field > table > tbody > tr > td {
- border: none;
- }
- /* button style */
- .cbi-button {
- -webkit-appearance: none;
- text-transform: uppercase;
- color: rgba(0, 0, 0, 0.87);
- background-color: #F0F0F0;
- transition: all 0.2s ease-in-out;
- display: inline-block;
- padding: 0 0.8rem;
- border: none;
- border-radius: 0.2rem;
- cursor: pointer;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- background-image: none;
- text-align: center;
- vertical-align: middle;
- white-space: nowrap;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- font-size: 0.8rem;
- width: auto !important;
- }
- .cbi-button:hover,
- .cbi-button:focus,
- .cbi-button:active {
- color: rgba(0, 0, 0, 0.87);
- outline: 0;
- text-decoration: none;
- color: rgba(0, 0, 0, 0.87);
- }
- .cbi-button:hover,
- .cbi-button:focus {
- box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
- }
- .cbi-button:active {
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
- }
- .cbi-button:disabled {
- cursor: not-allowed;
- pointer-events: none;
- opacity: 0.60;
- box-shadow: none;
- }
- form.inline + form.inline,
- .cbi-button + .cbi-button {
- margin-left: 0.6rem;
- }
- .cbi-button-reset,
- .cbi-input-remove {
- color: #fff !important;
- background-color: #f0ad4e !important;
- border-color: #eea236 !important;
- }
- .cbi-input-find,
- .cbi-input-save,
- .cbi-button-add,
- .cbi-button-save,
- .cbi-button-find,
- .cbi-input-reload,
- .cbi-button-reload {
- color: #fff !important;
- background-color: #337ab7 !important;
- border-color: #2e6da4 !important;
- }
- .cbi-input-apply,
- .cbi-button-apply,
- .cbi-button-edit {
- color: #fff !important;
- background-color: #5bc0de !important;
- border-color: #46b8da !important;
- }
- .cbi-input-reset,
- .cbi-section-remove > .cbi-button,
- .cbi-button-remove {
- color: #fff !important;
- background-color: #d9534f !important;
- border-color: #d43f3a !important;
- }
- .a-to-btn {
- text-decoration: none;
- }
- /* table */
- .tabs {
- margin: 0 -2rem;
- padding-left: 0.5rem;
- background-color: #FFFFFF;
- }
- .cbi-tabmenu > li,
- .tabs > li {
- display: inline-block;
- padding: 0.6rem 0rem;
- }
- .cbi-tabmenu > li > a,
- .tabs > li > a {
- text-decoration: none;
- color: #404040;
- padding: 0.5rem 0.8rem;
- }
- .tabs > li[class~="active"],
- .tabs > li:hover {
- cursor: pointer;
- border-bottom: 0.2rem solid #0099CC;
- color: #0099CC;
- margin-bottom: -0.18751rem;
- }
- .tabs > li[class~="active"] > a {
- color: #0099cc;
- }
- .tabs > li:hover {
- border-bottom: 0.18751rem solid #C9C9C9;
- }
- .cbi-tabmenu {
- border-top: 1px solid #D4D4D4;
- border-left: 1px solid #D4D4D4;
- border-right: 1px solid #D4D4D4;
- }
- .cbi-tabmenu > li:hover {
- background-color: #F1F1F1;
- }
- .cbi-tabmenu > li[class~="cbi-tab"] {
- background-color: white;
- }
- .cbi-tabmenu {
- background-color: #D4D4D4;
- }
- .cbi-section-remove:nth-of-type(2n),
- .cbi-section-node:nth-of-type(2n){
- background-color: #f9f9f9;
- }
- .cbi-section-node-tabbed {
- padding: 0;
- margin-top: 0;
- border-bottom: 1px solid #D4D4D4;
- border-left: 1px solid #D4D4D4;
- border-right: 1px solid #D4D4D4;
- }
- .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
- background-color: #f9f9f9;
- }
- .cbi-value-field,
- .cbi-value-description {
- display: table-cell;
- line-height: 1.25;
- }
- .cbi-value-helpicon > img {
- display: none;
- }
- .cbi-value-helpicon:before {
- content: "\f059";
- }
- .cbi-value-description {
- font-size: small;
- opacity: 0.5;
- padding: 0.5rem 0 0 0;
- }
- .cbi-value-title {
- word-wrap: break-word;
- padding-top: 0.6rem;
- width: 23rem;
- float: left;
- text-align: right;
- padding-right: 2rem;
- display: table-cell;
- }
- .cbi-value {
- padding: 0.3rem 1rem;
- display: inline-block;
- width: 100%;
- }
- .cbi-section-table-descr > .cbi-section-table-cell,
- .cbi-section-table-titles > .cbi-section-table-cell {
- border: none;
- }
- .cbi-rowstyle-2 {
- background-color: #eee;
- }
- .cbi-rowstyle-2 .cbi-button-up,
- .cbi-rowstyle-2 .cbi-button-down {
- background-color: #FFF !important;
- }
- .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
- width: auto !important;
- }
- /* desc */
- .cbi-section-descr,
- .cbi-map-descr {
- padding: 0.5rem;
- color: #999;
- font-size: small;
- }
- /* luci */
- .hidden {
- display: none
- }
- .left {
- text-align: left !important;
- }
- .right {
- text-align: right !important;
- }
- .inline {
- display: inline;
- }
- .cbi-page-actions {
- border-top: 1px solid #eee;
- padding-top: 1rem;
- text-align: right;
- }
- /* input */
- .cbi-value input[type="password"],
- .cbi-value input[type="text"] {
- min-width: 15rem;
- }
- /* select */
- .cbi-value-field .cbi-input-select {
- min-width: 15rem;
- }
- .ifacebadge {
- display: inline-flex;
- border-bottom: 1px solid #CCCCCC;
- padding: 0.5rem 1rem;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- }
- td > .ifacebadge {
- background-color: #F0F0F0;
- font-size: 0.9rem;
- }
- .ifacebadge > img {
- float: right;
- margin: 0 0.3rem;
- }
- /*textarea*/
- .cbi-input-textarea {
- width: 100%;
- min-height: 14rem;
- padding: 0.8rem;
- font-size: 0.8rem;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: black;
- }
- #syslog {
- width: 100%;
- min-height: 15rem;
- padding: 1rem;
- font-size: small;
- color: #5F5F5F;
- margin-bottom: 20px;
- border-radius: 0;
- background-color: #FFF;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- border: none;
- }
- /* change */
- .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;
- }
- .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;
- }
- .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;
- }
- .uci-change-list var ins,
- .uci-change-list var del {
- border: none;
- white-space: pre;
- font-style: normal;
- padding: 0px;
- }
- .uci-change-legend {
- padding: 5px;
- }
- .uci-change-legend-label {
- width: 150px;
- float: left;
- }
- .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 {
- line-height: 6px;
- border: none;
- }
- .uci-change-list var,
- .uci-change-list del,
- .uci-change-list ins {
- padding: 0.5rem;
- }
- /* other fix */
- #iwsvg,
- #iwsvg2,
- #bwsvg {
- border: 1px solid #D4D4D4 !important;
- border-top: none !important;
- }
- .ifacebox {
- border: 1px solid #999;
- background-color: #f9f9f9;
- }
- .cbi-image-button {
- margin-left: 0.5rem;
- }
- .zonebadge {
- padding: 0.2rem 0.5rem;
- display: inline-block;
- cursor: pointer;
- }
- .zonebadge > .ifacebadge {
- padding: 0.2rem 1rem;
- margin: 0.3rem;
- border: 1px solid #6C6C6C;
- }
- .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 {
- margin-top: 0.5rem;
- height: 1rem;
- }
- .cbi-value-field > input + .cbi-value-description {
- padding: 0;
- }
- .cbi-value-field > ul > li {
- display: flex;
- }
- .cbi-value-field > ul > li > label {
- margin-top: 0.5rem;
- }
- .cbi-value-field > ul > li .ifacebadge {
- background-color: #eee;
- margin-left: 0.4rem;
- margin-top: -0.5rem;
- }
- .cbi-section-table-row > .cbi-value-field .cbi-input-select {
- min-width: 7rem;
- }
- .cbi-section-create > .cbi-button-add {
- margin: 0.5rem;
- }
- .cbi-section-remove {
- padding: 0.5rem;
- }
- div.cbi-value var, td.cbi-value-field var {
- font-style: italic;
- color: #0069D6;
- }
- small {
- font-size: 90%;
- white-space: normal;
- line-height: 1.42857143;
- }
- .cbi-button-up,
- .cbi-button-down {
- display: inline-block;
- min-width: 0;
- padding: 0.2rem 0.3rem;
- font-size: 1.2rem;
- }
- .cbi-optionals {
- padding: 1rem 1rem 0 1rem;
- border-top: 1px solid #CCC;
- }
- #diag-rc-output > pre {
- background-color: #f5f5f5;
- display: block;
- padding: 8.5px;
- margin: 0 0 18px;
- line-height: 1.5rem;
- -moz-border-radius: 3px;
- white-space: pre-wrap;
- word-wrap: break-word;
- font-size: 1.4rem;
- color: #404040;
- }
- input[name="ping"],
- input[name="traceroute"],
- input[name="nslookup"] {
- width: 80%;
- }
- header > .container > .pull-right > * {
- position: relative;
- top: 0.45rem;
- cursor: pointer;
- }
- #xhr_poll_status > .label.success {
- background-color: #14CE14;
- }
- .label {
- padding: 0.3rem 0.8rem;
- font-size: 0.8rem;
- font-weight: bold;
- color: #ffffff !important;
- text-transform: uppercase;
- white-space: nowrap;
- background-color: #bfbfbf;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- text-shadow: none;
- text-decoration: none;
- }
- .notice {
- background-color: #5BC0DE;
- }
- .showSide {
- display: none;
- }
- .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 > .main > .main-left {
- display: none;
- }
- .node-main-login > .main > .main-right {
- width: 100%;
- }
- .node-main-login > .main fieldset {
- padding: 0.5rem;
- margin-bottom: 1rem;
- display: inline;
- background: none;
- border: none;
- box-shadow: none;
- overflow: hidden;
- }
- .node-main-login > .main .cbi-value-title {
- width: 7rem;
- }
- .node-main-login > .main #maincontent {
- text-align: center;
- }
- .node-main-login > .main .container {
- display: inline-block;
- padding: 2rem 4rem;
- margin-top: 2rem !important;
- background-color: #FFF;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- text-align: left;
- }
- .node-main-login > .main form > div:nth-last-child(1) {
- float: right;
- }
- .node-main-login > .main .cbi-value {
- display: block;
- }
- .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 footer {
- bottom: 0;
- position: absolute;
- width: 100%;
- }
- /* fix status overview */
- .node-status-overview > .main fieldset: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;
- }
- .node-status-iptables > .main div > .cbi-map > form {
- margin: 2rem 2rem 0 0;
- }
- /* fix system reboot */
- .node-system-reboot > .main > .main-right p,
- .node-system-reboot > .main > .main-right h3 {
- padding-left: 2rem;
- }
- /* fix Services Network Shares*/
- .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
- margin-bottom: 1rem;
- width: auto;
- }
- .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;
- }
- /* fix System Software*/
- .node-system-packages > .main table tr td:nth-child(1) {
- width: auto !important;
- }
- .node-system-packages > .main table tr td:nth-last-child(1) {
- white-space: normal;
- font-size: small;
- color: #404040;
- }
- .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
- padding: 0.5rem 0.8rem;
- }
- .node-system-packages > .main .cbi-value > pre {
- background-color: #eee;
- padding: 0.5rem;
- overflow: auto;
- }
- .cbi-tabmenu + .cbi-section {
- margin-top: 0;
- }
- /* fix network firewall*/
- .node-network-firewall > .main .cbi-section-table-row > .cbi-value-field .cbi-input-select {
- min-width: 4rem;
- }
- .node-status-iptables fieldset,
- .node-system-packages fieldset,
- .node-system-flashops fieldset {
- margin-top: 0;
- }
- .node-status-iptables .cbi-tabmenu,
- .node-system-packages .cbi-tabmenu,
- .node-system-flashops .cbi-tabmenu {
- border: none;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- }
- .node-system-flashops form.inline + form.inline {
- margin-left: 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;
- }
- /* language fix */
- body.lang_pl.node-main-login .cbi-value-title {
- width: 12rem;
- }
- @media screen and (max-width: 1600px) {
- .main-left {
- width: calc(0% + 13rem);
- }
- .main-right {
- width: calc(100% - 13rem);
- }
- .cbi-button {
- padding: 0.3rem 0.6rem;
- font-size: 0.8rem;
- }
- header > .container > .pull-right > * {
- top: 0.35rem;
- }
- .label {
- padding: 0.2rem 0.6rem;
- }
- .cbi-value-title {
- width: 15rem;
- padding-right: 0.6rem;
- }
- fieldset {
- padding: 1rem;
- }
- .cbi-input-textarea {
- font-size: small;
- }
- .node-status-iptables > .main fieldset li > a {
- padding: 0.3rem 0.6rem;
- }
- }
- @media screen and (max-width: 1280px) {
- header {
- height: 3.5rem;
- }
- header > .container {
- margin-top: 0.25rem;
- }
- .main {
- top: 3.5rem;
- height: calc(100% - 3.5rem);
- }
- .main-left {
- width: calc(0% + 13rem);
- top: 3.5rem;
- height: calc(100% - 3.5rem);
- }
- .main-right {
- width: calc(100% - 13rem);
- }
- .cbi-tabmenu > li > a, .tabs > li > a {
- padding: 0.2rem 0.5rem;
- }
- .panel-title {
- font-size: 1.1rem;
- padding-bottom: 1rem;
- }
- table {
- font-size: 0.7rem !important;
- width: 100% !important;
- }
- .main > .main-left > .nav > li,
- .main > .main-left > .nav > li a,
- .main > .main-left > .nav > .slide > .menu {
- font-size: 0.9rem;
- }
- .main > .main-left > .nav > .slide > .slide-menu > li > a {
- font-size: 0.7rem;
- }
- }
- @media screen and (max-width: 992px) {
- .main-left {
- width: 0;
- position: fixed;
- z-index: 100;
- }
- .main-right {
- width: 100%;
- }
- .showSide {
- padding: 0.1rem;
- margin-right: 0.5rem;
- display: inline-block;
- }
- .showSide:before {
- content: "\e20e";
- font-size: 1.7rem;
- }
- .node-main-login .showSide {
- display: none !important;
- }
- .cbi-value-title {
- width: 9rem;
- padding-right: 1rem;
- }
- .node-network-diagnostics > .main .cbi-map fieldset > div * {
- width: 100% !important;
- }
- .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] {
- margin: 3rem 0 0 0 !important;
- }
- .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] {
- margin: 0 !important;
- }
- .node-network-diagnostics > .main .cbi-map fieldset > div select,
- .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] {
- margin: 1rem 0 0 0;
- }
- .node-network-diagnostics > .main .cbi-map fieldset > div {
- width: 100% !important;
- }
- #diag-rc-output > pre {
- font-size: 1rem;
- }
- .node-main-login > .main .cbi-value-title {
- text-align: left;
- }
- }
- @media screen and (max-width: 480px) {
- body {
- font-size: 1rem;
- }
- fieldset {
- padding: 1rem;
- margin: 1rem 0 0 0;
- }
- .tabs {
- margin: 0 -1rem;
- }
- #maincontent > .container {
- margin: 0 1rem 1.5rem 1rem;
- }
- .main > .main-left > .nav > .slide > .menu {
- font-size: 1.3rem;
- }
- .main > .main-left > .nav > .slide > .slide-menu > li > a {
- font-size: 1.1rem;
- }
- .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 {
- width: 100%;
- }
- .cbi-value > .cbi-value-field {
- display: inline-block;
- }
- .cbi-tabmenu > li, .tabs > li {
- padding: 0.6rem 0rem;
- }
- .cbi-tabmenu > li > a, .tabs > li > a {
- padding: 0.2rem 0.3rem;
- font-size: 0.9rem;
- }
- .cbi-page-actions > div > input {
- display: none;
- }
- .node-main-login > .main .container {
- padding: 0.5rem 1rem 2rem 1rem;
- }
- .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 .cbi-value-title {
- width: 100% !important;
- font-size: 1.2rem;
- }
- .node-main-login > .main fieldset {
- margin: 0;
- padding: 0.5rem;
- }
- h2 {
- font-size: 2rem;
- }
- .tabs > li > a {
- font-size: 0.9rem;
- }
- select,
- input {
- font-size: 0.9rem;
- }
- .mobile-hide {
- display: none;
- }
- .panel-title {
- font-size: 1.4rem;
- padding-bottom: 1rem;
- }
- .node-system-packages > .main .cbi-value.cbi-value-last > div {
- width: 100% !important;
- }
- .node-system-packages > .main .cbi-value .cbi-value-field input {
- width: 100%;
- }
- .node-status-iptables > .main div > .cbi-map > form {
- position: static !important;
- margin: 0 0 2rem 0;
- padding: 2rem;
- border: 0;
- font-weight: normal;
- font-style: normal;
- line-height: 1;
- font-family: inherit;
- min-width: inherit;
- overflow-x: auto;
- overflow-y: hidden;
- border-radius: 0;
- background-color: #FFF;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
- -webkit-overflow-scrolling: touch;
- }
- .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
- width: 100% !important;
- margin: 0;
- }
- .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
- margin-top: 1rem;
- }
- }
- @media screen and (min-width: 992px) {
- .cbi-value input[type="password"],
- .cbi-value input[type="text"] {
- min-width: 20rem;
- }
- .cbi-value-field .cbi-input-select {
- min-width: 20rem;
- }
- }
- @media screen and (min-width: 1280px) {
- .cbi-value input[type="password"],
- .cbi-value input[type="text"] {
- min-width: 22rem;
- }
- .cbi-value-field .cbi-input-select {
- min-width: 22rem;
- }
- }
- @media screen and (min-width: 1600px) {
- .cbi-value input[type="password"],
- .cbi-value input[type="text"] {
- min-width: 25rem;
- }
- .cbi-value-field .cbi-input-select {
- min-width: 25rem;
- }
- }
|