91 lines
No EOL
1.5 KiB
CSS
91 lines
No EOL
1.5 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.button {
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 15px;
|
|
height: 50px;
|
|
transition: all 0.3s;
|
|
|
|
&:hover {
|
|
background-color: $gray-lightest;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
&[data-active=true] {
|
|
background-color: $gray-lightest;
|
|
}
|
|
}
|
|
|
|
|
|
.modal {
|
|
min-width: 350px;
|
|
border-radius: 5px;
|
|
background-color: white;
|
|
box-shadow: 0 2px 10px 0 $gray-light;
|
|
position: absolute;
|
|
right: -40px;
|
|
top: 65px;
|
|
|
|
& .tooltipArrow {
|
|
width: 50px;
|
|
height: 25px;
|
|
position: absolute;
|
|
bottom: 100%;
|
|
right: 16px;
|
|
transform: translateX(-50%);
|
|
overflow: hidden;
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: white;
|
|
transform: translateX(-50%) translateY(50%) rotate(45deg);
|
|
bottom: 0;
|
|
left: 50%;
|
|
box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.6);
|
|
}
|
|
}
|
|
|
|
& .header {
|
|
padding: 10px 15px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
& .info {
|
|
& > div {
|
|
&:first-child {
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
}
|
|
&:last-child {
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
& h4 {
|
|
border-bottom: solid thin $gray-light;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
& .list {
|
|
padding: 20px;
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
.progressWrapper {
|
|
width: 25px;
|
|
} |