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