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