_layout.scss 2.2 KB

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