-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: change style of progress modal
- Loading branch information
1 parent
3c0c0e6
commit 26b5e76
Showing
4 changed files
with
58 additions
and
39 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 |
---|---|---|
@@ -1,43 +1,56 @@ | ||
@import 'src/styles/subsocial-vars.scss' | ||
|
||
.ProgressModal | ||
border-radius: $border_radius_huge | ||
display: flex | ||
flex-direction: column | ||
align-items: center | ||
padding: $space_large $space_big | ||
gap: $space_big | ||
color: white | ||
position: relative | ||
:global(.ant-modal-content) | ||
overflow: hidden | ||
color: white | ||
|
||
.DiamondIcon | ||
font-size: 130px | ||
position: absolute | ||
top: -$space_tiny | ||
left: -$space_tiny | ||
|
||
&.Full | ||
background: linear-gradient(180deg, #9340E6 0%, #7534A9 100%) | ||
:global(.ant-modal-content) | ||
background: linear-gradient(180deg, #9340E6 0%, #7534A9 100%) | ||
|
||
&.Halfway | ||
background: linear-gradient(180deg, #F77400 0%, #F57F00 100%) | ||
:global(.ant-modal-content) | ||
background: linear-gradient(180deg, #F77400 0%, #F57F00 100%) | ||
|
||
:global(.ant-modal-close) | ||
color: white | ||
top: 8px | ||
right: 8px | ||
|
||
.DiamondIcon | ||
font-size: 130px | ||
position: absolute | ||
top: -$space_normal | ||
right: -$space_normal | ||
.Content | ||
overflow: visible !important | ||
|
||
.RewardCard | ||
.ProgressModalContent | ||
border-radius: $border_radius_huge | ||
display: flex | ||
flex-direction: column | ||
align-items: center | ||
border-radius: $border_radius_large | ||
background: rgba(248, 250, 252, 0.10) | ||
backdrop-filter: blur(24.5px) | ||
flex: 1 | ||
padding: $space_normal | ||
gap: $space_big | ||
position: relative | ||
|
||
.Diamond | ||
width: 44px | ||
height: 44px | ||
position: absolute | ||
top: 0 | ||
right: 0 | ||
transform: translate(35%, -50%) rotate(-30deg) | ||
transform-origin: center | ||
.RewardCard | ||
display: flex | ||
flex-direction: column | ||
align-items: center | ||
border-radius: $border_radius_large | ||
background: rgba(248, 250, 252, 0.10) | ||
backdrop-filter: blur(24.5px) | ||
flex: 1 | ||
padding: $space_normal | ||
position: relative | ||
|
||
.Diamond | ||
width: 44px | ||
height: 44px | ||
position: absolute | ||
top: 0 | ||
right: 0 | ||
transform: translate(35%, -50%) rotate(-30deg) | ||
transform-origin: center |
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