-
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.
fix: remove grid from transparency page and improve css (#1310)
- Loading branch information
Showing
9 changed files
with
224 additions
and
287 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
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,8 @@ | ||
.ItemsList { | ||
width: 100%; | ||
display: block; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
padding-top: 16px; | ||
position: relative; | ||
} |
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,9 @@ | ||
import './ItemsList.css' | ||
|
||
interface Props { | ||
children: React.ReactNode | ||
} | ||
|
||
export default function ItemsList({ children }: Props) { | ||
return <div className="ItemsList">{children}</div> | ||
} |
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,140 +1,77 @@ | ||
.Transparency__Loader { | ||
position: relative; | ||
padding-top: 200px; | ||
.TransparencyGrid { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 32px; | ||
margin-bottom: 32px; | ||
} | ||
|
||
.TransparencySectionDescription { | ||
margin-top: 24px; | ||
@media (min-width: 768px) { | ||
.TransparencyGrid { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.TransparencySection { | ||
margin-top: 0 !important; | ||
.Transparency__Sidebar { | ||
width: 100%; | ||
} | ||
|
||
.TransparencySection .ActionableLayout__Action { | ||
display: none !important; | ||
@media (min-width: 768px) { | ||
.Transparency__Sidebar { | ||
max-width: var(--dao-sidebar-width); | ||
} | ||
} | ||
|
||
.TransparencySection .ui.header { | ||
margin-bottom: 0.5rem; | ||
.Transparency__BalanceCard { | ||
margin-bottom: 12px; | ||
} | ||
|
||
.TransparencySection .ui.header.sub { | ||
margin-top: 0; | ||
margin-right: 1rem; | ||
.Transparency__Section { | ||
width: 100%; | ||
} | ||
|
||
.TransparencySection .TokenContainer { | ||
.Transparecy__TokenContainer { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: flex-start; | ||
} | ||
|
||
.TransparencySection .Token:last-of-type { | ||
.Transparency__Section .Token:last-of-type { | ||
margin-bottom: 0; | ||
} | ||
|
||
.ui.container.TransparencyContainer .ActionableLayout { | ||
position: relative; | ||
margin-top: 40px; | ||
} | ||
|
||
.ui.container.TransparencyContainer .ui.card { | ||
width: 100%; | ||
height: auto; | ||
margin-bottom: 8px; | ||
} | ||
|
||
.ui.stackable.grid.TransparencyGrid { | ||
flex-grow: 1; | ||
} | ||
|
||
@media only screen and (min-width: 992px) { | ||
.ui.container.TransparencyContainer .ActionableLayout { | ||
flex: 0 0 32%; | ||
} | ||
|
||
.MonthlyTotals { | ||
display: flex; | ||
flex-direction: row !important; | ||
justify-content: space-evenly; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 768px) and (max-width: 991px) { | ||
.ui.container.TransparencyContainer .ActionableLayout { | ||
flex: 0 0 49%; | ||
} | ||
|
||
.ui.container.TransparencyContainer { | ||
width: 95%; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 767px) { | ||
.TransparencyPage { | ||
min-height: 300px; | ||
} | ||
|
||
.Funding { | ||
margin: 30px 0 !important; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 767px) { | ||
.ui.container.TransparencyContainer .ActionableLayout { | ||
flex: 0 0 100%; | ||
} | ||
} | ||
|
||
.MonthlyTotals { | ||
.Transparency__MonthlyTotals { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 12px; | ||
} | ||
|
||
.ui.card.TransparencyCard { | ||
width: 100%; | ||
@media (min-width: 1200px) { | ||
.Transparency__MonthlyTotals { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-evenly; | ||
} | ||
} | ||
|
||
.ui.header.FundingHeader { | ||
font-size: 20px; | ||
line-height: 28px; | ||
font-weight: var(--weight-normal); | ||
.Transparency__Card { | ||
width: 100% !important; | ||
} | ||
|
||
.FundingProgress .FundingProgress__Description { | ||
.Transparency__FundingProgressDescription { | ||
display: flex; | ||
justify-content: space-between; | ||
color: var(--text); | ||
flex-wrap: wrap; | ||
} | ||
|
||
.ui.huge.header.FundingProgress__Total { | ||
.ui.huge.header.Transparency__FundingProgressTotal { | ||
margin-bottom: 0; | ||
display: flex; | ||
align-items: baseline; | ||
font-weight: var(--weight-normal); | ||
} | ||
|
||
.FundingProgress .FundingProgress__Budget { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-end; | ||
font-size: 15px; | ||
text-align: right; | ||
padding-left: 1em; | ||
} | ||
|
||
.FundingProgress .Progress { | ||
margin-top: 8px; | ||
} | ||
|
||
.TransparencySection .ui.card > .content > .header, | ||
.Transparency__Section .ui.card > .content > .header, | ||
.ui.cards > .card > .content > .header { | ||
font-family: inherit; | ||
} | ||
|
||
.TransparencySection__BalanceCard { | ||
margin-bottom: 12px; | ||
} |
Oops, something went wrong.