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
3535 </div>
3636 </div>
3737
38− <p>
39− <a href="#" class="_reset-link" data-behavior="reset">Reset all preferences and data</a>
38+ <button type="button" class="_btn-link _reset-btn" data-behavior="reset">Reset all preferences and data</button>
4039 """
assets/stylesheets/components/_content.scss+5−0
@@ -408,6 +408,11 @@ · 407 unmodified lines
408408 }
409409 }
410410
411+._reset-btn,
412+._reset-btn:hover {
413+ color: $textColorRed;
414+}
415+
411416 ._github-btn {
412417 display: inline-block;
413418 vertical-align: text-top;
assets/stylesheets/components/_settings.scss+0−4
@@ -69,10 +69,6 @@ · 68 unmodified lines
6969 ._setting-native-scrollbar { display: none; }
7070 @supports (-webkit-margin-end: 1px) { ._setting-native-scrollbar { display: block; } }
7171
72−._reset-link {
73− color: $textColorRed;
74−}
75−
7672 //
7773 // Settings buttons
7874 //

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