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

:sparkles: PairingButton state styles added

tags/0.0.2
K Rob 3 лет назад
Родитель
Сommit
22bb81895d
2 измененных файлов: 21 добавлений и 4 удалений
  1. 1
    1
      frontend/src/components/NamePlate.vue
  2. 20
    3
      frontend/src/components/PairingButton.vue

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

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

+ 20
- 3
frontend/src/components/PairingButton.vue Просмотреть файл

9
         xl
9
         xl
10
     )
10
     )
11
         p.pa4.text-upper pair
11
         p.pa4.text-upper pair
12
+    w-button.xs12.pristine
13
+        p siimee
12
 </template>
14
 </template>
13
 
15
 
14
 <script>
16
 <script>
29
 
31
 
30
 <style lang="sass">
32
 <style lang="sass">
31
 .w-button
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
     &.pending
44
     &.pending
33
-        background-color: #4D9127
45
+        background-image: linear-gradient(to right, #4C5264, #A8A8A8)
34
         min-width: 350px
46
         min-width: 350px
35
         width: 100%
47
         width: 100%
36
         margin: 11px 0
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
 </style>
56
 </style>

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