X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=c2cc31261632177af8b874b4f095171062634465;hp=323cb0ec4ad0e63613a1f9aca97e637e35c5004b;hb=8e4b0c79cea9367a42ecef1f2b610f675eb92a74;hpb=b882170cb07ab0ce4da5fd68e9effa311439c995 diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 323cb0e..c2cc312 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -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; } @@ -217,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 { @@ -232,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; @@ -247,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; @@ -277,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; @@ -357,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; } @@ -370,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; @@ -475,7 +552,7 @@ textarea { display: none; } -#sone .profile-field button.confirm { +#sone .profile-field button.confirm.edit { font-weight: bold; color: #080; } @@ -496,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 { @@ -584,3 +675,12 @@ textarea { font-weight: bold; color: red; } + +#sone .warning { + color: red; + font-style: italic; +} + +#sone #sort-options { + margin-bottom: 1em; +}