Some cleanup
This commit is contained in:
parent
c37971cc54
commit
8a83feaaa1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@ Settings =
|
|||||||
init: ->
|
init: ->
|
||||||
# Appchan X settings link
|
# Appchan X settings link
|
||||||
el = $.el 'a',
|
el = $.el 'a',
|
||||||
className: 'settings-link icon icon-wrench'
|
className: 'settings-link'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
textContent: 'Settings'
|
textContent: 'Settings'
|
||||||
$.on el, 'click', Settings.open
|
$.on el, 'click', Settings.open
|
||||||
|
|||||||
@ -9,7 +9,6 @@ Style =
|
|||||||
['themeCSS', Style.theme(theme), 'theme']
|
['themeCSS', Style.theme(theme), 'theme']
|
||||||
['emojiCSS', Emoji.css(), 'emoji']
|
['emojiCSS', Emoji.css(), 'emoji']
|
||||||
['dynamicCSS', Style.dynamic(), 'dynamic']
|
['dynamicCSS', Style.dynamic(), 'dynamic']
|
||||||
['icons', "", 'icons']
|
|
||||||
['paddingSheet', "", 'padding']
|
['paddingSheet', "", 'padding']
|
||||||
['mascot', "", 'mascotSheet']
|
['mascot', "", 'mascotSheet']
|
||||||
]
|
]
|
||||||
@ -168,8 +167,6 @@ Style =
|
|||||||
"""<%= grunt.file.read('src/General/css/theme.css').replace(/\s+/g, ' ').trim() %>""" + <%= grunt.file.read('src/General/css/themeoptions.css').replace(/\s+/g, ' ').trim() %>
|
"""<%= grunt.file.read('src/General/css/theme.css').replace(/\s+/g, ' ').trim() %>""" + <%= grunt.file.read('src/General/css/themeoptions.css').replace(/\s+/g, ' ').trim() %>
|
||||||
|
|
||||||
iconPositions: ->
|
iconPositions: ->
|
||||||
css = """<%= grunt.file.read('src/General/css/icons.base.css').replace(/\s+/g, ' ').trim() %>"""
|
|
||||||
|
|
||||||
# Slideout Navigation
|
# Slideout Navigation
|
||||||
slideNav = $.el 'i',
|
slideNav = $.el 'i',
|
||||||
id: 'so-nav'
|
id: 'so-nav'
|
||||||
@ -193,8 +190,6 @@ Style =
|
|||||||
el.className = 'a-icon'
|
el.className = 'a-icon'
|
||||||
Header.addShortcut el
|
Header.addShortcut el
|
||||||
|
|
||||||
Style.icons.textContent = css
|
|
||||||
|
|
||||||
padding: ->
|
padding: ->
|
||||||
Style.padding.nav = Header.bar
|
Style.padding.nav = Header.bar
|
||||||
Style.padding.pages = $ '.pagelist', d.body
|
Style.padding.pages = $ '.pagelist', d.body
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user