Cut off text after 200 characters.
[Sone.git] / src / main / resources / static / css / sone.css
index f39cfef..c2cc312 100644 (file)
@@ -35,6 +35,11 @@ textarea {
        margin: 0px;
 }
 
+#sone select {
+       color: #444;
+       padding: 0.5ex 1.5ex;
+}
+
 /* now for the real stuff. */
 
 #sone {
@@ -84,10 +89,28 @@ textarea {
        content: '★ ';
 }
 
+#sone a.in-page-link:before {
+       content: '↓ ';
+}
+
 #sone a img {
        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;
 }
@@ -100,6 +123,10 @@ textarea {
        min-height: 3.5ex;
 }
 
+#sone #notification-area .notification button {
+       margin-left: 1ex;
+}
+
 #sone #notification-area .notification .dismiss {
        float: right;
 }
@@ -108,6 +135,18 @@ textarea {
        margin-left: 1ex;
 }
 
+#sone #notification-area .notification .mark-as-read {
+       float: right;
+}
+
+#sone #notification-area .notification .hidden {
+       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;
@@ -147,7 +186,11 @@ textarea {
        padding-left: 1ex;
 }
 
-#sone #update-status label {
+#sone #update-status {
+       margin-bottom: 1em;
+}
+
+#sone #update-status label, #sone #post-message label {
        display: none;
 }
 
@@ -163,6 +206,15 @@ textarea {
        float: right;
 }
 
+#sone #update-status .select-sender, #sone .create-reply .select-sender, #sone #post-message .select-sender {
+       display: none;
+}
+
+#sone #update-status .select-sender button, #sone #post-message .select-sender button {
+       display: inline;
+       float: left;
+}
+
 #sone .nice-name {
        font-weight: bold;
 }
@@ -213,9 +265,14 @@ textarea {
        font-weight: bold;
 }
 
-#sone .post .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 .short-text.hidden {
+       display: none;
 }
 
 #sone .post .status-line {
@@ -228,6 +285,25 @@ textarea {
        color: rgb(28, 131, 191);
 }
 
+#sone .show-source, #sone .show-reply-source {
+       display: inline;
+}
+
+#sone .permalink {
+       display: inline;
+}
+
+#sone .post .bookmarks {
+       display: inline;
+       color: rgb(28, 131, 191);
+}
+
+#sone .post .bookmark, #sone .post .unbookmark {
+       display: inline;
+       font: inherit;
+       margin: 0px;
+}
+
 #sone .post .time {
        display: inline;
        color: #666;
@@ -243,11 +319,11 @@ textarea {
        display: none;
 }
 
-#sone .post .like.hidden, #sone .post .unlike.hidden, #sone .post .trust.hidden, #sone .post .distrust.hidden, #sone .post .untrust.hidden {
+#sone .post .like.hidden, #sone .post .unlike.hidden, #sone .post .trust.hidden, #sone .post .distrust.hidden, #sone .post .untrust.hidden, #sone .post .bookmark.hidden, #sone .post .unbookmark.hidden {
        display: none;
 }
 
-#sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .trust button, #sone .post .distrust button, #sone .post .untrust button {
+#sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .trust button, #sone .post .distrust button, #sone .post .untrust button, #sone .post .bookmark button, #sone .post .unbookmark button {
        border: 0px;
        background: none;
        padding: 0px;
@@ -273,7 +349,7 @@ textarea {
        color: rgb(64, 64, 64);
 }
 
-#sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .trust button:hover, #sone .post .distrust button:hover, #sone .post .untrust button:hover {
+#sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .trust button:hover, #sone .post .distrust button:hover, #sone .post .untrust button:hover, #sone .post .bookmark button:hover, #sone .post .unbookmark button:hover {
        border: 0px;
        background: none;
        padding: 0px;
@@ -353,12 +429,12 @@ textarea {
 
 #sone .post .create-reply input[type=text] {
        margin-left: 0.5ex;
-       width: 44em;
+       width: 42em;
 }
 
 #sone .post .create-reply textarea {
        margin-left: 0.5ex;
-       width: 44em;
+       width: 42em;
        height: 4em;
 }
 
@@ -366,6 +442,11 @@ textarea {
        float: right;
 }
 
+#sone .create-reply .select-sender button, #sone #post-message .select-sender button {
+       display: inline;
+       float: left;
+}
+
 #sone .sone {
        clear: both;
        background-color: #f0f0ff;
@@ -471,7 +552,7 @@ textarea {
        display: none;
 }
 
-#sone .profile-field button.confirm {
+#sone .profile-field button.confirm.edit {
        font-weight: bold;
        color: #080;
 }
@@ -492,6 +573,20 @@ textarea {
 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
        float: right;
        margin-top: -1ex;
+       position: relative;
+}
+
+#sone #search {
+       text-align: right;
+}
+
+#sone #search input[type=text] {
+       width: 35em;
+}
+
+#sone #sone-results + #sone #post-results {
+       clear: both;
+       padding-top: 1em;
 }
 
 #sone #tail {
@@ -580,3 +675,12 @@ textarea {
        font-weight: bold;
        color: red;
 }
+
+#sone .warning {
+       color: red;
+       font-style: italic;
+}
+
+#sone #sort-options {
+       margin-bottom: 1em;
+}