| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- .communication-panel {
- overflow: hidden;
- }
- .communication-panel .panel-header {
- padding-bottom: 14rpx;
- }
- .panel-action-button.is-disabled {
- background: #eef1f5;
- color: #94a3b8;
- }
- .panel-action-button.is-active {
- background: var(--accent);
- color: #ffffff;
- }
- .communication-actions {
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8rpx;
- }
- .comm-send-body {
- padding: 0 24rpx 22rpx;
- box-sizing: border-box;
- }
- .comm-send-input {
- width: 100%;
- min-height: 136rpx;
- padding: 16rpx 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 10rpx;
- background: #fafbfd;
- color: #111827;
- font-size: 26rpx;
- line-height: 1.5;
- box-sizing: border-box;
- }
- .comm-send-input--hex {
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .comm-send-input--text {
- font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
- }
- .comm-send-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- margin-top: 12rpx;
- }
- .comm-send-state,
- .comm-send-length {
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .comm-error {
- margin-top: 10rpx;
- color: var(--danger);
- font-size: 23rpx;
- line-height: 1.4;
- font-weight: 800;
- word-break: break-all;
- }
- .comm-preview {
- margin-top: 12rpx;
- padding: 12rpx 16rpx;
- border: 1rpx solid #d9edeb;
- border-radius: 10rpx;
- background: #f4fbfa;
- box-sizing: border-box;
- }
- .comm-preview-label {
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .comm-preview-value {
- margin-top: 8rpx;
- color: #0f766e;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.45;
- font-weight: 800;
- word-break: break-all;
- }
- .protocol-form {
- padding: 0 24rpx 22rpx;
- box-sizing: border-box;
- }
- .protocol-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- min-height: 82rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .protocol-row:first-child {
- border-top: 0;
- }
- .protocol-label {
- flex: none;
- color: #64748b;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .protocol-storage-sync {
- text-align: right;
- }
- .protocol-value-picker,
- .protocol-row-input {
- width: 300rpx;
- }
- .picker-value {
- color: #111827;
- font-size: 28rpx;
- line-height: 70rpx;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .protocol-input,
- .protocol-row-input {
- height: 70rpx;
- padding: 0 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 10rpx;
- background: #fafbfd;
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 28rpx;
- line-height: 70rpx;
- text-align: right;
- box-sizing: border-box;
- }
- .protocol-input {
- width: 100%;
- }
- .coil-row {
- min-height: 88rpx;
- }
- .coil-control {
- display: flex;
- align-items: center;
- gap: 10rpx;
- color: #0f766e;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .generated-frame {
- margin-top: 14rpx;
- padding: 14rpx 18rpx;
- border: 1rpx solid #d9edeb;
- border-radius: 10rpx;
- background: #f4fbfa;
- box-sizing: border-box;
- }
- .generated-frame--response {
- margin-top: 10rpx;
- border-color: #dbeafe;
- background: #eff6ff;
- }
- .generated-title {
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .generated-value {
- margin-top: 8rpx;
- color: #0f766e;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.5;
- font-weight: 800;
- word-break: break-all;
- }
- .generated-meta {
- margin-top: 6rpx;
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .protocol-error {
- padding-top: 10rpx;
- color: var(--danger);
- font-size: 23rpx;
- line-height: 1.4;
- font-weight: 800;
- word-break: break-all;
- }
- .protocol-multiple-dialog {
- max-height: 86vh;
- }
- .protocol-multiple-row {
- padding: 18rpx 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .protocol-multiple-row:first-child {
- border-top: 0;
- }
- .protocol-multiple-head,
- .protocol-multiple-text-length {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .protocol-multiple-title {
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 26rpx;
- line-height: 1.35;
- font-weight: 900;
- }
- .protocol-multiple-type {
- width: 220rpx;
- min-width: 220rpx;
- max-width: 220rpx;
- }
- .protocol-multiple-length-input {
- width: 180rpx;
- }
- .protocol-multiple-input {
- width: 100%;
- margin-top: 12rpx;
- }
- .protocol-multiple-input--text {
- text-align: left;
- }
- .empty-log {
- padding: 42rpx 24rpx;
- color: #64748b;
- font-size: 25rpx;
- line-height: 1.4;
- text-align: center;
- }
- .log-scroll {
- height: 540rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .log-row {
- padding: 18rpx 24rpx;
- border-top: 1rpx solid #edf2f7;
- }
- .log-row:first-child {
- border-top: 0;
- }
- .log-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .log-tags {
- display: flex;
- align-items: center;
- gap: 10rpx;
- }
- .log-direction {
- color: #0f766e;
- font-size: 23rpx;
- line-height: 1.35;
- font-weight: 900;
- }
- .log-note {
- padding: 3rpx 10rpx;
- border-radius: 999rpx;
- background: #eff6ff;
- color: #2563eb;
- font-size: 20rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .log-row--RX .log-note {
- background: #ecfdf5;
- color: #047857;
- }
- .log-row--TX .log-direction {
- color: #2563eb;
- }
- .log-row--SYS .log-direction {
- color: #64748b;
- }
- .log-time {
- color: #94a3b8;
- font-size: 22rpx;
- line-height: 1.35;
- }
- .log-payload {
- margin-top: 8rpx;
- color: #111827;
- font-size: 24rpx;
- line-height: 1.55;
- word-break: break-all;
- }
- .log-payload--hex {
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .log-payload--text {
- font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
- }
- .theme-dark .comm-send-input,
- .theme-dark .protocol-row-input {
- border-color: #334155;
- background: #111827;
- color: #e5e7eb;
- }
- .theme-dark .comm-send-state,
- .theme-dark .comm-send-length,
- .theme-dark .protocol-label,
- .theme-dark .comm-preview-label,
- .theme-dark .generated-meta,
- .theme-dark .log-time {
- color: #94a3b8;
- }
- .theme-dark .comm-preview,
- .theme-dark .generated-frame {
- border-color: #174e49;
- background: #111827;
- }
- .theme-dark .generated-frame--response {
- border-color: #1e3a8a;
- background: #101827;
- }
- .theme-dark .comm-preview-value,
- .theme-dark .generated-value,
- .theme-dark .log-payload,
- .theme-dark .protocol-multiple-title {
- color: #e5e7eb;
- }
- .theme-dark .log-scroll,
- .theme-dark .log-row,
- .theme-dark .protocol-row {
- border-color: #263241;
- }
- .theme-dark .log-note {
- background: #123d3b;
- color: #5eead4;
- }
- .theme-dark .log-row--RX .log-note {
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .log-row--TX .log-direction,
- .theme-dark .protocol-storage-sync {
- color: #5eead4;
- }
- .theme-dark .log-row--SYS .log-direction {
- color: #94a3b8;
- }
- .theme-dark .protocol-error {
- color: #fed7aa;
- }
- .theme-dark .empty-log {
- color: #94a3b8;
- }
- @media (max-width: 360px) {
- .protocol-value-picker,
- .protocol-row-input {
- width: 258rpx;
- }
- .protocol-multiple-type {
- width: 180rpx;
- min-width: 180rpx;
- max-width: 180rpx;
- }
- .comm-send-input {
- min-height: 128rpx;
- }
- }
|