File tree Expand file tree Collapse file tree 2 files changed +18
-31
lines changed
modules/IDE/components/QuickAddList Expand file tree Collapse file tree 2 files changed +18
-31
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
-
4
- import CheckIcon from '../../../../images/check_encircled.svg' ;
5
3
import CloseIcon from '../../../../images/close.svg' ;
4
+ import CheckIcon from '../../../../images/check_encircled.svg' ;
6
5
7
6
const Icons = ( { isAdded } ) => {
8
7
const classes = [
@@ -21,12 +20,6 @@ const Icons = ({ isAdded }) => {
21
20
focusable = "false"
22
21
/>
23
22
< CheckIcon
24
- className = "quick-add__in-icon"
25
- role = "img"
26
- aria-label = "Descending"
27
- focusable = "false"
28
- />
29
- < CloseIcon
30
23
className = "quick-add__add-icon"
31
24
role = "img"
32
25
aria-label = "Descending"
Original file line number Diff line number Diff line change 83
83
}
84
84
}
85
85
86
- .quick-add__add-icon {
87
- transform : rotate (45deg );
88
- }
89
-
90
- .quick-add__item :hover ,
91
- .quick-add__item-toggle :hover ,
86
+ .quick-add__item ,
87
+ .quick-add__item-toggle ,
92
88
.quick-add__item-toggle :focus {
93
89
cursor : pointer ;
90
+
94
91
@include themify () {
95
92
& .quick-add__icon path {
96
93
fill : getThemifyVariable (' table-button-hover-color' );
100
97
fill : getThemifyVariable (' table-button-background-hover-color' );
101
98
}
102
99
}
100
+ }
103
101
104
- & .quick-add__in-icon {
105
- display : none ;
102
+ .quick-add__icon--in-collection {
103
+ .quick-add__remove-icon {
104
+ display : inline-block ;
106
105
}
107
106
108
- & .quick-add__icon--in-collection {
109
- .quick-add__remove-icon {
110
- display : inline-block ;
111
- }
112
-
113
- .quick-add__add-icon {
114
- display : none ;
115
- }
107
+ .quick-add__add-icon {
108
+ display : none ;
116
109
}
110
+ }
117
111
118
- & .quick-add__icon--not-in-collection {
119
- .quick-add__add-icon {
120
- display : inline-block ;
121
- }
112
+ .quick-add__icon--not-in-collection {
113
+ .quick-add__add-icon {
114
+ display : inline-block ;
115
+ }
122
116
123
- .quick-add__remove-icon {
124
- display : none ;
125
- }
117
+ .quick-add__remove-icon {
118
+ display : none ;
126
119
}
127
120
}
121
+
You can’t perform that action at this time.
0 commit comments