This repository has been archived by the owner on Oct 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e97753
commit b3d5563
Showing
8 changed files
with
649 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,310 @@ | ||
/* Google Fonts Import Link */ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Poppins', sans-serif; | ||
} | ||
.sidebar{ | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
height: 100%; | ||
width: 280px; | ||
background: #11101d; | ||
z-index: 100; | ||
transition: all 0.5s ease; | ||
} | ||
.sidebar.close{ | ||
width: 78px; | ||
} | ||
.sidebar .logo-details{ | ||
height: 60px; | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
} | ||
.sidebar .logo-details i{ | ||
font-size: 30px; | ||
color: #fff; | ||
height: 50px; | ||
min-width: 78px; | ||
text-align: center; | ||
line-height: 50px; | ||
} | ||
.sidebar .logo-details .logo_name{ | ||
font-size: 22px; | ||
color: #fff; | ||
font-style: italic; | ||
font-weight: 600; | ||
transition: 0.3s ease; | ||
transition-delay: 0.1s; | ||
} | ||
.sidebar.close .logo-details .logo_name{ | ||
transition-delay: 0s; | ||
opacity: 0; | ||
pointer-events: none; | ||
} | ||
.sidebar .nav-links{ | ||
height: 100%; | ||
padding: 30px 0 150px 0; | ||
overflow: auto; | ||
} | ||
.sidebar.close .nav-links{ | ||
overflow: visible; | ||
} | ||
.sidebar .nav-links::-webkit-scrollbar{ | ||
display: none; | ||
} | ||
.sidebar .nav-links li{ | ||
position: relative; | ||
list-style: none; | ||
transition: all 0.4s ease; | ||
} | ||
.sidebar .nav-links li:hover{ | ||
background: #1d1b31; | ||
} | ||
.sidebar .nav-links li .iocn-link{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
.sidebar.close .nav-links li .iocn-link{ | ||
display: block | ||
} | ||
.sidebar .nav-links li i{ | ||
height: 50px; | ||
min-width: 78px; | ||
text-align: center; | ||
line-height: 50px; | ||
color: #fff; | ||
font-size: 20px; | ||
cursor: pointer; | ||
transition: all 0.3s ease; | ||
} | ||
.sidebar .nav-links li.showMenu i.arrow{ | ||
transform: rotate(-180deg); | ||
} | ||
.sidebar.close .nav-links i.arrow{ | ||
display: none; | ||
} | ||
.sidebar .nav-links li a{ | ||
display: flex; | ||
align-items: center; | ||
text-decoration: none; | ||
} | ||
.sidebar .nav-links li a .link_name{ | ||
font-size: 18px; | ||
font-weight: 400; | ||
font-style: italic; | ||
color: #fff; | ||
transition: all 0.4s ease; | ||
} | ||
.sidebar.close .nav-links li a .link_name{ | ||
opacity: 0; | ||
pointer-events: none; | ||
} | ||
.sidebar .nav-links li .sub-menu{ | ||
padding: 6px 6px 14px 80px; | ||
margin-top: -10px; | ||
background: #1d1b31; | ||
display: none; | ||
} | ||
.sidebar .nav-links li.showMenu .sub-menu{ | ||
display: block; | ||
} | ||
.sidebar .nav-links li .sub-menu a{ | ||
color: #fff; | ||
font-style: italic; | ||
font-size: 15px; | ||
padding: 5px 0; | ||
white-space: nowrap; | ||
opacity: 0.6; | ||
transition: all 0.3s ease; | ||
} | ||
.sidebar .nav-links li .sub-menu a:hover{ | ||
opacity: 1; | ||
} | ||
.sidebar.close .nav-links li .sub-menu{ | ||
position: absolute; | ||
left: 100%; | ||
top: -10px; | ||
margin-top: 0; | ||
padding: 10px 20px; | ||
border-radius: 0 6px 6px 0; | ||
opacity: 0; | ||
display: block; | ||
pointer-events: none; | ||
transition: 0s; | ||
} | ||
.sidebar.close .nav-links li:hover .sub-menu{ | ||
top: 0; | ||
opacity: 1; | ||
pointer-events: auto; | ||
transition: all 0.4s ease; | ||
} | ||
.sidebar .nav-links li .sub-menu .link_name{ | ||
display: none; | ||
} | ||
.sidebar.close .nav-links li .sub-menu .link_name{ | ||
font-size: 18px; | ||
opacity: 1; | ||
display: block; | ||
} | ||
.sidebar .nav-links li .sub-menu.blank{ | ||
opacity: 1; | ||
pointer-events: auto; | ||
padding: 3px 20px 6px 16px; | ||
opacity: 0; | ||
pointer-events: none; | ||
} | ||
.sidebar .nav-links li:hover .sub-menu.blank{ | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
.sidebar .profile-details{ | ||
position: fixed; | ||
bottom: 0px; | ||
width: 280px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-start; | ||
background-color: #1d1b31; | ||
padding: 4px 0; | ||
padding-left: 5px; | ||
transition: all 0.5s ease; | ||
} | ||
.sidebar.close .profile-details{ | ||
background: none; | ||
} | ||
.sidebar.close .profile-details{ | ||
width: 78px; | ||
} | ||
.sidebar .profile-details .profile-content{ | ||
display: flex; | ||
align-items: center; | ||
} | ||
.sidebar .profile-details img{ | ||
height: 52px; | ||
width: 52px; | ||
object-fit: cover; | ||
border-radius: 16px; | ||
margin: 0 14px 0 12px; | ||
background: #1d1b31; | ||
transition: all 0.5s ease; | ||
} | ||
.sidebar.close .profile-details img{ | ||
padding: 4px; | ||
} | ||
.sidebar .profile-details .profile_name, | ||
.sidebar .profile-details .job{ | ||
color: rgb(255, 255, 255); | ||
font-size: 18px; | ||
font-style: italic; | ||
padding-left: 5px; | ||
font-weight: 500; | ||
white-space: nowrap; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.sidebar .nav-links h1 i{ | ||
height: 50px; | ||
min-width: 78px; | ||
text-align: center; | ||
line-height: 50px; | ||
color: #fff; | ||
font-size: 27px; | ||
cursor: pointer; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
.sidebar .nav-links h1 i:hover{ | ||
color: aqua; | ||
} | ||
|
||
.home-section .home-content .bx-menu:hover{ | ||
color: aqua; | ||
} | ||
|
||
.sidebar .nav-links li .link_name:hover, | ||
.sidebar .nav-links li i:hover{ | ||
color: aqua; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.sidebar.close .profile-details i, | ||
.sidebar.close .profile-details .profile_name, | ||
.sidebar.close .profile-details .job{ | ||
display: none; | ||
} | ||
|
||
|
||
.sidebar .profile-details .job{ | ||
font-size: 13px; | ||
} | ||
.home-section{ | ||
position: relative; | ||
background: rgb(0, 0, 0); | ||
background-image: url("../image/image.jpg"); | ||
background-size: cover; | ||
height: 100vh; | ||
left: 280px; | ||
width: calc(100% - 280px); | ||
transition: all 0.5s ease; | ||
} | ||
.sidebar.close ~ .home-section{ | ||
left: 78px; | ||
width: calc(100% - 78px); | ||
} | ||
.home-section .home-content{ | ||
height: 60px; | ||
display: flex; | ||
align-items: center; | ||
} | ||
.home-section .home-content .bx-menu, | ||
.home-section .home-content .text{ | ||
color: #11101d; | ||
font-size: 35px; | ||
} | ||
.home-section .home-content .bx-menu{ | ||
margin: 0 15px; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
.home-section .home-content .text{ | ||
color: #fff; | ||
font-style: italic; | ||
font-size: 23px; | ||
font-weight: 450; | ||
} | ||
@media (max-width: 420px) { | ||
.sidebar.close .nav-links li .sub-menu{ | ||
display: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
.logout{ | ||
display: inline-flex; | ||
} | ||
|
||
.logout .icon{ | ||
margin: 0 20px; | ||
cursor: pointer; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
position: relative; | ||
z-index: 2; | ||
transition: all 0.4s cubic-bezier(0.68,-0.55,0.265,1.55); | ||
} | ||
|
||
.logout .icon span{ | ||
position: relative; | ||
height: 40px; | ||
width: 40px; | ||
display: block; | ||
background: #fff; | ||
text-align: center; | ||
border-radius: 50%; | ||
z-index: 2; | ||
box-shadow: 0 10px 10px rgba(0,0,0,0.1); | ||
} | ||
|
||
|
||
|
||
|
||
.logout .icon span i{ | ||
font-size: 27px; | ||
padding-right: 2px; | ||
line-height: 40px; | ||
padding-bottom: 15pc; | ||
} | ||
|
||
.logout .icon:hover span{ | ||
color: rgb(255, 255, 255); | ||
} | ||
|
||
.logout .icon .tooltip{ | ||
position: absolute; | ||
top: 0px; | ||
background: white; | ||
color: #fff; | ||
font-size: 20px; | ||
padding: 10px 18px; | ||
border-radius: 25px; | ||
box-shadow: 0 10px 10px rgba(0,0,0,0.1); | ||
opacity: 0; | ||
pointer-events: none; | ||
transition: all 0.4s cubic-bezier(0.68,-0.55,0.265,1.55); | ||
} | ||
|
||
.logout .icon:hover .tooltip{ | ||
top: -70px; | ||
opacity: 1; | ||
pointer-events: auto; | ||
} | ||
|
||
.logout .icon .tooltip:before{ | ||
position: absolute; | ||
content: ""; | ||
height: 15px; | ||
width: 15px; | ||
background: linear-gradient(to bottom right, #00CCFF, #0000Ff); change | ||
bottom: -8px; | ||
left: 50%; | ||
transform: translatex(-50%) rotate(45deg); | ||
} | ||
|
||
.logout .icon:hover span, | ||
.logout .icon:hover .tooltip{ | ||
text-shadow: 0px -1px 0px rgba(0,0,0,0.4); | ||
} | ||
|
||
.logout .icon:hover span, | ||
.logout .icon:hover .tooltip, | ||
.logout .icon:hover .tooltip:before{ | ||
background: linear-gradient(to bottom right, #00CCFF, #0000Ff); change | ||
} |
Oops, something went wrong.