_layout.scss 2.0 KB

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