select,
input,
.cbi-dropdown {
- height: 1.8rem;
+ min-height: 1.8rem;
padding: 0;
color: rgba(0, 0, 0, .87);
border: 0;
border-color: var(--main-color);
}
+.cbi-dropdown,
select[multiple="multiple"] {
height: auto;
}
position: fixed;
z-index: 1000;
top: 0;
- display: block;
+ opacity: 1;
+ visibility: visible;
width: 100%;
height: 100%;
pointer-events: none;
background-color: rgb(240, 240, 240);
+ transition: visibility 400ms, opacity 400ms;
}
.main > .loading > span {
height: calc(100% - 4rem);
background-color: #fff;
background-color: var(--menu-bg-color);
+ transition: visibility 400ms, width 400ms;
}
.main-right {
margin-top: -.1rem;
}
-body:not(.logged-in) > header > .fill > .container > #logo {
- display: none;
-}
-
header > .fill > .container > .brand {
font-size: 1.4rem;
position: absolute;
background-color: #5cb85c !important;
}
-.notice {
+.notice,
+[data-indicator]:not([data-style="inactive"]) {
background-color: #5bc0de !important;
}
display: none;
}
+.main > .main-left > .nav > .slide.active > ul {
+ display: block;
+}
+
.main > .main-left > .nav > .slide > .menu,
.main > .main-left > .nav > li > [data-title="Logout"] {
font-size: 1.15rem;
background: none;
}
-.main > .main-left > .nav > .slide > .slide-menu > li {
- padding: .4rem 2rem;
-}
-
.main > .main-left > .nav > .slide > .slide-menu > .active {
background-color: #09c;
background-color: var(--submenu-bg-hover-active);
.main > .main-left > .nav > .slide > .slide-menu > li > a {
white-space: nowrap;
text-decoration: none;
+ padding: .4rem 2rem;
}
.main > .main-left > .nav > .slide > .slide-menu > .active > a {
#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;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
}
+.cbi-modal .cbi-section,
+.cbi-section .cbi-section {
+ padding: 0;
+ box-shadow: none;
+}
+
+.cbi-modal .cbi-tabmenu {
+ margin-left: 0;
+}
+
.cbi-map-descr,
.cbi-section-descr {
font-size: small;
border-bottom: thin solid #eee;
}
+.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;
overflow: hidden;
height: 0;
opacity: 0;
+ margin: 0;
+ padding: 0rem 1rem !important;
}
[data-tab-active="true"] {
height: auto;
opacity: 1;
transition: opacity .25s ease-in;
+ margin: inherit !important;
}
.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
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;
border: thin solid #918e8c;
background: #f6f6f6;
box-shadow: 0 0 4px #918e8c;
+ color: var(--main-menu-color);
}
.cbi-dropdown > ul > li[display],
min-width: 270px;
max-width: 600px;
min-height: 32px;
- max-height: 2400px;
margin: 5em auto;
padding: 1em;
border-radius: 3px !important;
.modal > * {
line-height: normal;
flex-basis: 100%;
+ margin-bottom: .5em;
+ max-width: 100%;
}
.modal > pre,
.modal ul {
margin-left: 2.2em;
+ word-break: break-word;
}
.modal li {
word-break: break-word;
}
-.modal .label {
- font-size: .6rem;
- font-weight: normal;
- padding: .1rem .3rem;
- padding-bottom: 0;
- cursor: default;
- border-radius: 0;
+.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 {
+.modal label.warning {
background-color: #f0ad4e !important;
}
-.modal .btn {
- padding: .3rem .6rem;
-}
-
-.modal .spinning {
- margin-bottom: 2em;
+.modal.cbi-modal {
+ max-width: 90%;
+ max-height: none;
}
body.modal-overlay-active {
.network-status-table .ifacebox-body > span {
flex: 10 10 auto;
+ height: 100%;
}
.network-status-table .ifacebox-body > div {
flex-direction: column;
}
-.label {
+.label,
+[data-indicator] {
font-size: .8rem;
font-weight: bold;
padding: .3rem .8rem;
label > input[type="checkbox"],
label > input[type="radio"] {
- position: relative;
- top: .4rem;
- right: .2rem;
- margin: 0;
- vertical-align: bottom;
+ margin-right: 0.8rem;
+}
+
+label[data-index][data-depends] {
+ padding-right: 2em;
}
.showSide {
.darkMask {
position: fixed;
z-index: 99;
- display: none;
width: 100%;
height: 100%;
content: "";
background-color: rgba(0, 0, 0, .56);
+ transition: opacity 400ms, visibility 400ms;
+ visibility: hidden;
+ opacity: 0;
}
/* diagnostics */
padding: .3rem .6rem;
}
- .label {
+ .label,
+ [data-indicator] {
padding: .2rem .6rem;
}
padding: .2rem .5rem;
}
+ .cbi-section > h3:first-child,
.panel-title {
font-size: 1.1rem;
padding-bottom: 1rem;
.main-left {
position: fixed;
z-index: 100;
- width: 0;
+ visibility: hidden;
}
.main-right {
}
#maincontent > .container {
- margin: 0 1rem 1.5rem 1rem;
+ margin: 0 .5rem 1.5rem .5rem;
}
.main > .main-left > .nav > .slide > .menu,
display: none;
}
+ .cbi-section > h3:first-child,
.panel-title {
font-size: 1.4rem;
padding-bottom: 1rem;
.hide-xs:not([data-title="MAC-Address"]) {
display: none;
}
+
+ .cbi-modal {
+ padding: .5rem;
+ }
+
+ .cbi-modal .cbi-value {
+ padding: 0 0 .25rem 0;
+ }
+
+ .cbi-modal [data-tab-title] {
+ padding: 0 .25rem !important;
+ }
+
+ [data-tab-title] {
+ padding: 0 .5rem !important;
+ }
}
@media screen and (min-width: 600px) {