X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/wolnelektury/static/scss/book_text/settings.scss?ds=sidebyside diff --git a/src/wolnelektury/static/scss/book_text/settings.scss b/src/wolnelektury/static/scss/book_text/settings.scss new file mode 100644 index 000000000..edcb8bfdb --- /dev/null +++ b/src/wolnelektury/static/scss/book_text/settings.scss @@ -0,0 +1,47 @@ +@mixin switch-on { + background: #aaa; + border-top-color: #888; + border-left-color: #888; + border-bottom-color: #ddd; + border-right-color: #ddd; + + border-width: 2px; + border-style: solid; + +} +@mixin switch-off { + background: none; + border-color: #aaa; +} +.settings-switch { + display: block; + padding: .5em; + margin: .5em; + //border: 1px solid #aaa; + border-radius: 1em; + color: black; + border-width: 2px; + border-style: solid; +} + +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;} +} + +