Преглед изворни кода

:sparkles: pending and paired tabs styled

tags/0.0.2^2
K Rob пре 3 година
родитељ
комит
37e977821a
1 измењених фајлова са 23 додато и 11 уклоњено
  1. 23
    11
      frontend/src/views/PairsView.vue

+ 23
- 11
frontend/src/views/PairsView.vue Прегледај датотеку

@@ -1,9 +1,9 @@
1 1
 <template lang="pug">
2 2
 main.view--pairs
3 3
     article(v-if='isLoggedIn')
4
-        w-tabs(:items='tabs' fill-bar)
4
+        w-tabs(:items='tabs' fill-bar slider-color='yellow')
5 5
             template(#item-title='{ item }')
6
-                span.green {{ item.title }}
6
+                span {{ item.title }}
7 7
             //- pending tab
8 8
             template(#item-content.1='{ item }')
9 9
                 PairsList(:pairs='pending' tab-name='pending')
@@ -73,19 +73,31 @@ export default {
73 73
 </script>
74 74
 
75 75
 <style lang="sass">
76
-.select--matches 
76
+.view--pairs
77
+    max-width: 450px
78
+    width: 100%
79
+    margin: 0 auto
80
+    background-color: #1F2024
81
+    .w-tabs__bar-item
82
+        height: 50px
83
+        font-family: 'Century Gothic'
84
+        color: #FFFFFF
85
+        &.w-tabs__bar-item--active
86
+        &.primary
87
+            color: #F2CD5C
88
+.select--matches
77 89
     display: flex
78 90
     justify-content: space-between
79 91
     margin: 0 25px
80
-.select--matches > div 
81
-    width: 100%
82
-    text-align: center
83
-    font-size: 16px
84
-    line-height: 40px
85
-.active 
92
+    > div
93
+        width: 100%
94
+        text-align: center
95
+        font-size: 16px
96
+        line-height: 40px
97
+.active
86 98
     border-bottom: 3px solid #f2cd5c
87 99
     color: #f2cd5c
88
-.idle 
89
-    color: #bcc5d3
90 100
 
101
+.idle
102
+    color: #bcc5d3
91 103
 </style>

Loading…
Откажи
Сачувај