| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; | 
|  | 2 | @import "util"; | 
| Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 3 | @import "base/flextable"; | 
| Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 4 | @import "base/fragment"; | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 5 |  | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 6 | /** | 
|  | 7 | * Basic global CSS rules for Kalamar | 
|  | 8 | */ | 
|  | 9 |  | 
|  | 10 | body, | 
|  | 11 | html, | 
|  | 12 | select, | 
|  | 13 | g > text { | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | color: $dark-grey; | 
| Akron | 7e3e97a | 2017-12-07 18:57:20 +0100 | [diff] [blame] | 15 | font-family: verdana, tahoma, arial, Helvetica, sans-serif; | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 16 | margin: 0; | 
|  | 17 | } | 
|  | 18 |  | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 19 | * { | 
|  | 20 | @include box-sizing-box; | 
|  | 21 | } | 
|  | 22 |  | 
| Akron | 308db38 | 2016-05-30 22:34:07 +0200 | [diff] [blame] | 23 | /* | 
|  | 24 | html { | 
|  | 25 | //  @include box-sizing-box; | 
|  | 26 | box-sizing: border-box; | 
|  | 27 | } | 
|  | 28 |  | 
|  | 29 | *, *:before, *:after { | 
|  | 30 | box-sizing: inherit; | 
|  | 31 | } | 
|  | 32 | */ | 
|  | 33 |  | 
| Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 34 | g > text { | 
|  | 35 | fill: $dark-grey; | 
|  | 36 | } | 
|  | 37 |  | 
| Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 38 | html { | 
|  | 39 | height: 100%; | 
|  | 40 | } | 
|  | 41 |  | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 42 | body { | 
| Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 43 | position: relative; | 
|  | 44 | min-height: 100%; | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 45 | font-size: 12pt; | 
| Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 46 | margin: 0; | 
|  | 47 | padding: 0; | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 48 | } | 
|  | 49 |  | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 |  | 
|  | 51 | a { | 
| Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 52 | &:link { | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 53 | color: $dark-orange; | 
|  | 54 | text-decoration: none; | 
| Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 55 | &:hover { | 
| Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 56 | color: $darkest-orange; | 
| Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 57 | @include color-transition; | 
|  | 58 | } | 
| Nils Diewald | 9922edf | 2015-05-07 20:03:33 +0000 | [diff] [blame] | 59 | } | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 60 |  | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 61 | // External links | 
|  | 62 | &[href^="http://"]::after, | 
|  | 63 | &[href^="https://"]::after { | 
|  | 64 | font-family: FontAwesome; | 
| Akron | 28cab56 | 2018-04-23 13:52:22 +0200 | [diff] [blame] | 65 | white-space: nowrap; | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 66 | content: " " + $fa-extlink; | 
|  | 67 | font-size: 75%; | 
|  | 68 | } | 
|  | 69 |  | 
|  | 70 | // Link to documentation | 
|  | 71 | &.doc-link::after { | 
|  | 72 | font-family: FontAwesome; | 
| Akron | 28cab56 | 2018-04-23 13:52:22 +0200 | [diff] [blame] | 73 | white-space: nowrap; | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 74 | content: " " + $fa-tutorial; | 
|  | 75 | font-size: 75%; | 
|  | 76 | } | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 77 | } | 
| Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 78 |  | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 79 | // Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre | 
| Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 80 | a[onclick$='return PArok(this,false)'] { | 
|  | 81 | direction:rtl; | 
|  | 82 | unicode-bidi:bidi-override; | 
| Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 83 | text-align:left; | 
|  | 84 | & > span { | 
|  | 85 | &:nth-child(1n+2){ | 
|  | 86 | display:none | 
|  | 87 | } | 
|  | 88 | &:nth-child(1)::after{ | 
|  | 89 | content:'@' | 
|  | 90 | } | 
|  | 91 | } | 
| Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 92 | } | 
| Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 93 |  | 
|  | 94 | button[type=submit] { | 
|  | 95 | font-weight: normal; | 
|  | 96 | @include choose-item; | 
|  | 97 | padding: 0; | 
|  | 98 | height: 100%; | 
|  | 99 | top: 0; | 
|  | 100 | width: $button-width; | 
|  | 101 | cursor:pointer; | 
|  | 102 | > span:nth-of-type(1) { | 
|  | 103 | @include blind; | 
|  | 104 | } | 
|  | 105 | &::after { | 
|  | 106 | font-family: "FontAwesome"; | 
|  | 107 | } | 
|  | 108 | border: { | 
|  | 109 | width: $border-size; | 
|  | 110 | style: solid; | 
|  | 111 | color: $nearly-white; | 
|  | 112 | } | 
|  | 113 | &:hover, &:focus { | 
|  | 114 | @include choose-hover; | 
|  | 115 | } | 
|  | 116 | &::-moz-focus-inner { | 
|  | 117 | border: none; | 
|  | 118 | } | 
|  | 119 | &:active { | 
|  | 120 | @include choose-active; | 
|  | 121 | } | 
|  | 122 | /** | 
|  | 123 | * This is just for styling the last button, | 
|  | 124 | * in case there are more than one buttons. | 
|  | 125 | */ | 
|  | 126 | &:last-of-type { | 
|  | 127 | // @include box-sizing-box(); | 
|  | 128 | border: { | 
|  | 129 | right-width: $border-size; | 
|  | 130 | right-style: solid; | 
|  | 131 | top-right-radius: $standard-border-radius; | 
|  | 132 | bottom-right-radius: $standard-border-radius; | 
|  | 133 | } | 
|  | 134 | } | 
|  | 135 | } | 
|  | 136 |  | 
|  | 137 | button + button { | 
|  | 138 | right: 0; | 
|  | 139 | } |