blob: 68854fb8928664085854817d4ca441b53618516e [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Akron189b3592016-01-04 20:56:46 +01004$border-size: 2px;
5
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;
15 font-family: verdana, tahoma, arial;
16 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;
65 content: " " + $fa-extlink;
66 font-size: 75%;
67 }
68
69 // Link to documentation
70 &.doc-link::after {
71 font-family: FontAwesome;
72 content: " " + $fa-tutorial;
73 font-size: 75%;
74 }
Nils Diewalda944fab2015-04-08 21:02:04 +000075}
Nils Diewaldc46003b2015-05-07 15:55:35 +000076
Nils Diewald652e5f42015-05-10 18:11:45 +000077// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000078a[onclick$='return PArok(this,false)'] {
79 direction:rtl;
80 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000081 text-align:left;
82 & > span {
83 &:nth-child(1n+2){
84 display:none
85 }
86 &:nth-child(1)::after{
87 content:'@'
88 }
89 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000090}
Akron189b3592016-01-04 20:56:46 +010091
92button[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}