layouts.styl 7.8 KB

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