mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Update openmptcprouter theme
This commit is contained in:
parent
91edeb182c
commit
db21351ff4
2 changed files with 61 additions and 23 deletions
|
@ -450,7 +450,7 @@ label > input[type="radio"] {
|
||||||
input,
|
input,
|
||||||
textarea,
|
textarea,
|
||||||
select,
|
select,
|
||||||
.cbi-dropdown,
|
.cbi-dropdown:not(.btn):not(.cbi-button),
|
||||||
.uneditable-input {
|
.uneditable-input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 210px;
|
width: 210px;
|
||||||
|
@ -466,7 +466,7 @@ select,
|
||||||
color: #808080;
|
color: #808080;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-dropdown,
|
.cbi-dropdown:not(.btn):not(.cbi-button),
|
||||||
.cbi-dynlist {
|
.cbi-dynlist {
|
||||||
min-width: 210px;
|
min-width: 210px;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
@ -563,7 +563,7 @@ textarea {
|
||||||
.td > input[type=text],
|
.td > input[type=text],
|
||||||
.td > input[type=password],
|
.td > input[type=password],
|
||||||
.td > select,
|
.td > select,
|
||||||
.td > .cbi-dropdown,
|
.td > .cbi-dropdown:not(.btn):not(.cbi-button),
|
||||||
.cbi-dynlist > .add-item > .cbi-dropdown {
|
.cbi-dynlist > .add-item > .cbi-dropdown {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1347,7 +1347,11 @@ body.modal-overlay-active #modal_overlay {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-page-actions > :not([method="post"]):not(.cbi-button-apply):not(.cbi-button-save):not(.cbi-button-reset) {
|
.cbi-page-actions > * {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cbi-page-actions > :not([method="post"]):not(.cbi-button-apply):not(.cbi-button-negative):not(.cbi-button-save):not(.cbi-button-reset) {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: .4em;
|
margin-right: .4em;
|
||||||
}
|
}
|
||||||
|
@ -1374,21 +1378,25 @@ body.modal-overlay-active #modal_overlay {
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-page-actions .cbi-button-apply + .cbi-button-save {
|
.cbi-page-actions .cbi-button-apply + .cbi-button-save,
|
||||||
|
.cbi-page-actions .cbi-button-negative + .cbi-button-save {
|
||||||
background: linear-gradient(#fff, #fff 25%, #e6e6e6);
|
background: linear-gradient(#fff, #fff 25%, #e6e6e6);
|
||||||
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.75);
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.75);
|
||||||
color: #4a4;
|
color: #4a4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-dropdown {
|
.cbi-dropdown {
|
||||||
border: 1px solid #ccc;
|
display: inline-flex !important;
|
||||||
border-radius: 3px;
|
|
||||||
display: inline-flex;
|
|
||||||
padding: 0;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: auto;
|
height: auto;
|
||||||
background: linear-gradient(#fff 0%, #e9e8e6 100%);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cbi-dropdown:not(.btn):not(.cbi-button) {
|
||||||
|
background: linear-gradient(#fff 0%, #e9e8e6 100%);
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 3px;
|
||||||
color: #404040;
|
color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1407,6 +1415,16 @@ body.modal-overlay-active #modal_overlay {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cbi-dropdown.btn > ul:not(.dropdown),
|
||||||
|
.cbi-dropdown.cbi-button > ul:not(.dropdown) {
|
||||||
|
margin: 0 0 0 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cbi-dropdown.btn.spinning > ul:not(.dropdown),
|
||||||
|
.cbi-dropdown.cbi-button.spinning > ul:not(.dropdown) {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.cbi-dropdown > ul.preview {
|
.cbi-dropdown > ul.preview {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -1423,8 +1441,15 @@ body.modal-overlay-active #modal_overlay {
|
||||||
padding: 0 .25em;
|
padding: 0 .25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cbi-dropdown.btn > .open,
|
||||||
|
.cbi-dropdown.cbi-button > .open {
|
||||||
|
padding: 0 .5em;
|
||||||
|
margin-left: .5em;
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
.cbi-dropdown > .more,
|
.cbi-dropdown > .more,
|
||||||
.cbi-dropdown > ul > li[placeholder] {
|
.cbi-dropdown:not(.btn):not(.cbi-button) > ul > li[placeholder] {
|
||||||
color: #777;
|
color: #777;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-shadow: 1px 1px 0px #fff;
|
text-shadow: 1px 1px 0px #fff;
|
||||||
|
@ -1434,7 +1459,6 @@ body.modal-overlay-active #modal_overlay {
|
||||||
|
|
||||||
.cbi-dropdown > ul > li {
|
.cbi-dropdown > ul > li {
|
||||||
display: none;
|
display: none;
|
||||||
padding: .25em;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -1442,8 +1466,14 @@ body.modal-overlay-active #modal_overlay {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
color: #404040;
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cbi-dropdown > ul.dropdown > li,
|
||||||
|
.cbi-dropdown:not(.btn):not(.cbi-button) > ul > li {
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
padding: .25em;
|
||||||
|
color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-dropdown > ul > li .hide-open { display: block; display: initial; }
|
.cbi-dropdown > ul > li .hide-open { display: block; display: initial; }
|
||||||
|
@ -1502,13 +1532,13 @@ body.modal-overlay-active #modal_overlay {
|
||||||
.cbi-dropdown[multiple][more] > .more,
|
.cbi-dropdown[multiple][more] > .more,
|
||||||
.cbi-dropdown[multiple][empty] > .more {
|
.cbi-dropdown[multiple][empty] > .more {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
display: flex;
|
display: flex !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-dropdown[empty] > ul > li,
|
.cbi-dropdown[empty] > ul > li,
|
||||||
.cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
|
.cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
|
||||||
.cbi-dropdown[multiple][open] > ul.dropdown > li > form {
|
.cbi-dropdown[multiple][open] > ul.dropdown > li > form {
|
||||||
display: block;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
|
.cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
|
||||||
|
@ -1576,7 +1606,7 @@ select + .cbi-button {
|
||||||
.cbi-tooltip {
|
.cbi-tooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
left: -1000px;
|
left: -10000px;
|
||||||
box-shadow: 0 0 2px #ccc;
|
box-shadow: 0 0 2px #ccc;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -1663,14 +1693,12 @@ select + .cbi-button {
|
||||||
|
|
||||||
.btn.disabled {
|
.btn.disabled {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-image: none;
|
|
||||||
opacity: 0.65;
|
opacity: 0.65;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn[disabled] {
|
.btn[disabled] {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-image: none;
|
|
||||||
opacity: 0.65;
|
opacity: 0.65;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
@ -2005,8 +2033,6 @@ table table td,
|
||||||
}
|
}
|
||||||
|
|
||||||
.network-status-table .ifacebox-body > div {
|
.network-status-table .ifacebox-body > div {
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin: -.125em;
|
margin: -.125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2017,13 +2043,22 @@ table table td,
|
||||||
|
|
||||||
.ifacebadge.large,
|
.ifacebadge.large,
|
||||||
.network-status-table .ifacebox-body .ifacebadge {
|
.network-status-table .ifacebox-body .ifacebadge {
|
||||||
display: inline-flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: .25em;
|
padding: .25em;
|
||||||
min-width: 220px;
|
min-width: 220px;
|
||||||
margin: .125em;
|
margin: .125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ifacebadge.large {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.network-status-table .ifacebox-body .ifacebadge > span {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
.ifacebadge > *,
|
.ifacebadge > *,
|
||||||
.ifacebadge.large > * {
|
.ifacebadge.large > * {
|
||||||
margin: 0 .125em;
|
margin: 0 .125em;
|
||||||
|
|
|
@ -177,9 +177,11 @@ header h3 a, header .brand {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, textarea, select {
|
input, textarea, select,
|
||||||
|
.cbi-dropdown > ul > li input[type="text"] {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
select, input[type="text"], input[type="password"] {
|
select, input[type="text"], input[type="password"] {
|
||||||
|
@ -338,13 +340,14 @@ header h3 a, header .brand {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-page-actions .cbi-button {
|
.cbi-page-actions .cbi-button:not(.cbi-dropdown) {
|
||||||
flex: 1 1 calc(50% - 2px);
|
flex: 1 1 calc(50% - 2px);
|
||||||
margin: 1px !important;
|
margin: 1px !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cbi-page-actions .cbi-button-negative,
|
||||||
.cbi-page-actions .cbi-button-primary,
|
.cbi-page-actions .cbi-button-primary,
|
||||||
.cbi-page-actions .cbi-button-apply {
|
.cbi-page-actions .cbi-button-apply {
|
||||||
flex-basis: calc(100% - -2px);
|
flex-basis: calc(100% - -2px);
|
||||||
|
|
Loading…
Reference in a new issue