_layout.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. .grw-sidebar-header-container {
  34. padding: 10px;
  35. h3 {
  36. margin-bottom: 0;
  37. }
  38. }
  39. .grw-sidebar-content-container {
  40. }
  41. .grw-modal-head {
  42. font-size: 1em;
  43. border-bottom: 1px solid $grw-line-gray;
  44. }
  45. .main {
  46. margin-top: 1rem;
  47. }
  48. .layout-control {
  49. position: fixed;
  50. right: 25%;
  51. bottom: 25px;
  52. z-index: 1;
  53. display: block;
  54. padding: 5px 8px;
  55. font-size: 0.8em;
  56. text-align: center;
  57. border: solid 1px #ccc;
  58. border-right: none;
  59. border-radius: 5px 0 0 5px;
  60. transition: 0.3s ease;
  61. &:hover {
  62. text-decoration: none;
  63. cursor: pointer;
  64. }
  65. }
  66. .revision-toc {
  67. // to get on the Attachment row
  68. z-index: 1;
  69. overflow: hidden;
  70. font-size: 0.9em;
  71. .revision-toc-content {
  72. padding: 10px;
  73. > ul {
  74. padding-left: 0;
  75. ul {
  76. padding-left: 1em;
  77. }
  78. }
  79. // first level of li
  80. > ul > li {
  81. padding: 5px;
  82. margin: 4px 4px 4px 17px;
  83. }
  84. }
  85. }
  86. // printable style
  87. @media print {
  88. padding: 30px;
  89. a:after {
  90. display: none !important;
  91. }
  92. .main {
  93. header {
  94. border-bottom: solid 1px #666;
  95. h1 {
  96. font-size: 2em;
  97. color: #000;
  98. }
  99. }
  100. .revision-toc {
  101. float: none;
  102. max-width: 100%;
  103. margin-bottom: 20px;
  104. font-size: 0.9em;
  105. border: solid 1px #aaa;
  106. border-radius: 5px;
  107. .revision-toc-head {
  108. display: inline-block;
  109. float: none;
  110. }
  111. .revision-toc-content.collapse {
  112. display: block;
  113. height: auto;
  114. }
  115. }
  116. .meta {
  117. margin-top: 32px;
  118. color: #666;
  119. border-top: solid 1px #ccc;
  120. }
  121. }
  122. }
  123. .system-version {
  124. position: fixed;
  125. right: 0.5em;
  126. bottom: 0;
  127. opacity: 0.6;
  128. > span {
  129. margin-left: 0.5em;
  130. }
  131. }