_layout_crowi_sidebar.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .crowi-sidebar {
  2. position: fixed;
  3. top: 0;
  4. right: 0;
  5. height: 100%;
  6. padding: 65px 0 0 0;
  7. overflow: auto;
  8. border-left: solid 1px transparent;
  9. transition: 0.3s ease;
  10. .page-meta {
  11. padding: 15px 15px 5px 15px;
  12. font-size: 0.9em;
  13. line-height: 1.4em;
  14. border-bottom: solid 1px #ccc;
  15. p {
  16. line-height: 1.4em;
  17. }
  18. .creator-picture {
  19. text-align: center;
  20. img {
  21. width: 48px;
  22. height: 48px;
  23. border: 1px solid #ccc;
  24. }
  25. }
  26. .creator {
  27. font-size: 1.3em;
  28. font-weight: bold;
  29. }
  30. .created-at {
  31. }
  32. .like-box {
  33. padding-bottom: 0;
  34. .dl-horizontal {
  35. margin-bottom: 0;
  36. dt,
  37. dd {
  38. padding-top: 5px;
  39. padding-bottom: 5px;
  40. border-top: solid 1px #ccc;
  41. }
  42. dt {
  43. width: 80px;
  44. }
  45. dd {
  46. margin-left: 90px;
  47. text-align: right;
  48. }
  49. }
  50. }
  51. .liker-user-count,
  52. .seen-user-count {
  53. margin-bottom: 5px;
  54. font-size: 1.2em;
  55. font-weight: bold;
  56. }
  57. }
  58. .side-content {
  59. padding: 15px;
  60. margin-bottom: 100px;
  61. h3 {
  62. font-size: 1.1em;
  63. }
  64. ul.fitted-list {
  65. padding-left: 0;
  66. li {
  67. margin-bottom: 2px;
  68. .input-group-addon {
  69. padding: 5px 6px;
  70. }
  71. }
  72. }
  73. .page-comments {
  74. margin: 8px 0 0 0;
  75. .page-comment-form {
  76. margin-top: 16px;
  77. .comment-form-main {
  78. .navbar-editor button {
  79. padding: 5px;
  80. font-size: 12px;
  81. }
  82. .overlay-gfm-cheatsheet {
  83. display: none; // hide cheatsheet
  84. }
  85. .CodeMirror {
  86. height: 150px;
  87. }
  88. .comment-submit {
  89. margin-top: 8px;
  90. }
  91. }
  92. }
  93. hr {
  94. border-color: #ccc;
  95. }
  96. .page-comments-list {
  97. .page-comment {
  98. padding-top: 8px;
  99. margin-top: 8px;
  100. .picture {
  101. float: left;
  102. width: 24px;
  103. height: 24px;
  104. }
  105. .page-comment-creator {
  106. font-weight: bold;
  107. }
  108. .page-comment-main {
  109. position: relative;
  110. margin-left: 40px;
  111. .page-comment-meta {
  112. font-size: 0.9em;
  113. color: #aaa;
  114. }
  115. .page-comment-body {
  116. padding: 8px 0;
  117. word-wrap: break-word;
  118. }
  119. .page-comment-control {
  120. position: absolute;
  121. top: 0;
  122. right: 0;
  123. display: none; // default hidden
  124. }
  125. }
  126. }
  127. }
  128. }
  129. }
  130. .portal-form-button {
  131. text-align: center;
  132. }
  133. .system-version {
  134. position: fixed;
  135. right: 1.4em;
  136. bottom: 0.1em;
  137. z-index: 1;
  138. display: flex;
  139. justify-content: space-between;
  140. width: calc(25% - 1.5em);
  141. padding-right: 1em;
  142. opacity: 1;
  143. transition: 0.3s ease;
  144. }
  145. }
  146. body:not(.aside-hidden) #toggle-sidebar {
  147. i.ti-angle-left {
  148. display: none;
  149. }
  150. i.ti-angle-right {
  151. display: block;
  152. }
  153. }
  154. .aside-hidden {
  155. #toggle-sidebar {
  156. right: 0;
  157. i.ti-angle-right {
  158. display: block;
  159. }
  160. i.ti-angle-right {
  161. display: none;
  162. }
  163. }
  164. .crowi-sidebar,
  165. .system-version {
  166. right: -25%;
  167. }
  168. .bg-title .col-md-9,
  169. .main {
  170. width: 100%;
  171. }
  172. }