_page.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. .crowi.main-container {
  2. .main { // {{{ .main of layout related
  3. transition: .5s ease;
  4. -webkit-transition: .5s ease;
  5. background: #fff;
  6. padding: 20px;
  7. article {
  8. background: #fff;
  9. }
  10. article header {
  11. background: #fff;
  12. width: 100%;
  13. p.stopper {
  14. display: none;
  15. }
  16. &.affix {
  17. width: 100%;
  18. top: 0;
  19. left: 0;
  20. padding: 5px 20px;
  21. z-index: 1039;
  22. background: rgba(255, 255, 255, .9);
  23. box-shadow: 0 0px 2px #999;
  24. h1 {
  25. font-size: 1.8em;
  26. }
  27. p.stopper {
  28. display: block;
  29. position: absolute;
  30. bottom: -30px;
  31. right: 10px;
  32. background: #fff;
  33. padding: 7px 14px;
  34. margin: 0;
  35. border: solid 1px #ccc;
  36. border-top: none;
  37. border-radius: 0 0 5px 5px;
  38. font-size: .8em;
  39. }
  40. }
  41. }
  42. &.col-md-12 article header.affix {
  43. width: 100%;
  44. }
  45. article header { // not affixed
  46. .bookmark-link {
  47. float: right;
  48. color: #e6b422;
  49. font-size: 2em;
  50. &.bookmarked {
  51. //color: #fff;
  52. }
  53. }
  54. h1 {
  55. margin-top: 0;
  56. a:last-child {
  57. color: #D1E2E4;
  58. opacity: .7;
  59. &:hover {
  60. color: inherit;
  61. }
  62. }
  63. }
  64. }
  65. .content-main {
  66. .tab-content {
  67. margin-top: 30px;
  68. }
  69. }
  70. } // }}}
  71. // {{{ grant related style
  72. .main.grant-restricted,
  73. .main.grant-specified,
  74. .main.grant-owner {
  75. background: #333;
  76. padding: 20px 10px;
  77. .page-grant {
  78. color: #ccc;
  79. }
  80. article {
  81. border-radius: 5px;
  82. padding: 20px;
  83. }
  84. }
  85. // }}}
  86. .page-attachments { // {{{
  87. p {
  88. font-weight: bold;
  89. }
  90. ul {
  91. }
  92. } // }}}
  93. aside.sidebar { // {{{
  94. z-index: 1030;
  95. position: fixed;
  96. padding: 65px 0 0 0;
  97. margin-bottom: $crowiFooterHeight;
  98. color: #333;
  99. height: 100%;
  100. right: 0;
  101. top: 0;
  102. overflow: auto;
  103. border-left: solid 1px #ccc;
  104. background: $crowiAsideBackground;
  105. transition: .3s ease;
  106. -webkit-transition: .3s ease;
  107. .page-meta {
  108. padding: 15px 15px 5px 15px;
  109. color: #666;
  110. font-size: .9em;
  111. line-height: 1.4em;
  112. border-bottom: solid 1px #ccc;
  113. .creator-picture {
  114. text-align: center;
  115. img {
  116. width: 48px;
  117. height: 48px;
  118. box-shadow: 0 0 1px #666;
  119. }
  120. }
  121. .creator {
  122. font-size: 1.3em;
  123. font-weight: bold;
  124. }
  125. .created-at {
  126. }
  127. .like-box {
  128. padding-bottom: 0;
  129. .dl-horizontal {
  130. margin-bottom: 0;
  131. dt, dd {
  132. border-top: solid 1px #ccc;
  133. padding-top: 5px;
  134. padding-bottom: 5px;
  135. }
  136. dt {
  137. width: 80px;
  138. }
  139. dd {
  140. margin-left: 90px;
  141. text-align: right;
  142. }
  143. }
  144. }
  145. .liker-count, .contributor-count, .seen-user-count {
  146. font-size: 1.2em;
  147. font-weight: bold;
  148. margin-bottom: 5px;
  149. }
  150. .contributor-list, .seen-user-list {
  151. }
  152. }
  153. .side-content {
  154. margin-bottom: $crowiFooterHeight + $crowiHeaderHeight;
  155. color: #666;
  156. padding: 15px;
  157. h3 {
  158. font-size: 1.1em;
  159. }
  160. a {
  161. color: #ccc;
  162. &:hover { color: #aaa;}
  163. }
  164. ul.fitted-list {
  165. padding-left: 0;
  166. li {
  167. margin-bottom: 2px;
  168. .input-group-addon {
  169. padding: 5px 6px;
  170. }
  171. }
  172. }
  173. }
  174. } // }}}
  175. .footer { // {{{
  176. position: fixed;
  177. width: 100%;
  178. bottom: 0px;
  179. height: 26px;
  180. padding: 4px;
  181. color: #444;
  182. background: $crowiAsideBackground;
  183. border-top-left-radius: 5px;
  184. z-index: 1055;
  185. a {
  186. color: #666;
  187. }
  188. } // }}}
  189. &.aside-hidden { // {{{
  190. .layout-control {
  191. right: 0;
  192. i {
  193. transform: rotate(180deg);
  194. }
  195. }
  196. aside.sidebar { // {{{
  197. right: -25%;
  198. } // }}}
  199. .main { // {{{
  200. width: 100%;
  201. article header.affix {
  202. width: 100%;
  203. }
  204. } // }}}
  205. } // }}}
  206. }
  207. .crowi.main-container .main .content-main .revision-history { // {{{
  208. h1 {
  209. padding-bottom: 0.3em;
  210. font-size: 2.3em;
  211. font-weight: bold;
  212. border-bottom: solid 1px #ccc;
  213. }
  214. .revision-history-list {
  215. .revision-hisory-outer {
  216. margin-top: 8px;
  217. .picture {
  218. float: left;
  219. width: 32px;
  220. height: 32px;
  221. }
  222. .revision-history-main {
  223. margin-left: 40px;
  224. .revision-history-author {
  225. color: #666;
  226. }
  227. .revision-history-comment {
  228. }
  229. .revision-history-meta {
  230. }
  231. }
  232. }
  233. li {
  234. position: relative;
  235. list-style: none;
  236. a {
  237. color: #666;
  238. padding: 3px 5px 3px 40px;
  239. display: block;
  240. &:hover {
  241. background: darken($crowiAsideBackground, 10%);
  242. text-decoration: none;
  243. color: darken($link-color, 35%);
  244. }
  245. }
  246. }
  247. }
  248. } // }}}