| ... | ... |
@@ -480,13 +480,15 @@ ol {
|
| 480 | 480 |
} |
| 481 | 481 |
} |
| 482 | 482 |
|
| 483 |
-.ce_text {
|
|
| 483 |
+.ce_text, |
|
| 484 |
+.hero-wrapper {
|
|
| 484 | 485 |
ul,ol {
|
| 485 | 486 |
@extend .list; |
| 486 | 487 |
} |
| 487 | 488 |
|
| 488 | 489 |
a:not(.button) {
|
| 489 |
- &[target="_blank"]:not(.-ico-dl) {
|
|
| 490 |
+ &[target="_blank"]:not(.-ico-dl), |
|
| 491 |
+ &.-emphasised-block:not(.-ico-dl) {
|
|
| 490 | 492 |
&:before {
|
| 491 | 493 |
content: ''; |
| 492 | 494 |
width: .5em; |
| ... | ... |
@@ -494,6 +496,7 @@ ol {
|
| 494 | 496 |
display: inline-block; |
| 495 | 497 |
position: relative; |
| 496 | 498 |
background: $color-link; |
| 499 |
+ background: currentColor; |
|
| 497 | 500 |
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 62 123' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath d='M60.32,65.45c1.409,-2.509 1.409,-5.581 0,-8.09l-36.13,-54.92c-1.41,-2.31 -5.08,-3.18 -7.05,-1.74l-15,7c-2.22,1.39 -2.78,5.14 -1.37,7.46l30.23,46.24l-29.95,45.67c-1.69,2.6 -0.84,6.36 0.85,7.52l15.24,7.22c2.25,1.45 5.64,0.29 7.05,-1.73l36.13,-54.63Z' style='fill:%23#{str-replace($color-bg-secondary,'#','')};fill-rule:nonzero;'/%3E%3C/svg%3E");
|
| 498 | 501 |
mask-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 62 123' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath d='M60.32,65.45c1.409,-2.509 1.409,-5.581 0,-8.09l-36.13,-54.92c-1.41,-2.31 -5.08,-3.18 -7.05,-1.74l-15,7c-2.22,1.39 -2.78,5.14 -1.37,7.46l30.23,46.24l-29.95,45.67c-1.69,2.6 -0.84,6.36 0.85,7.52l15.24,7.22c2.25,1.45 5.64,0.29 7.05,-1.73l36.13,-54.63Z' style='fill:%23#{str-replace($color-bg-secondary,'#','')};fill-rule:nonzero;'/%3E%3C/svg%3E");
|
| 499 | 502 |
-webkit-mask-repeat: no-repeat; |
| ... | ... |
@@ -1048,3 +1051,16 @@ p.info {
|
| 1048 | 1051 |
} |
| 1049 | 1052 |
} |
| 1050 | 1053 |
} |
| 1054 |
+ |
|
| 1055 |
+/** |
|
| 1056 |
+ * Custom Formats |
|
| 1057 |
+ */ |
|
| 1058 |
+ |
|
| 1059 |
+.emphasised {
|
|
| 1060 |
+ font-size: 1.125em; |
|
| 1061 |
+ text-transform: uppercase; |
|
| 1062 |
+ font-weight: 700; |
|
| 1063 |
+ font-family: $font-family-alternate; |
|
| 1064 |
+ letter-spacing: 0.05em; |
|
| 1065 |
+ color: $color-bg-secondary; |
|
| 1066 |
+} |
|
| 1051 | 1067 |
\ No newline at end of file |
| ... | ... |
@@ -29,4 +29,12 @@ div.callout.danger {
|
| 29 | 29 |
border-left-color: #E84F4F; |
| 30 | 30 |
background-color: #fce8e8; |
| 31 | 31 |
color: #b91818; |
| 32 |
- } |
|
| 33 | 32 |
\ No newline at end of file |
| 33 |
+ } |
|
| 34 |
+ |
|
| 35 |
+span.emphasised {
|
|
| 36 |
+ font-size: 1.125em; |
|
| 37 |
+ text-transform: uppercase; |
|
| 38 |
+ font-weight: 700; |
|
| 39 |
+ letter-spacing: 0.05em; |
|
| 40 |
+ color: #ad9c87; |
|
| 41 |
+} |
|
| 34 | 42 |
\ No newline at end of file |
| ... | ... |
@@ -44,7 +44,7 @@ window.tinymce && tinymce.init({
|
| 44 | 44 |
<?php $this->endblock(); ?> |
| 45 | 45 |
|
| 46 | 46 |
<?php $this->block('content_css'); ?>
|
| 47 |
- content_css: 'system/themes/<?= Backend::getTheme() ?>/tinymce.min.css', |
|
| 47 |
+ content_css: 'system/themes/<?= Backend::getTheme() ?>/tinymce.min.css,files/themes/aldegott_2022/assets/css/tinymce/formats.css', |
|
| 48 | 48 |
<?php $this->endblock(); ?> |
| 49 | 49 |
|
| 50 | 50 |
<?php $this->block('plugins'); ?>
|
| ... | ... |
@@ -81,6 +81,12 @@ window.tinymce && tinymce.init({
|
| 81 | 81 |
{title: 'None', value: ''},
|
| 82 | 82 |
{title: 'Standalone hervorgehoben', value: '-emphasised-block'},
|
| 83 | 83 |
{title: 'Button (neutral)', value: 'button'}
|
| 84 |
+ ], |
|
| 85 |
+ formats: {
|
|
| 86 |
+ emphasise: { inline: 'span', classes: 'emphasised' }
|
|
| 87 |
+ }, |
|
| 88 |
+ style_formats: [ |
|
| 89 |
+ { title: 'Hervorgehoben', format: 'emphasise' }
|
|
| 84 | 90 |
] |
| 85 | 91 |
}); |
| 86 | 92 |
</script> |