mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Unify design of the different mail previews
This commit is contained in:
@@ -9,7 +9,7 @@ textarea[lang] {
|
||||
pre[lang] {
|
||||
background: no-repeat 10px 10px;
|
||||
padding-left: 34px;
|
||||
padding-top: 5px;
|
||||
padding-top: 8px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@@ -255,5 +255,4 @@ pre[lang=yt], input[lang=yt], textarea[lang=yt] { background-image: url(static('
|
||||
pre[lang=za], input[lang=za], textarea[lang=za] { background-image: url(static('pretixbase/img/flags/za.png')); }
|
||||
pre[lang=zm], input[lang=zm], textarea[lang=zm] { background-image: url(static('pretixbase/img/flags/zm.png')); }
|
||||
pre[lang=zw], input[lang=zw], textarea[lang=zw] { background-image: url(static('pretixbase/img/flags/zw.png')); }
|
||||
|
||||
pre[lang=en], input[lang=en], textarea[lang=en] { background-image: url(static('pretixbase/img/flags/gb.png')); }
|
||||
|
||||
@@ -117,3 +117,24 @@ div[data-formset-body], div[data-formset-form], div[data-nested-formset-form], d
|
||||
.ticketoutput-panel .panel-title {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
pre.mail-preview {
|
||||
white-space: pre-line; /* Since CSS 2.1 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
.mail-preview-group pre[lang] {
|
||||
@include border-top-radius(0px);
|
||||
@include border-bottom-radius(0px);
|
||||
border-top-width: 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
&:first-child {
|
||||
@include border-top-radius($input-border-radius);
|
||||
border-top-width: 1px;
|
||||
}
|
||||
&:last-child {
|
||||
@include border-bottom-radius($input-border-radius);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user