@@ -153,55 +153,59 @@ export default {
153
153
}
154
154
};
155
155
</script >
156
- <style lang="scss" >
156
+ <style >
157
157
@import url (" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" );
158
158
159
- // app specific styles
159
+ /* app specific styles */
160
160
161
161
.swipeout-action {
162
162
display : flex ;
163
163
align-items : center ;
164
164
padding : 0 3rem ;
165
165
cursor : pointer ;
166
166
left : 0 ;
167
- // https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/
168
- & .blue {
167
+ }
168
+ /* https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/ */
169
+ .swipeout-action.blue {
169
170
color : white ;
170
171
background-color : rgb (0 , 122 , 255 );
171
- & :hover {
172
- background-color : darken ( rgb ( 0 , 122 , 255 ), 5 % );
173
- }
174
- }
175
- & .purple {
172
+ }
173
+ .swipeout-action.blue :hover {
174
+ background-color : darken ( rgb ( 0 , 122 , 255 ), 5 % );
175
+ }
176
+ .swipeout-action .purple {
176
177
color : white ;
177
178
background-color : rgb (88 , 86 , 214 );
178
- & :hover {
179
- background-color : darken (rgb (88 , 86 , 214 ), 5% );
180
- }
181
- }
182
- & .red {
179
+ }
180
+ .swipeout-action.purple :hover {
181
+ background-color : darken (rgb (88 , 86 , 214 ), 5% );
182
+ }
183
+
184
+ .swipeout-action.red {
183
185
color : white ;
184
186
background-color : rgb (255 , 59 , 48 );
185
- & :hover {
186
- background-color : darken ( rgb ( 255 , 59 , 48 ), 5 % );
187
- }
188
- }
189
- & .green {
187
+ }
188
+ .swipeout-action.red :hover {
189
+ background-color : darken ( rgb ( 255 , 59 , 48 ), 5 % );
190
+ }
191
+ .swipeout-action .green {
190
192
color : white ;
191
193
background-color : rgb (76 , 217 , 100 );
192
- & :hover {
193
- background-color : darken (rgb (76 , 217 , 100 ), 5% );
194
- }
195
- }
194
+ }
195
+ .swipeout-action.green :hover {
196
+ background-color : darken (rgb (76 , 217 , 100 ), 5% );
196
197
}
197
198
199
+
198
200
.swipeout-list-item {
199
201
flex : 1 ;
200
202
border-bottom : 1px solid lightgray ;
201
- & :last-of-type {
203
+ }
204
+
205
+ .swipeout-list-item :last-of-type {
202
206
border-bottom : none ;
203
- }
204
207
}
208
+
205
209
.card {
206
210
width : 100% ;
207
211
background-color : white ;
0 commit comments