blob: 77506655a98e200e79f7e2102e92ff538b8d3593 [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
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020037// html {
38// height: 100vh;
39// }
Akron7e5afce2020-08-25 15:50:19 +020040
41body {
Akroned280252021-03-15 15:02:41 +010042 min-height: 100vh;
Akron7e5afce2020-08-25 15:50:19 +020043 font-size: 12pt;
44 margin: 0;
45 padding: 0;
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020046 display: flex;
47 flex-direction: column;
Akron7e5afce2020-08-25 15:50:19 +020048}
49
50a {
Akron83209f72021-01-29 17:54:15 +010051 &:visited {
52 color: $darkest-orange;
53 }
54
Akron7e5afce2020-08-25 15:50:19 +020055 &:link {
56 text-decoration: none;
57 color: $dark-orange;
58 &:hover {
59 color: $darkest-orange;
60 transition: color 0.3s ease 0s;
61 }
62 }
63
64 // External links
65 &[href^="http://"]::after,
66 &[href^="https://"]::after {
67 @include icon-font;
68 content: " " + $fa-extlink;
69 font-size: 75%;
70 }
71}
72
73// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
74a[onclick$='return PArok(this,false)'] {
75 unicode-bidi: bidi-override;
76 direction: rtl;
77 text-align: left;
78 & > span {
79 &:nth-child(1n+2){
80 display: none
81 }
82 &:nth-child(1)::after{
83 content: '@'
84 }
85 }
86}
87
88.clear {
89 clear: both;
90}
91
Akronbc6b3f22021-01-13 14:53:12 +010092iframe {
93 border-width: 0;
94}
95
Akron7e5afce2020-08-25 15:50:19 +020096blockquote {
97 border-radius: $standard-border-radius;
98 padding: 2pt 5pt 2pt 20pt;
99 margin: 0;
100 border-left: 5px solid $ids-blue-1;
101 background-color: $ids-blue-2;
102 color: $ids-blue-1;
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +0200103 -webkit-mix-blend-mode: normal; // Safari
104 mix-blend-mode: soft-light;
Helgeefd0dd12024-03-14 13:46:08 +0100105
Akron7e5afce2020-08-25 15:50:19 +0200106 &.bug,
Akronef14c2a2020-10-07 16:30:18 +0200107 &.missing,
108 &.warning {
Akron7e5afce2020-08-25 15:50:19 +0200109 border-left-color: $dark-red;
110 background-color: $middle-red;
111 color: $nearly-white;
Akron6c261e62020-09-21 15:29:58 +0200112 mix-blend-mode: multiply;
Akron7e5afce2020-08-25 15:50:19 +0200113 }
114}
115
116dl {
117 margin: 0;
118 padding-bottom: .5em;
119
120 dt {
121 font-weight: bold;
122
123 abbr {
124 border-width: 0;
125
126 &[data-type=token]::after {
127 color: $ids-blue-1;
128 }
129
130 &[data-type=span]::after {
131 color: $ids-pink-1;
132 }
133
134 &::after {
135 content: ' (' attr(title) ')';
136 vertical-align: bottom;
137 font: {
138 style: italic;
139 weight: normal;
140 size: 80%;
141 }
142 }
143 }
144 }
Akron116eace2021-06-14 18:02:37 +0200145}