diff --git a/css/dashboard.css b/css/dashboard.css new file mode 100644 index 0000000..7812491 --- /dev/null +++ b/css/dashboard.css @@ -0,0 +1,42 @@ +.dashboard { + background: var(--panel-bg); + height: 100%; + z-index: 7; + /*border-radius: var(--rounded-radius);*/ + backdrop-filter: blur(var(--blur-strength)); + + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.rightDashboardBody { + margin: 10px; + height: auto; + width: 330px; +} + +#rightDashboard { + width: 0; + right: 0; + position: absolute; + overflow-x: hidden; + overflow-y: auto; + box-sizing: border-box; + scrollbar-width: none; + transition: width var(--transition-speed); +} + +/*Hide scrollbar*/ +#rightDashboard::-webkit-scrollbar { + display: none; +} + +.showRightDashboard { + width: 350px !important; + z-index: 7 !important; + scrollbar-width: none !important; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 7cae70c..7c7ec49 100644 --- a/css/style.css +++ b/css/style.css @@ -9,6 +9,7 @@ @import url('centered-box-overlay.css'); @import url('profile-image.css'); @import url('search-box.css'); +@import url('dashboard.css'); :root { /* Colors */ diff --git a/index.html b/index.html index aa7a86a..a044e25 100644 --- a/index.html +++ b/index.html @@ -55,11 +55,19 @@ +