Replace bootstrap .divider with cleaner .dividerbar which also reduces knockout calls

This commit is contained in:
djmaze 2020-10-12 15:03:45 +02:00
parent c2a5d0fda5
commit 527694f361
10 changed files with 30 additions and 83 deletions

View file

@ -133,10 +133,6 @@ select {
font-size: 17px;
}
.dropdown-menu {
border-radius: @btnBorderRadius;
}
.btn-group + .btn-group {
margin-left: 3px;
}
@ -190,8 +186,16 @@ select {
}
.dropdown-menu {
border-radius: 0;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
border-radius: 0;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.dropdown-menu * + .dividerbar {
margin-top: 9px;
padding-top: 9px;
border-top: 1px solid #e5e5e5;
/*
border-image: linear-gradient(to right, #00F 10%, #FFF 10%, #FFF 19%, #F00 19%, #F00 28%, #FFF 28%, #FFF 37%, #00F 37%, #00F 46%, #FFF 46%, #FFF 55%, #F00 55%, #F00 64%, #FFF 64%, #FFF 73%, #00F 73%, #00F 82%, #FFF 82%, #FFF 91%, #F00 91%) 1;
*/
}
.btn-group > .btn {