king
2022-06-18 fe21d23b147ed5cec22b4f76a88840b05495d4ad
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#model-data-source-wrap {
  .ant-spin {
    position: absolute;
    left: calc(50% - 16px);
    top: 220px;
    z-index: 1;
  }
  .ant-tabs-tabpane {
    position: relative;
  }
  .data-source-card-box {
    .ant-tabs-nav-scroll {
      text-align: center;
    }
    .count-tip {
      position: absolute;
      top: 0px;
      color: #1890ff;
      font-size: 12px;
    }
    .ant-tabs-content {
      min-height: 40vh;
    }
    table tr td {
      word-wrap: break-word;
      word-break: break-word;
    }
    .quickly-add {
      position: absolute;
      width: 100px;
      right: 10px;
      top: 5px;
      z-index: 2;
    }
    .verify-form {
      .sql {
        .ant-col-sm-8 {
          width: 10.5%;
        }
        .ant-col-sm-16 {
          width: 89.5%;
          padding-top: 4px;
        }
      }
      .sqlfield {
        .ant-form-item {
          margin-bottom: 5px;
        }
        .ant-form-item-control {
          line-height: 24px;
        }
        .ant-form-item-label {
          line-height: 25px;
        }
        .ant-form-item-children {
          line-height: 22px;
        }
        .ant-col-sm-8 {
          width: 10.5%;
        }
        .ant-col-sm-16 {
          width: 89.5%;
        }
      }
      .add {
        padding-top: 4px;
      }
    }
    .custom-table .ant-empty {
      margin: 20px 8px!important;
    }
    .errorval {
      display: inline-block;
      width: 30px;
    }
    .operation-btn {
      display: inline-block;
      font-size: 16px;
      padding: 0 3px;
      margin-right: 5px;
      cursor: pointer;
    }
  }
  .full-scripts {
    position: absolute;
    right: 0px;
    top: -40px;
    font-size: 18px;
    color: #1890ff;
  }
}
.model-custom-view-scripts-modal {
  .ant-modal {
    top: 30px;
    .ant-modal-header {
      padding: 10px 24px;
    }
    .ant-modal-footer {
      display: none;
    }
    .ant-modal-close {
      display: none;
    }
    .ant-modal-body {
      padding: 0;
      height: calc(100vh - 100px);
      overflow: hidden;
      display: flex;
 
      .script-table-wrap {
        width: 240px;
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100vh - 100px);
 
        .operation-btn {
          display: inline-block;
          font-size: 16px;
          padding: 0 5px;
          cursor: pointer;
          margin-left: 5px;
        }
 
        .script-item {
          border-bottom: 1px solid #eeeeee;
          padding: 15px 10px 5px;
        }
        .script-item.active {
          background-color: #bae7ff;
        }
        .ant-typography {
          margin-bottom: 5px;
        }
      }
 
      .script-table-wrap::-webkit-scrollbar {
        width: 7px;
      }
      .script-table-wrap::-webkit-scrollbar-thumb {
        border-radius: 5px;
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
        background: rgba(0, 0, 0, 0.13);
      }
      .script-table-wrap::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
        border-radius: 3px;
        border: 1px solid rgba(0, 0, 0, 0.07);
        background: rgba(0, 0, 0, 0);
      }
 
      .unfull-scripts {
        position: absolute;
        right: 20px;
        z-index: 2;
        top: 10px;
        color: #1890ff;
        width: 26px;
        cursor: pointer;
        padding: 5px;
      }
 
      .script-button {
        position: absolute;
        top: 10px;
        z-index: 1;
        left: 240px;
        .ant-btn {
          height: 28px;
        }
        .mk-green {
          margin-left: 0!important;
          margin-right: 10px;
        }
      }
      .code-mirror-wrap {
        .CodeMirror {
          height: calc(100vh - 100px);
          border-radius: 0;
        }
        .code-mirror-area {
          border-radius: 0;
          width: calc(95vw - 240px);
        }
      }
    }
  }
}