修复新版本Bootstrap-select兼容问题

pull/438/head
Karson 2023-03-24 11:31:45 +08:00
parent b685a32d63
commit 22c2f66e3a
6 changed files with 47 additions and 22 deletions

View File

@ -407,6 +407,11 @@ table.table-template {
top: 62px; top: 62px;
right: 12px; right: 12px;
} }
.bootstrap-select .msg-box {
position: absolute;
right: 0;
top: 0;
}
.bootstrap-select .status { .bootstrap-select .status {
background: #f0f0f0; background: #f0f0f0;
clear: both; clear: both;

File diff suppressed because one or more lines are too long

View File

@ -350,19 +350,19 @@ a:focus {
border-top-color: #f5f5f5; border-top-color: #f5f5f5;
} }
} }
.dropdown:hover .dropdown-menu { #header-navbar .dropdown:hover .dropdown-menu {
display: block; display: block;
margin-top: 0; margin-top: 0;
} }
#header-navbar li.dropdown ul.dropdown-menu {
min-width: 100px;
}
.navbar { .navbar {
border: none; border: none;
} }
.navbar-nav > li > a { .navbar-nav > li > a {
font-size: 14px; font-size: 14px;
} }
#header-navbar li.dropdown ul.dropdown-menu {
min-width: 100px;
}
.dropdown-menu > li > a { .dropdown-menu > li > a {
font-size: 14px; font-size: 14px;
padding: 5px 20px; padding: 5px 20px;
@ -474,6 +474,11 @@ a:focus {
margin-bottom: -5px; margin-bottom: -5px;
padding: 10px 20px; padding: 10px 20px;
} }
.bootstrap-select .msg-box {
position: absolute;
right: 0;
top: 0;
}
select.bs-select-hidden, select.bs-select-hidden,
select.selectpicker { select.selectpicker {
display: inherit !important; display: inherit !important;

File diff suppressed because one or more lines are too long

View File

@ -205,6 +205,11 @@ table.table-template {
} }
.bootstrap-select { .bootstrap-select {
.msg-box {
position: absolute;
right: 0;
top: 0;
}
.status { .status {
background: #f0f0f0; background: #f0f0f0;
clear: both; clear: both;

View File

@ -130,9 +130,14 @@ a {
} }
} }
.dropdown:hover .dropdown-menu { #header-navbar {
.dropdown:hover .dropdown-menu {
display: block; display: block;
margin-top: 0; margin-top: 0;
}
li.dropdown ul.dropdown-menu {
min-width: 100px;
}
} }
.navbar { .navbar {
@ -145,10 +150,6 @@ a {
} }
} }
#header-navbar li.dropdown ul.dropdown-menu {
min-width: 100px;
}
.dropdown-menu { .dropdown-menu {
> li > a { > li > a {
font-size: 14px; font-size: 14px;
@ -263,7 +264,8 @@ a {
position: absolute; position: absolute;
} }
.bootstrap-select .status { .bootstrap-select {
.status {
background: #f0f0f0; background: #f0f0f0;
clear: both; clear: both;
color: #999; color: #999;
@ -272,6 +274,14 @@ a {
line-height: 1; line-height: 1;
margin-bottom: -5px; margin-bottom: -5px;
padding: 10px 20px; padding: 10px 20px;
}
.msg-box {
position: absolute;
right: 0;
top: 0;
}
} }
select.bs-select-hidden, select.selectpicker { select.bs-select-hidden, select.selectpicker {