blob: d5cb6c8e161aad0355fbf850aa53e05c3556cd18 [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";
Akrona9c55802021-06-15 11:41:29 +020012@import "copyToClipboard";
Akron7e5afce2020-08-25 15:50:19 +020013
14/**
15 * Basic global CSS rules for Kalamar
16 */
17
18
19* {
20 @include box-sizing-box;
21}
22
23body,
24html,
25select,
26g > text {
27 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
28 color: $dark-grey;
29 margin: 0;
30}
31
32g > text {
33 fill: $dark-grey;
34}
35
36html {
Akroned280252021-03-15 15:02:41 +010037 height: 100vh;
Akron7e5afce2020-08-25 15:50:19 +020038}
39
40body {
41 position: relative;
Akroned280252021-03-15 15:02:41 +010042 min-height: 100vh;
Akron7e5afce2020-08-25 15:50:19 +020043 font-size: 12pt;
44 margin: 0;
45 padding: 0;
46}
47
48a {
Akron83209f72021-01-29 17:54:15 +010049 &:visited {
50 color: $darkest-orange;
51 }
52
Akron7e5afce2020-08-25 15:50:19 +020053 &: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
72a[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
Akronbc6b3f22021-01-13 14:53:12 +010090iframe {
91 border-width: 0;
92}
93
Akron7e5afce2020-08-25 15:50:19 +020094blockquote {
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;
Akron6b42c602020-09-08 17:00:13 +0200101 mix-blend-mode: soft-light;
Akron7e5afce2020-08-25 15:50:19 +0200102
103 &.bug,
Akronef14c2a2020-10-07 16:30:18 +0200104 &.missing,
105 &.warning {
Akron7e5afce2020-08-25 15:50:19 +0200106 border-left-color: $dark-red;
107 background-color: $middle-red;
108 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +0200109 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200110 }
111}
112
113dl {
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 }
Akron116eace2021-06-14 18:02:37 +0200142}