blob: 5d8577e0edccbe8a773c2167e8927fbb361677df [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;
Helgeefd0dd12024-03-14 13:46:08 +0100102 -webkit-mix-blend-mode: normal; // Safari
Akron6b42c602020-09-08 17:00:13 +0200103 mix-blend-mode: soft-light;
Helgeefd0dd12024-03-14 13:46:08 +0100104
Akron7e5afce2020-08-25 15:50:19 +0200105 &.bug,
Akronef14c2a2020-10-07 16:30:18 +0200106 &.missing,
107 &.warning {
Akron7e5afce2020-08-25 15:50:19 +0200108 border-left-color: $dark-red;
109 background-color: $middle-red;
110 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +0200111 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200112 }
113}
114
115dl {
116 margin: 0;
117 padding-bottom: .5em;
118
119 dt {
120 font-weight: bold;
121
122 abbr {
123 border-width: 0;
124
125 &[data-type=token]::after {
126 color: $ids-blue-1;
127 }
128
129 &[data-type=span]::after {
130 color: $ids-pink-1;
131 }
132
133 &::after {
134 content: ' (' attr(title) ')';
135 vertical-align: bottom;
136 font: {
137 style: italic;
138 weight: normal;
139 size: 80%;
140 }
141 }
142 }
143 }
Akron116eace2021-06-14 18:02:37 +0200144}