_layout.scss 2.1 KB

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