blob: 2d71b4dfb6d64c2e0d370dfd95dd3614f4eb852a [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";
Akron59992122019-10-29 11:28:45 +01006@import "base/form";
Nils Diewalda944fab2015-04-08 21:02:04 +00007
Nils Diewald652e5f42015-05-10 18:11:45 +00008/**
9 * Basic global CSS rules for Kalamar
10 */
11
12body,
13html,
14select,
15g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000016 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010017 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000018 margin: 0;
19}
20
Nils Diewalda944fab2015-04-08 21:02:04 +000021* {
22 @include box-sizing-box;
23}
24
Akron308db382016-05-30 22:34:07 +020025/*
26html {
27// @include box-sizing-box;
28 box-sizing: border-box;
29}
30
31*, *:before, *:after {
32 box-sizing: inherit;
33}
34*/
35
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000036g > text {
37 fill: $dark-grey;
38}
39
Nils Diewald1c546922015-04-13 01:56:19 +000040html {
41 height: 100%;
42}
43
Nils Diewalda944fab2015-04-08 21:02:04 +000044body {
Nils Diewald1c546922015-04-13 01:56:19 +000045 position: relative;
46 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000047 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010048 margin: 0;
49 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000050}
51
Nils Diewalda944fab2015-04-08 21:02:04 +000052
53a {
Akronb917a7c2015-07-02 11:02:42 +020054 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000055 color: $dark-orange;
56 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000057 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000058 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000059 @include color-transition;
60 }
Nils Diewald9922edf2015-05-07 20:03:33 +000061 }
Nils Diewald652e5f42015-05-10 18:11:45 +000062
Nils Diewald652e5f42015-05-10 18:11:45 +000063 // External links
64 &[href^="http://"]::after,
65 &[href^="https://"]::after {
66 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020067 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000068 content: " " + $fa-extlink;
69 font-size: 75%;
70 }
Nils Diewalda944fab2015-04-08 21:02:04 +000071}
Nils Diewaldc46003b2015-05-07 15:55:35 +000072
Nils Diewald652e5f42015-05-10 18:11:45 +000073// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000074a[onclick$='return PArok(this,false)'] {
75 direction:rtl;
76 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000077 text-align:left;
78 & > span {
79 &:nth-child(1n+2){
80 display:none
81 }
82 &:nth-child(1)::after{
83 content:'@'
84 }
85 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000086}
Akron189b3592016-01-04 20:56:46 +010087
Akron59992122019-10-29 11:28:45 +010088button {
89 cursor: pointer;
90}
91
Akron189b3592016-01-04 20:56:46 +010092button[type=submit] {
93 font-weight: normal;
94 @include choose-item;
95 padding: 0;
96 height: 100%;
97 top: 0;
98 width: $button-width;
99 cursor:pointer;
100 > span:nth-of-type(1) {
101 @include blind;
102 }
103 &::after {
104 font-family: "FontAwesome";
105 }
106 border: {
107 width: $border-size;
108 style: solid;
109 color: $nearly-white;
110 }
111 &:hover, &:focus {
112 @include choose-hover;
113 }
114 &::-moz-focus-inner {
115 border: none;
116 }
117 &:active {
118 @include choose-active;
119 }
120 /**
121 * This is just for styling the last button,
122 * in case there are more than one buttons.
123 */
124 &:last-of-type {
125 // @include box-sizing-box();
126 border: {
127 right-width: $border-size;
128 right-style: solid;
129 top-right-radius: $standard-border-radius;
130 bottom-right-radius: $standard-border-radius;
131 }
132 }
133}
134
135button + button {
136 right: 0;
137}