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

231 lines
4.1 KiB
CSS

.sectionMainContent {
padding-top: 20px;
/* padding: 1px; */
}
.userProfileTitle {
font-size: 15px;
color: #5589a9;
}
.gridBoxSection {
padding: 10px 15px;
background: #102d3c;
margin-bottom: 10px;
}
.userProfileMainSection {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.userProfile {
padding: 10px 0px;
background: linear-gradient(-135deg, #0e2a39, #0a181e);
margin-bottom: 10px;
width: 270px;
border: 1px solid #153549;
height: calc(100vh - 88px);
overflow: auto;
}
.userDetailsProfile {
padding: 10px 0px;
background: linear-gradient(50deg, #0e2a39, #0a181e);
margin-bottom: 10px;
width: calc(100% - 285px);
border: 1px solid #153549;
height: calc(100vh - 88px);
overflow: auto;
}
.userImageProfile {
width: 105px;
margin: 20px auto 0;
position: relative;
}
.userImageProfile img {
display: block;
width: 100%;
height: auto;
object-fit: cover;
border-radius: 50%;
}
.editProfileIcon {
display: block;
width: 28px;
height: auto;
margin-left: auto;
margin-top: -30px;
background: #0c212b;
padding: 6px;
z-index: 3;
position: relative;
border-radius: 50%;
border: 1px solid #153549;
}
.editProfileIcon svg {
display: block;
width: 100%;
height: auto;
fill: #5589a9;
cursor: pointer;
}
.userName {
text-align: center;
padding: 15px 0 10px;
font-size: 16px;
color: #5589a9;
}
.menuListProfile {
display: flex;
align-items: center;
cursor: pointer;
border: solid #153549;
border-width: 1px 0px 1px 0px;
padding: 10px;
}
.menuListProfileIcon {
display: block;
width: 22px;
height: 22px;
}
.menuListProfileIcon svg {
display: block;
width: 100%;
height: 100%;
fill: #bbbbbb;
}
.menuListProfileText {
color: #bbbbbb;
padding-left: 8px;
display: block;
}
.menuListProfile:hover {
background: linear-gradient(44deg, #0e2a39, #0a181e);
}
.menuListProfile:hover .menuListProfileText {
color: #5589a9;
}
.menuListProfile:hover svg {
fill: #5589a9;
}
.menuListProfile.menuListActiveProfile {
background: linear-gradient(44deg, #0e2a39, #0a181e);
}
.menuListProfile.menuListActiveProfile .menuListProfileText {
color: #5589a9;
}
.menuListProfile.menuListActiveProfile svg {
fill: #5589a9;
}
.add-user-section,
.password-section {
display: none;
}
/* Form */
.userDetailsProfileTitle {
font-size: 15px;
color: #5589a9;
padding: 5px 15px 15px;
}
form .user-details {
display: flex;
padding: 0 15px;
flex-wrap: wrap;
}
.input-box {
border: 1px solid #153549;
border-radius: 0px 10px;
width: 48%;
max-width: 490px;
margin: 9px;
}
.input-box span {
color: #3a81a5;
height: 35px;
line-height: 35px;
font-size: 14px;
}
.input-box input {
background-color: transparent;
border: none;
padding-left: 10px;
color: #ffffff;
line-height: 1;
height: 40px;
width: 100%;
}
.input-box select {
background-color: transparent;
border: none;
padding-left: 10px;
color: #ffffff;
line-height: 1;
height: 40px;
width: 100%;
outline: none;
}
.input-box select option {
background-color: #0c202a;
}
.input-box input:focus {
outline: none;
}
.input-box>div {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1rem;
border-bottom: 1px solid #153549;
}
form .button {
height: 45px;
margin-top: 1rem;
padding: 0 25px;
}
form .button input {
height: 100%;
padding: 0 20px;
color: #3a81a5;
font-size: 15px;
font-weight: 300;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
background: transparent;
border: 1px solid #153549;
border-radius: 0px 10px;
}
form .button input:hover {
background: linear-gradient(-135deg, #0e2a39, #0a181e);
}