This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PAY-1618] Update DogEar rendering and fix spacing (#3775)
- Loading branch information
Showing
19 changed files
with
195 additions
and
109 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,61 +1,49 @@ | ||
.artistPick { | ||
.container { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 10; | ||
width: 80px; | ||
border-radius: var(--unit-2) 0px 0px 0px; | ||
width: var(--unit-12); | ||
height: var(--unit-12); | ||
pointer-events: none; | ||
overflow: hidden; | ||
} | ||
|
||
.container { | ||
.rectangle { | ||
position: absolute; | ||
transform: rotate(45deg) translateX(-64px); | ||
box-shadow: 1px 1px 7px -2px rgba(0, 0, 0, 0.5); | ||
width: 80px; | ||
height: 80px; | ||
overflow: hidden; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
/* Note: dogEarRectangle has multiple `path` elements, but we only want to fill one of them. | ||
That path uses `fill='currentColor'`, allowing us to set `color` here instead of `fill` */ | ||
.gated { | ||
background: var(--accent-blue); | ||
color: var(--accent-blue); | ||
} | ||
|
||
.purchase { | ||
background: var(--special-light-green); | ||
color: var(--special-light-green); | ||
} | ||
|
||
.star { | ||
background: linear-gradient(314.61deg, #7e1bcc 0%, #a22feb 100%); | ||
.artistPick { | ||
color: var(--secondary); | ||
} | ||
|
||
.hidden { | ||
background: linear-gradient(314.61deg, #858199 0%, #c2c0cc 100%); | ||
color: var(--neutral); | ||
} | ||
|
||
.matrix .container { | ||
background: var(--page-header-gradient); | ||
} | ||
|
||
.isMobile .container { | ||
transform: rotate(45deg) translateX(-68px); | ||
} | ||
|
||
.artistPick svg { | ||
.icon { | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
margin-left: 5px; | ||
margin-top: 2px; | ||
top: var(--unit-1); | ||
left: var(--unit-1); | ||
width: var(--unit-4); | ||
height: var(--unit-6); | ||
} | ||
|
||
.isMobile svg { | ||
margin: 4px 0px 0px 4px; | ||
width: 16px; | ||
height: 16px; | ||
height: var(--unit-4); | ||
} | ||
|
||
.artistPick svg path { | ||
.icon path { | ||
fill: var(--static-white); | ||
} |
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.