blob: fe16021c5edd0515a0641e2963416cd5721aef8a [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
Akron7f1e07e2020-08-24 20:12:14 +02003@import "base/fonts";
Akron2f979122018-07-25 17:00:23 +02004@import "base/flextable";
Akron49f88cc2018-09-11 11:06:19 +02005@import "base/fragment";
Akron1be6c1c2020-01-07 15:29:58 +01006@import "base/load";
Akron59992122019-10-29 11:28:45 +01007@import "base/form";
Akron7f1e07e2020-08-24 20:12:14 +02008@import "base/view";
Nils Diewalda944fab2015-04-08 21:02:04 +00009
Nils Diewald652e5f42015-05-10 18:11:45 +000010/**
11 * Basic global CSS rules for Kalamar
12 */
13
14body,
15html,
16select,
17g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000018 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010019 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000020 margin: 0;
21}
22
Nils Diewalda944fab2015-04-08 21:02:04 +000023* {
24 @include box-sizing-box;
25}
26
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000027g > text {
28 fill: $dark-grey;
29}
30
Nils Diewald1c546922015-04-13 01:56:19 +000031html {
32 height: 100%;
33}
34
Nils Diewalda944fab2015-04-08 21:02:04 +000035body {
Nils Diewald1c546922015-04-13 01:56:19 +000036 position: relative;
37 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000038 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010039 margin: 0;
40 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000041}
42
Nils Diewalda944fab2015-04-08 21:02:04 +000043
44a {
Akronb917a7c2015-07-02 11:02:42 +020045 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000046 color: $dark-orange;
47 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000048 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000049 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000050 @include color-transition;
51 }
Nils Diewald9922edf2015-05-07 20:03:33 +000052 }
Nils Diewald652e5f42015-05-10 18:11:45 +000053
Nils Diewald652e5f42015-05-10 18:11:45 +000054 // External links
55 &[href^="http://"]::after,
56 &[href^="https://"]::after {
57 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020058 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000059 content: " " + $fa-extlink;
60 font-size: 75%;
61 }
Nils Diewalda944fab2015-04-08 21:02:04 +000062}
Nils Diewaldc46003b2015-05-07 15:55:35 +000063
Nils Diewald652e5f42015-05-10 18:11:45 +000064// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000065a[onclick$='return PArok(this,false)'] {
66 direction:rtl;
67 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000068 text-align:left;
69 & > span {
70 &:nth-child(1n+2){
71 display:none
72 }
73 &:nth-child(1)::after{
74 content:'@'
75 }
76 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000077}
Akron189b3592016-01-04 20:56:46 +010078
Akron59992122019-10-29 11:28:45 +010079button {
80 cursor: pointer;
81}
82
Akron189b3592016-01-04 20:56:46 +010083button[type=submit] {
84 font-weight: normal;
85 @include choose-item;
86 padding: 0;
87 height: 100%;
88 top: 0;
89 width: $button-width;
90 cursor:pointer;
91 > span:nth-of-type(1) {
92 @include blind;
93 }
94 &::after {
95 font-family: "FontAwesome";
96 }
97 border: {
98 width: $border-size;
99 style: solid;
100 color: $nearly-white;
101 }
102 &:hover, &:focus {
103 @include choose-hover;
104 }
105 &::-moz-focus-inner {
106 border: none;
107 }
108 &:active {
109 @include choose-active;
110 }
111 /**
112 * This is just for styling the last button,
113 * in case there are more than one buttons.
114 */
115 &:last-of-type {
116 // @include box-sizing-box();
117 border: {
118 right-width: $border-size;
119 right-style: solid;
120 top-right-radius: $standard-border-radius;
121 bottom-right-radius: $standard-border-radius;
122 }
123 }
124}
125
126button + button {
127 right: 0;
128}