Skip to content

Commit

Permalink
select add colors status
Browse files Browse the repository at this point in the history
  • Loading branch information
levil664 committed May 10, 2024
1 parent 580f598 commit f6608e0
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
34 changes: 34 additions & 0 deletions apps/schools/domains/common/components/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,40 @@ body {
box-shadow: black;
}

.rc-virtual-list-holder-inner {
div[title="Принята"] {
color: #6CDC15 !important;
}

div[title="Отклонена"] {
color: #EB3468 !important;
}

div[title="Новое"] {
color: #EB3468 !important;
}

div[title="Отправлена"] {
color: #FF9500 !important;
}

div[title="Открыто"] {
color: #2F54EB !important;
}

div[title="Закрыто"] {
color: #52C41A !important;
}

div[title="На рассмотрении"] {
color: #2F54EB !important;
}

div[title="Отменена"] {
color: #b4710d !important;
}
}

.centralized {
justify-content: center;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,37 @@
top: -64px;
position: absolute;
left: 18vw;

:global {
.ant-select-selector:has(span[title="Отправлена"]) {
color: white !important;
background: #FF9500 !important;
}

.ant-select-selector:has(span[title="Принята"]) {
color: white !important;
background: #6CDC15 !important;
}

.ant-select-selector:has(span[title="На рассмотрении"]) {
color: white !important;
background: #2F54EB !important;
}

.ant-select-selector:has(span[title="Отклонена"]) {
color: white !important;
background: #EB3468 !important;
}

.ant-select-selector:has(span[title="Отменена"]) {
color: white !important;
background: #b4710d !important;
}

.ant-select-arrow {
color: black;
}
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@
display: flex;
justify-content: start;
align-items: start;

:global {
.ant-select-selector:has(span[title="Закрыто"]) {
color: white !important;
background: #6CDC15 !important;
}

.ant-select-selector:has(span[title="Открыто"]) {
color: white !important;
background: #2F54EB !important;
}

.ant-select-selector:has(span[title="Новое"]) {
color: white !important;
background: #EB3468 !important;
}

.ant-select-arrow {
color: black;
}
}
}
}
}

0 comments on commit f6608e0

Please sign in to comment.