| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- @use '@growi/core-styles/scss/bootstrap/init' as bs;
- %comment-section {
- position: relative;
- padding: 1em;
- // speech balloon
- &::before {
- position: absolute;
- top: 1.5em;
- left: -1em;
- display: block;
- width: 0;
- content: '';
- border: 1em solid transparent;
- border-left-width: 0;
- @include bs.media-breakpoint-down(xs) {
- top: 1em;
- }
- }
- }
- %user-picture {
- width: 1.2em;
- height: 1.2em;
- }
- $codemirror-default-height: 300px;
- // // Light mode color
- @include bs.color-mode(light) {
- %bg-comment {
- background-color: rgba( bs.$gray-200, 0.5 );
- backdrop-filter: blur(10px);
- border: 1px solid bs.$gray-200;
- }
- }
- // // Dark mode color
- @include bs.color-mode(dark) {
- %bg-comment {
- background-color: rgba( bs.$gray-800, 0.3 );
- backdrop-filter: blur(10px);
- border: 1px solid bs.$gray-700;
- }
- }
|