_admin-ui.scss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @import "variables";
  2. .intro-admin-ui {
  3. display: flex;
  4. flex-direction: column;
  5. padding: calc(0.05 * var(--width-unit));
  6. width: calc(2 * var(--width-unit));
  7. height: calc(2 * var(--width-unit));
  8. transition: opacity $transition-duration * 2;
  9. .intro-top-bar {
  10. background-color: #494949;
  11. color: #999;
  12. height: calc(0.3 * var(--width-unit));
  13. font-size: calc(0.2 * var(--width-unit));
  14. display: flex;
  15. align-items: center;
  16. justify-content: center;
  17. text-transform: uppercase;
  18. user-select: none;
  19. }
  20. .intro-content {
  21. background-color: #fff;
  22. flex: 1;
  23. display: flex;
  24. .intro-nav {
  25. background-color: #ccc;
  26. width: calc(0.3 * var(--width-unit));
  27. padding: calc(0.05 * var(--width-unit));
  28. margin: 0;
  29. list-style-type: none;
  30. li {
  31. position: relative;
  32. background-color: #999a9e;
  33. height: calc(0.05 * var(--width-unit));
  34. width: calc(0.15 * var(--width-unit));
  35. margin-bottom: calc(0.08 * var(--width-unit));
  36. border-radius: calc(0.01 * var(--width-unit));
  37. }
  38. }
  39. .intro-list-view {
  40. flex: 1;
  41. padding: calc(0.05 * var(--width-unit));
  42. margin: calc(0.05 * var(--width-unit));
  43. list-style-type: none;
  44. li {
  45. position: relative;
  46. background-color: #dedede;
  47. height: calc(0.05 * var(--width-unit));
  48. margin-bottom: calc(0.08 * var(--width-unit));
  49. padding-left: calc(0.08 * var(--width-unit));
  50. &:before {
  51. position: absolute;
  52. left: 0;
  53. content: '';
  54. background-color: #87a8dd;
  55. padding: 0;
  56. width: calc(0.1 * var(--width-unit));
  57. height: calc(0.05 * var(--width-unit));
  58. }
  59. }
  60. }
  61. }
  62. }