File tree 2 files changed +39
-3
lines changed
2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,17 @@ class DraggableAttribute extends React.Component {
65
65
onChange = { e => this . setState ( { filterText : e . target . value } ) }
66
66
/>
67
67
< br />
68
- < button type = "button"
68
+ < a role = "button" className = "pvtButton "
69
69
onClick = { ( ) => this . props . removeValuesFromFilter ( this . props . name ,
70
70
Object . keys ( this . props . attrValues ) . filter ( this . matchesFilter . bind ( this ) ) ) }
71
71
>
72
72
Select { values . length === shown . length ? 'All' : shown . length }
73
- </ button > < button type = "button"
73
+ </ a > < a role = "button" className = "pvtButton "
74
74
onClick = { ( ) => this . props . addValuesToFilter ( this . props . name ,
75
75
Object . keys ( this . props . attrValues ) . filter ( this . matchesFilter . bind ( this ) ) ) }
76
76
>
77
77
Deselect { values . length === shown . length ? 'All' : shown . length }
78
- </ button >
78
+ </ a >
79
79
</ p >
80
80
}
81
81
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ table.pvtTable tbody tr td {
179
179
top : 5px ;
180
180
font-size : 18px ;
181
181
cursor : pointer;
182
+ text-decoration : none !important ;
182
183
}
183
184
184
185
.pvtDragHandle {
@@ -190,6 +191,41 @@ table.pvtTable tbody tr td {
190
191
color : # A2B1C6 ;
191
192
}
192
193
194
+ .pvtButton {
195
+ color : # 506784 ;
196
+ border-radius : 5px ;
197
+ padding : 3px 6px ;
198
+ background : # F2F5FA ;
199
+ border : 1px solid;
200
+ border-color : # C8D4E3 ;
201
+ font-size : 14px ;
202
+ margin : 3px ;
203
+ transition : 0.34s all cubic-bezier (0.19 , 1 , 0.22 , 1 );
204
+ text-decoration : none !important ;
205
+ }
206
+
207
+ .pvtButton : hover {
208
+ background : # E2E8F0 ;
209
+ border-color : # A2B1C6 ;
210
+ }
211
+
212
+ .pvtButton : active {
213
+ background : # D1DAE6 ;
214
+ }
215
+
216
+ .pvtFilterBox input {
217
+ border : 1px solid # C8D4E3 ;
218
+ border-radius : 5px ;
219
+ color : # 506784 ;
220
+ padding : 0 3px ;
221
+ font-size : 14px ;
222
+ }
223
+
224
+ .pvtFilterBox input : focus {
225
+ border-color : # 119DFF ;
226
+ outline : none;
227
+ }
228
+
193
229
.pvtFilterBox {
194
230
z-index : 100 ;
195
231
width : 300px ;
You can’t perform that action at this time.
0 commit comments