File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 7
7
<div class =" btn-group-toggle btn-group" v-hotkey =" keymapToggleAutoRef" >
8
8
<label v-b-tooltip.hover
9
9
:title =" 'Enable automatic continuation based on game events (' + Object.keys(keymapToggleAutoRef)[0] + ')'"
10
- :class =" {btn:true, 'btn-secondary ': true, active: autoContinue}"
10
+ :class =" {btn:true, 'btn-active ': autoContinue, 'btn-passive': ! autoContinue}"
11
11
@click =" setAutoContinue(true)" >
12
12
Auto
13
13
</label >
14
14
<label v-b-tooltip.hover
15
15
:title =" 'Disable automatic continuation based on game events (' + Object.keys(keymapToggleAutoRef)[0] + ')'"
16
- :class =" {btn:true, 'btn-secondary ': true, active: ! autoContinue}"
16
+ :class =" {btn:true, 'btn-active ': !autoContinue, 'btn-passive': autoContinue}"
17
17
@click =" setAutoContinue(false)" >
18
18
Manual
19
19
</label >
112
112
margin-right : 0.5em ;
113
113
margin-bottom : 0.5em ;
114
114
}
115
+
116
+ .btn-active {
117
+ background-color : green ;
118
+ border-color : green ;
119
+ color : white ;
120
+ }
121
+
122
+ .btn-passive {
123
+ background-color : red ;
124
+ border-color : red ;
125
+ color : white ;
126
+ }
115
127
</style >
You can’t perform that action at this time.
0 commit comments