X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/75349c5b71dfbc94bc28319c86794b56da36a08b..85ec4a46392eb3cf34cc0300ed48a8eba976cbc6:/wolnelektury/static/css/master.css?ds=sidebyside diff --git a/wolnelektury/static/css/master.css b/wolnelektury/static/css/master.css index ba6e0aaaf..744082718 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 = */ /* ======================== */ @@ -133,11 +163,12 @@ em { } #search-form li { - margin: 0; + margin: 2px 0 0 5px; padding: 0; list-style: none; display: block; float: left; + /*margin-left: 5px;*/ } #search-form li.category, #search-form li.book-title { @@ -172,6 +203,14 @@ p .ac_input { } +/* ================== */ +/* = Search matches = */ +/* ================== */ + +.matches li:first-letter { + text-transform: uppercase; +} + /* ============= */ /* = Tags list = */ /* ============= */ @@ -351,6 +390,10 @@ div.shown-tags p, div.all-tags p { #description { margin-top: 0.5em; text-align: justify; + overflow: hidden; +} +#description-short { + display:none; } #description .meta { @@ -459,6 +502,36 @@ div.shown-tags p, div.all-tags p { color: #900; } +#toggle-share-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; + outline: none; +} +#toggle-share-shelf p { + margin:0; +} + +#share-shelf { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + border: 3px solid #EEE; + padding: 5px; + margin-top: -5px; +} +#share-shelf input { + width: 100%; +} + + /* ============================ */ /* = Books and fragments list = */ /* ============================ */ @@ -550,6 +623,7 @@ div.shown-tags p, div.all-tags p { .cuteform .error { color: #BF3024; + display: block; } /* ================ */ @@ -659,6 +733,37 @@ div.shown-tags p, div.all-tags p { text-decoration: none; } +#suggest-window { + position: absolute; + display: none; + width: 35em; + background-color: transparent; + margin-top: -0.5em; + margin-left: 1em; +} + +#suggest-window div.header { + background-color: #FFF; + border-right: 0.3em solid #DDD; + width: 4em; + right: 0; + left: auto; + padding: 0.5em 1em 0.5em 1em; + float: right; + text-align: center; +} + +#suggest-window div.target { + clear: both; + background-color: #FFF; + border-right: 0.3em solid #DDD; + border-bottom: 0.3em solid #DDD; + padding: 1em; +} +#suggest-form textarea { + width: 30em; +} + /* ======================== */ /* = Alphabetic book list = */ /* ======================== */ @@ -810,4 +915,7 @@ div.shown-tags p, div.all-tags p { font-size: 12px; color: #FFF; text-decoration: none; -} \ No newline at end of file +} +#createNewShelf { +display: none; +}