layouts.styl 5.3 KB

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