lefengyang
2026-08-20 d01a28cb030b2cb0ff1d42273c877a0f728519a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
* {
  box-sizing: border-box;
}
 
html, body, #app {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden
}
 
#app {
  display: flex;
  flex-flow: nowrap column;
  gap: 20px;
  padding: 15px;
 
  button, label, textarea, input {
    font-size: 12px;
  }
 
 
  > fieldset {
    border-radius: 6px;
    display: flex;
    flex-flow: nowrap column;
    padding: 15px;
    gap: 15px;
 
    &.show-result {
      border: dotted 1px darkgray;
      overflow: auto;
      max-width: 90%;
    }
 
    > .row {
      display: flex;
      flex-flow: wrap row;
      justify-content: space-between;
      gap: 10px 15px;
 
      > label {
        user-select: none;
 
        > input {
          transform: translateY(1.5px);
        }
      }
    }
 
    > .data-label {
      display: flex;
      flex-flow: nowrap column;
      flex: 1;
      gap: 6px;
 
      > textarea {
        flex: 1;
        padding: 3px;
        outline: none;
        border-radius: 6px;
      }
    }
 
    &.open {
      flex: 1;
 
      .save-btn {
        color: blueviolet;
        cursor: pointer;
 
        &:disabled {
          cursor: not-allowed;
          color: gray;
        }
      }
 
      &.errored {
        .msg-span {
          color: red;
        }
      }
 
      &.unsaved {
        .msg-span {
          color: orange;
        }
      }
    }
 
  }
}