File size: 3,086 Bytes
3927930
5403bcb
 
d4bff6a
 
e68f488
 
 
 
 
 
d4bff6a
f9e19e4
 
 
e68f488
f9e19e4
5403bcb
 
f372e89
3927930
0dc6759
 
acd1df1
3927930
 
 
f372e89
 
71d280d
 
 
 
 
f372e89
 
 
 
 
acd1df1
f372e89
acd1df1
71d280d
0dc6759
 
 
 
f372e89
 
 
 
 
acd1df1
0dc6759
acd1df1
 
 
3927930
 
 
0dad3f5
 
 
 
3927930
 
0dc6759
 
 
5e72d47
 
 
 
 
0dc6759
 
 
f372e89
52a51dc
 
 
 
 
 
 
 
712affb
 
 
0dc6759
 
 
f372e89
e68f488
 
53f091c
52a51dc
 
53f091c
52a51dc
 
e68f488
 
 
0dad3f5
 
 
fa5e9f6
0dad3f5
 
 
0dc6759
 
 
0dad3f5
 
 
 
 
 
 
 
 
 
 
 
c39b5d3
0dc6759
c39b5d3
0dad3f5
 
 
 
5e72d47
 
 
0dad3f5
 
fa5e9f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17c457d
fa5e9f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6eec14a
 
 
 
 
 
0dc6759
 
 
 
 
 
 
 
 
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
.searchPage {
  background-position: center;
  background-size: cover;
  .card {
    width: 100%;
    :global(.ant-card-body) {
      padding: 14px;
    }
    p {
      margin: 0;
    }
  }
  .tag {
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
  }
}

.searchSide {
  position: relative;
  max-width: 400px !important;
  min-width: auto !important;

  :global(.ant-layout-sider-children) {
    height: auto;
  }
  inset-inline-start: 0;

  .modelForm {
    display: flex;
    padding: 24px;
  }

  .checkGroup {
    width: 100%;
    height: 100%;
  }
  .list {
    padding-top: 10px;
    width: 100%;
    height: calc(100vh - 76px);
    overflow: auto;
    // background-color: transparent;
    // &::-webkit-scrollbar-track {
    //   background: transparent;
    // }
  }
  .checkbox {
    width: 100%;
  }
  .knowledgeName {
    width: 116px;
    max-width: 270px;
  }
  .embeddingId {
    width: 170px;
  }
}

.firstRenderContent {
  height: 100%;
}

.content {
  height: 100%;
  overflow: auto;
  width: 100%;
  padding: 20px 16% 10px;
  .hide {
    display: none;
  }

  .main {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
  }

  .highlightContent {
    .multipleLineEllipsis(2);
    em {
      color: red;
      font-style: normal;
    }
  }
  .documentReference {
    cursor: pointer;
  }
  .pagination {
    padding-bottom: 16px;
  }
}
.answerWrapper {
  margin-top: 16px;
  background: rgba(232 242 251, 1);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  :global(.ant-card-head) {
    background-color: #e6f4ff23;
  }
  & p {
    margin: 0;
  }
}

.input() {
  :global(.ant-input-affix-wrapper) {
    padding: 4px 12px;
    border-start-start-radius: 30px !important;
    border-end-start-radius: 30px !important;
  }
  // :global(.ant-input-group-addon) {
  //   background-color: transparent;
  // }
  input {
    height: 40px;
  }
  button {
    height: 50px !important;
    border-start-end-radius: 30px !important;
    border-end-end-radius: 30px !important;
  }
}

.globalInput {
  width: 600px;
  position: sticky;
  top: 30%;
  z-index: 1;
  .input();
}
.partialInput {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1;
  .input();
}

.appIcon {
  display: inline-block;
  vertical-align: middle;
  width: 60px;
}

.appName {
  vertical-align: middle;
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;

  background: linear-gradient(to right, #095fab 10%, #25abe8 50%, #55c8dd 60%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 1.5s linear infinite;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.popupMarkdown {
  width: 60vw;
  max-height: 40vh;
  overflow: auto;
}

.mindMapFloatButton {
  top: 20%;
  width: 60px;
  height: 60px;
  :global(.ant-float-btn-content, .ant-float-btn-icon) {
    width: auto !important;
  }
}