_layout.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. body {
  2. overflow-y: scroll !important;
  3. }
  4. .grw-logo {
  5. svg {
  6. width: $grw-logo-width;
  7. height: $grw-navbar-height;
  8. padding: ($grw-logo-width - $grw-logomark-width) / 2;
  9. }
  10. }
  11. .confidential {
  12. font-weight: bold;
  13. }
  14. .grw-modal-head {
  15. font-size: 1em;
  16. border-bottom: 1px solid $gray-500;
  17. }
  18. // padding settings for GrowiNavbarBottom
  19. .page-wrapper {
  20. padding-bottom: $grw-navbar-bottom-height;
  21. @include media-breakpoint-up(md) {
  22. padding-bottom: unset;
  23. }
  24. }
  25. .main {
  26. margin-top: 1rem;
  27. @include media-breakpoint-up(md) {
  28. margin-top: 3rem;
  29. }
  30. }
  31. .top-of-table-contents {
  32. line-height: 1.25;
  33. border-bottom: 1px solid transparent;
  34. .user-list-content {
  35. direction: rtl;
  36. .liker-user-count,
  37. .seen-user-count {
  38. font-size: 12px;
  39. font-weight: bolder;
  40. }
  41. }
  42. .cls-1 {
  43. isolation: isolate;
  44. }
  45. }
  46. .revision-toc {
  47. position: sticky;
  48. // growisubnavigation + grw-navbar-boder
  49. top: calc(100px + 4px);
  50. width: 250px;
  51. margin-top: 5px;
  52. .revision-toc-content {
  53. padding: 0;
  54. }
  55. }
  56. .grw-fab {
  57. position: fixed;
  58. right: 1.5rem;
  59. bottom: 3rem;
  60. z-index: $zindex-fixed;
  61. transition: all 200ms linear;
  62. .btn-create-page {
  63. width: 60px;
  64. height: 60px;
  65. font-size: 24px;
  66. box-shadow: 2px 3px 6px #0000005d;
  67. svg {
  68. width: 28px;
  69. height: 28px;
  70. }
  71. }
  72. .btn-scroll-to-top {
  73. width: 40px;
  74. height: 40px;
  75. opacity: 0.4;
  76. svg {
  77. width: 18px;
  78. height: 18px;
  79. }
  80. }
  81. }
  82. // printable style
  83. @media print {
  84. padding: 30px;
  85. a:after {
  86. display: none !important;
  87. }
  88. .main {
  89. header {
  90. border-bottom: solid 1px $secondary;
  91. h1 {
  92. font-size: 2em;
  93. color: black;
  94. }
  95. }
  96. .row {
  97. display: block !important;
  98. }
  99. .revision-toc {
  100. float: none;
  101. max-width: 100%;
  102. margin-bottom: 20px;
  103. font-size: 0.9em;
  104. border: solid 1px $gray-400;
  105. .revision-toc-head {
  106. display: inline-block;
  107. float: none;
  108. }
  109. .revision-toc-content.collapse {
  110. display: block;
  111. height: auto;
  112. }
  113. }
  114. .meta {
  115. margin-top: 32px;
  116. color: $secondary;
  117. border-top: solid 1px $gray-300;
  118. }
  119. }
  120. }
  121. .system-version {
  122. position: fixed;
  123. right: 0.5em;
  124. bottom: 0;
  125. opacity: 0.6;
  126. > span {
  127. margin-left: 0.5em;
  128. }
  129. }