X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82c3054bcdeb000aa9782da80d644070797b5cbe..ae60b2a3949e96357477cc04f90fd0873cee8a92:/apps/wolnelektury_core/static/scss/book_text/themes.scss diff --git a/apps/wolnelektury_core/static/scss/book_text/themes.scss b/apps/wolnelektury_core/static/scss/book_text/themes.scss deleted file mode 100644 index 26ed14bdb..000000000 --- a/apps/wolnelektury_core/static/scss/book_text/themes.scss +++ /dev/null @@ -1,110 +0,0 @@ -nav #menu-themes { - display: none; -} - -/* Add a missing header. */ -#themes:before { - content: "Motywy"; -} - - -@mixin theme-hidden { - width: 20px; - height: 20px; - overflow: hidden; - margin-right: -20px; - border: none; - padding: 0; - - &:before { - content: "▲"; - color: #ccc; - text-align: center; - display: block; - } - - @include min-screen(240px) { - width: 30px; - margin-right: -30px; - &:before { - font-size: 2em; - } - } - - @include min-screen(320px) { - width: 44px; - margin-right: -44px; - &:before { - font-size: 2.5em; - } - } - - &.showing { - @include theme-showing; - } - -} - -@mixin theme-showing { - @include size(width, 120px); - height: auto; - overflow: visible; - @include size(margin-left, 30px); - @include size(font-size, 14.4px); - text-indent: 0; - - @include size(border-left, 1px solid #DDDDDD); - color: #777; - @include size(padding, 0 0 0 8px); - - &:before { - display: none; - } -} - -.theme-begin { - @include theme-hidden; - - font-size: .9em; - position: relative; - float: right; - margin-bottom: 8px; - clear: both; - line-height: 1.5em; - text-align: left; - z-index: 60; - - font-style: normal; - font-weight: normal; - font-variant: normal; - letter-spacing: 0; - text-transform: none; - text-decoration: none; - - @include min-screen(600px) { - @include theme-showing; - margin-right: -160px; - } - - &.showing { - @include theme-showing; - } -} - - -.always-hide-themes { - .theme-begin { - @include theme-hidden; - } -} - -.with-other-text { - .theme-begin { - @include theme-hidden; - - @include min-screen(1200px) { - @include theme-showing; - margin-right: -160px; - } - } -}