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

241 lines
4.2 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;
}
.code {
background-color: #adbed67a;
border-radius: 3px;
font-family: monospace;
padding: 0 3px 0 3px;
}
2020-01-25 11:47:22 +00:00
.description > p {
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-01-25 11:47:22 +00:00
code {
display: inline;
padding: 2px 3px;
font-size: 14px;
}
}
.description-container {
overflow-wrap: break-word;
margin-bottom: 0;
}
.el-form-item {
margin-right: 30px;
}
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-select {
width: 100%;
}
.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-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-01-22 11:58:12 +00:00
.form-container {
margin-bottom: 80px;
}
.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;
}
2019-12-29 18:10:58 +00:00
.keyword-inner-input {
margin-bottom: 22px;
}
label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.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: 22px;
}
.mascot-container {
margin-bottom: 15px;
}
.mascot-input {
margin-bottom: 7px;
}
.mascot-name-container {
display: flex;
margin-bottom: 7px;
}
.mascot-name-input {
margin-right: 10px
}
.name-input {
width: 30%;
margin-right: 8px
}
.pattern-input {
width: 20%;
margin-right: 8px
}
2019-12-20 18:13:28 +00:00
.proxy-url-value-input {
width: 35%;
margin-left: 8px;
margin-right: 10px
}
2020-01-21 18:16:56 +00:00
.replacement-input {
width: 80%;
margin-left: 8px;
margin-right: 10px
}
.scale-input {
width: 47%;
margin: 0 1% 5px 0
}
.setting-input {
display: flex;
margin-bottom: 10px;
}
.single-input {
margin-right: 10px
}
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: 10000;
}
.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
}
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.el-form-item {
margin-right: 15px;
}
.el-input__inner {
padding: 0 5px 0 5px
}
.el-form-item__label:not(.no-top-margin) {
padding-left: 3px;
padding-right: 10px;
line-height: 22px;
margin-top: 7px;
}
.el-message {
min-width: 80%;
}
.el-select__tags {
overflow: hidden;
}
.name-input {
width: 40%;
margin-right: 5px
}
p.expl {
line-height: 20px;
}
.pattern-input {
width: 40%;
margin-right: 4px
}
.replacement-input {
width: 60%;
margin-left: 4px;
margin-right: 5px
}
.top-margin {
position: absolute;
top: 25%;
}
.value-input {
width: 60%;
margin-left: 5px;
margin-right: 8px
}
}
}