File tree Expand file tree Collapse file tree 2 files changed +33
-13
lines changed Expand file tree Collapse file tree 2 files changed +33
-13
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,20 @@ body.is-noscroll {
507
507
}
508
508
}
509
509
510
+ & .is-light.is-outlined {
511
+ background : lighten ($primary , 55% );
512
+
513
+ & .is-focused {
514
+ background : lighten ($primary , 55% );
515
+ }
516
+
517
+ & .is-selected {
518
+ border-color : $primary ;
519
+ color : $primary ;
520
+ font-weight : bold ;
521
+ }
522
+ }
523
+
510
524
& :not (.is-small ) {
511
525
height : auto ;
512
526
padding : 10px 20px ;
@@ -592,6 +606,10 @@ body.is-noscroll {
592
606
color : $grey-dark ;
593
607
}
594
608
609
+ & .is-floating-label label .label {
610
+ font-size : 0.875rem ;
611
+ }
612
+
595
613
.help {
596
614
color : $grey ;
597
615
}
Original file line number Diff line number Diff line change 15
15
<section expanded class =" modal-card-body" >
16
16
<div class =" columns" >
17
17
<div class =" column is-6" >
18
- <b-field :label =" $t('users.type')" label-position =" on-border" >
19
- <b-select v-model =" form.type" name =" status" required expanded :disabled =" isEditing" >
20
- <option value =" user" >
21
- {{ $t('users.type.user') }}
22
- </option >
23
- <option value =" api" >
24
- {{ $t('users.type.api') }}
25
- </option >
26
- </b-select >
18
+ <b-field label-position =" on-border" class =" mb-6" >
19
+ <b-radio-button v-model =" form.type" name =" type" native-value =" user" :disabled =" isEditing" expanded
20
+ type =" is-light is-outlined" >
21
+ <b-icon icon =" account-outline" />
22
+ {{ $t('users.type.user') }}
23
+ </b-radio-button >
24
+ <b-radio-button v-model =" form.type" name =" type" native-value =" api" :disabled =" isEditing" expanded
25
+ type =" is-light is-outlined" >
26
+ <b-icon icon =" code" />
27
+ {{ $t('users.type.api') }}
28
+ </b-radio-button >
27
29
</b-field >
28
30
</div >
29
31
<div class =" column is-6" >
46
48
pattern =" [a-zA-Z0-9_\-\.]+$" />
47
49
</b-field >
48
50
49
- <b-field v-if =" form.type !== 'api'" :label =" $t('subscribers.email')" label-position =" on-border" >
50
- <b-input :maxlength =" 200" v-model =" form.email" name =" email" :placeholder =" $t('subscribers.email')" required />
51
- </b-field >
52
-
53
51
<b-field :label =" $t('globals.fields.name')" label-position =" on-border" >
54
52
<b-input :maxlength =" 200" v-model =" form.name" name =" name" :placeholder =" $t('globals.fields.name')" />
55
53
</b-field >
56
54
55
+ <b-field v-if =" form.type !== 'api'" :label =" $t('subscribers.email')" label-position =" on-border" >
56
+ <b-input :maxlength =" 200" v-model =" form.email" name =" email" :placeholder =" $t('subscribers.email')" required />
57
+ </b-field >
58
+
57
59
<template v-if =" form .type !== ' api' " >
58
60
<div class =" box" >
59
61
<b-field >
You can’t perform that action at this time.
0 commit comments