blob: 6da79012bc896935c60288f764733f1499a3854e [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Nils Diewald652e5f42015-05-10 18:11:45 +00004/**
5 * Basic global CSS rules for Kalamar
6 */
7
8body,
9html,
10select,
11g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000012 color: $dark-grey;
Akron7e3e97a2017-12-07 18:57:20 +010013 font-family: verdana, tahoma, arial, Helvetica, sans-serif;
Nils Diewalda944fab2015-04-08 21:02:04 +000014 margin: 0;
15}
16
Nils Diewalda944fab2015-04-08 21:02:04 +000017* {
18 @include box-sizing-box;
19}
20
Akron308db382016-05-30 22:34:07 +020021/*
22html {
23// @include box-sizing-box;
24 box-sizing: border-box;
25}
26
27*, *:before, *:after {
28 box-sizing: inherit;
29}
30*/
31
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000032g > text {
33 fill: $dark-grey;
34}
35
Nils Diewald1c546922015-04-13 01:56:19 +000036html {
37 height: 100%;
38}
39
Nils Diewalda944fab2015-04-08 21:02:04 +000040body {
Nils Diewald1c546922015-04-13 01:56:19 +000041 position: relative;
42 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000043 font-size: 12pt;
Akron189b3592016-01-04 20:56:46 +010044 margin: 0;
45 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000046}
47
Nils Diewalda944fab2015-04-08 21:02:04 +000048
49a {
Akronb917a7c2015-07-02 11:02:42 +020050 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000051 color: $dark-orange;
52 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000053 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000054 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000055 @include color-transition;
56 }
Nils Diewald9922edf2015-05-07 20:03:33 +000057 }
Nils Diewald652e5f42015-05-10 18:11:45 +000058
Nils Diewald652e5f42015-05-10 18:11:45 +000059 // External links
60 &[href^="http://"]::after,
61 &[href^="https://"]::after {
62 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020063 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000064 content: " " + $fa-extlink;
65 font-size: 75%;
66 }
67
68 // Link to documentation
69 &.doc-link::after {
70 font-family: FontAwesome;
Akron28cab562018-04-23 13:52:22 +020071 white-space: nowrap;
Nils Diewald652e5f42015-05-10 18:11:45 +000072 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}