Skip to content

Commit

Permalink
Color variables added to the List.scss file removing the hardcoded co… (
Browse files Browse the repository at this point in the history
AOT-Technologies#1843)

* Color variables added to the list.scss file removing the hardcoded colors

* removed commented codes

* List.scss updated with variable

* Removed variable --color-error and andded variants of --color-danger
  • Loading branch information
Josephalexantony-aot authored Jan 22, 2024
1 parent 71a3701 commit 38423ed
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions forms-flow-web/src/components/Form/List.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@
}

.published-forms-label{
color: #52C41A;
background: #EAFBE7 0% 0% no-repeat padding-box;
border: 1px solid #52C41A;
color: var(--published-form-label);
// #52C41A;
background: var(--published-background) 0% 0% no-repeat padding-box;
border: 1px solid var(--published-form-label);
border-radius: 7px;
}

.unpublished-forms-label{
background: #E6F7FF 0% 0% no-repeat padding-box;
background: var(--unpublished-background) 0% 0% no-repeat padding-box;
border-radius: 7px;
border: 1px solid #91D5FF;
color: #1890FF;
border: 1px solid var(--unpublished-label);
color: var(--unpublished-label);
}
.custom-grid {
.col {
Expand All @@ -32,17 +33,7 @@
height: auto;
word-break: break-all;
}

.list-group-item {
border-top: 1px solid #ced4da !important;
padding: 0rem 1.25rem !important;
}

.list-group-item:first-child {
border-bottom: 1.5px solid #ced4da !important;
background-color: #F2F2F2 !important;
}


h5,
.h5 {
font-weight: 400 !important;
Expand Down Expand Up @@ -116,24 +107,17 @@ flex-wrap: wrap;
margin: 10px;
height: 30px;white-space: nowrap;
}
.progress-bar {
background-color: #ff0000ab;
}
.fileupload-fail {
color: #f85757;
float: right;
font-weight: normal
}

.progress-bar {
background-color: #ff0000ab;
background-color: var(--color-danger);
}

.fileupload-fail {
color: #f85757;
color: var(--color-danger-ltr);
float: right;
font-weight: normal
}

.public-label {
margin-right: 12px;
}
Expand Down

0 comments on commit 38423ed

Please sign in to comment.