X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=80565e5ac91f46da318f2e3144fba8982d537b6b;hb=d53b31b68dd0764585a9e110d3cae946bb189c80;hp=d1f85a2c26175c13c9f9defb1cafbf9c246ea87d;hpb=3ff1cdf09693a28719246a9a98a8b908e8c848f7;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index d1f85a2..80565e5 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -16,14 +16,30 @@ input[type=text], textarea { outline: none; } +input[type=text].short { + width: 25em; +} + textarea { height: 4em; } +#sone button { + background-color: #ddd; + border-width: 1px; + color: #444; + padding: 0.5ex 1.5ex; +} + #sone form { margin: 0px; } +#sone select { + color: #444; + padding: 0.5ex 1.5ex; +} + /* now for the real stuff. */ #sone { @@ -49,6 +65,10 @@ textarea { color: rgb(255, 172, 0); } +#sone a.link { + cursor: pointer; +} + #sone a.internet { color: rgb(255, 0, 0); } @@ -85,6 +105,10 @@ textarea { min-height: 3.5ex; } +#sone #notification-area .notification button { + margin-left: 1ex; +} + #sone #notification-area .notification .dismiss { float: right; } @@ -93,6 +117,10 @@ textarea { margin-left: 1ex; } +#sone #notification-area .notification .mark-as-read { + float: right; +} + #sone #plugin-warning { border: solid 0.5em red; padding: 0.5em; @@ -132,7 +160,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; } @@ -148,6 +180,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; } @@ -198,11 +239,15 @@ textarea { font-weight: bold; } -#sone .post .text { +#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%; @@ -213,6 +258,21 @@ textarea { color: rgb(28, 131, 191); } +#sone .show-source, #sone .show-reply-source { + 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; @@ -228,11 +288,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; @@ -241,6 +301,11 @@ textarea { margin: 0px; } +#sone .post .delete button.confirm { + color: red; + font-weight: bold; +} + #sone .post .trust button { color: rgb(0, 128, 0); } @@ -253,7 +318,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; @@ -333,12 +398,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; } @@ -346,6 +411,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; @@ -438,8 +508,53 @@ textarea { display: inline; } -#sone #create-sone { +#sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field { + margin-top: 1em; +} + +#sone .profile-field .name { + display: inline; + font-weight: bold; +} + +#sone .profile-field .name.hidden { + display: none; +} + +#sone .profile-field button.confirm.edit { + font-weight: bold; + color: #080; +} + +#sone .profile-field button.cancel { + font-weight: bold; + color: red; +} + +#sone .profile-field .value { + margin-left: 2em; +} + +#sone #edit-profile .profile-field .value { + margin-left: inherit; +} + +#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 .backlinks .backlink { + display: inline; +} + +#sone .album { + float: left; +} +#sone .backlinks .separator { + display: inline; } #sone #tail { @@ -451,6 +566,10 @@ textarea { color: #888; } +#sone #tail #version-information { + margin-top: 1em; +} + #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea { height: 1.5em; } @@ -521,6 +640,6 @@ textarea { } #sone .confirm { - font-weight: bold !important; - color: red !important; + font-weight: bold; + color: red; }