Rice -> Advanced

This commit is contained in:
Jordan Bates 2013-04-24 11:51:22 -07:00
parent b0fb01b69c
commit c82ad36491
6 changed files with 20 additions and 20 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -312,13 +312,13 @@ a[href="javascript:;"] {
font-weight: 700; font-weight: 700;
} }
.section-sauce ul, .section-sauce ul,
.section-rice ul { .section-advanced ul {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 8px; padding: 8px;
} }
.section-sauce li, .section-sauce li,
.section-rice li { .section-advanced li {
padding-left: 4px; padding-left: 4px;
} }
.section-main label { .section-main label {
@ -336,10 +336,10 @@ a[href="javascript:;"] {
.section-sauce textarea { .section-sauce textarea {
height: 350px; height: 350px;
} }
.section-rice .field[name="boardnav"] { .section-advanced .field[name="boardnav"] {
width: 100%; width: 100%;
} }
.section-rice textarea { .section-advanced textarea {
height: 150px; height: 150px;
} }
#fourchanx-settings fieldset { #fourchanx-settings fieldset {
@ -647,7 +647,7 @@ input.field.tripped:not(:hover):not(:focus) {
margin: 1px 0 0; margin: 1px 0 0;
} }
.field, .field,
.selectrice { .selectadvanced {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
margin: 0px; margin: 0px;
padding: 2px 4px 3px; padding: 2px 4px 3px;

View File

@ -257,7 +257,7 @@ Header =
Header.setCustomNav @checked Header.setCustomNav @checked
editCustomNav: -> editCustomNav: ->
Settings.open 'Rice' Settings.open 'Advanced'
settings = $.id 'fourchanx-settings' settings = $.id 'fourchanx-settings'
$('input[name=boardnav]', settings).focus() $('input[name=boardnav]', settings).focus()

View File

@ -30,7 +30,7 @@ Settings =
Settings.addSection 'Main', Settings.main Settings.addSection 'Main', Settings.main
Settings.addSection 'Filter', Settings.filter Settings.addSection 'Filter', Settings.filter
Settings.addSection 'Sauce', Settings.sauce Settings.addSection 'Sauce', Settings.sauce
Settings.addSection 'Rice', Settings.rice Settings.addSection 'Advanced', Settings.advanced
Settings.addSection 'Keybinds', Settings.keybinds Settings.addSection 'Keybinds', Settings.keybinds
$.on d, 'AddSettingsSection', Settings.addSection $.on d, 'AddSettingsSection', Settings.addSection
@ -375,7 +375,7 @@ Settings =
sauce.value = item['sauces'] sauce.value = item['sauces']
$.on sauce, 'change', $.cb.value $.on sauce, 'change', $.cb.value
rice: (section) -> advanced: (section) ->
section.innerHTML = """ section.innerHTML = """
<fieldset> <fieldset>
<legend>Archiver</legend> <legend>Archiver</legend>