-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/gwas unified flow style steps2 and3 (#1203)
* feat(gwasUnifiedFlowOutcomeCard): Styled view 2.1 * feat(gwasUnifiedFlowOutcomeCard): Styled view 3.1 * feat(gwasUnifiedFlowStyleSteps2And3): Added styling to make loading look nicer for steps 2.1 and 3.1 * feat(gwasUnifiedFlowStyleSteps2And3): started styling for step 2.2 and 3.2 * feat(gwasUnifiedFlowStyleSteps2And3): Ran eslint-new * feat(gwasUnifiedFlowStyleSteps2And3): Added styles for step 3.2 * feat(gwasUnifiedFlowStyleSteps2And3): Ran eslint-new * feat(gwasUnifiedFlowStyleSteps2And3): Made loading widths consistent * feat(gwasUnifiedFlowStyleSteps2And3): Ran ESLINT new * feat(gwasUnifiedFlowStyleSteps2And3): Removed unneeded CSS rule * feat(gwasUnifiedFlowStyleSteps2And3): Removed another unneeded CSS rule * feat(gwasUnifiedFlowStyleSteps2And3): Ran Stylelint * feat(gwasUnifiedFlowStyleSteps2And3): Formatted CSS * feat(gwasUnifiedFlowStyleSteps2And3): Formatted CSS and removed CSS comment * feat(gwasUnifiedFlowStyleSteps2And3): Removed deprecated styles
- Loading branch information
1 parent
297b3b7
commit 6d35880
Showing
10 changed files
with
276 additions
and
154 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
141 changes: 124 additions & 17 deletions
141
src/Analysis/GWASV2/Components/Covariates/Covariates.css
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,38 +1,145 @@ | ||
.GWASV2 .select-covariates-container { | ||
min-width: 988px; | ||
/* Cards */ | ||
.GWASV2 .outcome-card { | ||
background: #cae6f1; | ||
} | ||
|
||
.GWASV2 .dichotomous-card { | ||
background: #ebfad3; | ||
} | ||
|
||
.GWASV2 .continuous-card { | ||
background: #fde3d6; | ||
} | ||
|
||
/* Buttons */ | ||
.GWASV2 .submit-button, | ||
.GWASV2 .cancel-button { | ||
margin: 6px 0 12px auto; | ||
background-color: #2e77b8; | ||
color: white; | ||
border: none; | ||
border-radius: 4px; | ||
width: 152px; | ||
height: 40px; | ||
font-size: 0.875rem; | ||
font-weight: 500; | ||
display: inline-block; | ||
vertical-align: middle; | ||
cursor: pointer; | ||
} | ||
|
||
.GWASV2 .submit-button:hover { | ||
background-color: var(--g3-secondary-btn__bg-color--hover); | ||
} | ||
|
||
.GWASV2 .submit-button[disabled] { | ||
background-color: rgba(46, 119, 184, 0.3); | ||
cursor: not-allowed; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates button.cancel-button { | ||
margin-left: 20px; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates button.cancel-button, | ||
.GWASV2 .select-container button.cancel-button { | ||
color: #2e77b8; | ||
background: white; | ||
border: 1px solid #2e77b8; | ||
margin-right: 25px; | ||
} | ||
|
||
.GWASV2 .submit-button { | ||
margin-left: 5px; | ||
.GWASV2 .custom-dichotomous-covariates button.cancel-button:hover, | ||
.GWASV2 .select-container button.cancel-button:hover { | ||
background-color: var(--g3-secondary-btn__bg-color--hover); | ||
color: white; | ||
} | ||
|
||
/* Continous Covariate Selection */ | ||
.GWASV2 .phenotype-histogram { | ||
padding-left: 30px; | ||
margin-top: 8px; | ||
width: 600px; | ||
} | ||
|
||
.GWASV2 .outcome-card { | ||
background: #cae6f1; | ||
.GWASV2 .continuous-covariates .continous-covariates-table { | ||
width: 400px; | ||
} | ||
|
||
.GWASV2 .dichotomous-card { | ||
background: #ebfad3; | ||
.GWASV2 .continuous-covariates .select-covariates-container .ant-select, | ||
.GWASV2 | ||
.continuous-covariates | ||
.select-covariates-container | ||
.ant-select-dropdown { | ||
width: 100%; | ||
min-width: inherit; | ||
} | ||
|
||
.GWASV2 .continuous-card { | ||
background: #fde3d6; | ||
.GWASV2 | ||
.continuous-covariates | ||
.ant-table.ant-table-middle | ||
.ant-table-tbody | ||
> tr | ||
> td { | ||
padding: 5px 8px; | ||
} | ||
|
||
.GWASV2 .continuous-covariates-button-container { | ||
display: block; | ||
float: right; | ||
height: 36px; | ||
} | ||
|
||
.GWASV2 .phenotype-histogram .recharts-wrapper { | ||
margin-top: 60px; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates { | ||
min-height: 300px; | ||
.GWASV2 .phenotype-histogram .histrogram-loading { | ||
margin-top: 80px; | ||
text-align: center; | ||
width: 600px; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates input { | ||
width: 50%; | ||
.GWASV2 .phenotype-histogram-directions { | ||
float: left; | ||
margin-top: 50px; | ||
text-align: center; | ||
width: 600px; | ||
} | ||
|
||
/* Dichotomous Covariate Selection */ | ||
.GWASV2 .custom-dichotomous-covariates .GWASUI-flexRow label { | ||
font-weight: bold; | ||
margin: 0 10px 0 auto; | ||
padding-top: 13px; | ||
color: #333; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates .GWASUI-flexRow input { | ||
width: 260px; | ||
margin-right: 10px; | ||
height: 40px; | ||
margin-top: 6px; | ||
border: 1px solid #dededf; | ||
border-radius: 4px; | ||
padding-left: 5px; | ||
border-radius: 5px; | ||
} | ||
|
||
.GWASV2 .custom-dichotomous-covariates .cohorts-overlap-diagram { | ||
padding-left: 30px; | ||
.GWASV2 .dichotomous-selection { | ||
width: 364px; | ||
margin-top: 10px; | ||
} | ||
|
||
.GWASV2 .dichotomous-selection h3 { | ||
color: #333; | ||
font-size: 14px; | ||
font-weight: bold; | ||
margin-bottom: 4px; | ||
margin-top: 16px; | ||
} | ||
|
||
.GWASV2 .cohorts-overlap-diagram { | ||
width: 600px; | ||
text-align: center; | ||
margin-top: 20px; | ||
} |
Oops, something went wrong.