layouts.styl 4.5 KB

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