Bläddra i källkod

:iphone: testing sass styles for profileCard

tags/0.0.1^2
K Rob 3 år sedan
förälder
incheckning
c7747e1354
2 ändrade filer med 11 tillägg och 2 borttagningar
  1. 1
    1
      frontend/src/App.vue
  2. 10
    1
      frontend/src/components/ProfileCard.vue

+ 1
- 1
frontend/src/App.vue Visa fil

@@ -1,5 +1,5 @@
1 1
 <template lang="pug">
2
-w-app
2
+w-app 
3 3
     TopNav(@on-open="openDrawer = !openDrawer")
4 4
 
5 5
     w-drawer(v-model="openDrawer")

+ 10
- 1
frontend/src/components/ProfileCard.vue Visa fil

@@ -11,7 +11,7 @@ w-card.profile-card-list--card.xs12.pa12
11 11
         )
12 12
         
13 13
         w-button.text-upper.xs12.pa6(v-if="isPaired && !isList")
14
-            w-icon(xl).mr1 mdi mdi-heart
14
+            w-icon(xl).mr1 mdi mdi-chat
15 15
             | start chat
16 16
         
17 17
         template(v-if="!isList")
@@ -63,3 +63,12 @@ const props = defineProps({
63 63
     },
64 64
 })
65 65
 </script>
66
+
67
+<style lang="sass">
68
+.profile-card-list--card
69
+    background-color: #000
70
+    color: #fff
71
+    header > .w-button
72
+        background-color: #116006
73
+        color: #fff
74
+</style>

Laddar…
Avbryt
Spara