Files
Backend-Api/ServiceHost/wwwroot/ClientTheme/css/site.css
2024-07-05 21:36:15 +03:30

476 lines
11 KiB
CSS

/*SIDEBAR PART START*/
body {
}
.bl {
display: block !important;
}
.navigation {
position: fixed;
top: 80px;
right: 10px;
bottom: 20px;
width: 65px;
background: #e5e5e5;
border-radius: 20px;
overflow: hidden;
box-shadow: 10px 7px 11px #bdbdbd;
z-index: 1;
}
.navigation ul {
position: absolute;
top: 0;
right: 4px;
height: 73vh;
overflow-y: auto;
overflow-x: clip;
direction: ltr;
scrollbar-width: thin;
scrollbar-color: #9fc6db transparent;
}
@media (min-width: 1500px){
.navigation ul {
right: 5px;
}
}
.navigation ul li {
position: relative;
list-style: none;
width: 100%;
border-radius: 35px;
direction: rtl;
}
.navigation ul::-webkit-scrollbar {
width: 5px;
}
.navigation ul::-webkit-scrollbar-track {
background-color: #eee;
border-radius: 10px;
}
.navigation ul::-webkit-scrollbar-thumb {
background-color: #9fc6db;
border-radius: 10px;
}
#toggle {
position: absolute;
bottom: 12px;
left: 10px;
width: 40px;
height: 40px;
background: #022230;
border-radius: 50%;
box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
#toggle:hover {
background: #022230b0;
}
#toggle::before {
content: '';
position: absolute;
width: 26px;
height: 3px;
border-radius: 3px;
background: white;
transform: translateY(-5px);
transition: 1s;
}
#toggle::after {
content: '';
position: absolute;
width: 26px;
height: 3px;
border-radius: 3px;
background: white;
transform: translateY(5px);
transition: 1s;
}
.navigation.active #toggle::before{
transform: translateY(0px) rotate(-407deg);
}
.navigation.active #toggle::after {
transform: translateY(0px) rotate(225deg);
}
.navigation ul li:hover, .activeTab {
background: #f6f6f6;
}
.navigation-right ul li:nth-child(1) {
top: 20px;
margin-bottom: 40px;
background: none;
border-top-left-radius: 30px;
border-bottom-left-radius: 30px;
}
.navigation ul li:hover:not(:first-child) a,
.navigation ul li:hover:not(:first-child) .title,
.activeTab a, .activeTab .title {
color: green !important;
}
.navigation-right ul li:not(:first-child):hover::before, .activeTab::before {
content: '';
position: absolute;
top: -20px;
width: 25px;
height: 20px;
background: transparent;
border-bottom-left-radius: 20px;
box-shadow: -11px 10px 0px 8px #f6f6f6;
}
.navigation-right ul li:not(:first-child):hover::after,
.activeTab::after {
content: '';
position: absolute;
bottom: -20px;
width: 25px;
height: 20px;
background: transparent;
border-top-left-radius: 20px;
box-shadow: -11px -10px 0px 8px #f6f6f6;
}
.navigation-right .activeTab::before, .navigation-right .activeTab::after,
#myWrapper .navigation-right ul li:not(:first-child):hover::before,
#myWrapper .navigation-right ul li:not(:first-child):hover::after {
left: 4px;
right: unset;
}
.navigation-right.active .activeTab::before, .navigation-right.active .activeTab::after {
left: 30px;
right: unset;
}
#myWrapper.enlarged .navigation-right.active .activeTab::before,
#myWrapper.enlarged .navigation-right.active .activeTab::after,
#myWrapper.enlarged .navigation-right.active ul li:not(:first-child):hover::before,
#myWrapper.enlarged .navigation-right.active ul li:not(:first-child):hover::after {
left: 4px;
right: unset;
}
.navigation-right.active .client-hr {
border-top: 1px solid #c2c2c2;
width: 70%;
display: block;
}
.navigation-right .client-hr {
border: 0;
}
.navigation ul li a {
position: relative;
display: block;
width: 10%;
display: flex;
text-decoration: none;
color: #1e88b3;
}
.navigation-right ul li:first-child a,
.navigation-right ul li:first-child a .title {
color: #022230;
}
#myWrapper.enlarged .navigation ul li a .icon {
position: relative;
display: block;
min-width: 60px;
height: 60px;
line-height: 67px;
text-align: center;
}
#myWrapper.enlarged .navigation ul li a .icon span {
display: none;
}
#myWrapper.enlarged .navigation ul li a .icon i {
font-size: 1.75em;
vertical-align: baseline;
}
.user-details {
background: inherit;
}
.open > .dropdown-menu {
display: flex;
flex-direction: column;
align-items: center;
padding: 0;
border-radius: 12px;
box-shadow: 1px 1px 9px 0px #979797;
}
.dropdown-buttons {
padding: 10px 0px;
border-bottom: 1px solid #cbc8c8;
width: 90%;
display: flex;
justify-content: flex-end;
}
.dropdown-buttons a i {
margin: 0 10px;
color: #606060;
font-size: 18px;
}
.caret {
margin-right: 6px;
border-top: 5px dashed;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
}
.dropdown-buttons a {
color: #202020;
display: flex;
flex-direction: row-reverse;
align-items: center;
}
.dropdown-buttons a:hover {
color: #337ab7;
}
#myWrapper.enlarged .navigation .title {
position: relative;
display: block;
padding: 0px 10px 0 48px;
height: 60px;
line-height: 60px;
text-align: center;
white-space: nowrap;
color: #136587;
font-weight: bold;
cursor: pointer;
}
#myWrapper .navigation ul li a .icon {
position: relative;
display: block;
min-width: 64px;
line-height: 44px;
text-align: center;
display: flex;
flex-direction: column;
z-index: 99;
}
#myWrapper .user-details{
display: none;
}
#myWrapper.enlarged .small-menu {
display: none;
}
#myWrapper.enlarged .user-details {
display: block;
}
#myWrapper .small-menu {
display: block;
}
#myWrapper .navigation ul li a .icon i {
font-size: 1.75em;
height: 17px;
line-height: 35px;
}
#myWrapper .navigation ul li a .icon span {
font-size: 0.8rem;
}
#myWrapper .navigation ul li a .title {
display: none;
}
.navigation-top {
width: auto;
height: 60px;
overflow-x: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
}
.navigation-top::-webkit-scrollbar {
display: none;
}
.navigation-top ul {
display: flex;
right: -35px;
top: 2px;
}
.navigation-top ul li {
display: block;
font-size: 1.2rem;
margin: 0 10px;
border-radius: 70px;
}
.navigation-top ul li a {
display: block;
}
.navigation-top ul li a .title {
line-height: 0px;
font-size: 0.9rem;
}
.navigation-top ul li a .icon {
line-height: 55px;
height: 45px;
}
.navigation-top ul li:hover::before {
content: '';
position: absolute;
top: 11px;
width: 48px;
height: 46px;
background: transparent;
border-bottom-left-radius: 64px;
box-shadow: -15px 20px 0px 15px #f6f6f6;
}
.navigation-top ul li:hover::after {
content: '';
position: absolute;
bottom: -20px;
width: 20px;
height: 20px;
background: transparent;
border-top-left-radius: 20px;
box-shadow: -11px -10px 0px 8px #f6f6f6;
}
.navigation.active {
width: 230px;
border-radius: 15px;
}
@media only screen and (max-width: 1300px) {
.navigation.active {
position: fixed;
transform: translate(12px, 60px);
inset: 20px;
background: #e5e5e5;
width: 0px;
border-radius: 20px;
overflow: hidden;
box-shadow: 15px 15px 11px #a1a1a1;
transition: 0.5s;
z-index: 99999;
}
#myWrapper.enlarged .navigation ul li a .icon {
position: relative;
display: block;
min-width: 52px;
line-height: 44px;
text-align: center;
display: flex;
flex-direction: column;
}
#myWrapper.enlarged .navigation ul li a .icon span {
font-size: 1rem;
}
#myWrapper.enlarged .navigation ul li a .title {
display: none;
}
}
@media only screen and (max-width: 600px){
.navigation{
position: fixed;
top: 77px;
height: 65px;
right: 0px;
bottom: 20px;
width: 100%;
display: flex;
flex-direction: row;
border-radius: 0;
box-shadow: none;
overflow: hidden;
overflow-x: scroll;
z-index: 99;
}
.navigation::-webkit-scrollbar {
width: 0px;
height: 0px;
}
.navigation ul{
position: absolute;
top: 0;
right: 0px;
height: 100%;
width: 100%;
overflow-y: clip;
overflow-x: auto;
direction: rtl;
display: flex;
padding: 0;
}
.navigation ul::-webkit-scrollbar {
width: 5px;
height: 5px;
}
#toggle {
display: none;
}
.navigation-right ul li:nth-child(1) {
top: 0px;
}
.navigation-right .activeTab::before,
#myWrapper .navigation-right ul li:not(:first-child):hover::before {
left: 64px;
right: unset;
}
.navigation-right ul li:not(:first-child):hover::before, .activeTab::before {
content: '';
position: absolute;
bottom: 0px;
width: 38px;
height: 30px;
background: transparent;
border-bottom-left-radius: 20px;
border-top-left-radius: 0px;
top: unset;
box-shadow: -20px 9px 0px 8px #f6f6f6;
}
.navigation-right .activeTab::after,
#myWrapper .navigation-right ul li:not(:first-child):hover::after {
left: -37px;
right: unset;
}
.navigation-right ul li:not(:first-child):hover::after, .activeTab::after {
content: '';
position: absolute;
bottom: 0px;
width: 38px;
height: 30px;
background: transparent;
border-bottom-left-radius: 20px;
border-top-left-radius: 0px;
transform: rotateY(181deg);
box-shadow: -20px 9px 0px 8px #f6f6f6;
}
}
/*SIDEBAR PART END*/
/*Main Page Start*/
.shortcut-container {
border-radius: 15px !important;
padding: 20px;
}
.shortcut {
padding: 40px 0px;
background: #ffffff;
color: #1e88b3;
margin: 20px 7px;
border-radius: 10px;
box-shadow: 0px -9px 0px 0px #fbb306, 0 0 8px 1px rgb(0 0 0 / 17%);
}
.shortcut a {
display: flex;
flex-direction: column;
}
.shortcut.disactivated {
background: grey;
}
.shortcut-icon {
font-size: 4rem !important;
}
.shortcut-text {
font-size: 1.2rem !important;
}
.pointer{
cursor:pointer;
}
@media only screen and (max-width: 650px){
.shortcut {
margin: 20px 5px;
}
}
/*Main Page End*/