-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mark read button for individual notifications
- Loading branch information
1 parent
41b82d9
commit d06cb20
Showing
12 changed files
with
336 additions
and
22 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,3 @@ | ||
mutation MarkNotificationRead($notification: MarkNotificationReadInput!) { | ||
markNotificationsRead(notification: $notification) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,42 @@ | ||
.notification { | ||
.Notification { | ||
.SceneCard { | ||
width: 300px; | ||
} | ||
|
||
&-read-state { | ||
width: 20px; | ||
height: 20px; | ||
display: flex; | ||
align-self: center; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
.btn { | ||
border: none; | ||
border-bottom: 2px solid transparent; | ||
border-radius: 0; | ||
padding: 4px 0; | ||
|
||
.fa-envelope { | ||
display: block; | ||
} | ||
|
||
.fa-envelope-open { | ||
display: none; | ||
} | ||
|
||
&:hover { | ||
border-color: white; | ||
|
||
.fa-envelope { | ||
display: none; | ||
} | ||
|
||
.fa-envelope-open { | ||
display: block; | ||
color: white !important; | ||
} | ||
} | ||
} | ||
} | ||
} |
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.