[dw-free] Comments look odd in several styles
[commit: http://hg.dwscoalition.org/dw-free/rev/4f6666feeffc]
http://bugs.dwscoalition.org/show_bug.cgi?id=2912
Fix display of collapsed comments in non-Tabula-Rasa based styles.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2912
Fix display of collapsed comments in non-Tabula-Rasa based styles.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/s2layers/bases/layout.s2
- bin/upgrading/s2layers/drifting/layout.s2
- bin/upgrading/s2layers/negatives/layout.s2
- bin/upgrading/s2layers/skittlishdreams/layout.s2
-------------------------------------------------------------------------------- diff -r 9cfda3795b0c -r 4f6666feeffc bin/upgrading/s2layers/bases/layout.s2 --- a/bin/upgrading/s2layers/bases/layout.s2 Wed Jul 28 23:19:00 2010 -0700 +++ b/bin/upgrading/s2layers/bases/layout.s2 Wed Jul 28 23:24:20 2010 -0700 @@ -632,8 +632,8 @@ li.first-item {margin-left: 0;} padding: 0; } -.comment .datetime { border-top: 0.083em solid $*color_entry_border;} -.comment-poster, .poster-ip {border-bottom: 0.083em solid $*color_entry_border; display: block; padding: 0 0.5em 0 0.5em; } +.full .comment .datetime { border-top: .083em solid $*color_entry_border;} +.full .comment-poster, .poster-ip { border-bottom: .083em solid $*color_entry_border; display: block; padding: 0 .5em; } .comment-pages {font-size: 0.833em; font-weight: lighter; text-align: center; padding: 0.833em; border-bottom: 0.083em solid $*color_entry_border;} @@ -645,7 +645,9 @@ li.first-item {margin-left: 0;} .screened .comment-content {background: $element_background; padding: 0.833em; } .partial .comment {color: transparent; padding: 0 0 0.5em 0; min-width: 16.667em; background: $*color_entry_background;} -.partial .comment-title {padding: 0.5em; font-size: 1.166em; font-weight: bold; } +.partial .comment-title { font-size: 1.166em; font-weight: bold; } +.partial .comment-poster { color: $*color_entry_text; padding-left: .5em; } +.partial .comment .datetime { border: 0; display: inline; background: none; margin: 0; padding: 0;} .comment-wrapper {padding-top: 0;} diff -r 9cfda3795b0c -r 4f6666feeffc bin/upgrading/s2layers/drifting/layout.s2 --- a/bin/upgrading/s2layers/drifting/layout.s2 Wed Jul 28 23:19:00 2010 -0700 +++ b/bin/upgrading/s2layers/drifting/layout.s2 Wed Jul 28 23:24:20 2010 -0700 @@ -709,7 +709,7 @@ function Page::print_default_stylesheet( overflow: auto; } - .comment .poster { + .full .comment .poster { display: block; width: auto; text-align: center; diff -r 9cfda3795b0c -r 4f6666feeffc bin/upgrading/s2layers/negatives/layout.s2 --- a/bin/upgrading/s2layers/negatives/layout.s2 Wed Jul 28 23:19:00 2010 -0700 +++ b/bin/upgrading/s2layers/negatives/layout.s2 Wed Jul 28 23:24:20 2010 -0700 @@ -473,6 +473,13 @@ function Page::print_default_stylesheet( } .partial .comment-title { display: inline; + margin-right: .2em; + } + .partial .comment-title h4 { + display: inline; + } + .partial .comment-poster:before { + content: "- "; } .entry a, .comment a { color: $*color_entry_link; diff -r 9cfda3795b0c -r 4f6666feeffc bin/upgrading/s2layers/skittlishdreams/layout.s2 --- a/bin/upgrading/s2layers/skittlishdreams/layout.s2 Wed Jul 28 23:19:00 2010 -0700 +++ b/bin/upgrading/s2layers/skittlishdreams/layout.s2 Wed Jul 28 23:24:20 2010 -0700 @@ -606,7 +606,6 @@ h1, h2, h3, h4 {font-weight: 700; font-v } .entry-wrapper-even .entry-title, .comment-wrapper-even .comment-title {border: solid 1px $*color_entry_title_border_alt; $entry_title_colors } -.partial .comment-title {display: inline; } .userpic a {background-color: $*color_page_border; border: 0px; } .entry .userpic a, .comment .userpic a {background-color: $*color_entry_background; border: solid 2px $*color_page_border; display: block; position: absolute; top: -66px; padding: 5px; } @@ -649,7 +648,7 @@ blockquote {margin: 1em; padding: 1em; $ .entry .footer hr {display: none; } .entry .metadata-label {font-weight: bold; } -.comment-poster {display: inline-block; min-width: 40%; } +.full .comment-poster {display: inline-block; min-width: 40%; } #content > hr {display: none; } @@ -729,6 +728,23 @@ blockquote {margin: 1em; padding: 1em; $ .journal-name { font-size: 1.8em; } .journal-website-name { font-size: 1.6em; } +.partial .comment-title { + display: inline; + margin-right: .2em; + } + +.partial .comment-title h4 { + display: inline; + } + +.partial .comment-poster:before { + content: "- "; + } + +.partial .comment .datetime { + display: inline; + } + $entryicon_css """; --------------------------------------------------------------------------------