From 6cfb9278c10f0fae4709930161f70f902cc1c17a Mon Sep 17 00:00:00 2001 From: altaf-creator <64111012+altaf-creator@users.noreply.github.com> Date: Tue, 9 May 2023 21:52:30 +0700 Subject: New sidebar, sura.html improvements --- src/styles/style.css | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) (limited to 'src/styles') diff --git a/src/styles/style.css b/src/styles/style.css index 1279478..435bc6a 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -203,16 +203,53 @@ hr { background-color: rgba(0, 0, 0, 0.2) !important; } +.main-sidebar { + position: fixed; + padding-left: 12.5px; + padding-right: 12.5px; + height: 100%; + z-index: 3; +} + +.sidebar-buttons { + width: 35px; + height: 35px; + background-color: rgba(0, 0, 0, 0); + border-radius: 17.5px; + display: block; + display: grid; + box-sizing: border-box; + padding: 8px; + color: #000; + text-decoration: none; + transition: all 150ms; + margin-top: 12.5px; + text-align: center; +} + +.sidebar-buttons:hover { + background-color: rgba(0, 0, 0, 0.1); +} + +.sidebar-buttons:active { + background-color: rgba(0, 0, 0, 0.2) !important; +} + +.sidebar-buttons:focus { + background-color: rgba(0, 0, 0, 0.1) !important; +} + .sidebar { position: fixed; height: 100%; - width: 260px; + width: 230px; background-color: #F3F3F3; z-index: 1; + margin-left: 60px; } .main { - margin-left: 260px; + margin-left: 290px; background-color: #FFF; border-top-left-radius: 15px; z-index: 3; @@ -298,6 +335,7 @@ hr { z-index: 2; border-top-right-radius: 10px; background-color: #F3F3F3; + display: none; } .dropdown-button { @@ -393,7 +431,7 @@ hr { .main { border-top-left-radius: 0; - margin-left: 0; + margin-left: 0 !important; } #dropdown-alternate { @@ -407,4 +445,12 @@ hr { .window-button-container { display: none; } + + .sidebar-links { + display: block; + } + + .main-sidebar { + display: none; + } } \ No newline at end of file -- cgit v1.2.3