luci-theme-openwrt: add CSS fixes for IE 11

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-07-07 15:23:39 +02:00
parent 260d2cc44e
commit bf084f7f95

View file

@ -839,6 +839,11 @@ div.cbi-optionals {
margin-right: auto; margin-right: auto;
} }
*::-ms-backdrop,
.cbi-page-actions > .cbi-button-link,
.cbi-page-actions > form[method="get"]:first-child {
margin-right: 50%;
}
.th[data-type="button"], .td[data-type="button"], .th[data-type="button"], .td[data-type="button"],
.th[data-type="fvalue"], .td[data-type="fvalue"] { .th[data-type="fvalue"], .td[data-type="fvalue"] {
@ -851,10 +856,6 @@ div.cbi-optionals {
flex-basis: 12%; flex-basis: 12%;
} }
#cbi-wireless-overview .td:first-child {
align-self: center;
}
.td[data-title]::before { .td[data-title]::before {
content: attr(data-title) ":\20"; content: attr(data-title) ":\20";
font-weight: bold; font-weight: bold;
@ -935,7 +936,7 @@ ul.cbi-tabmenu li a:hover {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
padding: 5px; padding: 5px;
flex: 1; flex: 1 1 auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@ -1296,11 +1297,11 @@ ul.cbi-tabmenu li.cbi-tab {
.network-status-table .ifacebox-body { .network-status-table .ifacebox-body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1 0; flex: 1 0 auto;
} }
.network-status-table .ifacebox-body > span { .network-status-table .ifacebox-body > span {
flex: 10; flex: 10 10 auto;
} }
.network-status-table .ifacebox-body > div { .network-status-table .ifacebox-body > div {
@ -1440,6 +1441,7 @@ ul.cbi-tabmenu li.cbi-tab {
#maincontent { #maincontent {
width: 96%; width: 96%;
margin: auto; margin: auto;
flex-basis: auto;
} }
#mainmenu { #mainmenu {
@ -1465,7 +1467,7 @@ ul.cbi-tabmenu li.cbi-tab {
} }
#mainmenu ul > li > a { #mainmenu ul > li > a {
flex: 1; flex: 1 1 auto;
color: #fff; color: #fff;
border: 1px solid #444; border: 1px solid #444;
border-width: 0 0 1px 1px; border-width: 0 0 1px 1px;