blob: 1dabd82088476f8a9f05b2198b7ed883f84adc22 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Akron07c720e2016-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
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000023g > text {
24 fill: $dark-grey;
25}
26
Nils Diewald1c546922015-04-13 01:56:19 +000027html {
28 height: 100%;
29}
30
Nils Diewalda944fab2015-04-08 21:02:04 +000031body {
Nils Diewald1c546922015-04-13 01:56:19 +000032 position: relative;
33 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000034 font-size: 12pt;
Akron07c720e2016-01-04 20:56:46 +010035 margin: 0;
36 padding: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000037}
38
Nils Diewalda944fab2015-04-08 21:02:04 +000039
40a {
Akronb917a7c2015-07-02 11:02:42 +020041 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000042 color: $dark-orange;
43 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000044 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000045 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000046 @include color-transition;
47 }
Nils Diewald9922edf2015-05-07 20:03:33 +000048 }
Nils Diewald652e5f42015-05-10 18:11:45 +000049
Nils Diewald652e5f42015-05-10 18:11:45 +000050 // External links
51 &[href^="http://"]::after,
52 &[href^="https://"]::after {
53 font-family: FontAwesome;
54 content: " " + $fa-extlink;
55 font-size: 75%;
56 }
57
58 // Link to documentation
59 &.doc-link::after {
60 font-family: FontAwesome;
61 content: " " + $fa-tutorial;
62 font-size: 75%;
63 }
Nils Diewalda944fab2015-04-08 21:02:04 +000064}
Nils Diewaldc46003b2015-05-07 15:55:35 +000065
Nils Diewald652e5f42015-05-10 18:11:45 +000066// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000067a[onclick$='return PArok(this,false)'] {
68 direction:rtl;
69 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000070 text-align:left;
71 & > span {
72 &:nth-child(1n+2){
73 display:none
74 }
75 &:nth-child(1)::after{
76 content:'@'
77 }
78 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000079}
Akron07c720e2016-01-04 20:56:46 +010080
81button[type=submit] {
82 font-weight: normal;
83 @include choose-item;
84 padding: 0;
85 height: 100%;
86 top: 0;
87 width: $button-width;
88 cursor:pointer;
89 > span:nth-of-type(1) {
90 @include blind;
91 }
92 &::after {
93 font-family: "FontAwesome";
94 }
95 border: {
96 width: $border-size;
97 style: solid;
98 color: $nearly-white;
99 }
100 &:hover, &:focus {
101 @include choose-hover;
102 }
103 &::-moz-focus-inner {
104 border: none;
105 }
106 &:active {
107 @include choose-active;
108 }
109 /**
110 * This is just for styling the last button,
111 * in case there are more than one buttons.
112 */
113 &:last-of-type {
114 // @include box-sizing-box();
115 border: {
116 right-width: $border-size;
117 right-style: solid;
118 top-right-radius: $standard-border-radius;
119 bottom-right-radius: $standard-border-radius;
120 }
121 }
122}
123
124button + button {
125 right: 0;
126}