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