File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ @use " sass:color" ;
12@use " ../variables" as * ;
23
34.edit-overlay {
7980 border : 2px solid $color-red ;
8081
8182 & :hover {
82- background-color : darken ($color-red , 5% );
83+ background-color : color . adjust ($color-red , $lightness : - 5% );
8384 color : $color-white ;
8485 }
8586 }
Original file line number Diff line number Diff line change 1+ @use " sass:color" ;
12@use " ../../../variables" as * ;
23
34.cld-panel {
101102 padding : 1.5rem ;
102103
103104 & -success {
104- background-color : transparentize ($color-notification-success , 0.8 );
105+ background-color : color . adjust ($color-notification-success , $alpha : - 0.8 );
105106 border : 2px solid $color-notification-success ;
106107
107108 & ::before {
110111 }
111112
112113 & -syncing {
113- background-color : transparentize ($color-wp-blue , 0.8 );
114+ background-color : color . adjust ($color-wp-blue , $alpha : - 0.8 );
114115 border : 2px solid $color-wp-blue ;
115116 text-decoration : none ;
116117 color : #444 ;
You can’t perform that action at this time.
0 commit comments