From 64da66626e7d9d809495c07d310969e44482d0f9 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 24 Nov 2019 21:40:10 +0100 Subject: Add right menu language switch --- source/css/theme.css | 29 +++++++++++++++++++++++++++++ source/css/theme.scss | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) (limited to 'source/css') diff --git a/source/css/theme.css b/source/css/theme.css index 357e3c89..dd0726d3 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -91,6 +91,14 @@ ul li:before { margin: 0; padding: 0; } +.lia:hover .left-lia::after { + content: "█▓▒░"; + white-space: pre; } + +.lia:hover .right-lia::after { + content: "░▒▓█"; + white-space: pre; } + /* subMenu design */ .subnav { position: fixed; @@ -188,6 +196,27 @@ ul li:before { font-size: 12px !important; white-space: normal; } +/* menu lang switcher */ +.lang_switch { + position: fixed; + right: 11.5%; + width: 83px; + text-align: center; } + +.lang_switch .current { + color: black; } + +.lang_switch .current.lia li { + background-color: #fff; } + +.lang_switch .current .left-lia::after { + content: " "; + white-space: pre; } + +.lang_switch .current .right-lia::after { + content: " "; + white-space: pre; } + /* end menus design */ .content-separator, .footer { width: 60%; diff --git a/source/css/theme.scss b/source/css/theme.scss index ef5c3dc2..5ae5af95 100644 --- a/source/css/theme.scss +++ b/source/css/theme.scss @@ -138,6 +138,16 @@ ul li:before { } } +.lia:hover .left-lia::after { + content: "█▓▒░"; + white-space: pre; +} + +.lia:hover .right-lia::after { + content: "░▒▓█"; + white-space: pre; +} + /* subMenu design */ .subnav { position: fixed; @@ -282,6 +292,33 @@ ul li:before { } } +/* menu lang switcher */ + +.lang_switch { + position: fixed; + right: 11.5%; + width: 83px; + text-align: center; +} + +.lang_switch .current { + color: black; +} + +.lang_switch .current.lia li { + background-color: #fff; +} + +.lang_switch .current .left-lia::after { + content: " "; + white-space: pre; +} + +.lang_switch .current .right-lia::after { + content: " "; + white-space: pre; +} + /* end menus design */ -- cgit v1.2.1