|
|
@@ -174,6 +174,13 @@
|
|
|
align-items: flex-start;
|
|
|
}
|
|
|
|
|
|
+.action-row {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: clamp(0.4rem, 1vw, 0.75rem);
|
|
|
+ align-items: flex-end;
|
|
|
+}
|
|
|
+
|
|
|
/* 设备信息容器 */
|
|
|
.device-info {
|
|
|
width: 100%;
|
|
|
@@ -237,13 +244,13 @@
|
|
|
/* 断开按钮 */
|
|
|
.disconnect-btn {
|
|
|
/* match connect button sizing */
|
|
|
- padding: clamp(0.4rem, 1.2cqw, 0.6rem) clamp(0.6rem, 1.8cqw, 1.1rem);
|
|
|
+ padding: clamp(0.32rem, 0.9cqw, 0.5rem) clamp(0.5rem, 1.3cqw, 0.85rem);
|
|
|
background: #dc2626;
|
|
|
color: white;
|
|
|
border: none;
|
|
|
border-radius: clamp(6px, 1vw, 8px);
|
|
|
cursor: pointer;
|
|
|
- font-size: clamp(0.75rem, 2.2cqw, 0.95rem);
|
|
|
+ font-size: clamp(0.65rem, 1.6cqw, 0.85rem);
|
|
|
font-weight: 500;
|
|
|
transition: all 0.2s ease;
|
|
|
white-space: nowrap;
|
|
|
@@ -270,6 +277,33 @@
|
|
|
transform: none;
|
|
|
}
|
|
|
|
|
|
+/* 预览按钮 */
|
|
|
+.preview-btn {
|
|
|
+ padding: clamp(0.32rem, 0.9cqw, 0.5rem) clamp(0.5rem, 1.3cqw, 0.85rem);
|
|
|
+ background: #2abf6e;
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: clamp(6px, 1vw, 8px);
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: clamp(0.65rem, 1.6cqw, 0.85rem);
|
|
|
+ font-weight: 500;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+ white-space: nowrap;
|
|
|
+ user-select: none;
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.preview-btn.disabled {
|
|
|
+ opacity: 0.4;
|
|
|
+ cursor: not-allowed;
|
|
|
+ background: #ccc;
|
|
|
+}
|
|
|
+
|
|
|
+.preview-btn--active {
|
|
|
+ background: #4a90e2;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
/* 平板适配 */
|
|
|
@media (min-width: 768px) and (max-width: 1023px) {
|
|
|
.devices-header {
|