cdp_ui.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. :root {
  2. --x-ui-outside-color: #0081c6;
  3. --x-ui-border-color: #253363;
  4. --x-ui-content-border-color: #dddddd;
  5. --x-ui-content-light-background: #f9f9f9;
  6. --x-ui-content-hover-background: #f5f5f5;
  7. }
  8. *[is=x-ui] ui-tabbar > ui-tab.inactive, ui-tabbed > ui-tabbar > ui-tab.switch {
  9. background: #99cce6;
  10. }
  11. [is=x-ui] #main ui-tabbar ui-before {
  12. padding-right: 0.5em;
  13. width: 4.2em;
  14. }
  15. [is=x-ui] #main ui-tabbar ui-before .logo {
  16. content: url(/static/img/logo.png);
  17. background-size: contain;
  18. background-repeat: no-repeat;
  19. width: 4.2em;
  20. height: 80%;
  21. }
  22. [is="x-ui"] ui-rest > ui-content > ui-area { padding: 1em; }
  23. [is="x-ui"] input, [is="x-ui"] button, [is="x-ui"] select {
  24. -moz-box-sizing: content-box;
  25. -webkit-box-sizing: content-box;
  26. box-sizing: content-box;
  27. margin: 0;
  28. padding: 0.5em;
  29. border: 1px solid var(--x-ui-border-color);
  30. width: 30em;
  31. }
  32. [is="x-ui"] ui-area button {
  33. width: initial;
  34. padding: 0.7em 5em;
  35. }
  36. [is="x-ui"] select {
  37. -webkit-appearance: none;
  38. -moz-appearance: none;
  39. background-image:
  40. linear-gradient(45deg, transparent 50%, gray 50%),
  41. linear-gradient(135deg, gray 50%, transparent 50%),
  42. linear-gradient(to right, #ccc, #ccc);
  43. background-position:
  44. calc(100% - 20px) calc(1em + 2px),
  45. calc(100% - 15px) calc(1em + 2px),
  46. calc(100% - 2.5em) 0.5em;
  47. background-size:
  48. 5px 5px,
  49. 5px 5px,
  50. 1px 1.5em;
  51. background-repeat: no-repeat;
  52. }
  53. .fading {
  54. color: red;
  55. display: none;
  56. border: 0 none !important;
  57. }