base_ui/assets/common/scss/components/my-profile.scss
2025-02-01 13:04:55 +03:30

215 lines
4.5 KiB
SCSS

.my-profile {
padding-left: 48px;
padding-bottom: 80px;
height: 100%;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
&__pic {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding-top: 45px;
padding-bottom: 45px;
border-bottom: 1px solid #f1f1f1;
position: relative;
.aks-file-upload-content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.aks-file-upload-preview {
height: unset !important;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.aks-file-upload-image img {
width: 72px;
height: 72px !important;
border-radius: 50%;
}
.aks-file-upload-p-header {
display: none;
}
label {
margin: 0;
}
.aks-file-upload-label {
background: #f7fafe;
border-radius: 50%;
width: 72px;
height: 72px;
border: 2px solid #f1f1f1;
position: relative;
color: rgba(0, 0, 0, 0);
overflow: hidden;
.profile__avatar {
img {
object-fit: cover;
width: 100%;
max-width: 100%;
height: 100%;
}
}
}
.aks-file-upload-label::before {
content: "+";
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: 100%;
position: absolute;
color: #bac4ce;
font-weight: bold;
font-size: 18px;
}
}
&__form {
padding-top: 24px;
// overflow: auto;
// height: 20em;
form {
overflow-y: auto;
height: auto;
max-height: 25em;
}
}
&__container {
height: 100%;
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0;
border: unset;
margin-right: 0;
margin-left: 0;
-ms-flex-wrap: nowrap;
flex-wrap: wrap;
&:not(:last-child) {
margin-bottom: 16px;
}
}
label {
width: 130px;
font-size: 14px;
color: #444444;
}
input:not([type="checkbox"]) {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
background: white;
border: 1px solid #f1f1f1;
border-radius: 10px;
height: 40px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding-right: 25px;
padding-left: 25px;
color: #444444;
// &::-webkit-input-placeholder {
// color: #eee;
// font-size: 14px;
// opacity: 1;
// }
// &:-ms-input-placeholder {
// color: #eee;
// font-size: 14px;
// opacity: 1;
// }
// &::-ms-input-placeholder {
// color: #eee;
// font-size: 14px;
// opacity: 1;
// }
// &::placeholder {
// color: #eee;
// font-size: 14px;
// opacity: 1;
// }
&:focus {
border-radius: 10px;
outline: unset;
border-color: #00b6e3;
}
}
.input-container {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
input,
textarea {
width: 100%;
}
}
textarea {
flex: 1;
background: white;
border: 1px solid #f1f1f1;
border-radius: 10px;
min-height: max-content;
// height: 155px;
display: flex;
align-items: center;
padding-right: 25px;
padding-left: 25px;
resize: none;
padding-top: 10px;
/* color: rgba(78, 78, 78, 0.3); */
height: 10em;
// &::-moz-placeholder {
// color: rgba(78, 78, 78, 0.3);
// font-size: 14px;
// opacity: 1;
// }
// &:-ms-input-placeholder {
// color: rgba(78, 78, 78, 0.3);
// font-size: 14px;
// opacity: 1;
// }
// &::placeholder {
// color: rgba(78, 78, 78, 0.3);
// font-size: 14px;
// opacity: 1;
// }
&:focus {
border-radius: 10px;
outline: unset;
border-color: #00b6e3;
}
}
}