Make the view of a Sone a lot prettier.
[Sone.git] / src / main / resources / static / css / sone.css
index cc94ce0..bfa445a 100644 (file)
        color: rgb(28, 131, 191);
 }
 
-#sone #profile .picture {
+#sone #profile.online .picture {
        float: left;
+       background-image: url("../images/sone.png");
+       width: 80px;
+       height: 80px;
+}
+
+#sone #profile.offline .picture {
+       float: left;
+       background-image: url("../images/sone-offline.png");
+       width: 80px;
+       height: 80px;
+}
+
+#sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
+       display: none;
 }
 
 #sone #profile .edit-profile-link {
 
 #sone .post .reply {
        clear: both;
-       background-color: #eef;
+       background-color: #f0f0ff;
        font-size: 85%;
        margin: 1ex 0px;
        padding: 1ex;
 
 #sone .post .create-reply {
        clear: both;
-       background-color: #eef;
+       background-color: #f0f0ff;
        padding: 0.5ex;
 }
 
        display: none;
 }
 
-#sone .sone .profile-link {
-       display: inline;
-}
-
-#sone .sone .request-uri {
-       display: inline;
+#sone .sone {
+       clear: both;
+       background-color: #f0f0ff;
+       border: 1px solid #ccc;
+       margin-bottom: 0.5ex;
+       padding: 0.5ex;
 }
 
-#sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker {
-       display: inline;
+#sone .sone .profile-link {
+       display: block;
 }
 
-#sone .sone.idle .download-marker, #sone .sone.idle .insert-marker {
-       display: none;
+#sone .sone .short-request-uri {
+       clear: both;
+       float: right;
 }
 
-#sone .sone.downloading .insert-marker, #sone .sone.downloading .idle-marker {
+#sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
        display: none;
 }
 
-#sone .sone.inserting .download-marker, #sone .sone.inserting .idle-marker {
-       display: none;
+#sone .sone.unknown .unknown-marker, #sone .sone.idle .idle-marker, #sone .sone.downloading .download-marker, #sone .sone.inserting .insert-marker, #sone .sone.modified .modified-marker {
+       display: inline;
+       float: right;
+       border: solid 1px #ccc;
+       border-right: none;
+       border-top: none;
+       padding: 0 0.5ex;
+       position: relative;
+       right: -0.5ex;
+       top: -0.5ex
 }
 
-#sone .sone .modified-marker {
-       display: none;
+#sone .sone .last-update {
+       float: right;
+       display: inline;
 }
 
-#sone .sone.modified .modified-marker {
-       display: inline;
+#sone .sone .modified-marker, #sone .sone .unknown-marker {
+       color: red;
+       font-weight: bold;
 }
 
-#sone .sone .last-update {
+#sone .sone form {
        display: inline;
+       border: solid 1px #ccc;
+       border-left: none;
+       border-bottom: none;
+       padding: 0 0.5ex;
+       position: relative;
+       left: -0.5ex;
+       bottom: -0.5ex
 }
 
 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
        color: rgb(255, 172, 0);
 }
 
-#sone .sone form {
+#sone .sone .spacer {
        display: inline;
 }
 
+
 #sone h1 {
        font-family: inherit;
        font-size: 200%;