-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Proposal voting timeline (#1255)
* feat: voting timeline * fix: build error * Requested changes * minor style fixes * custom tooltip started * zoom in chart removed * useProfiles hook * tooltip styled * type removed * fix: tooltip x position * final touchups * requested changes
- Loading branch information
Showing
13 changed files
with
584 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#ProposalVPChartTooltip { | ||
--padding-size: 9px; | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
background: rgba(22, 20, 26, 0.9); | ||
border-radius: 5px; | ||
color: var(--white-900); | ||
opacity: 1; | ||
pointer-events: none; | ||
position: absolute; | ||
transform: translate(-50%, 0); | ||
transition: all 0.1s ease; | ||
width: max-content; | ||
padding: var(--padding-size); | ||
z-index: 100; | ||
} | ||
|
||
#ProposalVPChartTooltip .avatar { | ||
--size: 40px; | ||
min-width: var(--size) !important; | ||
max-width: var(--size) !important; | ||
min-height: var(--size) !important; | ||
max-height: var(--size) !important; | ||
border-radius: 100%; | ||
background-color: var(--black-600); | ||
vertical-align: middle; | ||
margin: 0; | ||
} | ||
|
||
#ProposalVPChartTooltip .container { | ||
margin: 0; | ||
margin-left: var(--padding-size); | ||
} | ||
|
||
#ProposalVPChartTooltip .title { | ||
font-size: 13px; | ||
font-style: normal; | ||
line-height: 18px; | ||
max-width: 160px; | ||
} | ||
|
||
#ProposalVPChartTooltip .details { | ||
font-size: 10px; | ||
font-style: normal; | ||
font-weight: var(--weight-normal); | ||
line-height: 18px; | ||
opacity: 0.6; | ||
} |
Oops, something went wrong.