blob: 1582513c018b3de66c805c0236031095f5d13a8f [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";
Nils Diewalda944fab2015-04-08 21:02:04 +00005
Nils Diewald652e5f42015-05-10 18:11:45 +00006/**
7 * Basic global CSS rules for Kalamar
8 */
9
10body,
11html,
12select,
13g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000014 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010015 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000016 margin: 0;
17}
18
Nils Diewalda944fab2015-04-08 21:02:04 +000019* {
20 @include box-sizing-box;
21}
22
Akron308db382016-05-30 22:34:07 +020023/*
24html {
25// @include box-sizing-box;
26 box-sizing: border-box;
27}
28
29*, *:before, *:after {
30 box-sizing: inherit;
31}
32*/
33
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000034g > text {
35 fill: $dark-grey;
36}
37
Nils Diewald1c546922015-04-13 01:56:19 +000038html {
39 height: 100%;
40}
41
Nils Diewalda944fab2015-04-08 21:02:04 +000042body {
Nils Diewald1c546922015-04-13 01:56:19 +000043 position: relative;
44 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000045 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010046 margin: 0;
47 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000048}
49
Nils Diewalda944fab2015-04-08 21:02:04 +000050
51a {
Akronb917a7c2015-07-02 11:02:42 +020052 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000053 color: $dark-orange;
54 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000055 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000056 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000057 @include color-transition;
58 }
Nils Diewald9922edf2015-05-07 20:03:33 +000059 }
Nils Diewald652e5f42015-05-10 18:11:45 +000060
Nils Diewald652e5f42015-05-10 18:11:45 +000061 // External links
62 &[href^="http://"]::after,
63 &[href^="https://"]::after {
64 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020065 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000066 content: " " + $fa-extlink;
67 font-size: 75%;
68 }
Nils Diewalda944fab2015-04-08 21:02:04 +000069}
Nils Diewaldc46003b2015-05-07 15:55:35 +000070
Nils Diewald652e5f42015-05-10 18:11:45 +000071// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000072a[onclick$='return PArok(this,false)'] {
73 direction:rtl;
74 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000075 text-align:left;
76 & > span {
77 &:nth-child(1n+2){
78 display:none
79 }
80 &:nth-child(1)::after{
81 content:'@'
82 }
83 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000084}
Akron189b3592016-01-04 20:56:46 +010085
86button[type=submit] {
87 font-weight: normal;
88 @include choose-item;
89 padding: 0;
90 height: 100%;
91 top: 0;
92 width: $button-width;
93 cursor:pointer;
94 > span:nth-of-type(1) {
95 @include blind;
96 }
97 &::after {
98 font-family: "FontAwesome";
99 }
100 border: {
101 width: $border-size;
102 style: solid;
103 color: $nearly-white;
104 }
105 &:hover, &:focus {
106 @include choose-hover;
107 }
108 &::-moz-focus-inner {
109 border: none;
110 }
111 &:active {
112 @include choose-active;
113 }
114 /**
115 * This is just for styling the last button,
116 * in case there are more than one buttons.
117 */
118 &:last-of-type {
119 // @include box-sizing-box();
120 border: {
121 right-width: $border-size;
122 right-style: solid;
123 top-right-radius: $standard-border-radius;
124 bottom-right-radius: $standard-border-radius;
125 }
126 }
127}
128
129button + button {
130 right: 0;
131}