luci-theme-openwrt: add styling for input-adjacent buttons

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-07-23 14:26:56 +02:00
parent 1961ce6df3
commit 2287e79a5c

View file

@ -429,11 +429,11 @@ p {
} }
.cbi-title-ref { .cbi-title-ref {
color: inherit; color: #37c;
text-decoration: none; }
padding-right: 18px;
background: url('../resources/cbi/link.gif') no-repeat scroll right center; .cbi-title-ref::after {
background-color: inherit; content: "➙";
} }
ul.cbi-apply { ul.cbi-apply {
@ -850,7 +850,8 @@ div.cbi-optionals {
margin-left: 50%; margin-left: 50%;
} }
.cbi-page-actions > .cbi-button-apply + .cbi-button-save { .cbi-page-actions > .cbi-button-apply + .cbi-button-save,
.cbi-page-actions > .cbi-button-save + form[method="post"] {
margin-left: 3px; margin-left: 3px;
} }
@ -1144,6 +1145,19 @@ ul.cbi-tabmenu li.cbi-tab {
opacity: .6; opacity: .6;
} }
input[type="text"] + .cbi-button,
input[type="password"] + .cbi-button,
select + .cbi-button {
border-radius: 0 3px 3px 0;
border: 1px outset #000;
margin: 0 0 1px -2px;
padding: 0 6px;
vertical-align: top;
display: inline-block;
height: 14pt;
font-size: 10pt;
line-height: 12pt;
}
.cbi-tooltip-container { .cbi-tooltip-container {
cursor: help; cursor: help;