summaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authoraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-09 21:52:30 +0700
committeraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-09 21:52:30 +0700
commit6cfb9278c10f0fae4709930161f70f902cc1c17a (patch)
tree8da5e004504aef6d06925c0b6eec6fa24ddb92d8 /src/styles
parentd19c1cbfd7930bc1f8bd6e9317e5f31d1d5c9213 (diff)
New sidebar, sura.html improvements
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/style.css52
1 files changed, 49 insertions, 3 deletions
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