-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Refine groupMembers list * change new tag to appear for 1 week * include membersPending on GroupMembersAllModal * Improve buttonSubmit when reducedMotion is enabled * Improve groupmembers cypress tests * Add "new" and "pending" pills to GroupMembersAllModal * Pixel perfect .pills margins * changes based on @taoeffect review * Changes based on @taoeffect review * Revert "isNewMember" logic to not use moment * convert joinedData to ms * remove moment from dep. #874 will remove its usage * fix fn argument type number -> string * changes based on @taoeffect review
- Loading branch information
1 parent
3a72809
commit 586f44e
Showing
14 changed files
with
226 additions
and
137 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
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,29 +1,20 @@ | ||
.pill { | ||
font-weight: 600; | ||
border-radius: 3px; | ||
padding: 0.375rem $spacer-sm; | ||
border-radius: $radius; | ||
padding: 0.125rem 0.25rem; | ||
line-height: 1; | ||
margin: 0 $spacer-xs; | ||
display: inline-block; | ||
white-space: nowrap; | ||
text-transform: uppercase; | ||
font-size: $size_5; | ||
|
||
&.is-small { | ||
padding: ($spacer / 8) $spacer-xs; | ||
text-transform: uppercase; | ||
font-size: $size_5; | ||
font-weight: 100; | ||
} | ||
|
||
&.has-background-dark { | ||
background: $text_0; | ||
color: $general_2; | ||
&.is-neutral { | ||
background-color: $general_0; | ||
} | ||
|
||
@each $name in $colors { | ||
&.is-#{$name} { | ||
@extend .pill; | ||
@extend .has-background-#{$name}; | ||
@extend .has-text-#{$name}; | ||
background-color: var(--#{$name}_2); | ||
color: var(--#{$name}_0); | ||
} | ||
} | ||
} |
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.