_layout.scss 2.2 KB

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