| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- @use '../../styles/bootstrap/init' as bs;
- @use './_comment-inheritance';
- .comment-styles :global {
- .page-comment-writer {
- @include bs.media-breakpoint-down(xs) {
- height: 3.5em;
- }
- }
- .page-comment {
- position: relative;
- padding-top: 70px;
- margin-top: -70px;
- pointer-events: none;
- // user name
- .page-comment-creator {
- margin-top: -0.5em;
- margin-bottom: 0.5em;
- font-weight: bold;
- }
- // user icon
- .picture {
- @extend %picture;
- }
- // comment section
- .page-comment-main {
- @extend %comment-section;
- @include bs.media-breakpoint-up(sm) {
- margin-left: 4.5em;
- }
- @include bs.media-breakpoint-down(xs) {
- &:before {
- content: none;
- }
- }
- pointer-events: auto;
- // delete button
- .page-comment-control {
- position: absolute;
- top: 0;
- right: 0;
- visibility: hidden;
- }
- &:hover > .page-comment-control {
- visibility: visible;
- }
- }
- // comment body
- .page-comment-body {
- margin-bottom: 0.5em;
- word-wrap: break-word;
- }
- // older comments
- &.page-comment-older {
- }
- // newer comments
- &.page-comment-newer {
- opacity: 0.7;
- &:hover {
- opacity: 1;
- }
- }
- .page-comment-meta {
- display: flex;
- justify-content: flex-end;
- font-size: 0.9em;
- color: bs.$gray-400;
- }
- .page-comment-revision svg {
- width: 16px;
- height: 16px;
- }
- }
- }
|