_layout.scss 2.3 KB

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