blob: 2fe143d7aeea3a998cbb283931b785768dfe5280 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Nils Diewald652e5f42015-05-10 18:11:45 +00004/**
5 * Basic global CSS rules for Kalamar
6 */
7
8body,
9html,
10select,
11g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000012 color: $dark-grey;
13 font-family: verdana, tahoma, arial;
14 margin: 0;
15}
16
Nils Diewalda944fab2015-04-08 21:02:04 +000017* {
18 @include box-sizing-box;
19}
20
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000021g > text {
22 fill: $dark-grey;
23}
24
Nils Diewald1c546922015-04-13 01:56:19 +000025html {
26 height: 100%;
27}
28
Nils Diewalda944fab2015-04-08 21:02:04 +000029body {
Nils Diewald1c546922015-04-13 01:56:19 +000030 position: relative;
31 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000032 font-size: 12pt;
33}
34
Nils Diewalda944fab2015-04-08 21:02:04 +000035
36a {
Akronb917a7c2015-07-02 11:02:42 +020037 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000038 color: $dark-orange;
39 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000040 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000041 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000042 @include color-transition;
43 }
Nils Diewald9922edf2015-05-07 20:03:33 +000044 }
Nils Diewald652e5f42015-05-10 18:11:45 +000045
Nils Diewald652e5f42015-05-10 18:11:45 +000046 // External links
47 &[href^="http://"]::after,
48 &[href^="https://"]::after {
49 font-family: FontAwesome;
50 content: " " + $fa-extlink;
51 font-size: 75%;
52 }
53
54 // Link to documentation
55 &.doc-link::after {
56 font-family: FontAwesome;
57 content: " " + $fa-tutorial;
58 font-size: 75%;
59 }
Nils Diewalda944fab2015-04-08 21:02:04 +000060}
Nils Diewaldc46003b2015-05-07 15:55:35 +000061
Nils Diewald652e5f42015-05-10 18:11:45 +000062// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000063a[onclick$='return PArok(this,false)'] {
64 direction:rtl;
65 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000066 text-align:left;
67 & > span {
68 &:nth-child(1n+2){
69 display:none
70 }
71 &:nth-child(1)::after{
72 content:'@'
73 }
74 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000075}