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 { |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 35 | height: 100vh; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | body { |
| 39 | position: relative; |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 40 | min-height: 100vh; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 41 | font-size: 12pt; |
| 42 | margin: 0; |
| 43 | padding: 0; |
| 44 | } |
| 45 | |
| 46 | a { |
Akron | 83209f7 | 2021-01-29 17:54:15 +0100 | [diff] [blame] | 47 | &:visited { |
| 48 | color: $darkest-orange; |
| 49 | } |
| 50 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 51 | &:link { |
| 52 | text-decoration: none; |
| 53 | color: $dark-orange; |
| 54 | &:hover { |
| 55 | color: $darkest-orange; |
| 56 | transition: color 0.3s ease 0s; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | // External links |
| 61 | &[href^="http://"]::after, |
| 62 | &[href^="https://"]::after { |
| 63 | @include icon-font; |
| 64 | content: " " + $fa-extlink; |
| 65 | font-size: 75%; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | // Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre |
| 70 | a[onclick$='return PArok(this,false)'] { |
| 71 | unicode-bidi: bidi-override; |
| 72 | direction: rtl; |
| 73 | text-align: left; |
| 74 | & > span { |
| 75 | &:nth-child(1n+2){ |
| 76 | display: none |
| 77 | } |
| 78 | &:nth-child(1)::after{ |
| 79 | content: '@' |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | .clear { |
| 85 | clear: both; |
| 86 | } |
| 87 | |
Akron | bc6b3f2 | 2021-01-13 14:53:12 +0100 | [diff] [blame] | 88 | iframe { |
| 89 | border-width: 0; |
| 90 | } |
| 91 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 92 | blockquote { |
| 93 | border-radius: $standard-border-radius; |
| 94 | padding: 2pt 5pt 2pt 20pt; |
| 95 | margin: 0; |
| 96 | border-left: 5px solid $ids-blue-1; |
| 97 | background-color: $ids-blue-2; |
| 98 | color: $ids-blue-1; |
Akron | 6b42c60 | 2020-09-08 17:00:13 +0200 | [diff] [blame] | 99 | mix-blend-mode: soft-light; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 100 | |
| 101 | &.bug, |
Akron | ef14c2a | 2020-10-07 16:30:18 +0200 | [diff] [blame] | 102 | &.missing, |
| 103 | &.warning { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 104 | border-left-color: $dark-red; |
| 105 | background-color: $middle-red; |
| 106 | color: $nearly-white; |
Akron | 6c261e6 | 2020-09-21 15:29:58 +0200 | [diff] [blame] | 107 | mix-blend-mode: multiply; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 108 | } |
| 109 | } |
| 110 | |
| 111 | dl { |
| 112 | margin: 0; |
| 113 | padding-bottom: .5em; |
| 114 | |
| 115 | dt { |
| 116 | font-weight: bold; |
| 117 | |
| 118 | abbr { |
| 119 | border-width: 0; |
| 120 | |
| 121 | &[data-type=token]::after { |
| 122 | color: $ids-blue-1; |
| 123 | } |
| 124 | |
| 125 | &[data-type=span]::after { |
| 126 | color: $ids-pink-1; |
| 127 | } |
| 128 | |
| 129 | &::after { |
| 130 | content: ' (' attr(title) ')'; |
| 131 | vertical-align: bottom; |
| 132 | font: { |
| 133 | style: italic; |
| 134 | weight: normal; |
| 135 | size: 80%; |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | } |