web_defender/static/navbar/css/navbar.css
2024-12-09 13:43:16 +05:30

648 lines
11 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
* {
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
border-radius: 10px;
}
/* Hiding scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar-track {
background: #153549;
width: 4px;
height: 4px;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #316180;
width: 4px;
height: 4px;
border-radius: 10px;
}
body {
background: linear-gradient(-135deg, #0e2a39, #0a181e);
}
.sidebar {
background: linear-gradient(-135deg, #0e2a39, #0a181e);
border: 1px solid #153549;
width: 225px;
height: calc(100vh - 102px);
transition: all 0.5s ease;
overflow: auto;
padding: 10px;
box-sizing: border-box;
}
.right-sidebar {
width: 237px;
/* height: calc(100vh - 120px); */
transition: all 0.5s ease;
/* overflow: auto; */
box-sizing: border-box;
}
.sidebar-section-box {
width: 225px;
transition: all 0.5s ease;
overflow: auto;
padding: 10px;
box-sizing: border-box;
background: #102d3c;
margin-bottom: 15px;
}
.sidebar .profile {
margin-bottom: 10px;
/* text-align: center; */
}
.sidebar .profile img {
display: block;
width: 100px;
height: 100px;
border-radius: 50%;
margin: 0 auto;
}
.sidebar .profile h3 {
font-size: 14px;
color: #ffffff;
padding-bottom: 13px;
}
.sidebar .profile p {
color: #cef0fd;
font-size: 14px;
}
.sidebar ul li a {
padding: 6px 10px;
color: #f1eded;
font-size: 13px;
position: relative;
display: flex;
align-items: center;
background: transparent;
margin-bottom: 2px;
justify-content: space-between;
border-right: 2px solid transparent;
}
.sidebar ul li a p {
display: flex;
align-items: center;
}
.sidebar ul li a p .icon {
width: 10px;
height: 10px;
display: block;
border: 2px solid #153549;
margin-right: 7px;
}
.sidebar ul li a p .item {
font-size: 14px;
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
color: #0c7db1;
background: linear-gradient(-90deg, #0e2a39 -10%, #0a181e 100%);
border-right: 2px solid rgb(5, 68, 104);
}
.sidebar ul li a:hover p .icon,
.sidebar ul li a.active p .icon {
background: #153549;
}
.section {
width: 100%;
transition: all 0.5s ease;
height: 100%;
}
.sectionMainContent {
display: flex;
align-items: flex-start;
padding: 0 25px 10px;
}
.wrapper {
position: relative;
z-index: 22;
}
.wrapper .section .hamburger a {
font-size: 28px;
color: #f4fbff;
}
.wrapper .section .hamburger a:hover {
color: #a2ecff;
}
.wrapper .section .container-navbar {
/* margin: 30px; */
background: linear-gradient(0deg, #0e2a39, #0a181e);
padding: 50px;
line-height: 28px;
overflow-y: auto;
border: 1px solid #153549;
}
.container-navbar {
width: calc(100% - 450px);
/* height: calc(100vh - 120px); */
transition: all 0.5s ease;
/* overflow: auto; */
box-sizing: border-box;
margin: 0px 18px;
}
.company-dashboard-title {
font-size: 15px;
color: #5589a9;
padding: 25px 30px 10px;
}
.searchSection {
display: flex;
align-items: center;
margin: 10px 25px;
}
.searchIcon {
color: #ffffff;
z-index: 1;
font-size: 15px;
font-weight: normal;
position: relative;
left: 11px;
top: 2px;
}
.searchInput {
outline: none;
padding: 9px 9px 9px 35px;
background: #0e2a39;
border: 1px solid #153549;
width: calc(100% - 0px);
box-sizing: border-box;
color: #ffffff;
font-size: 15px;
border-radius: 3px;
margin-left: -15px;
z-index: 0;
}
.GridTitle {
font-size: 17px;
color: #ffffff;
padding-bottom: 15px;
}
.SeverityTLPFlex {
display: flex;
justify-content: space-between;
padding-bottom: 15px;
}
.SeverityText,
.TLPText {
width: 90px;
color: #bbbbbb;
}
.SeverityText p:first-child,
.TLPText p:first-child {
padding-bottom: 10px;
}
.SeverityText p:last-child {
width: 80px;
padding: 5px;
background: #0c212b;
text-align: center;
font-size: 11px;
color: #5589a9;
}
.TLPText p:last-child {
width: 60px;
padding: 5px;
background: #0c212b;
text-align: center;
font-size: 11px;
color: #ffffff;
}
.subDetails {
color: #bbbbbb;
padding-bottom: 5px;
}
.detailsDescription {
padding-bottom: 15px;
}
.subDetails span {
color: #ffffff;
}
.sidebar-section-box .signalIcon {
display: block;
width: 30px;
height: auto;
}
.sidebar-section-box .alertIcon {
display: block;
width: 30px;
height: auto;
}
.sidebar-section-box .alertIcon path {
fill: green;
}
.sidebar-section-box .alertAttackIcon path {
fill: red;
}
.sidebar-section-box .signalIcon path {
animation: ipMapPin 10s infinite;
animation-delay: 3s;
}
.MyRelatedText {
font-size: 17px;
padding: 10px 0;
color: #bbbbbb;
}
.highText {
color: #5a8cab;
padding-bottom: 6px;
}
.IncidentsText {
font-size: 36px;
color: #fff;
}
.IncidentsText span {
font-size: 12px;
margin-left: -15px;
}
.daysCountMonth {
color: #bbbbbb;
padding-top: 5px;
padding-bottom: 10px;
}
.signalMapIcon {
display: block;
width: 100%;
}
.sidebar-section-box svg {
display: block;
width: 100%;
height: auto;
}
button {
outline: none;
}
.mainSection {
display: flex;
}
.mainSidebar {
height: 100vh;
width: 75px;
background: linear-gradient(-135deg, #0e2a39, #0a181e);
border: 1px solid #153549;
position: fixed;
z-index: 9999;
}
.subsection {
width: calc(100% - 75px);
position: relative;
overflow: auto;
margin-left: auto;
}
.menuMainList {
width: 74px;
height: 75px;
border-bottom: 1px solid #153549;
padding-top: 16px;
display: block;
}
.menuMainList .menuIconImage {
width: 18px;
height: 18px;
display: block;
margin: 0 auto;
}
.menuMainList .menuIconImage:nth-child(2) {
display: none;
}
.menuMainList span {
text-align: center;
display: block;
padding-top: 7px;
color: #f1eded;
font-size: 11px;
}
.menuMainList:hover {
background: linear-gradient(0deg, #0e2a39 -10%, #0a181e 100%);
}
.menuMainList:hover span {
color: #0c7db1;
}
.menuMainList:hover .menuIconImage:first-child {
display: none;
}
.menuMainList:hover .menuIconImage:nth-child(2) {
display: block;
}
.menuMainList.active {
background: linear-gradient(0deg, #0e2a39 -10%, #0a181e 100%);
}
.menuMainList.active span {
color: #0c7db1;
}
.menuMainList.active .menuIconImage:first-child {
display: none;
}
.menuMainList.active .menuIconImage:nth-child(2) {
display: block;
}
.mainMenuHeaderSection {
height: calc(100vh - 120px);
overflow: hidden auto;
}
.mainMenuHeaderSection::-webkit-scrollbar {
width: 2px;
height: 2px;
border-radius: 10px;
}
.mainMenuHeaderSection::-webkit-scrollbar-thumb {
background: #316180;
width: 2px;
height: 2px;
border-radius: 10px;
}
.right-sidebar::-webkit-scrollbar {
width: 4px;
height: 0px;
border-radius: 10px;
}
.right-sidebar::-webkit-scrollbar-thumb {
background: #316180;
width: 4px;
height: 0px;
border-radius: 10px;
}
.userProfileSection {
background: #102d3c;
margin: 4px;
border-radius: 5px;
padding: 6px;
cursor: pointer;
border: 1px solid transparent;
height: 68px;
width: 65px;
display: block;
}
.userProfileSection:hover {
border-color: #0c7db1;
}
.userProfileSection img {
display: block;
width: 35px;
height: auto;
border-radius: 5px;
margin: 0 auto 0;
}
.userProfileSection p {
text-align: center;
display: block;
padding-top: 7px;
color: #f1eded;
font-size: 11px;
white-space: nowrap;
width: 55px;
text-overflow: ellipsis;
overflow: hidden;
}
.profileSettingMenuList {
display: none;
position: absolute;
background: #102d3c;
width: 100px;
bottom: 15px;
left: 84px;
border-radius: 5px;
}
.profileSettingMenuList::after {
content: "";
position: absolute;
left: -80px;
bottom: 0;
background: transparent;
width: 210px;
height: 100%;
min-height: 70px;
z-index: 1;
}
.userProfileSection:hover .profileSettingMenuList {
display: block;
}
.profileMenulist {
padding: 5px 10px;
margin: 3px 7px;
border-radius: 4px;
color: #ffffff;
display: flex;
align-items: center;
position: relative;
z-index: 3;
}
.profileMenulist .icon {
width: 10px;
height: 10px;
display: block;
border: 2px solid #153549;
margin-right: 7px;
}
.profileMenulist:hover {
color: #5589a9;
}
.profileMenulist:hover .icon {
background: #5589a9;
border: 2px solid #5589a9;
}
.ioc-status-Section {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 10px;
}
.ioc-status-Section p {
padding-bottom: 0;
}
.arrowIconSectionIOC {
display: flex;
align-items: center;
}
.arrowIconSectionIOC span {
display: block;
width: 20px;
height: 20px;
margin-left: 8px;
cursor: pointer;
opacity: 0.8;
}
.arrowIconSectionIOC span:hover {
opacity: 1;
}
.mapSectionMove {
display: flex;
position: relative;
min-height: 320px;
max-height: 600px;
}
.sidebar-section-box::-webkit-scrollbar {
height: 0;
width: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #0c212c inset !important;
-webkit-text-fill-color: #ffffff !important;
border-radius: 0px 0px 0px 8px;
}
.topMapSection {
position: relative;
width: calc(100% - 50px);
height: 450px;
margin: 0px 25px;
box-sizing: border-box;
}
#mapTop .mapboxgl-canvas-container .mapboxgl-marker svg circle {
animation: ipMapPin 10s infinite;
}
@keyframes ipMapPin {
0% {
fill: green;
}
25% {
fill: orange;
}
50% {
fill: red;
}
75% {
fill: orange;
}
100% {
fill: green;
}
}
.shadow-button {
outline: none;
padding: 5px 13px;
border-radius: 5px;
border: none;
color: #ffffff;
background: green;
cursor: pointer;
display: none;
}
#RemoveMap {
display: none;
}
.database-restore{
outline: none;
padding: 5px 13px;
border-radius: 5px;
border: none;
color: #ffffff;
background: green;
cursor: pointer;
/* display: none; */
}
.GridTitle-mysql {
font-size: 17px;
color: #da1313;
padding-bottom: 15px;
}