layouts.styl 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  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. .modal-content-wide
  54. width: 800px
  55. min-height: 0px
  56. margin: 42px auto
  57. padding: 12px
  58. border-radius: 4px
  59. background: darken(white, 13%)
  60. z-index: 110
  61. h2
  62. margin-bottom: 25px
  63. .modal-close-btn
  64. display: block
  65. float: right
  66. font-size: 24px
  67. h1
  68. font-size: 22px
  69. line-height: 1.2em
  70. margin: 0 0 10px
  71. h2
  72. font-size: 18px
  73. line-height: 1.2em
  74. margin: 0 0 9px
  75. h3, h4, h5, h6
  76. font-size: 16px
  77. line-height: 1.25em
  78. margin: 0 0 6px
  79. .quiet, .quiet a
  80. color: #8c8c8c
  81. .error, .error a
  82. color: #eb3800
  83. .no-items-message
  84. color: darken(white, 60%)
  85. margin: 30px 0
  86. text-align: center
  87. .warning
  88. background: #f0ecdb
  89. border-radius: 3px
  90. color: #aa8f09
  91. padding: 6px 8px
  92. a
  93. color: #aa8f09
  94. .small
  95. font-size: 0.8em
  96. a
  97. color: inherit
  98. cursor: pointer
  99. text-decoration: none
  100. &.is-disabled,
  101. &.is-disabled:hover
  102. cursor: default
  103. text-decoration: none
  104. span a
  105. text-decoration: underline
  106. strong
  107. font-weight: bold
  108. p
  109. user-select: text
  110. a
  111. text-decoration: underline
  112. word-wrap: break-word
  113. table, p
  114. margin-bottom: 8px
  115. pre
  116. margin: 15px 0
  117. white-space: pre
  118. max-height: 516px
  119. pre,
  120. code,
  121. tt
  122. font-family: lucida console, monospace
  123. line-height: 1.25em
  124. blockquote
  125. margin: 8px 0 8px 8px
  126. border-left: 1px solid #ccc
  127. color: #666
  128. padding: 0 0 0 8px
  129. hr
  130. height: 1px
  131. border: 0
  132. border: none
  133. width: 100%
  134. background: #dbdbdb
  135. color: #dbdbdb
  136. margin: 15px 0
  137. padding: 0
  138. table, td, th
  139. vertical-align: top
  140. border-top: 1px solid #ccc
  141. border-left: 1px solid #ccc
  142. td, th
  143. padding: 5px
  144. border-right: 1px solid #ccc
  145. border-bottom: 1px solid #ccc
  146. th
  147. font-weight: 700
  148. thead
  149. background: #fff
  150. background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%)
  151. tbody
  152. background-color: #fff
  153. dl, dt
  154. margin-bottom: 8px
  155. dd
  156. margin: 0 0 16px 24px
  157. kbd
  158. padding: 1px 3px
  159. margin: 3px
  160. font-weight: bold
  161. background: darken(white, 2%)
  162. border-radius: 3px
  163. border: 1px solid darken(white, 10%)
  164. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15)
  165. .clear
  166. clear: both
  167. .clearfix
  168. clearfix()
  169. .hide
  170. display: none
  171. .show
  172. display: block
  173. .bold
  174. font-weight: 700
  175. .center
  176. text-align: center
  177. .left
  178. float: left
  179. .right
  180. float: right
  181. .first
  182. margin-left: 0
  183. padding-left: 0
  184. .last
  185. margin-right: 0
  186. padding-right: 0
  187. .top
  188. margin-top: 0
  189. padding-top: 0
  190. .bottom
  191. margin-bottom: 0
  192. padding-bottom: 0
  193. .wrapper
  194. max-width: 1200px
  195. margin: 0 auto
  196. .relative
  197. position: relative
  198. .block
  199. display: block
  200. .inline
  201. display: inline
  202. .inline-block
  203. display: inline-block
  204. .pointer
  205. cursor: pointer
  206. .ellip
  207. overflow: hidden
  208. text-overflow: ellipsis
  209. white-space: nowrap
  210. .underline
  211. text-decoration: underline
  212. .lowercase
  213. text-transform: lowercase
  214. .invisible
  215. visibility: hidden
  216. .wrapword
  217. word-wrap: break-word
  218. .grab
  219. cursor: grab
  220. .grabbing
  221. cursor: grabbing
  222. // Implement a thiner close icon as suggested in
  223. // https://github.com/FortAwesome/Font-Awesome/issues/1540#issuecomment-68689950
  224. .fa.fa-times-thin:before
  225. content: '\00d7'
  226. .fa.fa-globe.colorful, .fa.fa-bell.colorful
  227. color: #4caf50
  228. .fa.fa-lock.colorful, .fa.fa-bell-slash.colorful
  229. color: #f44336
  230. .fa.fa-eye.colorful
  231. color: #4336f4
  232. .pop-over .pop-over-list li a:not(.disabled):hover
  233. .fa, .fa.colorful
  234. color: white
  235. &:hover
  236. color: white
  237. a
  238. &.fa, i.fa
  239. color: darken(white, 35%)
  240. &:not(.disabled):hover, &:not(.disabled).is-active
  241. &.fa, i.fa
  242. color: darken(white, 60%)
  243. .ui-draggable-dragging
  244. z-index: 200
  245. .atMention
  246. background: #dbdbdb
  247. border-radius: 3px
  248. padding: 1px 4px
  249. margin: -1px 0
  250. display: inline-block
  251. &.me
  252. background: #cfdfe8
  253. .big-message
  254. display: block
  255. margin: 75px auto
  256. text-align: center
  257. max-width: 600px
  258. h1
  259. font-size: 26px
  260. margin-bottom: 24px
  261. p
  262. font-size: 18px
  263. line-height: 22px
  264. .gutter
  265. margin-left: 38px
  266. .viewer
  267. min-height: 18px
  268. ol
  269. list-style-type: decimal
  270. padding-left: 20px
  271. ul
  272. list-style-type: initial
  273. padding-left: 20px
  274. em
  275. font-style : italic
  276. pre
  277. padding: 10px 12px 7px
  278. background: darken(white, 13%)
  279. overflow-y: auto
  280. a
  281. text-decoration: underline
  282. &:hover
  283. color: #333
  284. .basicTabs-container .tabs-content-container
  285. padding: 0
  286. padding-top: 15px
  287. @keyframes fadeIn
  288. from
  289. opacity: 0
  290. @keyframes flexGrowIn
  291. from
  292. // Support IE11 https://github.com/wekan/wekan/pull/646
  293. height: 100%
  294. @media screen and (max-width: 800px)
  295. #content
  296. margin: 1px 0px 0px 0px
  297. height: calc(100% - 0px)
  298. > .wrapper
  299. margin-top: 0px
  300. .wrapper
  301. height: 100%
  302. margin: 0px
  303. .inline-input
  304. height: 37px
  305. margin: 8px 10px 0 0
  306. width: 50px
  307. .select-authentication
  308. width: 100%
  309. .auth-layout
  310. display: flex
  311. flex-direction: column
  312. align-items: center
  313. justify-content: center
  314. height: 100%
  315. .auth-dialog
  316. margin: 0 !important
  317. .loadingText
  318. text-align: center
  319. .lds-roller
  320. display: block
  321. margin: auto
  322. position: relative
  323. width: 64px
  324. height: 64px
  325. div
  326. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite
  327. transform-origin: 32px 32px
  328. div:after
  329. content: " "
  330. display: block
  331. position: absolute
  332. width: 6px
  333. height: 6px
  334. border-radius: 50%
  335. background: #dedede
  336. margin: -3px 0 0 -3px
  337. div:nth-child(1)
  338. animation-delay: -0.036s
  339. div:nth-child(1):after
  340. top: 50px
  341. left: 50px
  342. div:nth-child(2)
  343. animation-delay: -0.072s
  344. div:nth-child(2):after
  345. top: 54px
  346. left: 45px
  347. div:nth-child(3)
  348. animation-delay: -0.108s
  349. div:nth-child(3):after
  350. top: 57px
  351. left: 39px
  352. div:nth-child(4)
  353. animation-delay: -0.144s
  354. div:nth-child(4):after
  355. top: 58px
  356. left: 32px
  357. div:nth-child(5)
  358. animation-delay: -0.18s
  359. div:nth-child(5):after
  360. top: 57px
  361. left: 25px
  362. div:nth-child(6)
  363. animation-delay: -0.216s
  364. div:nth-child(6):after
  365. top: 54px
  366. left: 19px
  367. div:nth-child(7)
  368. animation-delay: -0.252s
  369. div:nth-child(7):after
  370. top: 50px
  371. left: 14px
  372. div:nth-child(8)
  373. animation-delay: -0.288s
  374. div:nth-child(8):after
  375. top: 45px
  376. left: 10px
  377. @keyframes lds-roller
  378. 0%
  379. transform: rotate(0deg)
  380. 100%
  381. transform: rotate(360deg)