blob: 2ad7b95423da42dc57ac22430cecef5ca41e149d [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
84blockquote {
85 border-radius: $standard-border-radius;
86 padding: 2pt 5pt 2pt 20pt;
87 margin: 0;
88 border-left: 5px solid $ids-blue-1;
89 background-color: $ids-blue-2;
90 color: $ids-blue-1;
Akron6b42c602020-09-08 17:00:13 +020091 mix-blend-mode: soft-light;
Akron7e5afce2020-08-25 15:50:19 +020092
93 &.bug,
Akronef14c2a2020-10-07 16:30:18 +020094 &.missing,
95 &.warning {
Akron7e5afce2020-08-25 15:50:19 +020096 border-left-color: $dark-red;
97 background-color: $middle-red;
98 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +020099 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200100 }
101}
102
103dl {
104 margin: 0;
105 padding-bottom: .5em;
106
107 dt {
108 font-weight: bold;
109
110 abbr {
111 border-width: 0;
112
113 &[data-type=token]::after {
114 color: $ids-blue-1;
115 }
116
117 &[data-type=span]::after {
118 color: $ids-pink-1;
119 }
120
121 &::after {
122 content: ' (' attr(title) ')';
123 vertical-align: bottom;
124 font: {
125 style: italic;
126 weight: normal;
127 size: 80%;
128 }
129 }
130 }
131 }
132}