Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | @import "../util"; |
| 3 | @import "fonts"; |
| 4 | @import "flextable"; |
| 5 | @import "fragment"; |
| 6 | @import "load"; |
| 7 | @import "form"; |
| 8 | @import "view"; |
| 9 | @import "menu"; |
Akron | 6db23ab | 2020-09-21 16:50:52 +0200 | [diff] [blame] | 10 | @import "banner"; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 11 | |
| 12 | /** |
| 13 | * Basic global CSS rules for Kalamar |
| 14 | */ |
| 15 | |
| 16 | |
| 17 | * { |
| 18 | @include box-sizing-box; |
| 19 | } |
| 20 | |
| 21 | body, |
| 22 | html, |
| 23 | select, |
| 24 | g > text { |
| 25 | font-family: verdana, tahoma, arial, Helvetica, sans-serif; |
| 26 | color: $dark-grey; |
| 27 | margin: 0; |
| 28 | } |
| 29 | |
| 30 | g > text { |
| 31 | fill: $dark-grey; |
| 32 | } |
| 33 | |
| 34 | html { |
| 35 | height: 100%; |
| 36 | } |
| 37 | |
| 38 | body { |
| 39 | position: relative; |
| 40 | min-height: 100%; |
| 41 | font-size: 12pt; |
| 42 | margin: 0; |
| 43 | padding: 0; |
| 44 | } |
| 45 | |
| 46 | a { |
| 47 | &:link { |
| 48 | text-decoration: none; |
| 49 | color: $dark-orange; |
| 50 | &:hover { |
| 51 | color: $darkest-orange; |
| 52 | transition: color 0.3s ease 0s; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // External links |
| 57 | &[href^="http://"]::after, |
| 58 | &[href^="https://"]::after { |
| 59 | @include icon-font; |
| 60 | content: " " + $fa-extlink; |
| 61 | font-size: 75%; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | // Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre |
| 66 | a[onclick$='return PArok(this,false)'] { |
| 67 | unicode-bidi: bidi-override; |
| 68 | direction: rtl; |
| 69 | text-align: left; |
| 70 | & > span { |
| 71 | &:nth-child(1n+2){ |
| 72 | display: none |
| 73 | } |
| 74 | &:nth-child(1)::after{ |
| 75 | content: '@' |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .clear { |
| 81 | clear: both; |
| 82 | } |
| 83 | |
| 84 | blockquote { |
| 85 | border-radius: $standard-border-radius; |
| 86 | padding: 2pt 5pt 2pt 20pt; |
| 87 | margin: 0; |
| 88 | border-left: 5px solid $ids-blue-1; |
| 89 | background-color: $ids-blue-2; |
| 90 | color: $ids-blue-1; |
Akron | 6b42c60 | 2020-09-08 17:00:13 +0200 | [diff] [blame] | 91 | mix-blend-mode: soft-light; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 92 | |
| 93 | &.bug, |
Akron | ef14c2a | 2020-10-07 16:30:18 +0200 | [diff] [blame^] | 94 | &.missing, |
| 95 | &.warning { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 96 | border-left-color: $dark-red; |
| 97 | background-color: $middle-red; |
| 98 | color: $nearly-white; |
Akron | 6c261e6 | 2020-09-21 15:29:58 +0200 | [diff] [blame] | 99 | mix-blend-mode: multiply; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 100 | } |
| 101 | } |
| 102 | |
| 103 | dl { |
| 104 | margin: 0; |
| 105 | padding-bottom: .5em; |
| 106 | |
| 107 | dt { |
| 108 | font-weight: bold; |
| 109 | |
| 110 | abbr { |
| 111 | border-width: 0; |
| 112 | |
| 113 | &[data-type=token]::after { |
| 114 | color: $ids-blue-1; |
| 115 | } |
| 116 | |
| 117 | &[data-type=span]::after { |
| 118 | color: $ids-pink-1; |
| 119 | } |
| 120 | |
| 121 | &::after { |
| 122 | content: ' (' attr(title) ')'; |
| 123 | vertical-align: bottom; |
| 124 | font: { |
| 125 | style: italic; |
| 126 | weight: normal; |
| 127 | size: 80%; |
| 128 | } |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | } |