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