diff options
Diffstat (limited to 'themes/luci-theme-openwrt')
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 77 |
1 files changed, 62 insertions, 15 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index dc36ab3f95..197166b73a 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -429,11 +429,11 @@ p { } .cbi-title-ref { - color: inherit; - text-decoration: none; - padding-right: 18px; - background: url('../resources/cbi/link.gif') no-repeat scroll right center; - background-color: inherit; + color: #37c; +} + +.cbi-title-ref::after { + content: "➙"; } ul.cbi-apply { @@ -850,7 +850,9 @@ div.cbi-optionals { 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"], +.cbi-page-actions > form[method="post"] + form[method="post"] { margin-left: 3px; } @@ -874,7 +876,18 @@ div.cbi-optionals { white-space: nowrap; } -.tr.placeholder .td[data-title]::before { +.td[data-description]::after { + content: attr(data-description); + font-size: 90%; + text-align: left; + display: none; + background: url(/luci-static/resources/cbi/help.gif) left top no-repeat; + padding: .125em 0 .125em 18px; + margin: .125em 0; +} + +.tr.placeholder .td[data-title]::before, +.tr.placeholder .td[data-description]::after { display: none; } @@ -1133,6 +1146,19 @@ ul.cbi-tabmenu li.cbi-tab { 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 { cursor: help; @@ -1183,13 +1209,13 @@ ul.cbi-tabmenu li.cbi-tab { } -.left, .left::before { text-align: left !important; } -.right, .right::before { text-align: right !important; } -.center, .center::before { text-align: center !important; } +.left, .left::before, .left::after { text-align: left !important; } +.right, .right::before, .right::after { text-align: right !important; } +.center, .center::before, .center::after { text-align: center !important; } -.top, .top::before { vertical-align: top !important; } -.middle, .middle::before { vertical-align: middle !important; } -.bottom, .bottom::before { vertical-align: bottom !important; } +.top, .top::before, .top::after { vertical-align: top !important; } +.middle, .middle::before, .middle::after { vertical-align: middle !important; } +.bottom, .bottom::before, .bottom::after { vertical-align: bottom !important; } .td.top { align-self: flex-start; vertical-align: top; } .td.middle { align-self: center; vertical-align: middle; } @@ -1321,6 +1347,11 @@ ul.cbi-tabmenu li.cbi-tab { margin: .5em 0 0 0; } +#dsl_status_table .ifacebox-body > span > strong { + display: inline-block; + min-width: 35%; +} + .zonebadge { padding: 2px; @@ -1602,18 +1633,28 @@ ul.cbi-tabmenu li.cbi-tab { background: #eef; } - .td[data-title]::before { + .td[data-title]::before, + .td[data-description]::after { display: block; } .td[data-title] ~ .td.cbi-section-actions { - align-self: flex-end; + align-self: flex-start; + } + + .td[data-title] ~ .td.cbi-section-actions::before { + display: block; + content: "\a0"; } .hide-sm, .hide-xs { display: none; } + + #dsl_status_table .ifacebox-body > span > strong { + min-width: 50%; + } } @media screen and (max-width: 480px) { @@ -1725,4 +1766,10 @@ ul.cbi-tabmenu li.cbi-tab { #cbi-network-switch_vlan .td.cbi-section-actions { flex-basis: 100%; } + + #dsl_status_table .ifacebox-body > span > strong { + display: block; + width: 100%; + margin-top: .5em; + } } |