Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/components/ILIAS/PHPUnit/config/cfg.phpunit.php
/nbproject
/templates/default/delos.css.map
/templates/default/mail.css.map

# General Patterns
*.bak
Expand Down
34 changes: 21 additions & 13 deletions templates/default/mail.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion templates/default/mail.css.map

This file was deleted.

43 changes: 25 additions & 18 deletions templates/default/mail.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@use "010-settings/"as *;
/*
ATTENTION!
This file belongs to the new ‘UI/Layout/Page/Mail’ component.
This will be used to generate emails starting with ILIAS 12 and currently does NOT affect the styling of emails.
*/

@use "010-settings/" as *;

$il-mail-page-logo-width: $il-standard-page-logo-width !default;
$il-mail-page-logo-height: $il-standard-page-logo-height !default;
Expand All @@ -18,7 +24,7 @@ $il-mail-page-logo-height: $il-standard-page-logo-height !default;
}

.image-data {
width: 90px;
width: calc($il-mail-page-logo-width + 15px);
}

td.spacing {
Expand All @@ -45,33 +51,33 @@ td.spacing {
}

.content .spacing {
padding: 80px 0;
padding: 60px 0;
}

.content td td {
background-color: $il-main-bg;
}

.text-color {
color: $il-main-color;
}

.footer .font-definition {
color: $il-text-color;
}

.font-definition {
font-family:'Open Sans', Arial, Helvetica, sans-serif;
font-size:16px;
line-height:22px;
padding:30px;

&p {
line-height:22px;
font-size:16px;
}
}

body {
height: 100% !important;
margin: 0;
padding: 0;
width: 100% !important;
color: $il-text-color;
mso-margin-top-alt: 0px;
mso-margin-bottom-alt: 0px;
mso-padding-alt: 0px 0px 0px 0px;
Expand All @@ -85,15 +91,14 @@ body {
margin-right: auto;
}

.w-750 {
width: 750px;
.w-mail {
width: 80%;
}

.link-color {
a {
color: $il-link-color;
}


table {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
Expand All @@ -113,15 +118,17 @@ img {
-ms-interpolation-mode: bicubic;
}


body, table, td, th, p, a, li {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}


@media only screen and (max-width: 760px) {
.w-750 {
width: 100%;
.w-mail {
width: 90%;
}
}

.content .spacing {
padding: 40px 0;
}
}