Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 2 | @import "../util"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
| 4 | $border-size: 2px; |
| 5 | |
| 6 | #tutorial { |
| 7 | position: fixed; |
| 8 | z-index: 9999; |
| 9 | top: 5%; |
| 10 | bottom: 5%; |
| 11 | left: 2%; |
| 12 | right: 2%; |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 13 | padding-right: $right-view-distance; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | /* |
| 15 | padding: 0; |
| 16 | margin: 0; |
| 17 | */ |
| 18 | background-color: $nearly-white; |
Akron | 7bbdb25 | 2018-07-19 16:44:34 +0200 | [diff] [blame] | 19 | |
| 20 | .button-group.button-view { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 21 | background-color: $middle-grey; |
| 22 | display: block; |
Akron | 7bbdb25 | 2018-07-19 16:44:34 +0200 | [diff] [blame] | 23 | height: 100%; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 24 | } |
| 25 | border: { |
| 26 | width: 2 * $border-size; |
| 27 | // color: $dark-orange; |
| 28 | color: $dark-grey; |
| 29 | style: solid; |
| 30 | radius: $standard-border-radius; |
| 31 | } |
| 32 | box-shadow: $choose-box-shadow; |
| 33 | iframe { |
| 34 | border-width: 0; |
| 35 | width: 100%; |
| 36 | // Hack for a Firefox bug |
| 37 | min-height: 100.1%; |
| 38 | background: { |
| 39 | image:url('#{$img-path}/korap-bg-kalamar.svg'); |
| 40 | repeat: no-repeat; |
| 41 | position: center center; |
| 42 | size: 20%; |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | body.embedded { |
| 48 | background-color: $nearly-white; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 49 | aside { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 | /* |
| 51 | border-right: { |
| 52 | width: $border-size; |
| 53 | style: solid; |
| 54 | } |
| 55 | */ |
| 56 | padding-top: 0; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 57 | @include choose-item; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 58 | background-color: $middle-grey; |
| 59 | > div { |
| 60 | position: relative; |
| 61 | top: 50%; |
| 62 | -webkit-transform: translateY(-50%); |
| 63 | -ms-transform: translateY(-50%); |
| 64 | transform: translateY(-50%); |
| 65 | // margin-right: -1 * $border-size; |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | main.tutorial { |
| 71 | margin-left: $logo-left-distance + 15px; |
margaretha | 0a3aeec | 2019-07-18 16:19:16 +0200 | [diff] [blame] | 72 | p,li, dd, dt { |
Akron | 84b9199 | 2019-07-16 11:35:49 +0200 | [diff] [blame] | 73 | code { |
| 74 | background-color: $ids-grey-2; |
| 75 | color: $ids-grey-1; |
| 76 | padding: 0 .5em; |
| 77 | border-radius: $standard-border-radius; |
| 78 | } |
| 79 | } |
Akron | 9490e3b | 2019-10-17 12:26:29 +0200 | [diff] [blame] | 80 | |
| 81 | // Link to documentation |
| 82 | a.embedded-link::after { |
| 83 | font-family: FontAwesome; |
| 84 | white-space: nowrap; |
| 85 | content: " " + $fa-tutorial; |
| 86 | font-size: 75%; |
| 87 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 88 | } |
| 89 | |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 90 | dl { |
| 91 | margin: 0; |
Akron | 1bd65d9 | 2019-07-17 18:26:36 +0200 | [diff] [blame] | 92 | padding-bottom: .5em; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 93 | dt { |
| 94 | font-weight: bold; |
| 95 | abbr { |
| 96 | border-width: 0; |
| 97 | &[data-type=token]::after { |
Akron | 84b9199 | 2019-07-16 11:35:49 +0200 | [diff] [blame] | 98 | color: $ids-blue-1; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 99 | } |
| 100 | &[data-type=span]::after { |
Akron | 84b9199 | 2019-07-16 11:35:49 +0200 | [diff] [blame] | 101 | color: $ids-pink-1; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 102 | } |
| 103 | &::after { |
Akron | 84b9199 | 2019-07-16 11:35:49 +0200 | [diff] [blame] | 104 | content: ' (' attr(title) ')'; |
| 105 | vertical-align: bottom; |
| 106 | font-style: italic; |
| 107 | font-weight: normal; |
| 108 | font-size: 80%; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 109 | } |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | |
| 115 | |