X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a7603cfbfdf7c0b4a2210ef454cecf894c5e172..0c9e7e914bc548bee30add46fb6e4aadf6ffb16c:/apps/wolnelektury_core/static/scss/book_text/settings.scss?ds=sidebyside diff --git a/apps/wolnelektury_core/static/scss/book_text/settings.scss b/apps/wolnelektury_core/static/scss/book_text/settings.scss new file mode 100644 index 000000000..b8ac6a6df --- /dev/null +++ b/apps/wolnelektury_core/static/scss/book_text/settings.scss @@ -0,0 +1,35 @@ +@mixin switch-on { + background: #aaa; +} +@mixin switch-off { + background: none; +} +.settings-switch { + display: block; + padding: .5em; + margin: .5em; + border: 1px solid #aaa; + border-radius: 1em; +} + +nav #menu-settings { + display: none; +} + +#settings-annotations {@include switch-on;} +.no-annotations { + #settings-annotations {@include switch-off;} + .annotation {display: none;} +} + +#settings-themes {@include switch-on;} +.always-hide-themes { + #settings-themes {@include switch-off;} +} + +#settings-line-numbers {@include switch-on;} +.always-hide-line-numbers { + #settings-line-numbers {@include switch-off;} +} + +