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

337 lines
6.1 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;
}
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;
}
.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-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;
}
.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%;
}
}
2019-12-29 18:10:58 +00:00
.keyword-inner-input {
margin-bottom: 22px;
}
label {
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-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
}
.scale-input {
width: 47%;
margin: 0 1% 5px 0
}
.settings-delete-button {
margin-left: 5px;
}
.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
}
2020-01-30 14:36:35 +00:00
@media only screen and (min-width: 1824px) {
.submit-button-container {
max-width: 1637px;
2020-01-30 14:36:35 +00:00
margin-left: auto;
margin-right: auto;
right: auto;
}
}
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.description > p {
line-height: 18px;
margin: 0 0 7px 0;
2020-02-09 16:52:17 +00:00
code {
display: inline;
line-height: 18px;
padding: 2px 3px;
font-size: 14px;
}
}
.description-container.settings-input {
margin-bottom: 0;
}
2020-02-09 16:52:17 +00:00
.follow-relay {
width: 70%;
margin-right: 5px;
input {
width: 100%;
}
}
.follow-relay-container {
display: flex;
justify-content: space-between;
}
.input-container {
2020-02-06 18:54:58 +00:00
width: 100%;
.el-form-item {
margin-right: 15px;
}
.settings-delete-button {
margin: 4px 7px 0 -5px;
}
}
.setting-label {
display: flex;
justify-content: space-between;
}
2020-02-06 18:54:58 +00:00
.settings-input {
display: inline-block;
width: 90%;
margin: 0 0 10px 0;
}
.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;
}
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;
}
.keyword-inner-input {
margin-bottom: 10px;
}
2020-02-06 18:54:58 +00:00
.line {
margin-bottom: 10px;
}
.mascot-container {
margin-bottom: 5px;
.settings-input {
width: 100%;
}
}
.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
}
.value-input {
width: 60%;
margin-left: 5px;
margin-right: 8px
}
}
}