fix(GUI): normalize button text casing (#1046)

Some button texts are all uppercase, while the remaining of them are
capitalised. This commit capitalises all button texts for consistency
purposes.

Fixes: https://github.com/resin-io/etcher/issues/881
Change-Type: patch
Changelog-Entry: Normalize button text casing.
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2017-01-25 10:57:47 -04:00 committed by GitHub
parent 0e1f50422e
commit 7165c60f0d
4 changed files with 3 additions and 9 deletions

View File

@ -52,5 +52,5 @@
<div class="modal-footer"> <div class="modal-footer">
<button class="button button-primary button-block" <button class="button button-primary button-block"
ng-click="modal.closeModal()" ng-click="modal.closeModal()"
ng-disabled="!modal.state.hasDrive()">CONTINUE</button> ng-disabled="!modal.state.hasDrive()">Continue</button>
</div> </div>

View File

@ -12,9 +12,9 @@
<div class="modal-footer"> <div class="modal-footer">
<div class="modal-menu"> <div class="modal-menu">
<button class="button button-primary" <button class="button button-primary"
os-open-external="https://etcher.io?ref=etcher_update">DOWNLOAD</button> os-open-external="https://etcher.io?ref=etcher_update">Download</button>
<button class="button button-default" <button class="button button-default"
ng-click="modal.closeModal()">SKIP</button> ng-click="modal.closeModal()">Skip</button>
</div> </div>
<div class="checkbox text-right"> <div class="checkbox text-right">

View File

@ -21,6 +21,3 @@
.modal-warning-modal .modal-title .glyphicon { .modal-warning-modal .modal-title .glyphicon {
color: $palette-theme-danger-background; color: $palette-theme-danger-background;
} }
.modal-warning-modal .button {
text-transform: uppercase;
}

View File

@ -6485,9 +6485,6 @@ body {
.modal-warning-modal .modal-title .glyphicon, .modal-warning-modal .modal-title .tick { .modal-warning-modal .modal-title .glyphicon, .modal-warning-modal .modal-title .tick {
color: #d9534f; } color: #d9534f; }
.modal-warning-modal .button, .modal-warning-modal .progress-button {
text-transform: uppercase; }
/* /*
* Copyright 2016 resin.io * Copyright 2016 resin.io
* *