Add separate “show more” and “show less” links.
[Sone.git] / src / main / resources / static / css / sone.css
index ae38d7d..1ca51ae 100644 (file)
@@ -145,7 +145,7 @@ textarea {
 
 #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification {
        display: none;
-} 
+}
 
 #sone #plugin-warning {
        border: solid 0.5em red;
@@ -265,15 +265,28 @@ textarea {
        font-weight: bold;
 }
 
-#sone .post .text, #sone .post .raw-text {
+#sone .post .text, #sone .post .raw-text, #sone .post .short-text {
        display: inline;
        white-space: pre-wrap;
+       word-wrap: break-word;
 }
 
-#sone .post .text.hidden, #sone .post .raw-text.hidden {
+#sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden {
        display: none;
 }
 
+#sone .post .expand-post-text:before, #sone .post .expand-reply-text:before {
+       content: "» ";
+}
+
+#sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before {
+       content: "« ";
+}
+
+#sone .post .shrink-post-text {
+       cursor: pointer;
+}
+
 #sone .post .status-line {
        margin-top: 0.5ex;
        font-size: 85%;
@@ -679,3 +692,7 @@ textarea {
        color: red;
        font-style: italic;
 }
+
+#sone #sort-options {
+       margin-bottom: 1em;
+}