_layout.scss 2.2 KB

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