[theme] small fixes

This commit is contained in:
Alireza Ahmadi
2023-12-05 22:57:24 +01:00
parent 5cebf8faef
commit 056de927da
4 changed files with 24 additions and 7 deletions

View File

@@ -331,6 +331,10 @@ style attribute {
transform: translateY(-30px)
}
.ant-tooltip-inner {
min-height: 0;
}
.ant-list-item-meta-title {
font-size: 14px;
}
@@ -506,7 +510,6 @@ style attribute {
.dark .ant-card-head,
.dark .ant-form,
.dark .ant-collapse>.ant-collapse-item>.ant-collapse-header,
.dark .ant-form-item i,
.dark .ant-modal-close-x,
.dark .ant-pagination-item a,
.dark li:not(.ant-pagination-disabled) i,
@@ -589,6 +592,7 @@ style attribute {
}
.dark .ant-btn-primary[disabled],
.dark .ant-btn-danger[disabled],
.dark .ant-calendar-ok-btn-disabled {
color: rgb(255 255 255 / 35%);
background-color: #2c3950;
@@ -737,6 +741,20 @@ style attribute {
border-right-color: #2C3950;
}
.dark .has-warning .ant-input,
.dark .has-warning .ant-input:hover {
border-color: #faad14;
}
.dark .has-warning .anticon {
color: #ffa031;
}
.dark .has-success .anticon {
color: #61bf39;
animation-name: diffZoomIn1!important;
}
.dark .anticon-close-circle {
color: #E04141;
}
@@ -751,7 +769,6 @@ style attribute {
.dark .ant-spin-dot-item {
background-color: #ffffff;
}
.ant-radio-button-wrapper {

View File

@@ -17,8 +17,8 @@
<tr>
<td>{{ i18n "pages.xray.outbound.tag" }}</td>
<td>
<a-form-item>
<a-input v-model.trim="outbound.tag" style="width: 250px" @change="outModal.check()" :style="outModal.duplicateTag? 'border-color: red;' : ''"></a-input>
<a-form-item has-feedback :validate-status="outModal.duplicateTag? 'warning' : 'success'">
<a-input v-model.trim="outbound.tag" style="width: 250px" @change="outModal.check()" placeholder='{{ i18n "pages.xray.outbound.tagDesc" }}'></a-input>
</a-form-item>
</td>
</tr>
@@ -126,7 +126,7 @@
<td>{{ i18n "pages.inbounds.port" }}</td>
<td>
<a-form-item>
<a-input-number v-model.number="outbound.settings.port"></a-input-number>
<a-input-number v-model.number="outbound.settings.port" :min="1" :max="65532"></a-input-number>
</a-form-item>
</td>
</tr>

View File

@@ -8,7 +8,7 @@
<table width="100%" class="ant-table-tbody" v-if="externalProxy">
<tr style="line-height: 40px;">
<td width="100%">
<a-input-group style="margin-top:5px;" compact v-for="(row, index) in inbound.stream.externalProxy">
<a-input-group style="margin: 0 5px;" compact v-for="(row, index) in inbound.stream.externalProxy">
<template>
<a-tooltip title="Force TLS">
<a-select v-model="row.forceTls" style="width:20%; margin: 0px" :dropdown-class-name="themeSwitcher.currentTheme">

View File

@@ -32,7 +32,7 @@
</td>
</tr>
<tr>
<td>{{ i18n "pages.inbounds.stream.tcp.requestPath" }}
<td style="vertical-align: top; padding-top: 10px;">{{ i18n "pages.inbounds.stream.tcp.requestPath" }}
<a-button size="small" @click="inbound.stream.tcp.request.addPath('/')">+</a-button>
</td>
<td>