blob: be195e3f1c5a841aa2039ea25ff0cc6f0d6647cb [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 {
35 height: 100%;
36}
37
38body {
39 position: relative;
40 min-height: 100%;
41 font-size: 12pt;
42 margin: 0;
43 padding: 0;
44}
45
46a {
47 &:link {
48 text-decoration: none;
49 color: $dark-orange;
50 &:hover {
51 color: $darkest-orange;
52 transition: color 0.3s ease 0s;
53 }
54 }
55
56 // External links
57 &[href^="http://"]::after,
58 &[href^="https://"]::after {
59 @include icon-font;
60 content: " " + $fa-extlink;
61 font-size: 75%;
62 }
63}
64
65// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
66a[onclick$='return PArok(this,false)'] {
67 unicode-bidi: bidi-override;
68 direction: rtl;
69 text-align: left;
70 & > span {
71 &:nth-child(1n+2){
72 display: none
73 }
74 &:nth-child(1)::after{
75 content: '@'
76 }
77 }
78}
79
80.clear {
81 clear: both;
82}
83
Akronbc6b3f22021-01-13 14:53:12 +010084iframe {
85 border-width: 0;
86}
87
Akron7e5afce2020-08-25 15:50:19 +020088blockquote {
89 border-radius: $standard-border-radius;
90 padding: 2pt 5pt 2pt 20pt;
91 margin: 0;
92 border-left: 5px solid $ids-blue-1;
93 background-color: $ids-blue-2;
94 color: $ids-blue-1;
Akron6b42c602020-09-08 17:00:13 +020095 mix-blend-mode: soft-light;
Akron7e5afce2020-08-25 15:50:19 +020096
97 &.bug,
Akronef14c2a2020-10-07 16:30:18 +020098 &.missing,
99 &.warning {
Akron7e5afce2020-08-25 15:50:19 +0200100 border-left-color: $dark-red;
101 background-color: $middle-red;
102 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +0200103 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200104 }
105}
106
107dl {
108 margin: 0;
109 padding-bottom: .5em;
110
111 dt {
112 font-weight: bold;
113
114 abbr {
115 border-width: 0;
116
117 &[data-type=token]::after {
118 color: $ids-blue-1;
119 }
120
121 &[data-type=span]::after {
122 color: $ids-pink-1;
123 }
124
125 &::after {
126 content: ' (' attr(title) ')';
127 vertical-align: bottom;
128 font: {
129 style: italic;
130 weight: normal;
131 size: 80%;
132 }
133 }
134 }
135 }
136}