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