Cut off text after 200 characters.
[Sone.git] / src / main / resources / static / css / sone.css
index 80054a8..c2cc312 100644 (file)
@@ -97,6 +97,20 @@ textarea {
        border: none;
 }
 
+#sone #main.offline {
+       opacity: 0.5;
+}
+
+#sone #offline-marker {
+       display: none;
+       position: fixed;
+       top: 2em;
+       right: 2em;
+       width: 128px;
+       height: 128px;
+       background-image: url("../images/sone-offline.png");
+}
+
 #sone #notification-area {
        margin-top: 1em;
 }
@@ -129,6 +143,10 @@ textarea {
        display: none;
 }
 
+#sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification {
+       display: none;
+} 
+
 #sone #plugin-warning {
        border: solid 0.5em red;
        padding: 0.5em;
@@ -247,12 +265,13 @@ 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;
 }
 
@@ -656,3 +675,12 @@ textarea {
        font-weight: bold;
        color: red;
 }
+
+#sone .warning {
+       color: red;
+       font-style: italic;
+}
+
+#sone #sort-options {
+       margin-bottom: 1em;
+}