Spaces:
Sleeping
Sleeping
Upload index.less
Browse files
aworld/cmd/web/webui/src/pages/components/index.less
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.welcome-container {
|
| 2 |
+
display: flex;
|
| 3 |
+
justify-content: center;
|
| 4 |
+
background-color: #ffffff;
|
| 5 |
+
align-items: center;
|
| 6 |
+
position: relative;
|
| 7 |
+
bottom: 50px;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.content {
|
| 11 |
+
width: 100%;
|
| 12 |
+
display: flex;
|
| 13 |
+
flex-direction: column;
|
| 14 |
+
align-items: center;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.input-area {
|
| 18 |
+
position: relative;
|
| 19 |
+
width: 100%;
|
| 20 |
+
margin-top: 24px;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.text-input {
|
| 24 |
+
border-radius: 20px;
|
| 25 |
+
padding: 12px 50px 50px 20px;
|
| 26 |
+
border: 1px solid #d9d9d9;
|
| 27 |
+
font-size: 16px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.submit-button {
|
| 31 |
+
position: absolute;
|
| 32 |
+
right: 12px;
|
| 33 |
+
bottom: 12px;
|
| 34 |
+
width: 40px !important;
|
| 35 |
+
height: 40px !important;
|
| 36 |
+
background-color: #000000;
|
| 37 |
+
border: none;
|
| 38 |
+
transition: opacity 0.2s;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.submit-button:hover,
|
| 42 |
+
.submit-button:focus {
|
| 43 |
+
background-color: rgba(0, 0, 0, 0.7) !important;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.submit-button:disabled {
|
| 47 |
+
opacity: 0.5;
|
| 48 |
+
cursor: not-allowed;
|
| 49 |
+
background-color: rgba(0, 0, 0, 0.1)!important;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.submit-button:disabled:hover,
|
| 53 |
+
.submit-button:disabled:focus {
|
| 54 |
+
opacity: 0.5;
|
| 55 |
+
background-color: rgba(0, 0, 0, 0.1)!important;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.controls-area {
|
| 59 |
+
width: 100%;
|
| 60 |
+
margin-top: 20px;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
.model-select {
|
| 65 |
+
width: 100%;
|
| 66 |
+
// width: fit-content;
|
| 67 |
+
height: 44px;
|
| 68 |
+
border-radius: 50px;
|
| 69 |
+
|
| 70 |
+
.ant-select-selector {
|
| 71 |
+
border-radius: 12px !important;
|
| 72 |
+
padding-left: 12px !important;
|
| 73 |
+
border: 1px solid #d9d9d9 !important;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.ant-select-selection-item {
|
| 77 |
+
padding-right: 24px !important;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.ant-select-arrow {
|
| 81 |
+
right: 15px;
|
| 82 |
+
}
|
| 83 |
+
}
|
| 84 |
+
.select-item{
|
| 85 |
+
line-height: 30px;
|
| 86 |
+
small{
|
| 87 |
+
margin-left: 10px;
|
| 88 |
+
color: #b8b8b8;
|
| 89 |
+
font-weight: normal;
|
| 90 |
+
}
|
| 91 |
+
.icon-right{
|
| 92 |
+
color: #d9d9d9;
|
| 93 |
+
}
|
| 94 |
+
}
|