X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=1d426edcc2f614ce622afd4d5c184055d7fa43b8;hb=a591b90dd311bf642e286a5b7b2d9402d3e495aa;hp=32fa4c3cf947525a38d893312e93ecb48ea603b0;hpb=2c4f6a48322964b828f0fd9063af86274dc80d75;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 32fa4c3..1d426ed 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -1,9 +1,23 @@ /* Sone Main CSS File */ /* first, override some fproxy rules. */ -#sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form - { - font-size: inherit; +#sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form, input[type=text], textarea { + font: inherit; +} + +input[type=text], textarea { + font-size: 90%; + margin: 0.5ex; + margin-left: 0; + border: solid 1px #ccc; + padding: 0.5ex; + height: 1.5em; + width: 50em; + outline: none; +} + +textarea { + height: 4em; } #sone form { @@ -42,14 +56,14 @@ } #sone #profile.online .picture { - float: left; + position: absolute; background-image: url("../images/sone.png"); width: 80px; height: 80px; } #sone #profile.offline .picture { - float: left; + position: absolute; background-image: url("../images/sone-offline.png"); width: 80px; height: 80px; @@ -63,6 +77,28 @@ font-size: 85%; } +#sone #home-sone { + margin-top: 1ex; + margin-left: 80px; + padding-left: 1ex; +} + +#sone #update-status label { + display: none; +} + +#sone #update-status input[type=text] { + width: 45em; +} + +#sone #update-status textarea { + width: 45em; +} + +#sone #update-status button { + float: right; +} + #sone .nice-name { font-weight: bold; } @@ -76,6 +112,11 @@ border-bottom: solid 1px #ccc; } +#sone .post:last-child { + padding: 1ex 0px; + border-bottom: none; +} + #sone .post .author { display: inline; font-weight: bold; @@ -101,6 +142,23 @@ display: inline; } +#sone .post .delete button { + font: inherit; + border: 0px; + background: none; + padding: 0px; + color: rgb(28, 131, 191); +} + +#sone .post .delete button:hover { + font: inherit; + border: 0px; + background: none; + padding: 0px; + color: rgb(255, 172, 0); + cursor: pointer; +} + #sone .post .delete:before { content: ' ‧ '; } @@ -127,11 +185,15 @@ #sone .post .show-reply-form { display: inline; +} + +#sone .post .show-reply-form span { color: rgb(28, 131, 191); cursor: pointer; + font: inherit; } -#sone .post .show-reply-form:hover { +#sone .post .show-reply-form span:hover { color: rgb(255, 172, 0); } @@ -154,8 +216,19 @@ padding: 0.5ex; } -#sone .post .create-reply.light button { - display: none; +#sone .post .create-reply input[type=text] { + margin-left: 0.5ex; + width: 50em; +} + +#sone .post .create-reply textarea { + margin-left: 0.5ex; + width: 50em; + height: 4em; +} + +#sone .post .create-reply button { + float: right; } #sone .sone { @@ -230,6 +303,30 @@ display: inline; } +#sone #create-sone { + +} + +#sone #tail .import-key, #sone #import-key .import-key { + margin-top: 1em; + border-top: solid 1px #ccc; + padding-top: 1em; + text-align: center; + font-size: 75%; + color: #888; +} + +#sone #import-key .import-key { + border-top: none; +} + +#sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea { + height: 1.5em; +} + +#sone #add-sone button { + position: absolute; +} #sone h1 { font-family: inherit; @@ -242,6 +339,11 @@ font-weight: bold; } -#sone input.status-input.default, input.reply-input.default { +#sone input.default { color: #888; } + +#sone input[type=text].key { + width: 130ex;; + font-size: 75%; +}