blob: 5e095a2456ba3b2d27f5c3dd94c42e8694463639 [file] [log] [blame]
Akron7e5afce2020-08-25 15:50:19 +02001@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";
Akron6db23ab2020-09-21 16:50:52 +020010@import "banner";
Akron116eace2021-06-14 18:02:37 +020011@import "showPWD";
Akron7e5afce2020-08-25 15:50:19 +020012
13/**
14 * Basic global CSS rules for Kalamar
15 */
16
17
18* {
19 @include box-sizing-box;
20}
21
22body,
23html,
24select,
25g > text {
26 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
27 color: $dark-grey;
28 margin: 0;
29}
30
31g > text {
32 fill: $dark-grey;
33}
34
35html {
Akroned280252021-03-15 15:02:41 +010036 height: 100vh;
Akron7e5afce2020-08-25 15:50:19 +020037}
38
39body {
40 position: relative;
Akroned280252021-03-15 15:02:41 +010041 min-height: 100vh;
Akron7e5afce2020-08-25 15:50:19 +020042 font-size: 12pt;
43 margin: 0;
44 padding: 0;
45}
46
47a {
Akron83209f72021-01-29 17:54:15 +010048 &:visited {
49 color: $darkest-orange;
50 }
51
Akron7e5afce2020-08-25 15:50:19 +020052 &: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
71a[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
Akronbc6b3f22021-01-13 14:53:12 +010089iframe {
90 border-width: 0;
91}
92
Akron7e5afce2020-08-25 15:50:19 +020093blockquote {
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;
Akron6b42c602020-09-08 17:00:13 +0200100 mix-blend-mode: soft-light;
Akron7e5afce2020-08-25 15:50:19 +0200101
102 &.bug,
Akronef14c2a2020-10-07 16:30:18 +0200103 &.missing,
104 &.warning {
Akron7e5afce2020-08-25 15:50:19 +0200105 border-left-color: $dark-red;
106 background-color: $middle-red;
107 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +0200108 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200109 }
110}
111
112dl {
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 }
Akron116eace2021-06-14 18:02:37 +0200141}