device.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @use '../public/style/style.scss' as *;
  2. // ========== 样式定义 ==========
  3. .device-container {
  4. width: 100%;
  5. height: 100%;
  6. border: 1px solid #000000;
  7. // 更新设备列表
  8. .device-update {
  9. width: 100%;
  10. height: 10%;
  11. @include flex-row-between;
  12. .device-update-title {
  13. width: 70%;
  14. height: 100%;
  15. user-select: none;
  16. @include flex-center;
  17. }
  18. .device-update-btn {
  19. width: 30%;
  20. height: 100%;
  21. @include flex-center;
  22. .update-btn {
  23. width: 50% !important;
  24. height: 50% !important;
  25. }
  26. }
  27. background-color: #efe8e88d;
  28. }
  29. /* 设备列表 */
  30. .device-list {
  31. width: 100%;
  32. height: 80%;
  33. @include flex-column-start;
  34. border: 1px solid #000000;
  35. .connect-item-container {
  36. width: 90%;
  37. height: 8%;
  38. @include flex-row-between;
  39. // border: 1px solid #000000;
  40. }
  41. }
  42. // 添加设备
  43. .device-add {
  44. width: 100%;
  45. height: 10%;
  46. @include flex-row-between;
  47. .ip-input {
  48. width: 80%;
  49. height: 50%;
  50. @include flex-center;
  51. input {
  52. outline: none;
  53. border: none;
  54. text-align: center;
  55. width: 90%;
  56. height: 100%;
  57. border: 1px solid #000000;
  58. }
  59. }
  60. .add-btn {
  61. width: 20%;
  62. height: 100%;
  63. cursor: pointer;
  64. @include flex-center;
  65. @include div-btn-hover-effect;
  66. @include div-btn-pressed-effect;
  67. svg {
  68. width: 80%;
  69. height: 80%;
  70. pointer-events: none;
  71. }
  72. }
  73. }
  74. }