修复新版本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;
right: 12px;
}
.bootstrap-select .msg-box {
position: absolute;
right: 0;
top: 0;
}
.bootstrap-select .status {
background: #f0f0f0;
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;
}
}
.dropdown:hover .dropdown-menu {
#header-navbar .dropdown:hover .dropdown-menu {
display: block;
margin-top: 0;
}
#header-navbar li.dropdown ul.dropdown-menu {
min-width: 100px;
}
.navbar {
border: none;
}
.navbar-nav > li > a {
font-size: 14px;
}
#header-navbar li.dropdown ul.dropdown-menu {
min-width: 100px;
}
.dropdown-menu > li > a {
font-size: 14px;
padding: 5px 20px;
@ -474,6 +474,11 @@ a:focus {
margin-bottom: -5px;
padding: 10px 20px;
}
.bootstrap-select .msg-box {
position: absolute;
right: 0;
top: 0;
}
select.bs-select-hidden,
select.selectpicker {
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 {
.msg-box {
position: absolute;
right: 0;
top: 0;
}
.status {
background: #f0f0f0;
clear: both;

View File

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