_layout.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. @import 'layout_variable';
  2. // FIXME: replace with mt-2 or mt-3
  3. .grw-mt-10px {
  4. margin-top: 10px !important;
  5. }
  6. // FIXME: replace with pt-2 or pt-3
  7. .grw-pt-10px {
  8. padding-top: 10px !important;
  9. }
  10. .grw-logo {
  11. svg {
  12. width: $grw-logo-width;
  13. height: $grw-navbar-height;
  14. padding: ($grw-logo-width - $grw-logomark-width) / 2;
  15. }
  16. /*
  17. .logo-text {
  18. svg {
  19. width: 156px;
  20. height: $grw-navbar-height;
  21. }
  22. }
  23. */
  24. }
  25. .confidential {
  26. font-weight: bold;
  27. }
  28. .grw-sidebar {
  29. .ak-navigation-resize-button {
  30. top: 110px;
  31. }
  32. }
  33. /*
  34. * header
  35. */
  36. .grw-subnav {
  37. overflow: unset;
  38. }
  39. .grw-modal-head {
  40. font-size: 1em;
  41. border-bottom: 1px solid $grw-line-gray;
  42. }
  43. header#page-header {
  44. padding-top: 0.5rem;
  45. padding-bottom: 0.5rem;
  46. line-height: 1em;
  47. // the container of h1
  48. div.title-container {
  49. padding-right: 5px;
  50. padding-left: 5px;
  51. margin-right: auto;
  52. }
  53. h1 {
  54. @include variable-font-size(28px);
  55. line-height: 1.1em;
  56. }
  57. }
  58. .main {
  59. margin-top: 1rem;
  60. }
  61. .layout-control {
  62. position: fixed;
  63. right: 25%;
  64. bottom: 25px;
  65. z-index: 1;
  66. display: block;
  67. padding: 5px 8px;
  68. font-size: 0.8em;
  69. text-align: center;
  70. border: solid 1px #ccc;
  71. border-right: none;
  72. border-radius: 5px 0 0 5px;
  73. transition: 0.3s ease;
  74. &:hover {
  75. text-decoration: none;
  76. cursor: pointer;
  77. }
  78. }
  79. .revision-toc {
  80. // to get on the Attachment row
  81. z-index: 1;
  82. overflow: hidden;
  83. font-size: 0.9em;
  84. .revision-toc-content {
  85. padding: 10px;
  86. > ul {
  87. padding-left: 0;
  88. ul {
  89. padding-left: 1em;
  90. }
  91. }
  92. // first level of li
  93. > ul > li {
  94. padding: 5px;
  95. margin: 4px 4px 4px 17px;
  96. }
  97. }
  98. }
  99. // printable style
  100. @media print {
  101. padding: 30px;
  102. a:after {
  103. display: none !important;
  104. }
  105. .main {
  106. header {
  107. border-bottom: solid 1px #666;
  108. h1 {
  109. font-size: 2em;
  110. color: #000;
  111. }
  112. }
  113. .revision-toc {
  114. float: none;
  115. max-width: 100%;
  116. margin-bottom: 20px;
  117. font-size: 0.9em;
  118. border: solid 1px #aaa;
  119. border-radius: 5px;
  120. .revision-toc-head {
  121. display: inline-block;
  122. float: none;
  123. }
  124. .revision-toc-content.collapse {
  125. display: block;
  126. height: auto;
  127. }
  128. }
  129. .meta {
  130. margin-top: 32px;
  131. color: #666;
  132. border-top: solid 1px #ccc;
  133. }
  134. }
  135. }
  136. .system-version {
  137. position: fixed;
  138. right: 0.5em;
  139. bottom: 0;
  140. opacity: 0.6;
  141. > span {
  142. margin-left: 0.5em;
  143. }
  144. }