blob: 902b27c1a9a521234ca344c8e2c970c061c48b3c [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";
Nils Diewalda944fab2015-04-08 21:02:04 +00004
Nils Diewald652e5f42015-05-10 18:11:45 +00005/**
6 * Basic global CSS rules for Kalamar
7 */
8
9body,
10html,
11select,
12g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000013 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010014 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000015 margin: 0;
16}
17
Nils Diewalda944fab2015-04-08 21:02:04 +000018* {
19 @include box-sizing-box;
20}
21
Akron308db382016-05-30 22:34:07 +020022/*
23html {
24// @include box-sizing-box;
25 box-sizing: border-box;
26}
27
28*, *:before, *:after {
29 box-sizing: inherit;
30}
31*/
32
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000033g > text {
34 fill: $dark-grey;
35}
36
Nils Diewald1c546922015-04-13 01:56:19 +000037html {
38 height: 100%;
39}
40
Nils Diewalda944fab2015-04-08 21:02:04 +000041body {
Nils Diewald1c546922015-04-13 01:56:19 +000042 position: relative;
43 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000044 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010045 margin: 0;
46 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000047}
48
Nils Diewalda944fab2015-04-08 21:02:04 +000049
50a {
Akronb917a7c2015-07-02 11:02:42 +020051 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000052 color: $dark-orange;
53 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000054 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000055 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000056 @include color-transition;
57 }
Nils Diewald9922edf2015-05-07 20:03:33 +000058 }
Nils Diewald652e5f42015-05-10 18:11:45 +000059
Nils Diewald652e5f42015-05-10 18:11:45 +000060 // External links
61 &[href^="http://"]::after,
62 &[href^="https://"]::after {
63 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020064 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000065 content: " " + $fa-extlink;
66 font-size: 75%;
67 }
68
69 // Link to documentation
70 &.doc-link::after {
71 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020072 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000073 content: " " + $fa-tutorial;
74 font-size: 75%;
75 }
Nils Diewalda944fab2015-04-08 21:02:04 +000076}
Nils Diewaldc46003b2015-05-07 15:55:35 +000077
Nils Diewald652e5f42015-05-10 18:11:45 +000078// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000079a[onclick$='return PArok(this,false)'] {
80 direction:rtl;
81 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000082 text-align:left;
83 & > span {
84 &:nth-child(1n+2){
85 display:none
86 }
87 &:nth-child(1)::after{
88 content:'@'
89 }
90 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000091}
Akron189b3592016-01-04 20:56:46 +010092
93button[type=submit] {
94 font-weight: normal;
95 @include choose-item;
96 padding: 0;
97 height: 100%;
98 top: 0;
99 width: $button-width;
100 cursor:pointer;
101 > span:nth-of-type(1) {
102 @include blind;
103 }
104 &::after {
105 font-family: "FontAwesome";
106 }
107 border: {
108 width: $border-size;
109 style: solid;
110 color: $nearly-white;
111 }
112 &:hover, &:focus {
113 @include choose-hover;
114 }
115 &::-moz-focus-inner {
116 border: none;
117 }
118 &:active {
119 @include choose-active;
120 }
121 /**
122 * This is just for styling the last button,
123 * in case there are more than one buttons.
124 */
125 &:last-of-type {
126 // @include box-sizing-box();
127 border: {
128 right-width: $border-size;
129 right-style: solid;
130 top-right-radius: $standard-border-radius;
131 bottom-right-radius: $standard-border-radius;
132 }
133 }
134}
135
136button + button {
137 right: 0;
138}