admin-fe/src/views/settings/styles/main.scss

700 lines
13 KiB
SCSS
Raw Normal View History

@mixin settings {
a {
text-decoration: underline;
}
2020-01-22 11:58:12 +00:00
.center-label label {
text-align: center;
2020-02-12 14:47:51 +00:00
span {
float: left;
}
2020-01-22 11:58:12 +00:00
}
.code {
background-color: #adbed67a;
border-radius: 3px;
font-family: monospace;
padding: 0 3px 0 3px;
}
2020-02-14 20:12:48 +00:00
.delete-setting-button {
margin-left: 5px;
}
.description-container {
overflow-wrap: break-word;
2020-06-20 14:08:27 +00:00
.el-form-item__content {
line-height: 20px;
}
}
.divider {
margin: 0 0 18px 0;
}
.divider.thick-line {
height: 2px;
}
2020-04-17 22:27:00 +00:00
.docs-search-container {
float: right;
margin-right: 30px;
}
2020-02-17 22:19:54 +00:00
.editable-keyword-container {
width: 100%;
}
2020-01-21 18:16:56 +00:00
.el-form-item .rate-limit {
margin-right: 0;
}
.el-input-group__prepend {
padding-left: 10px;
padding-right: 10px;
}
.el-tabs__header {
z-index: 2002;
}
.email-address-input {
width: 50%;
margin-right: 10px;
}
.esshd-list {
margin: 0;
}
2020-01-25 13:23:15 +00:00
.expl, .expl > p {
color: #666666;
font-size: 13px;
line-height: 22px;
margin: 5px 0 0 0;
overflow-wrap: break-word;
2020-02-13 16:18:25 +00:00
overflow: hidden;
text-overflow: ellipsis;
2020-01-25 11:47:22 +00:00
code {
display: inline;
2020-01-25 13:23:15 +00:00
line-height: 22px;
2020-01-25 11:47:22 +00:00
font-size: 13px;
padding: 2px 3px;
}
}
2020-02-09 16:52:17 +00:00
.follow-relay {
width: 350px;
margin-right: 7px;
}
2020-01-22 11:58:12 +00:00
.form-container {
margin-bottom: 80px;
}
.grouped-settings-header {
margin: 0 0 14px 0;
}
.highlight {
background-color: #e6e6e6;
}
.icons-button-container {
width: 100%;
margin-bottom: 10px;
}
.icons-button-desc {
font-size: 14px;
color: #606266;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei";
margin-left: 5px;
}
.icon-container {
flex-direction: column;
width: 95%;
}
.icon-values-container {
display: flex;
margin: 0 10px 10px 0;
}
.icon-key-input {
width: 30%;
margin-right: 8px
}
.icon-minus-button {
width: 36px;
height: 36px;
}
.icon-value-input {
width: 70%;
margin-left: 8px;
}
.icons-container {
display: flex;
}
.input-container {
display: flex;
align-items: start;
justify-content: space-between;
.el-form-item {
margin-right: 30px;
width: 100%
}
.el-select {
width: 100%;
}
}
2020-02-14 20:12:48 +00:00
.keyword-container {
width: 100%
}
label {
overflow: hidden;
text-overflow: ellipsis;
}
.label-font {
font-size: 14px;
color: #606266;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei";
font-weight: 700;
}
.limit-button-container {
display: flex;
align-items: baseline;
}
.limit-expl {
margin-left: 10px;
}
.limit-input {
2020-01-21 18:16:56 +00:00
width: 47%;
margin: 0 0 5px 1%
}
.line {
width: 100%;
height: 0;
border: 1px solid #eee;
margin-bottom: 18px;
}
2020-02-17 22:19:54 +00:00
.mascot {
margin-bottom: 15px;
}
2020-02-17 22:19:54 +00:00
.mascot-container {
width: 100%;
}
.mascot-input {
margin-bottom: 7px;
}
.mascot-name-container {
display: flex;
margin-bottom: 7px;
}
.mascot-name-input {
margin-right: 10px
}
2020-02-17 22:19:54 +00:00
.multiple-select-container {
width: 100%;
}
.name-input {
width: 30%;
margin-right: 8px
}
.nickname-input {
width: 50%;
}
2020-06-20 14:08:27 +00:00
.no-top-margin {
margin-top: 0;
2020-06-29 23:16:20 +00:00
p {
margin-right: 30px;
}
2020-06-20 14:08:27 +00:00
}
.pattern-input {
width: 20%;
margin-right: 8px
}
2020-02-12 19:52:40 +00:00
.proxy-url-input {
display: flex;
align-items: center;
margin-bottom: 10px;
2020-02-17 22:19:54 +00:00
width: 100%;
2020-02-12 19:52:40 +00:00
}
2020-02-12 14:47:51 +00:00
.proxy-url-host-input {
width: 35%;
2020-02-12 19:52:40 +00:00
margin-right: 8px
2020-02-12 14:47:51 +00:00
}
2019-12-20 18:13:28 +00:00
.proxy-url-value-input {
width: 35%;
margin-left: 8px;
margin-right: 10px
}
2020-02-14 21:11:23 +00:00
.prune-options {
display: flex;
height: 36px;
align-items: baseline;
.el-radio {
margin-top: 11px;
}
2020-02-14 21:11:23 +00:00
}
2020-02-13 16:18:25 +00:00
.rate-limit {
.el-form-item__content {
width: 100%;
display: flex;
}
}
2020-02-17 22:19:54 +00:00
.rate-limit-container {
width: 100%;
}
2020-02-13 16:18:25 +00:00
.rate-limit-content {
2020-06-30 22:35:17 +00:00
width: 70%;
2020-02-13 16:18:25 +00:00
}
.rate-limit-label {
float: right;
}
.rate-limit-label-container {
font-size: 14px;
color: #606266;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei";
font-weight: 700;
2020-06-30 22:35:17 +00:00
height: fit-content;
width: 30%;
2020-02-13 16:18:25 +00:00
margin-right: 10px;
}
2020-04-17 22:27:00 +00:00
.reboot-button {
width: 145px;
text-align: left;
padding: 10px;
float: right;
margin: 0 30px 0 0;
}
.reboot-button-container {
width: 100%;
position: fixed;
top: 60px;
right: 0;
z-index: 2000;
}
2020-02-09 16:52:17 +00:00
.relays-container {
margin: 0 15px;
}
2020-01-21 18:16:56 +00:00
.replacement-input {
width: 80%;
margin-left: 8px;
margin-right: 10px
}
.sender-input {
display: flex;
align-items: center;
margin-bottom: 10px;
width: 100%;
}
2020-01-21 18:16:56 +00:00
.scale-input {
width: 47%;
margin: 0 1% 5px 0
}
2020-02-17 22:19:54 +00:00
.setting-input {
display: flex;
margin-bottom: 10px;
}
2020-06-20 14:08:27 +00:00
.setting-label {
font-size: 14px;
color: #606266;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei";
font-weight: 700;
line-height: 20px;
margin: 0 0 14px 0;
}
2020-02-17 22:19:54 +00:00
.settings-container {
max-width: 1824px;
margin: auto;
2020-02-17 22:19:54 +00:00
.el-tabs {
margin-top: 20px
}
}
.settings-delete-button {
margin-left: 5px;
}
2020-02-17 22:19:54 +00:00
.settings-docs-button {
min-width: 163px;
2020-02-17 22:19:54 +00:00
text-align: left;
padding: 10px;
}
.settings-header {
2020-04-17 22:27:00 +00:00
margin: 10px 15px 15px 15px;
2020-02-17 22:19:54 +00:00
}
.header-sidebar-opened {
max-width: 1585px;
}
.header-sidebar-closed {
max-width: 1728px;
}
2020-02-17 22:19:54 +00:00
.settings-header-container {
2020-04-17 22:27:00 +00:00
height: 87px;
}
2020-02-23 21:17:24 +00:00
.settings-search-input {
width: 350px;
margin-left: 5px;
}
.single-input {
margin-right: 10px
}
2020-02-12 19:52:40 +00:00
.socks5-checkbox {
font-size: 14px;
color: #606266;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei";
font-weight: 700;
margin-left: 10px;
}
.socks5-checkbox-container {
width: 40%;
height: 36px;
margin-right: 5px;
display: flex;
align-items: center;
}
2020-01-21 18:16:56 +00:00
.ssl-tls-opts {
margin: 36px 0 0 0;
}
2020-01-22 11:58:12 +00:00
.submit-button {
float: right;
margin: 0 30px 22px 0;
}
.submit-button-container {
width: 100%;
position: fixed;
bottom: 0px;
right: 0;
z-index: 2000;
2020-01-22 11:58:12 +00:00
}
.switch-input {
height: 36px;
}
.text {
line-height: 20px;
margin-right: 15px
}
.upload-container {
display: flex;
align-items: baseline;
}
.value-input {
2019-12-20 18:13:28 +00:00
width: 70%;
margin-left: 8px;
margin-right: 10px
}
2020-01-30 14:36:35 +00:00
@media only screen and (min-width: 1824px) {
2020-04-17 22:27:00 +00:00
.header-sidebar-closed {
max-width: 1772px;
}
.header-sidebar-opened {
max-width: 1630px;
}
.reboot-button-container {
width: 100%;
max-width: inherit;
margin-left: auto;
margin-right: auto;
right: auto;
}
.reboot-sidebar-opened {
max-width: 1630px;
}
.reboot-sidebar-closed {
max-width: 1772px;
}
.sidebar-closed {
max-width: 1586px;
}
.sidebar-opened {
max-width: 1442px;
}
2020-01-30 14:36:35 +00:00
.submit-button-container {
width: 100%;
max-width: inherit;
2020-01-30 14:36:35 +00:00
margin-left: auto;
margin-right: auto;
right: auto;
}
}
2020-02-17 22:19:54 +00:00
@media only screen and (max-width:480px) {
.crontab {
width: 100%;
label {
width: 100%;
}
}
.delete-setting-button {
2020-02-16 20:11:13 +00:00
margin: 4px 0 0 5px;
height: 28px;
}
.delete-setting-button-container {
flex: 0 0 auto;
}
.description > p {
line-height: 18px;
2020-04-21 22:28:40 +00:00
margin: 0 5px 7px 15px;
2020-02-09 16:52:17 +00:00
code {
display: inline;
line-height: 18px;
padding: 2px 3px;
font-size: 14px;
}
}
2020-06-30 22:35:17 +00:00
.description-container {
margin: 0 15px 22px 15px;
}
.divider {
margin: 0 0 10px 0;
}
.divider .thick-line {
height: 2px;
}
2020-02-09 16:52:17 +00:00
.follow-relay {
2020-08-18 23:56:05 +00:00
width: 75%;
2020-02-09 16:52:17 +00:00
margin-right: 5px;
input {
width: 100%;
}
}
.follow-relay-container {
display: flex;
justify-content: space-between;
2020-08-18 23:56:05 +00:00
margin: 0 5px;
2020-02-09 16:52:17 +00:00
}
2020-04-17 22:27:00 +00:00
h1 {
font-size: 24px;
}
.input {
flex: 1 1 auto;
}
.input-container {
2020-02-06 18:54:58 +00:00
width: 100%;
.el-form-item:first-child {
2020-02-13 16:18:25 +00:00
margin: 0;
2020-04-21 22:28:40 +00:00
padding: 0 15px 10px 15px;
}
.el-form-item.crontab-container:first-child {
margin: 0;
padding: 0 ;
}
2020-02-16 20:11:13 +00:00
.el-form-item:first-child .mascot-form-item {
padding: 0;
}
.el-form-item:first-child .rate-limit {
padding: 0;
}
.settings-delete-button {
2020-02-17 22:19:54 +00:00
margin-top: 4px;
float: right;
}
}
.input-row {
display: flex;
justify-content: space-between;
}
.label-with-margin {
margin-left: 15px;
}
2020-02-13 16:18:25 +00:00
.limit-input {
2020-02-17 22:40:18 +00:00
width: 45%;
2020-02-13 16:18:25 +00:00
}
2020-02-23 21:17:24 +00:00
.nav-container {
display: flex;
height: 36px;
justify-content: space-between;
align-items: center;
margin: 15px;
}
2020-02-12 19:52:40 +00:00
.proxy-url-input {
flex-direction: column;
align-items: flex-start;
margin-bottom: 0;
}
.proxy-url-host-input {
width: 100%;
margin-bottom: 5px;
}
.proxy-url-value-input {
width: 100%;
margin-left: 0;
}
2020-02-14 21:11:23 +00:00
.prune-options {
flex-direction: column;
height: 80px;
2020-02-14 21:11:23 +00:00
}
2020-02-13 16:18:25 +00:00
.rate-limit {
.el-form-item__content {
flex-direction: column;
}
}
2020-06-30 22:35:17 +00:00
.rate-limit-content {
width: 100%;
}
2020-02-13 16:18:25 +00:00
.rate-limit-label {
float: left;
}
2020-06-30 22:35:17 +00:00
.rate-limit-label-container {
width: 100%;
}
2020-04-17 22:27:00 +00:00
.reboot-button {
margin: 0 15px 0 0;
}
.reboot-button-container {
top: 57px;
}
2020-02-13 16:18:25 +00:00
.scale-input {
2020-02-17 22:40:18 +00:00
width: 45%;
2020-02-13 16:18:25 +00:00
}
2020-02-17 22:19:54 +00:00
.settings-header {
width: fit-content;
display: inline-block;
2020-03-18 18:09:25 +00:00
margin: 10px 15px 15px 15px;
2020-02-17 22:19:54 +00:00
}
2020-04-17 22:27:00 +00:00
.docs-search-container {
float: right;
}
2020-02-23 21:17:24 +00:00
.settings-search-input {
width: 100%;
margin-left: 0;
}
.settings-search-input-container {
margin: 0 15px 15px 15px;
}
2020-02-17 22:19:54 +00:00
.settings-menu {
width: 163px;
2020-04-17 22:27:00 +00:00
margin-right: 5px;
2020-02-17 22:19:54 +00:00
}
2020-02-12 19:52:40 +00:00
.socks5-checkbox-container {
width: 100%;
}
.submit-button {
margin: 0 15px 22px 0;
}
.el-input__inner {
padding: 0 5px 0 5px
}
.el-form-item__label:not(.no-top-margin) {
2020-04-21 22:28:40 +00:00
padding-bottom: 5px;
line-height: 22px;
margin-top: 7px;
width: 100%;
pointer-events: none;
span {
width: 100%;
display: flex;
justify-content: space-between;
align-items: baseline;
}
button {
pointer-events: auto;
}
}
.el-message {
min-width: 80%;
}
2020-08-05 22:11:51 +00:00
.el-message-box {
width: 80%;
}
.el-select__tags {
overflow: hidden;
}
2020-02-06 18:54:58 +00:00
.expl, .expl > p {
line-height: 16px;
}
.icon-key-input {
width: 40%;
margin-right: 4px
}
.icon-minus-button {
width: 28px;
height: 28px;
margin-top: 4px;
}
.icon-values-container {
margin: 0 7px 7px 0;
}
.icon-value-input {
width: 60%;
margin-left: 4px;
}
.icons-button-container {
line-height: 24px;
}
.line {
margin-bottom: 10px;
}
.mascot-form-item {
.el-form-item__label:not(.no-top-margin) {
margin: 0;
padding: 0;
}
}
.mascot-container {
margin-bottom: 5px;
}
.name-input {
2020-01-30 14:36:35 +00:00
width: 40%;
margin-right: 5px
}
p.expl {
line-height: 20px;
}
.pattern-input {
width: 40%;
margin-right: 4px
}
2020-02-09 16:52:17 +00:00
.relays-container {
margin: 0 10px;
}
.replacement-input {
width: 60%;
margin-left: 4px;
margin-right: 5px
}
2020-04-17 22:27:00 +00:00
.settings-header-container {
height: 45px;
}
.value-input {
width: 60%;
margin-left: 5px;
margin-right: 8px
}
}
2020-03-22 17:44:08 +00:00
@media only screen and (max-width:818px) and (min-width: 481px) {
2020-02-17 22:19:54 +00:00
.delete-setting-button {
margin: 4px 0 0 10px;
height: 28px;
}
.delete-setting-button-container {
flex: 0 0 auto;
}
.description > p {
line-height: 18px;
margin: 0 15px 10px 0;
}
.icon-minus-button {
width: 28px;
height: 28px;
margin-top: 4px;
}
.input {
flex: 1 1 auto;
}
.input-container {
.el-form-item__label {
span {
margin-left: 10px;
}
}
}
.input-row {
display: flex;
justify-content: space-between;
}
.nav-container {
display: flex;
height: 36px;
justify-content: space-between;
align-items: center;
margin: 15px 30px 15px 15px;
}
2020-06-30 22:35:17 +00:00
.rate-limit-content {
width: 65%;
}
2020-02-17 22:19:54 +00:00
.rate-limit-label-container {
2020-06-30 22:35:17 +00:00
width: 35%;
2020-02-17 22:19:54 +00:00
}
.settings-delete-button {
float: right;
}
2020-04-17 22:27:00 +00:00
.settings-header-container {
height: 36px;
}
2020-02-23 21:17:24 +00:00
.settings-search-input {
width: 250px;
margin: 0 0 15px 15px;
}
2020-02-17 22:19:54 +00:00
}
}