layouts.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. * {
  2. -webkit-box-sizing: unset;
  3. box-sizing: unset;
  4. }
  5. /* Fixed missing 'import nib' stylesheet reset and extra li bullet points
  6. * https://github.com/wekan/wekan/issues/4512#issuecomment-1129347536
  7. */
  8. a, abbr, acronym, address, applet, big, blockquote, body, caption, cite,
  9. code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5,
  10. h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre,
  11. q, s, samp, small, span, strike, strong, sub, sup,
  12. table, tbody, td, tfoot, th, thread, tr, tt, ul, var {
  13. margin: 0;
  14. padding: 0;
  15. outline: 0;
  16. font-weight: inherit;
  17. font-style: inherit;
  18. font-family: inherit;
  19. font-size: 100%;
  20. vertical-align: baseline;
  21. }
  22. .note-popover .popover-content .note-color-palette div .note-color-btn,
  23. .panel-heading.note-toolbar .note-color-palette div .note-color-btn {
  24. background: none;
  25. }
  26. a:focus {
  27. outline: unset;
  28. outline-offset: unset;
  29. }
  30. a:hover,
  31. a:focus {
  32. color: unset;
  33. text-decoration: unset;
  34. }
  35. .badge {
  36. display: unset;
  37. min-width: unset;
  38. padding: unset;
  39. font-size: unset;
  40. font-weight: unset;
  41. line-height: unset;
  42. color: unset;
  43. text-align: unset;
  44. white-space: unset;
  45. vertical-align: unset;
  46. background-color: unset;
  47. border-radius: unset;
  48. }
  49. html,
  50. body,
  51. input,
  52. select,
  53. textarea,
  54. button {
  55. font: 14px Roboto, Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif;
  56. line-height: 18px;
  57. color: #4d4d4d;
  58. }
  59. html {
  60. font-size: 100%;
  61. max-height: 100%;
  62. -webkit-user-select: none;
  63. user-select: none;
  64. -webkit-text-size-adjust: 100%;
  65. text-size-adjust: 100%;
  66. }
  67. body {
  68. background: #dedede;
  69. margin: 0;
  70. position: relative;
  71. z-index: 0;
  72. overflow-y: auto;
  73. display: flex;
  74. flex-direction: column;
  75. height: 100vh;
  76. }
  77. #content {
  78. position: relative;
  79. flex: 1;
  80. overflow-x: hidden;
  81. }
  82. #content .sk-spinner {
  83. margin-top: 30vh;
  84. }
  85. #content > .wrapper {
  86. margin-top: 10px;
  87. padding: 15px;
  88. }
  89. #modal {
  90. position: absolute;
  91. top: 0;
  92. bottom: 0;
  93. left: 0;
  94. right: 0;
  95. background: rgba(0,0,0,0.6);
  96. z-index: 100;
  97. overflow-y: auto;
  98. }
  99. #modal .modal-content {
  100. width: 500px;
  101. min-height: 160px;
  102. margin: 42px auto;
  103. padding: 12px;
  104. border-radius: 4px;
  105. background: #dedede;
  106. z-index: 110;
  107. }
  108. #modal .modal-content h2 {
  109. margin-bottom: 25px;
  110. }
  111. #modal .modal-content .modal-close-btn {
  112. display: block;
  113. float: right;
  114. font-size: 24px;
  115. }
  116. #modal .modal-content-wide {
  117. width: 800px;
  118. min-height: 0px;
  119. margin: 42px auto;
  120. padding: 12px;
  121. border-radius: 4px;
  122. background: #dedede;
  123. z-index: 110;
  124. }
  125. #modal .modal-content-wide h2 {
  126. margin-bottom: 25px;
  127. }
  128. #modal .modal-content-wide .modal-close-btn {
  129. display: block;
  130. float: right;
  131. font-size: 24px;
  132. }
  133. h1 {
  134. font-size: 22px;
  135. line-height: 1.2em;
  136. margin: 0 0 10px;
  137. }
  138. h2 {
  139. font-size: 18px;
  140. line-height: 1.2em;
  141. margin: 0 0 9px;
  142. }
  143. h3,
  144. h4,
  145. h5,
  146. h6 {
  147. font-size: 16px;
  148. line-height: 1.25em;
  149. margin: 0 0 6px;
  150. }
  151. .quiet,
  152. .quiet a {
  153. color: #8c8c8c;
  154. }
  155. .error,
  156. .error a {
  157. color: #eb3800;
  158. }
  159. .no-items-message {
  160. color: #666;
  161. margin: 30px 0;
  162. text-align: center;
  163. }
  164. .warning {
  165. background: #f0ecdb;
  166. border-radius: 3px;
  167. color: #aa8f09;
  168. padding: 6px 8px;
  169. }
  170. .warning a {
  171. color: #aa8f09;
  172. }
  173. .small {
  174. font-size: 0.8em;
  175. }
  176. a {
  177. color: inherit;
  178. cursor: pointer;
  179. text-decoration: none;
  180. }
  181. a.is-disabled,
  182. a.is-disabled:hover {
  183. cursor: default;
  184. text-decoration: none;
  185. }
  186. span a {
  187. text-decoration: underline;
  188. }
  189. strong {
  190. font-weight: bold;
  191. }
  192. p {
  193. -webkit-user-select: none;
  194. user-select: text;
  195. }
  196. p a {
  197. text-decoration: underline;
  198. word-wrap: break-word;
  199. }
  200. table,
  201. p {
  202. margin-bottom: 8px;
  203. }
  204. pre {
  205. margin: 15px 0;
  206. white-space: pre;
  207. max-height: 516px;
  208. }
  209. pre,
  210. code,
  211. tt {
  212. font-family: lucida console, monospace;
  213. line-height: 1.25em;
  214. }
  215. blockquote {
  216. margin: 8px 0 8px 8px;
  217. border-left: 1px solid #ccc;
  218. color: #666;
  219. padding: 0 0 0 8px;
  220. }
  221. hr {
  222. height: 1px;
  223. border: 0;
  224. border: none;
  225. width: 100%;
  226. background: #dbdbdb;
  227. color: #dbdbdb;
  228. margin: 15px 0;
  229. padding: 0;
  230. }
  231. table,
  232. td,
  233. th {
  234. vertical-align: top;
  235. border-top: 1px solid #ccc;
  236. border-left: 1px solid #ccc;
  237. }
  238. td,
  239. th {
  240. padding: 5px;
  241. border-right: 1px solid #ccc;
  242. border-bottom: 1px solid #ccc;
  243. }
  244. th {
  245. font-weight: 700;
  246. }
  247. thead {
  248. background: #fff;
  249. background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%);
  250. }
  251. tbody {
  252. background-color: #fff;
  253. }
  254. dl,
  255. dt {
  256. margin-bottom: 8px;
  257. }
  258. dd {
  259. margin: 0 0 16px 24px;
  260. }
  261. kbd {
  262. padding: 1px 3px;
  263. margin: 3px;
  264. font-weight: bold;
  265. background: #fafafa;
  266. border-radius: 3px;
  267. border: 1px solid #e6e6e6;
  268. color: unset;
  269. box-shadow: 0px 2px 3px rgba(0,0,0,0.15);
  270. }
  271. .clear {
  272. clear: both;
  273. }
  274. .hide {
  275. display: none;
  276. }
  277. .show {
  278. display: block;
  279. }
  280. .bold {
  281. font-weight: 700;
  282. }
  283. .center {
  284. text-align: center;
  285. }
  286. .left {
  287. float: left;
  288. }
  289. .right {
  290. float: right;
  291. }
  292. .first {
  293. margin-left: 0;
  294. padding-left: 0;
  295. }
  296. .last {
  297. margin-right: 0;
  298. padding-right: 0;
  299. }
  300. .top {
  301. margin-top: 0;
  302. padding-top: 0;
  303. }
  304. .bottom {
  305. margin-bottom: 0;
  306. padding-bottom: 0;
  307. }
  308. .wrapper {
  309. width: calc(100% - 20px);
  310. margin: 0 auto;
  311. }
  312. .relative {
  313. position: relative;
  314. }
  315. .block {
  316. display: block;
  317. }
  318. .inline {
  319. display: inline;
  320. }
  321. .inline-block {
  322. display: inline-block;
  323. }
  324. .pointer {
  325. cursor: pointer;
  326. }
  327. .ellip {
  328. overflow: hidden;
  329. text-overflow: ellipsis;
  330. white-space: nowrap;
  331. }
  332. .underline {
  333. text-decoration: underline;
  334. }
  335. .lowercase {
  336. text-transform: lowercase;
  337. }
  338. .invisible {
  339. visibility: hidden;
  340. }
  341. .wrapword {
  342. word-wrap: break-word;
  343. }
  344. .grab {
  345. cursor: grab;
  346. }
  347. .grabbing {
  348. cursor: grabbing;
  349. }
  350. .textcomplete-dropdown {
  351. z-index: 2000 !important;
  352. }
  353. .fa.fa-times-thin:before {
  354. content: '\00d7';
  355. }
  356. .fa.fa-globe.colorful,
  357. .fa.fa-bell.colorful {
  358. color: #4caf50;
  359. }
  360. .fa.fa-lock.colorful,
  361. .fa.fa-bell-slash.colorful {
  362. color: #f44336;
  363. }
  364. .fa.fa-eye.colorful {
  365. color: #4336f4;
  366. }
  367. .pop-over .pop-over-list li a:not(.disabled):hover .fa,
  368. .pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful {
  369. color: #fff;
  370. }
  371. .pop-over .pop-over-list li a:not(.disabled):hover .fa:hover,
  372. .pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful:hover {
  373. color: #fff;
  374. }
  375. a.fa,
  376. a i.fa {
  377. color: #a6a6a6;
  378. }
  379. a:not(.disabled):hover.fa,
  380. a:not(.disabled).is-active.fa,
  381. a:not(.disabled):hover i.fa,
  382. a:not(.disabled).is-active i.fa {
  383. color: #666;
  384. }
  385. .ui-draggable-dragging {
  386. z-index: 200;
  387. }
  388. .atMention {
  389. background: #dbdbdb;
  390. border-radius: 3px;
  391. padding: 1px 4px;
  392. margin: -1px 0;
  393. display: inline-block;
  394. }
  395. .atMention.me {
  396. background: #cfdfe8;
  397. }
  398. .big-message {
  399. display: block;
  400. margin: 75px auto;
  401. text-align: center;
  402. max-width: 600px;
  403. }
  404. .big-message h1 {
  405. font-size: 26px;
  406. margin-bottom: 24px;
  407. }
  408. .big-message p {
  409. font-size: 18px;
  410. line-height: 22px;
  411. }
  412. .gutter {
  413. margin-left: 38px;
  414. }
  415. .viewer {
  416. min-height: 18px;
  417. display: block;
  418. word-wrap: break-word;
  419. }
  420. .viewer table {
  421. word-wrap: normal;
  422. word-break: normal;
  423. }
  424. .viewer ol {
  425. list-style-type: decimal;
  426. padding-left: 20px;
  427. padding-bottom: 10px;
  428. }
  429. .viewer ul {
  430. list-style-type: initial;
  431. padding-left: 20px;
  432. padding-bottom: 10px;
  433. }
  434. .viewer em {
  435. font-style: italic;
  436. }
  437. .viewer pre {
  438. padding: 10px 12px 7px;
  439. background: #dedede;
  440. overflow-y: auto;
  441. }
  442. .viewer a {
  443. text-decoration: underline;
  444. }
  445. .viewer a:hover {
  446. color: #333;
  447. }
  448. .basicTabs-container .tabs-content-container {
  449. padding: 0;
  450. padding-top: 15px;
  451. }
  452. .no-scrollbars {
  453. scrollbar-width: none;
  454. }
  455. .no-scrollbars::-webkit-scrollbar {
  456. display: none !important;
  457. }
  458. @media screen and (max-width: 800px) {
  459. #content {
  460. margin: 1px 0px 0px 0px;
  461. height: calc(100% - 0px);
  462. }
  463. #content > .wrapper {
  464. margin-top: 0px;
  465. }
  466. .wrapper {
  467. height: calc(100% - 31px);
  468. margin: 0px;
  469. }
  470. .panel-default {
  471. width: 83vw;
  472. }
  473. }
  474. .inline-input {
  475. height: 37px;
  476. margin: 8px 10px 0 0;
  477. width: 50px;
  478. }
  479. .select-authentication {
  480. width: 100%;
  481. }
  482. .textBelowCustomLoginLogo,
  483. .auth-layout {
  484. display: flex;
  485. flex-direction: column;
  486. align-items: center;
  487. justify-content: center;
  488. }
  489. .auth-layout .auth-dialog {
  490. margin: 0 !important;
  491. }
  492. .loadingText {
  493. text-align: center;
  494. }
  495. .lds-roller {
  496. display: block;
  497. margin: auto;
  498. position: relative;
  499. width: 64px;
  500. height: 64px;
  501. }
  502. .lds-roller div {
  503. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  504. transform-origin: 32px 32px;
  505. }
  506. .lds-roller div:after {
  507. content: " ";
  508. display: block;
  509. position: absolute;
  510. width: 6px;
  511. height: 6px;
  512. border-radius: 50%;
  513. background: #dedede;
  514. margin: -3px 0 0 -3px;
  515. }
  516. .lds-roller div:nth-child(1) {
  517. animation-delay: -0.036s;
  518. }
  519. .lds-roller div:nth-child(1):after {
  520. top: 50px;
  521. left: 50px;
  522. }
  523. .lds-roller div:nth-child(2) {
  524. animation-delay: -0.072s;
  525. }
  526. .lds-roller div:nth-child(2):after {
  527. top: 54px;
  528. left: 45px;
  529. }
  530. .lds-roller div:nth-child(3) {
  531. animation-delay: -0.108s;
  532. }
  533. .lds-roller div:nth-child(3):after {
  534. top: 57px;
  535. left: 39px;
  536. }
  537. .lds-roller div:nth-child(4) {
  538. animation-delay: -0.144s;
  539. }
  540. .lds-roller div:nth-child(4):after {
  541. top: 58px;
  542. left: 32px;
  543. }
  544. .lds-roller div:nth-child(5) {
  545. animation-delay: -0.18s;
  546. }
  547. .lds-roller div:nth-child(5):after {
  548. top: 57px;
  549. left: 25px;
  550. }
  551. .lds-roller div:nth-child(6) {
  552. animation-delay: -0.216s;
  553. }
  554. .lds-roller div:nth-child(6):after {
  555. top: 54px;
  556. left: 19px;
  557. }
  558. .lds-roller div:nth-child(7) {
  559. animation-delay: -0.252s;
  560. }
  561. .lds-roller div:nth-child(7):after {
  562. top: 50px;
  563. left: 14px;
  564. }
  565. .lds-roller div:nth-child(8) {
  566. animation-delay: -0.288s;
  567. }
  568. .lds-roller div:nth-child(8):after {
  569. top: 45px;
  570. left: 10px;
  571. }
  572. .at-link {
  573. color: #17683a;
  574. text-decoration: underline;
  575. text-decoration-color: #17683a;
  576. }
  577. .at-pwd-form, .at-sep, .at-oauth {
  578. display: none;
  579. }
  580. @-moz-keyframes fadeIn {
  581. from {
  582. opacity: 0;
  583. }
  584. }
  585. @-webkit-keyframes fadeIn {
  586. from {
  587. opacity: 0;
  588. }
  589. }
  590. @-o-keyframes fadeIn {
  591. from {
  592. opacity: 0;
  593. }
  594. }
  595. @keyframes fadeIn {
  596. from {
  597. opacity: 0;
  598. }
  599. }
  600. @-moz-keyframes flexGrowIn {
  601. from {
  602. height: 100%;
  603. }
  604. }
  605. @-webkit-keyframes flexGrowIn {
  606. from {
  607. height: 100%;
  608. }
  609. }
  610. @-o-keyframes flexGrowIn {
  611. from {
  612. height: 100%;
  613. }
  614. }
  615. @keyframes flexGrowIn {
  616. from {
  617. height: 100%;
  618. }
  619. }
  620. @-moz-keyframes lds-roller {
  621. 0% {
  622. transform: rotate(0deg);
  623. }
  624. 100% {
  625. transform: rotate(360deg);
  626. }
  627. }
  628. @-webkit-keyframes lds-roller {
  629. 0% {
  630. transform: rotate(0deg);
  631. }
  632. 100% {
  633. transform: rotate(360deg);
  634. }
  635. }
  636. @-o-keyframes lds-roller {
  637. 0% {
  638. transform: rotate(0deg);
  639. }
  640. 100% {
  641. transform: rotate(360deg);
  642. }
  643. }
  644. @keyframes lds-roller {
  645. 0% {
  646. transform: rotate(0deg);
  647. }
  648. 100% {
  649. transform: rotate(360deg);
  650. }
  651. }