mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
luci-theme-openwrt: prevent minify errors
The CSS: padding: calc(0.125em - 1px) calc(0.5em - 1px); produced: padding:calc(.125em since minify treated it as a quad. Work around this and remove it. The difference without it is minor. Remove input colouring since the custom tags don't help and the colouring makes input difficult to discern from placeholders. Remove also -ms-backdrop definition which effectively overrides the previous auto. There was also an instance where 'solid red;' was truncated to 'solid re' but I cannot reproduce this with minify. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -415,7 +415,7 @@ div.hostinfo {
|
||||
border: 1px solid #90c0e0;
|
||||
background: #000 !important;
|
||||
color: #90c0e0 !important;
|
||||
padding: calc(.125em - 1px) calc(.5em - 1px);
|
||||
/*padding: calc(.125em - 1px) calc(.5em - 1px);*/
|
||||
}
|
||||
|
||||
html #menubar a:link,
|
||||
@@ -577,18 +577,6 @@ ul.cbi-apply {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
/*input:-webkit-input-placeholder {
|
||||
color: #AAAAAA;
|
||||
}*/
|
||||
|
||||
input:-moz-placeholder {
|
||||
color: #AAAAAA;
|
||||
}
|
||||
|
||||
/*input:-ms-input-placeholder {
|
||||
color: #AAAAAA;
|
||||
}*/
|
||||
|
||||
input[type=submit],
|
||||
input[type=reset],
|
||||
input[type=image],
|
||||
@@ -977,13 +965,6 @@ div.cbi-optionals {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/**::-ms-backdrop,*/
|
||||
.cbi-page-actions > .cbi-button-save,
|
||||
.cbi-page-actions > .cbi-button-apply,
|
||||
.cbi-page-actions > form[method="post"] {
|
||||
margin-left: 50%;
|
||||
}
|
||||
|
||||
.cbi-page-actions > .cbi-button-apply + .cbi-button-save,
|
||||
.cbi-page-actions > .cbi-button-negative + .cbi-button-save,
|
||||
.cbi-page-actions > .cbi-button-save + form[method="post"],
|
||||
@@ -1376,7 +1357,7 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
|
||||
|
||||
/* indication line for drag-and-drop in UIDynamicList*/
|
||||
.cbi-dynlist > .item.drag-over {
|
||||
border-top: 1px solid red;
|
||||
border-top: 1px red;
|
||||
}
|
||||
|
||||
/* Make item being dragged in UIDynamicList partially transparent*/
|
||||
@@ -1395,7 +1376,7 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
|
||||
|
||||
/* indication line for drag-and-drop in UIDynamicList*/
|
||||
.cbi-dynlist > .add-item > .cbi-button-add.drag-over {
|
||||
border-top: 1px solid red;
|
||||
border-top: 1px red;
|
||||
}
|
||||
|
||||
.cbi-dynlist > .add-item > input {
|
||||
|
||||
Reference in New Issue
Block a user