mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
98 lines
1.7 KiB
SCSS
98 lines
1.7 KiB
SCSS
.create-task-area {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: -24px;
|
|
z-index: 998;
|
|
align-items: center;
|
|
|
|
.dropdown {
|
|
width: 140px;
|
|
border-radius: 2px;
|
|
box-shadow: 0 3px 6px 0 rgba(26, 24, 29, 0.16), 0 3px 6px 0 rgba(26, 24, 29, 0.24);
|
|
background-color: $white;
|
|
margin-top: 2px;
|
|
position: absolute;
|
|
right: 0px;
|
|
|
|
.task-icon {
|
|
width: 30px;
|
|
}
|
|
|
|
.task-label {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
.svg-icon {
|
|
color: $purple-300;
|
|
}
|
|
}
|
|
.svg-icon {
|
|
color: $gray-200;
|
|
|
|
&.icon-habit {
|
|
width: 30px;
|
|
height: 20px;
|
|
}
|
|
|
|
&.icon-daily {
|
|
width: 24px;
|
|
height: 20px;
|
|
}
|
|
|
|
&.icon-todo {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
&.icon-reward {
|
|
width: 26px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.slide-tasks-btns-leave-active, .slide-tasks-btns-enter-active {
|
|
max-width: 320px;
|
|
transition: all 0.3s cubic-bezier(0, 1, 0.5, 1);
|
|
}
|
|
|
|
.slide-tasks-btns-enter, .slide-tasks-btns-leave-to {
|
|
max-width: 0;
|
|
opacity: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.diamond-btn {
|
|
margin-left: 8px;
|
|
background: $white;
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 3px 0 rgba(26, 24, 29, 0.12), 0 1px 2px 0 rgba(26, 24, 29, 0.24);
|
|
cursor: pointer;
|
|
color: $gray-200;
|
|
|
|
&:hover:not(.create-btn) {
|
|
color: $purple-400;
|
|
box-shadow: 0 1px 8px 0 rgba($black, 0.12), 0 4px 4px 0 rgba($black, 0.16);
|
|
}
|
|
}
|
|
|
|
.create-btn {
|
|
color: $white;
|
|
background-color: $purple-200;
|
|
height: 32px;
|
|
width: 112px;
|
|
|
|
.svg-icon {
|
|
color: $purple-500;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
}
|