2
0

_layout.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. }
  60. .btn-scroll-to-top {
  61. width: 40px;
  62. height: 40px;
  63. opacity: 0.4;
  64. i {
  65. display: inline-block;
  66. transform: rotate(90deg);
  67. }
  68. }
  69. }
  70. // printable style
  71. @media print {
  72. padding: 30px;
  73. a:after {
  74. display: none !important;
  75. }
  76. .main {
  77. header {
  78. border-bottom: solid 1px $secondary;
  79. h1 {
  80. font-size: 2em;
  81. color: black;
  82. }
  83. }
  84. .row {
  85. display: block !important;
  86. }
  87. .revision-toc {
  88. float: none;
  89. max-width: 100%;
  90. margin-bottom: 20px;
  91. font-size: 0.9em;
  92. border: solid 1px $gray-400;
  93. .revision-toc-head {
  94. display: inline-block;
  95. float: none;
  96. }
  97. .revision-toc-content.collapse {
  98. display: block;
  99. height: auto;
  100. }
  101. }
  102. .meta {
  103. margin-top: 32px;
  104. color: $secondary;
  105. border-top: solid 1px $gray-300;
  106. }
  107. }
  108. }
  109. .system-version {
  110. position: fixed;
  111. right: 0.5em;
  112. bottom: 0;
  113. opacity: 0.6;
  114. > span {
  115. margin-left: 0.5em;
  116. }
  117. }