Some layout issues

- Board Title over Board Logo Image
- Icons background
- Extra spacing under navigation.
This commit is contained in:
Zixaphir 2013-06-02 12:57:25 -07:00
parent 6121f30b73
commit 4aaffad845
6 changed files with 26 additions and 21 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

@ -57,6 +57,7 @@ body > hr {
#catalog,
#navlinks,
#navtopright,
#svg_filters,
.cataloglink,
.navLinks,
a[style="cursor: pointer; float: right;"] {
@ -604,18 +605,15 @@ th {
.board-title-under-post-form #boardTitle {
position: fixed;
}
.board-title-at-sidebar-top.fourchan-banner-at-sidebar-top.sidebar-large.icon-orientation-vertical #boardTitle {
.board-title-at-sidebar-top.fourchan-banner-at-sidebar-top.sidebar-large #boardTitle {
top: 121px;
}
.board-title-at-sidebar-top.fourchan-banner-at-sidebar-top.icon-orientation-vertical #boardTitle {
.board-title-at-sidebar-top.fourchan-banner-at-sidebar-top #boardTitle {
top: 104px;
}
.board-title-at-sidebar-top #boardTitle {
top: 40px;
}
.board-title-at-sidebar-top.icon-orientation-vertical #boardTitle {
top: 21px;
}
.board-title-at-sidebar-bottom #boardTitle {
bottom: 280px;
}

View File

@ -414,10 +414,10 @@ a .name {
background: #{theme["Highlighted Reply Background"]};
border: 1px solid #{theme["Highlighted Reply Border"]};
}
body::after {
.icon-position-vertical body::after {
background: #{backgroundC};
}
.fourchan-ss-sidebar body::after,
.icon-position-vertical .fourchan-ss-sidebar body::after,
.fourchan-ss-sidebar body::before {
background: none repeat scroll 0% 0% rgba(#{if background = new Style.color Style.colorToHex theme["Reply Background"] then background.shiftRGB -18}, 0.8);
}

View File

@ -73,7 +73,8 @@ Style =
setup: ->
theme = Themes[Conf['theme']] or Themes['Yotsuba B']
Style.svg = $.el 'div'
Style.svg = $.el 'div',
id: 'svg_filters'
$.extend Style,
layoutCSS: $.addStyle Style.layout, 'layout'
themeCSS: $.addStyle Style.theme(theme), 'theme'
@ -301,7 +302,7 @@ Style =
if _conf['4chan SS Navigation'] and Style.padding.pages and ["sticky top", "top", "sticky bottom"].contains _conf["Pagination"]
css += " #{Style.padding.pages.property}: #{Style.padding.pages.offsetHeight}px !important;\n"
if _conf['Fixed Header']
if _conf['4chan SS Navigation'] and _conf['Fixed Header']
css += " #{Style.padding.nav.property}: #{Style.padding.nav.offsetHeight}px !important;\n"
css += """