_layout.scss 2.6 KB

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