X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f9a071b288cec64a55000125a63b62a3b233c3fd..891c65c58eef499c1ffc3a5fe690e1b6bff0f0db:/src/wolnelektury/static/2022/styles/local.scss diff --git a/src/wolnelektury/static/2022/styles/local.scss b/src/wolnelektury/static/2022/styles/local.scss index 5f6327550..aac3990f0 100644 --- a/src/wolnelektury/static/2022/styles/local.scss +++ b/src/wolnelektury/static/2022/styles/local.scss @@ -57,12 +57,16 @@ $teal: #007880; .sponsors-column-name { font-weight: $regular; @include font-size(18px); - line-height: 150%; + line-height: 115%; + height: 62px; + margin: 0; text-align: center; color: #474747; + display: flex; + align-items: center; } .sponsor-logos { - height: 120px; + height: 140px; overflow: hidden; a { margin-top: 20px; @@ -179,3 +183,54 @@ $teal: #007880; } } } + + +.filter-container { + position: absolute; + top: 15px; + bottom: 25px; + + display: flex; + align-items: center; + + .filter { + background: #FBC40F; + padding: 5px 10px; + margin-left: 5px; + border-radius: 15px; + } +} + +.with-filter { + padding: 20px 0 0; + position: relative; + + h2 { + margin-bottom: 0; + } +} +.with-filter .row div.filter-container { + background: white; + top: 0; + bottom: 100%; + opacity: 0; + overflow: hidden; + + transition: opacity .2s, all .3s; + +} +.with-filter.filters-enabled { + .row div.filter-container{ + top: 15px; + bottom: 5px; + opacity: 1; + } +} + +.l-books__input .filter-container { + top: 0; + bottom: 0; + right: 10px; + padding: 10px 0; + +}