_layout.scss 2.3 KB

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