-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP(groups): quickish wins * WIP(groups): two quick wins 1. Don't show task creation button if user is not leader or manager 2. Don't require JS confirm() for approving tasks * fix(group-plans): allow delete from options button * fix(group-plans): update tasksOrder when task deleted * fix(group-tasks): dismiss notification when user takes action * refactor(tasks): DRY out create button styling * fix(group-tasks): sync after claiming/unclaiming
- Loading branch information
Showing
13 changed files
with
150 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.create-task-area { | ||
position: absolute; | ||
right: 24px; | ||
top: -23px; | ||
z-index: 999; | ||
height: 60px; | ||
} | ||
|
||
.slide-tasks-btns-leave-active, .slide-tasks-btns-enter-active { | ||
max-width: 240px; | ||
overflow-x: hidden; | ||
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; | ||
} | ||
|
||
.rounded-btn { | ||
margin-left: 8px; | ||
background: $white; | ||
width: 48px; | ||
height: 48px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 100px; | ||
box-shadow: 0 2px 2px 0 rgba($black, 0.16), 0 1px 4px 0 rgba($black, 0.12); | ||
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); | ||
} | ||
|
||
.svg-icon { | ||
width: 20px; | ||
height: 20px; | ||
|
||
&.icon-habit { | ||
width: 24px; | ||
height: 16px; | ||
} | ||
|
||
&.icon-daily { | ||
width: 21.6px; | ||
height: 18px; | ||
} | ||
|
||
&.icon-todo { | ||
width: 18px; | ||
height: 18px; | ||
} | ||
|
||
&.icon-reward { | ||
width: 23.4px; | ||
height: 18px; | ||
} | ||
} | ||
} | ||
|
||
.create-btn { | ||
color: $white; | ||
background-color: $green-10; | ||
|
||
.svg-icon { | ||
width: 16px; | ||
height: 16px; | ||
transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1); | ||
} | ||
|
||
&.open { | ||
background: $gray-200 !important; | ||
|
||
.svg-icon { | ||
transform: rotate(-45deg); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.