booking/assets/scss/theme/_dropdown.scss
2025-03-24 22:58:00 +03:00

106 lines
1.8 KiB
SCSS

/**=====================
37. Dropdown CSS Start
==========================**/
.dropdown-basic {
margin-bottom: -10px;
.btn-group {
margin-right: 18px;
.btn-round {
border-radius: 50px;
}
}
.separated-btn {
margin-left: -6px;
.btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
padding: 10px;
}
}
button{
max-height: 43px;
}
.dropdown {
position: relative;
display: inline-block;
margin-bottom: 10px;
.dropbtn {
color:$white;
padding:12px 35px;
border:none;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: $white;
border: 1px solid $light-gray;
min-width: 175px;
z-index: 1;
left: 0;
top: 45px;
a {
color: $light-text;
padding:10px 16px;
text-decoration: none;
display: block;
border-top: 1px solid $light-gray;
}
.dropdown-header{
padding:12px 16px;
}
}
}
.dropdown-content a:hover {
background-color: rgba($primary-color,0.1);
color:$primary-color;
}
.dropdown:hover .dropdown-content {
display: block;
}
}
.dropup-basic {
.dropup {
position: relative;
display: inline-block;
.dropbtn {
color: white;
padding: 12px;
border: none;
}
.dropup-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 170px;
bottom: 45px;
z-index: 999;
left:0;
a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
}
}
.dropup .dropup-content a:hover {
background-color: #f1f1f1;
}
.dropup:hover .dropup-content{
display: block;
a {
&.active {
background-color: #f1f1f1;
}
}
}
}
/**=====================
37. Dropdown CSS Ends
==========================**/