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

594 lines
9.1 KiB
SCSS

// @include "./javad/var.scsss" ;
.shared-user {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.shared-user.detail-page__shared-user {
margin-left: 20px;
}
.shared-user__item {
margin-right: -6px;
}
.shared-user__pic {
width: 22px;
height: 22px;
border-radius: 50%;
overflow: hidden;
border: 2px solid #fff;
}
.shared-user__pic img {
width: 22px;
height: 22px;
margin-top: -2px;
min-width: 100%;
min-height: 100%;
}
.shared-user__no-pic {
border: 2px solid #fff;
color: white;
font-size: 10px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.user-comment__short {
position: relative;
}
.user-comment__short .cover-link {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 3;
}
.main-page__more-dots .icon {
-webkit-transform: unset;
transform: unset;
}
.detail-page__content {
position: relative;
}
.user-comment {
width:100%;
max-width: 300px;
position: absolute;
transform: translate(-110%,-30%);
// left: 56px;
left: 0;
top: 0
}
.user-comment.bottom-no-space {
transform: translate(-110%,0) !important;
top: unset !important;
bottom: 0 !important;
}
.user-comment__short {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
cursor: pointer;
}
.user-comment__pic {
-ms-flex-negative: 0;
flex-shrink: 0;
margin-left: 12px;
}
.user-comment__text {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.user-comment .shared-user__pic {
width: 22px;
padding: 0;
height: 22px;
}
.user-comment .shared-user__pic img {
margin-top: -2px;
width: 22px !important;
height: 22px !important;
}
.user-comment .shared-user__no-pic {
font-size: 10px;
padding-bottom: 2px;
}
.user-comment__open {
padding: 15px;
// width: 241px;
background-color: white;
border-radius: 10px;
border: 1px solid #bac4ce;
position: relative;
padding-bottom: 40px;
padding-top: 40px;
.content {
height: 100%;
max-height: 12em;
overflow-y: auto;
margin-bottom: 4.5em;
}
.context-menu-dropdown {
height: auto;
top: 0.5em;
left: 0.5em;
}
}
.user-comment__open .footer {
padding-right: 15px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 15px;
position: absolute;
bottom: 0;
right: 0;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
width: 100%;
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
border-top: 1px solid #f1f1f1;
}
.user-comment__open .footer .pic {
margin-right: 0;
margin-left: 12px;
-ms-flex-negative: 0;
flex-shrink: 0;
width: 20px;
height: 20px;
}
.user-comment__open .footer .shared-user__item {
margin-right: 0;
}
.user-comment__open .footer .shared-user__pic {
width: 20px;
border: none;
height: 20px;
}
.user-comment__open .footer textarea {
font-size: 12px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: none;
background-color: none;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
resize: none;
height: 50px;
border: none;
border-radius: 0.5rem;
padding: 5px;
&:empty {
// background-color: #e8fcff;
background-color: #f1f1f1;
}
&:focus {
border: 1px solid #ddd;
background-color: #fff;
}
}
// .user-comment__open .footer textarea::-webkit-input-placeholder {
// font-size: 12px;
// color: #959ca3;
// }
// .user-comment__open .footer textarea:-ms-input-placeholder {
// font-size: 12px;
// color: #959ca3;
// }
// .user-comment__open .footer textarea::-ms-input-placeholder {
// font-size: 12px;
// color: #959ca3;
// }
// .user-comment__open .footer textarea::placeholder {
// font-size: 12px;
// color: #959ca3;
// }
.shared-user {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
.detail-page__shared-user {
margin-left: 20px;
}
.shared-user__item {
margin-right: -6px;
}
.user-comment__open .color-6 {
background: #72c766;
}
.user-comment__open .color-7 {
background: #f3708f;
}
.user-comment__comment {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-bottom: 20px;
}
.user-comment__comment .pic {
-ms-flex-negative: 0;
flex-shrink: 0;
margin-left: 6px;
}
.user-comment__comment .pic .shared-user__item {
margin-right: 0;
}
.user-comment__comment .pic .shared-user__pic {
width: 20px;
border: none;
height: 20px;
}
.user-comment__comment .detail {
text-align: right;
flex:1;
}
.user-comment__comment .name {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 5px;
}
.user-comment__comment .date {
color: #92A2B2;
margin-right: 5px;
font-weight: normal;
}
.shared-user__item--num {
margin-right: -4px !important;
}
.shared-user__item--num .shared-user__pic {
border: 2px solid #b8ecff;
color: #00b6e3;
font-size: 12px !important;
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;
}
.detail-page__content {
padding-left: 0;
}
.comments .single-page .detail-page__header {
width: calc(100% - 56px);
}
.comments .main-page__content {
width: calc(100% - 56px);
right: unset;
left: 0;
}
.tox-tinymce {
border: 0px !important;
}
.tbold {
font-weight: bold;
}
.titalic {
font-style: italic;
}
.tunderline {
text-decoration: underline;
}
.tstrikethrough {
text-decoration: line-through;
}
h1 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 28px;
}
h2 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 26px;
font-weight: normal;
}
h3 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 24px;
font-weight: normal;
}
h4 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 22px;
font-weight: normal;
}
h5 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 20px;
font-weight: normal;
}
h6 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 18px;
font-weight: normal;
}
h7 {
line-height: 2em;
color: #444444;
text-align: right;
font-size: 18px;
font-weight: normal;
}
.trevayat {
color: #242887;
}
.tayah {
color: #006a0f;
}
.tsanad {
color: #780000;
}
.travi {
/* font-weight: bold;
color:#999900; */
}
.tmasoum {
/* font-weight: bold; */
color: #00a57b;
}
.tadrs {
color: #2276d2;
}
.thadith {
color: #242887;
}
.tbab {
color: #717179;
}
.tmadh {
font-family: Rafed Alaem, Sahel, B Mitra, Mitra, B Lotus, Lotus, Calibri,
Tahoma;
font-size: 18px;
}
.ttag {
/*display: inline-block;
border: 1px solid #2276d2;
border-radius: 5px;
padding: 2px 5px;
margin: 0 2px;*/
color: #2276d2;
}
.tterm {
color: #2276d2;
}
.tfoottext {
color: #92a2b2;
}
.tfootlist {
font-size: 12px;
}
.tfootId {
text-decoration: none;
}
.tfootindex {
color: #0064ff;
}
.tcomment {
padding-bottom: 5px;
border-bottom: 1px solid #ffd452;
line-height: 30px;
/*text-decoration: underline;
text-decoration-color: #FBBC05;*/
&:hover {
cursor: pointer;
border-bottom: 2px solid #fbbc05;
}
&.active {
background-color: #ffe9a9;
}
}
.tlink {
color: #fbbc05;
}
.tcitav {
color: #fbbc05;
}
.timage {
color: #fbbc05;
}
.tsecondry {
background: #ffde9e;
font-size: 18px;
font-weight: bold;
color: #000000;
text-decoration: none;
}
.tflag {
font-weight: bold;
}
.tnemayah {
font-weight: bold;
color: #dc143c;
}
.tnemayahkey {
font-weight: bold;
color: #dc143c;
}
.shared-user {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.shared-user.detail-page__shared-user {
margin-left: 20px;
}
.shared-user__item {
margin-right: -6px;
}
.shared-user__pic {
width: 26px;
height: 26px;
border-radius: 50%;
overflow: hidden;
border: 2px solid #fff;
}
.shared-user__pic img {
width: 26px;
height: 26px;
min-width: 100%;
min-height: 100%;
}
.shared-user__no-pic {
border: 2px solid #fff;
color: white;
font-size: 10px;
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;
}
.shared-user .color-6 {
background: #72c766;
}
.shared-user .color-7 {
background: #f3708f;
}
}
// /*# sourceMappingURL=comment.css.map */