2022-09-12 19:14:08 +03:00
|
|
|
* {
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
}
|
2022-09-21 11:54:22 +03:00
|
|
|
|
|
|
|
body {
|
2022-09-12 19:14:08 +03:00
|
|
|
background: #1b1e25;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2022-09-21 11:54:22 +03:00
|
|
|
display: flex;
|
2022-09-12 19:14:08 +03:00
|
|
|
margin: 50px auto;
|
|
|
|
width: 800px;
|
|
|
|
}
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
.cg-dropdown {
|
2022-09-12 19:14:08 +03:00
|
|
|
position: relative;
|
2022-09-21 11:54:22 +03:00
|
|
|
margin-right: 10px;
|
2022-09-12 19:14:08 +03:00
|
|
|
}
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
.cg-select {
|
2022-09-12 19:14:08 +03:00
|
|
|
padding: 14px;
|
2022-09-21 11:54:22 +03:00
|
|
|
min-width: 200px;
|
2022-09-12 19:14:08 +03:00
|
|
|
height: 30px;
|
|
|
|
color: #fff;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
background: #2a2f3b;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 5px;
|
|
|
|
transition: 0.5s;
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
&:hover {
|
|
|
|
transition: 0.5s;
|
|
|
|
background: #394050;
|
|
|
|
}
|
2022-09-12 19:14:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: 5px solid transparent;
|
|
|
|
border-right: 5px solid transparent;
|
|
|
|
border-top: 6px solid #fff;
|
|
|
|
transition: 0.5s;
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
&_rotate {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
transition: 0.5s;
|
|
|
|
}
|
2022-09-12 19:14:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
2022-09-21 11:54:22 +03:00
|
|
|
max-height: 230px;
|
|
|
|
overflow-y: auto;
|
2022-09-12 19:14:08 +03:00
|
|
|
position: absolute;
|
|
|
|
width: 212px;
|
|
|
|
padding: 7px;
|
2022-09-21 11:54:22 +03:00
|
|
|
margin-top: -0.2px;
|
2022-09-12 19:14:08 +03:00
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
background: #2a2f3b;
|
|
|
|
border: 1px #0a0b0e solid;
|
|
|
|
box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
border-radius: 5px;
|
|
|
|
transition: 0.5s;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
display: none;
|
|
|
|
z-index: 1;
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
&__item {
|
2022-09-12 19:14:08 +03:00
|
|
|
transition: 0.5s;
|
2022-09-21 11:54:22 +03:00
|
|
|
padding: 15px;
|
2022-09-12 19:14:08 +03:00
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
&:hover {
|
|
|
|
transition: 0.5s;
|
|
|
|
cursor: pointer;
|
|
|
|
background: #8282822c;
|
|
|
|
}
|
|
|
|
}
|
2022-09-12 19:14:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.active {
|
2022-09-21 11:54:22 +03:00
|
|
|
background: #8282822c;
|
2022-09-12 19:14:08 +03:00
|
|
|
}
|
|
|
|
|
2022-09-21 11:54:22 +03:00
|
|
|
.open {
|
2022-09-12 19:14:08 +03:00
|
|
|
transition: 0.5s;
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
}
|