Added text to a buttons
This commit is contained in:
@@ -87,12 +87,20 @@
|
|||||||
<p>You can set the multiplier in <a href="#" title="link to the setting">link to setting</a>.</p>
|
<p>You can set the multiplier in <a href="#" title="link to the setting">link to setting</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group btn-group-lg" role="group">
|
<div class="btn-group btn-group-lg" role="group">
|
||||||
<button type="button" class="btn btn-default"
|
<div class="btn btn-default"
|
||||||
[class.btn-primary]="mouseActionParam === MouseActionParam.decelerate"
|
[class.btn-primary]="mouseActionParam === MouseActionParam.decelerate"
|
||||||
(click)="setMouseActionParam(MouseActionParam.decelerate)">-</button>
|
(click)="setMouseActionParam(MouseActionParam.decelerate)"
|
||||||
<button type="button" class="btn btn-default"
|
>
|
||||||
|
-
|
||||||
|
<span>Decelerate</span>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn-default"
|
||||||
[class.btn-primary]="mouseActionParam === MouseActionParam.accelerate"
|
[class.btn-primary]="mouseActionParam === MouseActionParam.accelerate"
|
||||||
(click)="setMouseActionParam(MouseActionParam.accelerate)">+</button>
|
(click)="setMouseActionParam(MouseActionParam.accelerate)"
|
||||||
|
>
|
||||||
|
+
|
||||||
|
<span>Accelerate</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngSwitchDefault>
|
<div *ngSwitchDefault>
|
||||||
|
|||||||
@@ -63,3 +63,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mouse__config--speed {
|
||||||
|
.btn-default {
|
||||||
|
font-size: 25px;
|
||||||
|
line-height: 22px;
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 13px;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user