_layout.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. }
  58. .grw-fab {
  59. position: fixed;
  60. right: 1.5rem;
  61. bottom: 3rem;
  62. z-index: $zindex-fixed;
  63. transition: all 200ms linear;
  64. .btn-create-page {
  65. width: 60px;
  66. height: 60px;
  67. font-size: 24px;
  68. box-shadow: 2px 3px 6px #0000005d;
  69. svg {
  70. width: 28px;
  71. height: 28px;
  72. }
  73. }
  74. .btn-scroll-to-top {
  75. width: 40px;
  76. height: 40px;
  77. opacity: 0.4;
  78. svg {
  79. width: 18px;
  80. height: 18px;
  81. }
  82. }
  83. }
  84. // printable style
  85. @media print {
  86. body {
  87. padding: 30px;
  88. }
  89. a:after {
  90. display: none !important;
  91. }
  92. .main {
  93. header {
  94. border-bottom: solid 1px $secondary;
  95. h1 {
  96. font-size: 2em;
  97. color: black;
  98. }
  99. }
  100. .row {
  101. display: block !important;
  102. }
  103. .revision-toc {
  104. float: none;
  105. max-width: 100%;
  106. margin-bottom: 20px;
  107. font-size: 0.9em;
  108. border: solid 1px $gray-400;
  109. }
  110. .meta {
  111. margin-top: 32px;
  112. color: $secondary;
  113. border-top: solid 1px $gray-300;
  114. }
  115. }
  116. }
  117. .system-version {
  118. position: fixed;
  119. right: 0.5em;
  120. bottom: 0;
  121. opacity: 0.6;
  122. > span {
  123. margin-left: 0.5em;
  124. }
  125. }