_layout_crowi_sidebar.scss 3.4 KB

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