History

Change 'reset' link on preferences page to a button

Thibaut Courouble committed 9 years ago

Commit 48f5fb11 parent 64f04303 files · +6 −6Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/settings_tmpl.coffee +1 −2
  2. assets/stylesheets/components/_content.scss +5 −0
  3. assets/stylesheets/components/_settings.scss +0 −4
assets/javascripts/templates/pages/settings_tmpl.coffee+1−2
@@ -35,6 +35,5 @@ app.templates.settingsPage = (settings) -> """ · 34 unmodified lines
35 </div>35 </div>
36 </div>36 </div>
37 37
38 <p>38 <button type="button" class="_btn-link _reset-btn" data-behavior="reset">Reset all preferences and data</button>
39 <a href="#" class="_reset-link" data-behavior="reset">Reset all preferences and data</a>
40"""39"""
assets/stylesheets/components/_content.scss+5−0
@@ -408,6 +408,11 @@ · 407 unmodified lines
408 }408 }
409}409}
410 410
411._reset-btn,
412._reset-btn:hover {
413 color: $textColorRed;
414}
415
411._github-btn {416._github-btn {
412 display: inline-block;417 display: inline-block;
413 vertical-align: text-top;418 vertical-align: text-top;
assets/stylesheets/components/_settings.scss+0−4
@@ -69,10 +69,6 @@ · 68 unmodified lines
69._setting-native-scrollbar { display: none; }69._setting-native-scrollbar { display: none; }
70@supports (-webkit-margin-end: 1px) { ._setting-native-scrollbar { display: block; } }70@supports (-webkit-margin-end: 1px) { ._setting-native-scrollbar { display: block; } }
71 71
72._reset-link {
73 color: $textColorRed;
74}
75
76//72//
77// Settings buttons73// Settings buttons
78//74//

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t