change color variable names

pull/10251/head
bsatarnejad 3 years ago
parent e952837ef0
commit a9d2fde3c5
  1. 31
      frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.sass

@ -1,4 +1,5 @@
@import 'helpers' @import 'helpers'
@import '../../app/spot/styles/sass/variables'
.op-wp-single-card .op-wp-single-card
display: flex display: flex
@ -17,29 +18,29 @@
.op-wp-single-card--inline-buttons .op-wp-single-card--inline-buttons
opacity: 1 opacity: 1
z-index: 2 z-index: 2
background-image: linear-gradient(to left, rgba(white,1), rgba(white,0)) background-image: linear-gradient(to left, rgba($spot-color-basic-white,1), rgba($spot-color-basic-white,0))
&_new &_new
padding-right: 25px padding-right: 25px
&_selected &_selected
background-color: var(--table-row-highlighting-color) background-color: $spot-color-main-light
op-icon op-icon
background: var(--table-row-highlighting-color) background: $spot-color-main-light
&:hover &:hover
.op-wp-single-card--inline-buttons .op-wp-single-card--inline-buttons
background-image: linear-gradient(to left, rgba(#CCE6F7,1), rgba(#CCE6F7,0)) background-image: linear-gradient(to left, rgba($spot-color-main-light,1), rgba($spot-color-main-light,0))
&_disabled &_disabled
opacity: 0.6 opacity: 0.6
&_closed:not(&_selected) &_closed:not(&_selected)
background-color: #F3F3F3 background-color: $spot-color-basic-gray-6
op-icon op-icon
background: #F3F3F3 background: $spot-color-basic-gray-6
&:hover &:hover
.op-wp-single-card--inline-buttons .op-wp-single-card--inline-buttons
background-image: linear-gradient(to left, rgba(#F3F3F3,1), rgba(#F3F3F3,0)) background-image: linear-gradient(to left, rgba($spot-color-basic-gray-6,1), rgba($spot-color-basic-gray-6,0))
&_horizontal &_horizontal
height: 100% height: 100%
@ -84,7 +85,7 @@
&-project-name &-project-name
grid-area: project grid-area: project
font-style: italic font-style: italic
color: var(--gray-dark) color: $spot-color-basic-gray-3
font-size: 12px font-size: 12px
@include text-shortener @include text-shortener
&-type &-type
@ -96,11 +97,11 @@
&-assignee &-assignee
grid-area: avatar grid-area: avatar
max-width: 140px max-width: 140px
color: var(--gray-dark) color: $spot-color-basic-gray-3
font-size: 12px font-size: 12px
&-id &-id
grid-area: id grid-area: id
color: var(--gray-dark) color: $spot-color-basic-gray-3
font-size: 12px font-size: 12px
&-status &-status
grid-area: status grid-area: status
@ -119,12 +120,12 @@
grid-area: dates grid-area: dates
place-self: center end place-self: center end
white-space: nowrap white-space: nowrap
color: var(--gray-dark) color: $spot-color-basic-gray-3
font-size: 12px font-size: 12px
&-inline-date &-inline-date
font-size: 12px font-size: 12px
color: var(--gray-dark) color: $spot-color-basic-gray-3
margin: 0 8px margin: 0 8px
white-space: nowrap white-space: nowrap
@ -146,19 +147,19 @@
z-index: 2 z-index: 2
.op-wp-single-card_checked & .op-wp-single-card_checked &
background-color: var(--table-row-highlighting-color) background-color: $spot-color-main-light
&--inline-buttons &--inline-buttons
opacity: 0 opacity: 0
padding-left: 40px padding-left: 40px
op-icon:not(&_selected) op-icon:not(&_selected)
background: white background: $spot-color-basic-white
&.-show &.-show
opacity: 1 opacity: 1
.op-wp-single-card_checked & .op-wp-single-card_checked &
background-color: var(--table-row-highlighting-color) background-color: $spot-color-main-light
&--inline-cancel-button &--inline-cancel-button
color: var(--warn) color: var(--warn)

Loading…
Cancel
Save