Add context menu to reply avatars.
[Sone.git] / src / main / resources / static / css / sone.css
index 323cb0e..96ca0d3 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;
@@ -151,7 +190,7 @@ textarea {
        margin-bottom: 1em;
 }
 
-#sone #update-status label {
+#sone #update-status label, #sone #post-message label {
        display: none;
 }
 
@@ -167,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;
 }
@@ -190,6 +238,7 @@ textarea {
        padding: 1ex 0px;
        border-bottom: solid 1px #ccc;
        clear: both;
+       position: relative;
 }
 
 #sone .post.new {
@@ -202,6 +251,33 @@ textarea {
        border-bottom: none;
 }
 
+#sone .post .sone-menu {
+       position: absolute;
+       top: 0;
+       left: -1ex;
+       padding: 1ex 1ex;
+       margin: -1px -1px;
+       display: none;
+       background-color: rgb(255, 255, 224);
+       border: solid 1px rgb(0, 0, 0);
+       z-index: 1;
+}
+
+#sone .post .sone-menu .avatar {
+       position: absolute;
+       margin-right: 1ex;
+}
+
+#sone .post .sone-menu .inner-menu {
+       margin-left: 64px;
+       padding-left: 1ex;
+       min-height: 64px;
+}
+
+#sone .sone-menu .follow, #sone .sone-menu .unfollow {
+       cursor: pointer;
+}
+
 #sone .post > .avatar {
        position: absolute;
 }
@@ -217,11 +293,19 @@ textarea {
        font-weight: bold;
 }
 
-#sone .post .text {
+#sone .post .author-wot-link {
+       font-size: 90%;
+}
+
+#sone .post .text, #sone .post .raw-text {
        display: inline;
        white-space: pre-wrap;
 }
 
+#sone .post .text.hidden, #sone .post .raw-text.hidden {
+       display: none;
+}
+
 #sone .post .status-line {
        margin-top: 0.5ex;
        font-size: 85%;
@@ -232,6 +316,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;
@@ -247,11 +350,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;
@@ -277,7 +380,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;
@@ -317,13 +420,17 @@ textarea {
 }
 
 #sone .post .reply {
+       position: relative;
        clear: both;
        background-color: #f0f0ff;
-       font-size: 85%;
        margin: 1ex 0px;
        padding: 1ex;
 }
 
+#sone .post .reply .inner-part {
+       font-size: 85%;
+}
+
 #sone .post .reply.new {
        background-color: #ffffa0;
 }
@@ -357,12 +464,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;
 }
 
@@ -370,6 +477,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;
@@ -475,7 +587,7 @@ textarea {
        display: none;
 }
 
-#sone .profile-field button.confirm {
+#sone .profile-field button.confirm.edit {
        font-weight: bold;
        color: #080;
 }
@@ -496,6 +608,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 {
@@ -584,3 +710,8 @@ textarea {
        font-weight: bold;
        color: red;
 }
+
+#sone .warning {
+       color: red;
+       font-style: italic;
+}