_layout.scss 2.4 KB

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