Add basic profile field editing.
[Sone.git] / src / main / resources / static / css / sone.css
index 00d9e36..bbe6fd4 100644 (file)
@@ -20,6 +20,13 @@ textarea {
        height: 4em;
 }
 
+#sone button {
+       background-color: #ddd;
+       border-width: 1px;
+       color: #444;
+       padding: 0.5ex 1.5ex;
+}
+
 #sone form {
        margin: 0px;
 }
@@ -49,10 +56,30 @@ textarea {
        color: rgb(255, 172, 0);
 }
 
+#sone a.link {
+       cursor: pointer;
+}
+
 #sone a.internet {
        color: rgb(255, 0, 0);
 }
 
+#sone a.internet:before {
+       content: '⚠ ';
+}
+
+#sone a.freenet:before {
+       content: '» ';
+}
+
+#sone a.freenet-trusted {
+       color: rgb(0, 128, 0);
+}
+
+#sone a.freenet-trusted:before {
+       content: '★ ';
+}
+
 #sone a img {
        border: none;
 }
@@ -411,8 +438,26 @@ textarea {
        display: inline;
 }
 
-#sone #create-sone {
+#sone .profile-field {
+       margin-top: 1em;
+}
+
+#sone .profile-field .name {
+       display: inline;
+       font-weight: bold;
+}
+
+#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;
 }
 
 #sone #tail {
@@ -424,6 +469,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;
 }