_layout.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. body {
  2. overflow-y: scroll !important;
  3. }
  4. .grw-logo {
  5. svg {
  6. width: $grw-logo-width;
  7. height: $grw-navbar-height;
  8. padding: ($grw-logo-width - $grw-logomark-width) / 2;
  9. }
  10. }
  11. .confidential {
  12. font-weight: bold;
  13. }
  14. .grw-modal-head {
  15. font-size: 1em;
  16. border-bottom: 1px solid $gray-500;
  17. }
  18. .main {
  19. margin-top: 1rem;
  20. }
  21. .revision-toc {
  22. // to get on the Attachment row
  23. z-index: 1;
  24. overflow: hidden;
  25. font-size: 0.9em;
  26. .revision-toc-content {
  27. padding: 10px;
  28. > ul {
  29. padding-left: 0;
  30. ul {
  31. padding-left: 1em;
  32. }
  33. }
  34. // first level of li
  35. > ul > li {
  36. padding: 5px;
  37. margin: 4px 4px 4px 17px;
  38. }
  39. }
  40. }
  41. .grw-fixed-controls-container {
  42. position: fixed;
  43. right: 1em;
  44. bottom: 3em;
  45. transition: all 200ms linear;
  46. .grw-fixed-controls-button-container {
  47. box-shadow: 0 3px 4px rgba($black, 0.3);
  48. }
  49. }
  50. // printable style
  51. @media print {
  52. padding: 30px;
  53. a:after {
  54. display: none !important;
  55. }
  56. .main {
  57. header {
  58. border-bottom: solid 1px #666;
  59. h1 {
  60. font-size: 2em;
  61. color: #000;
  62. }
  63. }
  64. .row {
  65. display: block !important;
  66. }
  67. .revision-toc {
  68. float: none;
  69. max-width: 100%;
  70. margin-bottom: 20px;
  71. font-size: 0.9em;
  72. border: solid 1px #aaa;
  73. .revision-toc-head {
  74. display: inline-block;
  75. float: none;
  76. }
  77. .revision-toc-content.collapse {
  78. display: block;
  79. height: auto;
  80. }
  81. }
  82. .meta {
  83. margin-top: 32px;
  84. color: #666;
  85. border-top: solid 1px #ccc;
  86. }
  87. }
  88. }
  89. .system-version {
  90. position: fixed;
  91. right: 0.5em;
  92. bottom: 0;
  93. opacity: 0.6;
  94. > span {
  95. margin-left: 0.5em;
  96. }
  97. }