Added "delete" button to book banners if owner of viewed shelf is the current user...
[wolnelektury.git] / wolnelektury / media / css / master.css
index 5c8974e..59588a8 100644 (file)
@@ -37,9 +37,9 @@ h2 {
 }
 
 h3 {
-    font-size: 1.3em;
+    font-size: 1em;
     font-weight: bold;
-    margin: 0.2em 0 0 0;
+    margin: 0.2em 0 -1em 0;
     color: #333;
 }
 
@@ -132,7 +132,8 @@ em {
     margin: 0;
     padding: 0;
     list-style: none;
-    display: inline;
+    display: block;
+    float: left;
 }
 
 #search-form li.category, #search-form li.book-title {
@@ -144,6 +145,7 @@ em {
     -moz-border-radius: 3px;
     -webkit-border-radius: 3px;
     border-radius: 3px;
+    margin-right: 0.25em;
 }
 
 #search-form li.book-title {
@@ -191,7 +193,7 @@ p .ac_input {
 #tags-list {
     margin-top: 1em;
     padding: 1em;
-    background-color: #FBEF90;
+    background-color: #FBF9E7;
     -moz-border-radius: 4px;
     -webkit-border-radius: 4px;
     border-radius: 4px;
@@ -236,6 +238,27 @@ p .ac_input {
     float: left;
 }
 
+.all-tags {
+    display: none;
+}
+
+div.shown-tags p {
+    margin: -1em 0 1em 0;
+    text-align: right;
+}
+
+.show-all-tags {
+    text-decoration: underline;
+    padding-right: 1em;
+}
+
+.subcategories {
+    display: block;
+    padding-left: 2em;
+    padding-bottom: 0.5em;
+}
+
+
 /* ============== */
 /* = Propaganda = */
 /* ============== */
@@ -243,7 +266,7 @@ p .ac_input {
     float: right;
     width: 30%;
     margin: 0;
-    padding: 2em 1em 1em;
+    padding: 2em 0.5em 0.5em;
 }
 
 
@@ -283,6 +306,23 @@ p .ac_input {
     text-align: justify;
 }
 
+#description .meta {
+    margin: 0.5em;
+    width: 18em;
+    list-style: none;
+    float: right;
+}
+
+#description dt {
+    font-weight: bold;
+    display: inline;
+}
+
+#description dd {
+    margin: 0;
+    display: inline;
+}
+
 #toggle-description, #tagged-object-list .pagination {
     width: 100%;
     height: 1.5em;
@@ -300,6 +340,19 @@ p .ac_input {
     color: #999;
 }
 
+#download-shelf {
+    display: block;
+    width: 100%;
+    height: 1.5em;
+    background-color: #EEE;
+    margin-top: 0.5em;
+    padding: 0.5em 0;
+    -moz-border-radius: 4px;
+    -webkit-border-radius: 4px;
+    border-radius: 4px;
+    text-align: center;    
+}
+
 /* ============================ */
 /* = Books and fragments list = */
 /* ============================ */
@@ -343,17 +396,29 @@ p .ac_input {
     float: right;
 }
 
+.change-sets a {
+    padding: 0.2em;
+    margin: 0.3em;
+    border: 0.1em solid #EEE;
+    background-color: #F9F9F9;
+}
+
 .book-description {
     margin-left: 3.5em;
 }
 
-.book-thumbnail {
+.book-thumbnail, .book-parent-thumbnail {
     background: transparent url(/media/img/book.png) no-repeat 0 0;
     width: 3em;
     height: 3em;
     float: left;
 }
 
+.book-parent-thumbnail {
+    background: transparent url(/media/img/book-parent.png) no-repeat 0 0;
+}
+
+
 /* =============== */
 /* = Simple form = */
 /* =============== */
@@ -507,7 +572,44 @@ p .ac_input {
     background-color: #2F4110;
     color: #FFF;
     margin: 0 -2em;
-    padding: 0 2em;
+    padding: 0 2.5em;
     line-height: 2em;
 }
 
+#top-message a {
+    color: #AAA;
+}
+
+
+/* =========== */
+/* = Columns = */
+/* =========== */
+.column-left {
+    width: 37em;
+    float: left;
+    text-align: justify;
+    margin-top: 1em;
+}
+
+.column-right {
+    margin-left: 40em;
+    text-align: justify;
+    margin-top: 1em;
+}
+
+.see-more {
+    text-align: right;
+}
+
+.remove-from-shelf {
+    float: right;
+    padding: 0.2em;
+    margin: 0.3em;
+    color: #900;
+}
+
+.remove-from-shelf:active, .remove-from-shelf:hover {
+    color: #FFF;
+    background-color: #900;
+    text-decoration: none;
+}
\ No newline at end of file