Skip to content

Commit

Permalink
adding padding to make buttons look more attractive
Browse files Browse the repository at this point in the history
  • Loading branch information
noone0212 committed Mar 31, 2020
1 parent ae97342 commit 3cbd95b
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/common/auth/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</div>
<div class="modal-actions">
<div class="form-field">
<button type="button" class="button-link" ng-click="cancel()" ng-show="showCancel" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta" ng-click="cancel()" ng-show="showCancel" translate="app.cancel">Cancel</button>
<button type="submit" class="button-alpha" ng-disabled="loginForm.$invalid || processing" translate="nav.login">Login</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/common/auth/password-reset-confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
</div>
<div class="form-field">
<button type="button" class="button-link" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="submit" class="button-primary"
ng-disabled="form.$invalid || processing">
<div class="loading" ng-show="processing"><div class="line"></div><div class="line"></div><div class="line"></div></div>
Expand Down
2 changes: 1 addition & 1 deletion app/common/auth/password-reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
required>
</div>
<div class="form-field">
<button type="button" class="button-link" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="submit" class="button-primary"
ng-disabled="form.$invalid || processing">
<div class="loading" ng-show="processing"><div class="line"></div><div class="line"></div><div class="line"></div></div>
Expand Down
2 changes: 1 addition & 1 deletion app/common/auth/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<div class="modal-actions">
<div class="form-field">
<button type="button" class="button-link" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta" ng-click="cancel()" translate="app.cancel">Cancel</button>
<button type="submit" class="button-alpha" ng-disabled="form.$invalid || processing" translate="nav.register">Sign up</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/common/user-profile/user-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<div class="modal-actions">
<div class="form-field">
<button ng-if="!adminUserSetup" type="button" class="button-link" ng-click="cancel()" translate>
<button ng-if="!adminUserSetup" type="button" class="button-beta" ng-click="cancel()" translate>
user_profile.button.cancel
</button>

Expand Down
2 changes: 1 addition & 1 deletion app/main/activity/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h1 class="mode-context-title"><a href="/" ng-bind="nav.site.name"></a></h1>
</div>

<div class="form-field">
<button type="button" class="button-link" ng-click="cancelChangeFilters()" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta" ng-click="cancelChangeFilters()" translate="app.cancel">Cancel</button>
<button type="submit" class="button-alpha" translate="app.apply_filters">Apply filter</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/main/posts/collections/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<div class="modal-actions">
<div class="form-field">
<button type="button" class="button-link modal-trigger" ng-click="cancel()" translate>app.cancel</button>
<button type="button" class="button-beta modal-trigger" ng-click="cancel()" translate>app.cancel</button>
<button type="button" class="button-alpha modal-trigger" ng-click="saveCollection(cpyCollection)" translate>app.save_and_close</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
<div class="modal-actions">
<div class="form-field">
<button type="button" class="button-link" ng-click="close()" translate>modal.button.close</button>
<button type="button" class="button-beta" ng-click="close()" translate>modal.button.close</button>
<button type="button" class="button-alpha" ng-show="processing">
<div class="loading">
<div class="line"></div>
Expand Down
2 changes: 1 addition & 1 deletion app/main/posts/savedsearches/savedsearch-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<role-selector model="savedSearch" title="'app.who_can_see_this'"></role-selector>
<div class="modal-actions">
<div class="form-field">
<button type="button" class="button-link modal-trigger" ng-click="cancel()" translate>app.cancel</button>
<button type="button" class="button-beta modal-trigger" ng-click="cancel()" translate>app.cancel</button>
<button type="button" class="button-alpha modal-trigger" ng-show="!isSaving" ng-click="save(cpySavedSearch)" translate>app.save_and_close</button>
<button ng-click="saveSearch()" ng-show="isSaving" disabled class="button-beta" type="button">
<div class="loading">
Expand Down
2 changes: 1 addition & 1 deletion app/settings/surveys/task-create.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
</div>
<div class="form-field">
<button type="button" class="button-link modal-trigger" ng-click="closeModal()" translate="app.cancel">Cancel</button>
<button type="button" class="button-beta modal-trigger" ng-click="closeModal()" translate="app.cancel">Cancel</button>
<button type="button" class="button-alpha modal-trigger" ng-click="addNewTask(newTask)" translate="app.add_and_close">Add &amp; close</button>
</div>
</div>
4 changes: 2 additions & 2 deletions app/settings/user-settings/user-settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 class="form-sheet-title" translate="settings.settings_list.user_settings">
</div>

<div class="form-field" ng-show="!hxlMaintainerSet">
<button ng-show="showCancel" type="button" class="button-link" ng-click="cancelMaintainerSet()" translate="app.cancel">Cancel</button>
<button ng-show="showCancel" type="button" class="button-beta" ng-click="cancelMaintainerSet()" translate="app.cancel">Cancel</button>
<button class="button button-alpha" translate="app.save" ng-click="saveKey()">Save</button>
</div>

Expand Down Expand Up @@ -95,7 +95,7 @@ <h2 class="form-sheet-title" translate="settings.settings_list.user_settings">
</div>

<div class="form-field" ng-show="!hxlApiKeySet">
<button ng-show="showCancel" type="button" class="button-link" ng-click="cancelApiKeySet()" translate="app.cancel">Cancel</button>
<button ng-show="showCancel" type="button" class="button-beta" ng-click="cancelApiKeySet()" translate="app.cancel">Cancel</button>
<button class="button button-alpha" translate="app.save" ng-click="saveKey()">Save</button>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/settings/users/filter-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>

<div class="form-field filter-actions">
<button type="button" class="button-link" ng-click="cancel()" translate>app.cancel</button>
<button type="button" class="button-beta" ng-click="cancel()" translate>app.cancel</button>
<button type="submit" class="button-alpha" ng-disabled="applyEnabled" translate>app.apply_filters</button>
</div>
</div>
Expand Down

0 comments on commit 3cbd95b

Please sign in to comment.