blob: f6dc1521708f9656c37594b15031a0f0f363d48c [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
Akron2f979122018-07-25 17:00:23 +02003@import "base/flextable";
Akron49f88cc2018-09-11 11:06:19 +02004@import "base/fragment";
Akron1be6c1c2020-01-07 15:29:58 +01005@import "base/load";
Nils Diewalda944fab2015-04-08 21:02:04 +00006
Nils Diewald652e5f42015-05-10 18:11:45 +00007/**
8 * Basic global CSS rules for Kalamar
9 */
10
11body,
12html,
13select,
14g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000015 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010016 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000017 margin: 0;
18}
19
Nils Diewalda944fab2015-04-08 21:02:04 +000020* {
21 @include box-sizing-box;
22}
23
Akron308db382016-05-30 22:34:07 +020024/*
25html {
26// @include box-sizing-box;
27 box-sizing: border-box;
28}
29
30*, *:before, *:after {
31 box-sizing: inherit;
32}
33*/
34
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000035g > text {
36 fill: $dark-grey;
37}
38
Nils Diewald1c546922015-04-13 01:56:19 +000039html {
40 height: 100%;
41}
42
Nils Diewalda944fab2015-04-08 21:02:04 +000043body {
Nils Diewald1c546922015-04-13 01:56:19 +000044 position: relative;
45 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000046 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010047 margin: 0;
48 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000049}
50
Nils Diewalda944fab2015-04-08 21:02:04 +000051
52a {
Akronb917a7c2015-07-02 11:02:42 +020053 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000054 color: $dark-orange;
55 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000056 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000057 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000058 @include color-transition;
59 }
Nils Diewald9922edf2015-05-07 20:03:33 +000060 }
Nils Diewald652e5f42015-05-10 18:11:45 +000061
Nils Diewald652e5f42015-05-10 18:11:45 +000062 // External links
63 &[href^="http://"]::after,
64 &[href^="https://"]::after {
65 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020066 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000067 content: " " + $fa-extlink;
68 font-size: 75%;
69 }
Nils Diewalda944fab2015-04-08 21:02:04 +000070}
Nils Diewaldc46003b2015-05-07 15:55:35 +000071
Nils Diewald652e5f42015-05-10 18:11:45 +000072// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000073a[onclick$='return PArok(this,false)'] {
74 direction:rtl;
75 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000076 text-align:left;
77 & > span {
78 &:nth-child(1n+2){
79 display:none
80 }
81 &:nth-child(1)::after{
82 content:'@'
83 }
84 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000085}
Akron189b3592016-01-04 20:56:46 +010086
87button[type=submit] {
88 font-weight: normal;
89 @include choose-item;
90 padding: 0;
91 height: 100%;
92 top: 0;
93 width: $button-width;
94 cursor:pointer;
95 > span:nth-of-type(1) {
96 @include blind;
97 }
98 &::after {
99 font-family: "FontAwesome";
100 }
101 border: {
102 width: $border-size;
103 style: solid;
104 color: $nearly-white;
105 }
106 &:hover, &:focus {
107 @include choose-hover;
108 }
109 &::-moz-focus-inner {
110 border: none;
111 }
112 &:active {
113 @include choose-active;
114 }
115 /**
116 * This is just for styling the last button,
117 * in case there are more than one buttons.
118 */
119 &:last-of-type {
120 // @include box-sizing-box();
121 border: {
122 right-width: $border-size;
123 right-style: solid;
124 top-right-radius: $standard-border-radius;
125 bottom-right-radius: $standard-border-radius;
126 }
127 }
128}
129
130button + button {
131 right: 0;
132}