| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @use '@growi/core-styles/scss/bootstrap/init' as bs;
- .page-comment-styles :global {
- .page-comments {
- h4 {
- margin-bottom: 1em;
- }
- }
- // reply button
- .btn-comment-reply {
- backdrop-filter: blur(10px);
- }
- // TODO: Refacotr Soft-coding
- .page-comment-button-skeleton {
- width: 70.0167px;
- height: 26.3833px;
- margin-top: 0.5em;
- border: none;
- }
- }
- // // Light mode color
- @include bs.color-mode(light) {
- .page-comment-styles :global {
- .btn-comment-reply {
- --bs-btn-color: #{( bs.$gray-600 )};
- --bs-btn-hover-color: #{( bs.$gray-700 )};
- --bs-btn-bg: #{rgba( bs.$gray-200, 0.3 )};
- --bs-btn-hover-bg: #{( bs.$gray-200 )};
- --bs-btn-border-color: #{( bs.$gray-200 )};
- --bs-btn-hover-border-color: #{( bs.$gray-300 )};
- }
- }
- }
- // dark mode color
- @include bs.color-mode(dark) {
- .page-comment-styles :global {
- .btn-comment-reply {
- --bs-btn-color: #{( bs.$gray-500 )};
- --bs-btn-hover-color: #{( bs.$gray-400 )};
- --bs-btn-bg: #{rgba( bs.$gray-800, 0.3 )};
- --bs-btn-hover-bg: #{( bs.$gray-800 )};
- --bs-btn-border-color: #{( bs.$gray-700 )};
- --bs-btn-hover-border-color: #{( bs.$gray-600 )};
- }
- }
- }
|