Просмотр исходного кода

:iphone: testing sass styles for profileCard

tags/0.0.1^2
K Rob 3 лет назад
Родитель
Сommit
c7747e1354
2 измененных файлов: 11 добавлений и 2 удалений
  1. 1
    1
      frontend/src/App.vue
  2. 10
    1
      frontend/src/components/ProfileCard.vue

+ 1
- 1
frontend/src/App.vue Просмотреть файл

@@ -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 Просмотреть файл

@@ -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>

Загрузка…
Отмена
Сохранить