Restyle input fields and textareas for consistency.
[Sone.git] / src / main / resources / static / css / sone.css
index ab45d45..6ff18c2 100644 (file)
@@ -1,9 +1,22 @@
 /* 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;
+       border: solid 1px #ccc;
+       padding: 0.5ex;
+       height: 1.5em;
+       width: 50em;
+       outline: none;
+}
+
+textarea {
+       height: 4em;
 }
 
 #sone form {
 }
 
 #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;
        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;
 }
        border-bottom: solid 1px #ccc;
 }
 
+#sone .post:last-child {
+       padding: 1ex 0px;
+       border-bottom: none;
+}
+
 #sone .post .author {
        display: inline;
        font-weight: bold;
        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: ' ‧ ';
 }
 
 #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);
 }
 
        padding: 0.5ex;
 }
 
-#sone .post .create-reply.light button {
-       display: none;
+#sone .post .create-reply input[type=text] {
+       width: 50em;
+}
+
+#sone .post .create-reply textarea {
+       width: 50em;
+       height: 4em;
+}
+
+#sone .post .create-reply button {
+       float: right;
 }
 
 #sone .sone {
        display: inline;
 }
 
-#sone #tail .import-key {
+#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: 85%;
+       font-size: 75%;
        color: #888;
 }
 
+#sone #import-key .import-key {
+       border-top: none;
+}
+
+#sone #add-sone textarea {
+       height: 1.5em;
+}
+
+#sone #add-sone button {
+       position: absolute;
+}
 
 #sone h1 {
        font-family: inherit;
        font-weight: bold;
 }
 
-#sone input.status-input.default, input.reply-input.default {
+#sone input.status-input.default, #sone input.reply-input.default, #sone #add-sone input[name=request-uri].default {
        color: #888;
 }
+
+#sone input[type=text].key {
+       width: 130ex;;
+       font-size: 75%;
+}