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