From: Jan Szejko Date: Tue, 9 May 2017 13:35:29 +0000 (+0200) Subject: wider menu in book/picture viewers X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e9263ed76910227deccdce1469b4edda3b833be1 wider menu in book/picture viewers --- diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html index 5a6db1138..629cb5bce 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -11,8 +11,8 @@ {% block menu %}
  • - {{ book.pretty_title }} diff --git a/src/catalogue/templates/catalogue/viewer_base.html b/src/catalogue/templates/catalogue/viewer_base.html index 3a8372a72..6e86b5f63 100644 --- a/src/catalogue/templates/catalogue/viewer_base.html +++ b/src/catalogue/templates/catalogue/viewer_base.html @@ -23,7 +23,7 @@
  • - Wolne Lektury diff --git a/src/picture/templates/picture/picture_viewer.html b/src/picture/templates/picture/picture_viewer.html index 75be359bf..bfa87b75a 100644 --- a/src/picture/templates/picture/picture_viewer.html +++ b/src/picture/templates/picture/picture_viewer.html @@ -42,8 +42,8 @@
  • - {{ picture.pretty_title }} @@ -60,7 +60,7 @@
  • {% for sponsor in sponsors %} - {% thumbnail sponsor.logo "80x200" as logo %} + {% thumbnail sponsor.logo "120x300" as logo %} {{ sponsor.name }} {% endthumbnail %} {% endfor %} diff --git a/src/wolnelektury/static/scss/book_text/const.scss b/src/wolnelektury/static/scss/book_text/const.scss index 4c8ab8201..154c69911 100644 --- a/src/wolnelektury/static/scss/book_text/const.scss +++ b/src/wolnelektury/static/scss/book_text/const.scss @@ -1,4 +1,4 @@ -$W_MENU: 80px; +$W_MENU: 120px; $S_MENU: 600px; $W_BOOK_TEXT_MIN: 160px; diff --git a/src/wolnelektury/static/scss/book_text/menu.scss b/src/wolnelektury/static/scss/book_text/menu.scss index 26fcfedfe..140b56a4a 100644 --- a/src/wolnelektury/static/scss/book_text/menu.scss +++ b/src/wolnelektury/static/scss/book_text/menu.scss @@ -48,15 +48,15 @@ @extend %menu-toggle; height: 24px; &:before { - left: 25px; - right: 25px; + left: 45px; + right: 45px; } } #menu { display: none; - width: 80px; + width: $W_MENU; height: 100%; }