_layout.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. @import 'layout_variable';
  2. %fukidashi-for-active {
  3. position: relative;
  4. // speech balloon
  5. &:after {
  6. position: absolute;
  7. top: 0.5em;
  8. right: -1em;
  9. display: block;
  10. width: 0;
  11. content: '';
  12. border: 1em solid transparent;
  13. border-left-width: 0;
  14. // @include media-breakpoint-down(xs) {
  15. // }
  16. }
  17. }
  18. // FIXME: replace with mt-2 or mt-3
  19. .grw-mt-10px {
  20. margin-top: 10px !important;
  21. }
  22. // FIXME: replace with pt-2 or pt-3
  23. .grw-pt-10px {
  24. padding-top: 10px !important;
  25. }
  26. .grw-logo {
  27. svg {
  28. width: $grw-logo-width;
  29. height: $grw-navbar-height;
  30. padding: ($grw-logo-width - $grw-logomark-width) / 2;
  31. }
  32. }
  33. .confidential {
  34. font-weight: bold;
  35. }
  36. #page-wrapper {
  37. min-width: 0;
  38. margin-top: $grw-navbar-height + $grw-navbar-border-width;
  39. }
  40. .grw-modal-head {
  41. font-size: 1em;
  42. border-bottom: 1px solid $grw-line-gray;
  43. }
  44. .main {
  45. margin-top: 1rem;
  46. }
  47. .layout-control {
  48. position: fixed;
  49. right: 25%;
  50. bottom: 25px;
  51. z-index: 1;
  52. display: block;
  53. padding: 5px 8px;
  54. font-size: 0.8em;
  55. text-align: center;
  56. border: solid 1px #ccc;
  57. border-right: none;
  58. border-radius: 5px 0 0 5px;
  59. transition: 0.3s ease;
  60. &:hover {
  61. text-decoration: none;
  62. cursor: pointer;
  63. }
  64. }
  65. .revision-toc {
  66. // to get on the Attachment row
  67. z-index: 1;
  68. overflow: hidden;
  69. font-size: 0.9em;
  70. .revision-toc-content {
  71. padding: 10px;
  72. > ul {
  73. padding-left: 0;
  74. ul {
  75. padding-left: 1em;
  76. }
  77. }
  78. // first level of li
  79. > ul > li {
  80. padding: 5px;
  81. margin: 4px 4px 4px 17px;
  82. }
  83. }
  84. }
  85. .grw-fixed-controls-container {
  86. position: fixed;
  87. right: 1em;
  88. bottom: 3em;
  89. transition: all 200ms linear;
  90. .grw-fixed-controls-button-container {
  91. box-shadow: 0 3px 4px rgba($black, 0.3);
  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. }