app.component.less 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. :host {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. text-rendering: optimizeLegibility;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. }
  9. app-main {
  10. width: 100%;
  11. }
  12. .app-layout {
  13. width: 100%;
  14. height: 100vh;
  15. }
  16. .menu-sidebar {
  17. position: relative;
  18. z-index: 8;
  19. min-height: 100vh;
  20. box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  21. }
  22. .header-trigger {
  23. height: 64px;
  24. padding: 20px 24px;
  25. font-size: 20px;
  26. cursor: pointer;
  27. transition: all 0.3s, padding 0s;
  28. }
  29. .trigger:hover {
  30. color: #1890ff;
  31. }
  32. .sidebar-logo {
  33. position: relative;
  34. height: 64px;
  35. padding-left: 24px;
  36. overflow: hidden;
  37. line-height: 64px;
  38. background: #001529;
  39. transition: all 0.3s;
  40. }
  41. .sidebar-logo img {
  42. display: inline-block;
  43. height: 32px;
  44. width: 32px;
  45. vertical-align: middle;
  46. }
  47. .sidebar-logo h1 {
  48. display: inline-block;
  49. margin: 0 0 0 20px;
  50. color: #fff;
  51. font-weight: 600;
  52. font-size: 14px;
  53. font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
  54. vertical-align: middle;
  55. }
  56. nz-header {
  57. padding: 0;
  58. width: 100%;
  59. z-index: 2;
  60. }
  61. .app-header {
  62. position: relative;
  63. height: 64px;
  64. padding: 0;
  65. background: #fff;
  66. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  67. }
  68. nz-content {
  69. margin: 24px;
  70. }
  71. .inner-content {
  72. padding: 24px;
  73. background: #fff;
  74. /* height: 100%; */
  75. }