_layout.scss 2.6 KB

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