Procházet zdrojové kódy

:sparkles: PairingButton state styles added

tags/0.0.2
K Rob před 3 roky
rodič
revize
22bb81895d

+ 1
- 1
frontend/src/components/NamePlate.vue Zobrazit soubor

@@ -42,7 +42,7 @@ export default {
42 42
         flex-direction: column
43 43
         align-items: center
44 44
         justify-content: center
45
-        padding: 15px 15px
45
+        padding: 15px
46 46
         min-height: 10vh
47 47
         width: 100%
48 48
         &.box

+ 20
- 3
frontend/src/components/PairingButton.vue Zobrazit soubor

@@ -9,6 +9,8 @@
9 9
         xl
10 10
     )
11 11
         p.pa4.text-upper pair
12
+    w-button.xs12.pristine
13
+        p siimee
12 14
 </template>
13 15
 
14 16
 <script>
@@ -29,11 +31,26 @@ export default {
29 31
 
30 32
 <style lang="sass">
31 33
 .w-button
34
+    p
35
+        font-size: 1.6em
36
+        font-weight: bold
37
+    &.pristine
38
+        background-color: #000
39
+        border: 2px solid #4D9127
40
+        min-width: 350px
41
+        width: 100%
42
+        margin: 11px 0
43
+        padding: 22px
32 44
     &.pending
33
-        background-color: #4D9127
45
+        background-image: linear-gradient(to right, #4C5264, #A8A8A8)
34 46
         min-width: 350px
35 47
         width: 100%
36 48
         margin: 11px 0
37
-        padding: 7px
38
-        font-size: 1.6em
49
+        padding: 22px
50
+    &.paired
51
+        background: #8168F8
52
+        min-width: 350px
53
+        width: 100%
54
+        margin: 11px 0
55
+        padding: 22px
39 56
 </style>

Načítá se…
Zrušit
Uložit