discourse/app/assets/stylesheets/common/admin/emails.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

113 lines
1.7 KiB
SCSS
Raw Normal View History

2018-07-03 11:14:53 +08:00
// Styles for admin/emails
// Emails
.email-list {
.filters input {
width: 100%;
}
.time {
width: 50px;
}
.reply-key {
display: block;
font-size: $font-down-1;
color: var(--primary-medium);
2018-07-03 11:14:53 +08:00
}
.username div {
max-width: 180px;
@include ellipsis;
2018-07-03 11:14:53 +08:00
}
.addresses p {
margin: 2px 0;
max-width: 200px;
@include ellipsis;
2018-07-03 11:14:53 +08:00
}
.sent-email-address a {
// prevent long email addresses from breaking the layout
display: inline-block;
max-width: 300px;
overflow-wrap: break-word;
}
.email-address {
max-width: 250px;
@include ellipsis;
}
2018-07-03 11:14:53 +08:00
}
.incoming-emails {
.control-group {
margin: 8px 0;
}
.controls {
margin-left: 110px;
}
p {
margin: 5px 10px;
}
.error-description {
color: var(--primary-medium);
2018-07-03 11:14:53 +08:00
font-size: $font-down-1;
}
hr {
margin: 0;
}
label {
font-weight: bold;
float: left;
width: 100px;
text-align: right;
margin: 0 10px;
}
ul {
list-style: none;
margin: 0 10px;
}
textarea {
width: 95%;
height: 150px;
font-family: monospace;
box-shadow: none;
}
}
.admin-list-item {
width: 100%;
border-top: 1px solid var(--primary-low);
2018-07-03 11:14:53 +08:00
padding: 0.25em 0;
}
.email-preview {
.digest-refresh-button {
margin: 0 0.5em;
}
}
2018-07-03 11:14:53 +08:00
.email-preview-digest {
.controls {
margin: 1em 0.5em;
input[type="text"] {
margin-bottom: 0;
}
2018-07-03 11:14:53 +08:00
label {
display: inline;
}
}
.preview-output iframe {
width: 100%;
height: 600px;
border-width: 1px;
}
}
.email-advanced-test {
.admin-controls {
display: block;
}
2018-12-03 19:51:59 +08:00
.email-body {
width: 95%;
height: 150px;
font-family: monospace;
}
}