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