-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1305 from kleros/feat(web)/mobile-version-my-cour…
…ts-dashboard feat(web): style my courts (in dashboard) for desktop version
- Loading branch information
Showing
68 changed files
with
2,695 additions
and
262 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
web/src/assets/svgs/mini-guides/appeal/crowdfund-appeal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions
45
web/src/assets/svgs/mini-guides/appeal/payoff-simulator.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
web/src/assets/svgs/mini-guides/binary-voting/voting-module.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions
29
web/src/assets/svgs/mini-guides/onboarding/how-it-works.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions
81
web/src/assets/svgs/mini-guides/onboarding/what-do-i-need.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions
66
web/src/assets/svgs/mini-guides/ranked-voting/voting-module.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 107 additions & 0 deletions
107
web/src/assets/svgs/mini-guides/staking/court-header.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions
39
web/src/assets/svgs/mini-guides/staking/staking-section.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
38 changes: 38 additions & 0 deletions
38
web/src/components/Popup/MiniGuides/Appeal/CrowdfundAppeal.tsx
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,38 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import CrowdfundAppealSvg from "tsx:assets/svgs/mini-guides/appeal/crowdfund-appeal.svg"; | ||
import { StyledImage } from "../PageContentsTemplate"; | ||
|
||
const StyledCrowdfundAppealSvg = styled(CrowdfundAppealSvg)` | ||
[class$="rect-bg"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
stroke: ${({ theme }) => theme.stroke}; | ||
} | ||
[class$="path-1"], | ||
[class$="path-2"], | ||
[class$="path-3"] { | ||
fill: ${({ theme }) => theme.primaryText}; | ||
} | ||
[class$="rect-fg"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
stroke: ${({ theme }) => theme.stroke}; | ||
} | ||
[class$="rect-accent"] { | ||
fill: ${({ theme }) => theme.primaryBlue}; | ||
} | ||
[class$="path-4"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
} | ||
[class$="path-5"] { | ||
fill: ${({ theme }) => theme.secondaryText}; | ||
} | ||
`; | ||
|
||
const CrowdfundAppeal: React.FC = () => <StyledImage as={StyledCrowdfundAppealSvg} />; | ||
|
||
export default CrowdfundAppeal; |
77 changes: 77 additions & 0 deletions
77
web/src/components/Popup/MiniGuides/Appeal/PayoffSimulator.tsx
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,77 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import PayoffSimulatorSvg from "tsx:assets/svgs/mini-guides/appeal/payoff-simulator.svg"; | ||
import { StyledImage } from "../PageContentsTemplate"; | ||
|
||
const StyledPayoffSimulatorSvg = styled(PayoffSimulatorSvg)` | ||
[class$="circle-1"] { | ||
fill: ${({ theme }) => theme.successLight}; | ||
} | ||
[class$="rect-2"] { | ||
fill: ${({ theme }) => theme.mediumBlue}; | ||
} | ||
[class$="circle-2"] { | ||
fill: ${({ theme }) => theme.mediumPurple}; | ||
} | ||
[class$="rect-1"], | ||
[class$="rect-5"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
stroke: ${({ theme }) => theme.stroke}; | ||
} | ||
[class$="rect-6"], | ||
[class$="rect-7"], | ||
[class$="rect-8"] { | ||
fill: ${({ theme }) => theme.white}; | ||
} | ||
[class$="path-2"] { | ||
fill: ${({ theme }) => theme.success}; | ||
} | ||
[class$="path-3"], | ||
[class$="path-16"] { | ||
fill: ${({ theme }) => theme.secondaryPurple}; | ||
} | ||
[class$="path-11"], | ||
[class$="path-13"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
} | ||
[class$="path-4"], | ||
[class$="path-5"], | ||
[class$="path-6"], | ||
[class$="path-7"], | ||
[class$="path-8"], | ||
[class$="path-9"], | ||
[class$="path-10"], | ||
[class$="path-12"], | ||
[class$="path-14"], | ||
[class$="path-15"], | ||
[class$="path-17"] { | ||
fill: ${({ theme }) => theme.primaryText}; | ||
} | ||
[class$="rect-3"], | ||
[class$="rect-4"] { | ||
fill: ${({ theme }) => theme.primaryBlue}; | ||
} | ||
[class$="line-1"], | ||
[class$="line-2"], | ||
[class$="path-1"] { | ||
stroke: ${({ theme }) => theme.mediumBlue}; | ||
} | ||
[class$="path-1"] { | ||
fill: ${({ theme }) => theme.lightBlue}; | ||
} | ||
`; | ||
|
||
const PayoffSimulator: React.FC = () => <StyledImage as={StyledPayoffSimulatorSvg} />; | ||
|
||
export default PayoffSimulator; |
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,74 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import StageOneSvg from "tsx:assets/svgs/mini-guides/appeal/stage-one.svg"; | ||
import { StyledImage } from "../PageContentsTemplate"; | ||
|
||
const StyledStageOneSvg = styled(StageOneSvg)` | ||
[class$="rect-1"], | ||
[class$="rect-2"], | ||
[class$="rect-6"], | ||
[class$="circle-1"], | ||
[class$="circle-2"] { | ||
fill: ${({ theme }) => theme.whiteBackground}; | ||
} | ||
[class$="rect-4"], | ||
[class$="rect-8"] { | ||
fill: ${({ theme }) => theme.stroke}; | ||
} | ||
[class$="rect-5"], | ||
[class$="path-9"], | ||
[class$="path-10"] { | ||
fill: ${({ theme }) => theme.secondaryPurple}; | ||
} | ||
[class$="rect-9"], | ||
[class$="circle-3"] { | ||
fill: ${({ theme }) => theme.primaryBlue}; | ||
} | ||
[class$="rect-10"] { | ||
fill: ${({ theme }) => theme.lightBlue}; | ||
stroke: ${({ theme }) => theme.mediumBlue}; | ||
} | ||
[class$="rect-11"], | ||
[class$="rect-12"] { | ||
fill: ${({ theme }) => theme.white}; | ||
} | ||
[class$="path-2"], | ||
[class$="path-6"] { | ||
fill: ${({ theme }) => theme.primaryText}; | ||
} | ||
[class$="path-1"], | ||
[class$="path-5"] { | ||
fill: ${({ theme }) => theme.secondaryText}; | ||
} | ||
[class$="path-3"], | ||
[class$="path-4"] { | ||
fill: ${({ theme }) => theme.success}; | ||
} | ||
[class$="path-7"], | ||
[class$="path-8"] { | ||
fill: ${({ theme }) => theme.warning}; | ||
} | ||
[class$="rect-3"], | ||
[class$="rect-7"], | ||
[class$="circle-1"] { | ||
stroke: ${({ theme }) => theme.stroke}; | ||
} | ||
[class$="circle-2"] { | ||
stroke: ${({ theme }) => theme.primaryBlue}; | ||
} | ||
`; | ||
|
||
const StageOne: React.FC = () => <StyledImage as={StyledStageOneSvg} />; | ||
|
||
export default StageOne; |
Oops, something went wrong.