_page.scss 5.1 KB

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