layouts.styl 5.0 KB

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