X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dc572f022673aa80b64126371675a710b58e953d..64070cbb6224362b6bd5de6b2dfe67f80202272b:/wolnelektury/static/css/master.css

diff --git a/wolnelektury/static/css/master.css b/wolnelektury/static/css/master.css
index 98a96c0e9..adc1708c1 100644
--- a/wolnelektury/static/css/master.css
+++ b/wolnelektury/static/css/master.css
@@ -88,6 +88,36 @@ em {
     color: #777;
 }
 
+.lang-menu {
+	margin-right: 0.7em;
+	line-height: 24px;
+} 
+
+.lang-menu button {
+	color: blue;
+	border: none;
+	border-right: 1px solid gray;
+	-moz-border-radius: 2px;
+	background: inherit;	
+	cursor: pointer;
+	padding: 0.2em 0.5em;	
+	font-size: 10px;
+}
+
+.lang-menu button:hover {
+	color: blue;
+	text-decoration: underline;	
+}
+
+.lang-menu button.active {
+	color: black;
+	text-decoration: none;
+}
+
+.lang-menu button.last {
+	border-right: none;
+}
+
 /* ======================== */
 /* = Footer with sponsors = */
 /* ======================== */
@@ -116,6 +146,13 @@ em {
     margin: 0.5em 0;
     padding: 0.5em;
     background-color: rgb(132, 191, 42);
+}
+
+#searchContainer {
+    width: 100%;
+    min-height: 65px;
+    background-color: rgb(132, 191, 42);
+    padding: 0px 5px;
     -moz-border-radius: 4px;
     -webkit-border-radius: 4px;
     border-radius: 4px;
@@ -123,6 +160,11 @@ em {
     border-right: 0.15em solid #7B9C2D;
 }
 
+#searchContainer #search-form {
+    padding: 0;
+    margin: 0;
+}
+
 #search-form p {
     margin: 0em 0 0 0;
 }
@@ -165,13 +207,26 @@ em {
 }
 
 .ac_input {
-    width: 18em;
+    width: 300px;
+    border: 0;
 }
 
 p .ac_input {
     width: 28em;
 }
 
+#searchSubmit {
+    float: left; 
+    margin-top: 10px; 
+    height: 33px;
+}
+/* ================== */
+/* = Search matches = */
+/* ================== */
+
+.matches li:first-letter {
+    text-transform: uppercase;
+}
 
 /* ============= */
 /* = Tags list = */
@@ -354,6 +409,9 @@ div.shown-tags p, div.all-tags p {
     text-align: justify;
     overflow: hidden;
 }
+#description-short {
+	display:none;
+}
 
 #description .meta {
     margin: 0.5em;
@@ -726,18 +784,50 @@ div.shown-tags p, div.all-tags p {
 /* ======================== */
 /* = Alphabetic book list = */
 /* ======================== */
-#book-a-list #book-list {
-    -moz-column-width: 24em;
-    -webkit-column-width: 24em;
-    column-width: 24em;
+#book-list {
+   padding-left: 50px;
+}
+#book-list-nav {
+    position: absolute;
+    right: 50px;
+    width: 200px;
+    border-left: 1px #cfcfcf solid;
+    padding: 10px;
+    font-size: 1.2em;
 }
 
-#book-a-list #book-list ol {
+#book-list-nav ul {
+    list-style-type: none;
+    margin: 5px;
     padding: 0;
+}
+
+.book-list-show-index {
+    display: none;
+    margin: 0;
+    padding: 0;
+}
+
+
+#book-a-list #book-list ol {
+    padding-left: 1em;
     margin: 0.3em 0 1.2em 0;
     list-style: none;
 }
 
+#book-a-list #book-list h2 a {
+    color: black;
+}
+
+#book-list-up {
+    position: fixed;
+    bottom: 50px;
+    right: 50px;
+    border-left: 1px #cfcfcf solid;
+    padding: 10px;
+    background-color: white;    
+}
+
 #top-message {
     background-color: #2F4110;
     color: #FFF;
@@ -815,6 +905,14 @@ div.shown-tags p, div.all-tags p {
     display: block;
 }
 
+#document-list ul {
+  padding-left: 30px;
+  list-style: disc;
+}
+#document-list li li a {
+  width: 340px;
+}
+
 #document-list li a:hover, #document-list li a.active {
     text-decoration: none;
     background-color: #EEE;
@@ -878,3 +976,7 @@ div.shown-tags p, div.all-tags p {
 #createNewShelf {
 display: none;
 }
+
+.widget-code {
+    overflow: hidden;
+}