layouts.styl 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. @import 'nib'
  2. global-reset()
  3. html, body, input, select, textarea, button
  4. font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif
  5. line-height: 18px
  6. color: #4d4d4d
  7. html
  8. font-size: 100%
  9. max-height: 100%
  10. user-select: none
  11. -webkit-text-size-adjust: 100%
  12. body
  13. background: darken(white, 13%)
  14. margin: 0
  15. position: relative
  16. z-index: 0
  17. overflow-y: auto
  18. display: flex
  19. flex-direction: column
  20. height: 100vh
  21. #content
  22. position: relative
  23. flex: 1
  24. overflow: hidden
  25. #modal
  26. position: absolute
  27. top: 0
  28. bottom: 0
  29. left: 0
  30. right: 0
  31. background: rgba(0, 0, 0, 0.6)
  32. z-index: 100
  33. overflow-y: auto
  34. .modal-content
  35. width: 500px
  36. min-height: 160px
  37. margin: 42px auto
  38. padding: 12px
  39. border-radius: 4px
  40. background: darken(white, 13%)
  41. z-index: 110
  42. h2
  43. margin-bottom: 25px
  44. .modal-close-btn
  45. display: block
  46. float: right
  47. font-size: 24px
  48. h1
  49. font-size: 22px
  50. line-height: 1.2em
  51. margin: 0 0 10px
  52. h2
  53. font-size: 18px
  54. line-height: 1.2em
  55. margin: 0 0 9px
  56. h3, h4, h5, h6
  57. font-size: 16px
  58. line-height: 1.25em
  59. margin: 0 0 6px
  60. .quiet, .quiet a
  61. color: #8c8c8c
  62. .error, .error a
  63. color: #eb3800
  64. .no-items-message
  65. color: darken(white, 60%)
  66. margin: 30px 0
  67. text-align: center
  68. .warning
  69. background: #f0ecdb
  70. border-radius: 3px
  71. color: #aa8f09
  72. padding: 6px 8px
  73. a
  74. color: #aa8f09
  75. .small
  76. font-size: 0.8em
  77. a
  78. color: inherit
  79. cursor: pointer
  80. text-decoration: none
  81. &.is-disabled,
  82. &.is-disabled:hover
  83. cursor: default
  84. text-decoration: none
  85. strong
  86. font-weight: bold
  87. p
  88. user-select: text
  89. a
  90. text-decoration: underline
  91. word-wrap: break-word
  92. table, p
  93. margin-bottom: 8px
  94. pre
  95. margin: 15px 0
  96. white-space: pre
  97. max-height: 516px
  98. pre,
  99. code,
  100. tt
  101. font-family: lucida console, monospace
  102. line-height: 1.25em
  103. blockquote
  104. margin: 8px 0 8px 8px
  105. border-left: 1px solid #ccc
  106. color: #666
  107. padding: 0 0 0 8px
  108. hr
  109. height: 1px
  110. border: 0
  111. border: none
  112. width: 100%
  113. background: #dbdbdb
  114. color: #dbdbdb
  115. margin: 15px 0
  116. padding: 0
  117. table, td, th
  118. vertical-align: top
  119. border-top: 1px solid #ccc
  120. border-left: 1px solid #ccc
  121. td, th
  122. padding: 5px
  123. border-right: 1px solid #ccc
  124. border-bottom: 1px solid #ccc
  125. th
  126. font-weight: 700
  127. thead
  128. background: #fff
  129. background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%)
  130. tbody
  131. background-color: #fff
  132. dl, dt
  133. margin-bottom: 8px
  134. dd
  135. margin: 0 0 16px 24px
  136. .clear
  137. clear: both
  138. .clearfix
  139. clearfix()
  140. .hide
  141. display: none
  142. .show
  143. display: block
  144. .bold
  145. font-weight: 700
  146. .center
  147. text-align: center
  148. .left
  149. float: left
  150. .right
  151. float: right
  152. .first
  153. margin-left: 0
  154. padding-left: 0
  155. .last
  156. margin-right: 0
  157. padding-right: 0
  158. .top
  159. margin-top: 0
  160. padding-top: 0
  161. .bottom
  162. margin-bottom: 0
  163. padding-bottom: 0
  164. .wrapper
  165. max-width: 1200px
  166. margin: 0 auto
  167. .relative
  168. position: relative
  169. .block
  170. display: block
  171. .inline
  172. display: inline
  173. .inline-block
  174. display: inline-block
  175. .pointer
  176. cursor: pointer
  177. .ellip
  178. overflow: hidden
  179. text-overflow: ellipsis
  180. white-space: nowrap
  181. .underline
  182. text-decoration: underline
  183. .lowercase
  184. text-transform: lowercase
  185. .invisible
  186. visibility: hidden
  187. .wrapword
  188. word-wrap: break-word
  189. .grab
  190. cursor: grab
  191. .grabbing
  192. cursor: grabbing
  193. .emoji
  194. height: 18px
  195. width: 18px
  196. vertical-align: text-bottom
  197. // Implement a thiner close icon as suggested in
  198. // https://github.com/FortAwesome/Font-Awesome/issues/1540#issuecomment-68689950
  199. .fa.fa-times-thin:before
  200. content: '\00d7';
  201. .fa.fa-globe.colorful
  202. color: #4caf50
  203. .fa.fa-lock.colorful
  204. color: #f44336
  205. .pop-over .pop-over-list li a:hover
  206. .fa, .fa.colorful
  207. color: white
  208. &:hover
  209. color: white
  210. a
  211. &.fa, i.fa
  212. color: darken(white, 35%)
  213. &:hover, &.is-active
  214. &.fa, i.fa
  215. color: darken(white, 60%)
  216. .ui-draggable-dragging
  217. z-index: 200
  218. .atMention
  219. background: #dbdbdb
  220. border-radius: 3px
  221. padding: 1px 4px
  222. margin: -1px 0
  223. display: inline-block
  224. &.me
  225. background: #cfdfe8
  226. .big-message
  227. display: block
  228. margin: 75px auto
  229. text-align: center
  230. max-width: 600px
  231. h1
  232. font-size: 26px
  233. margin-bottom: 24px
  234. p
  235. font-size: 18px
  236. line-height: 22px
  237. .gutter
  238. margin-left: 38px
  239. .viewer
  240. ul
  241. list-style-type: initial
  242. padding-left: 20px
  243. .basicTabs-container .tabs-content-container
  244. padding: 0
  245. padding-top: 15px
  246. @keyframes fadeIn
  247. from
  248. opacity: 0
  249. @keyframes flexGrowIn
  250. from
  251. flex-basis: 0