Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 1 | @import "colors"; |
| 2 | |
| 3 | #tutorial { |
| 4 | position: fixed; |
| 5 | display: block; |
| 6 | z-index: 9999; |
| 7 | background-color: $dark-green; |
| 8 | border-radius: 15px; |
| 9 | padding: 5px; |
| 10 | top: 2%; |
| 11 | bottom: 2%; |
| 12 | left: 5%; |
| 13 | right: 5%; |
| 14 | &:not(.active) { |
| 15 | display: none; |
| 16 | } |
| 17 | &.active { |
| 18 | display: block; |
| 19 | } |
| 20 | > i, |
| 21 | > a > i { |
| 22 | font-size: 20pt; |
| 23 | color: $dark-green; |
| 24 | position: absolute; |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 25 | background-color: rgba(255,255,255,0.5); |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 26 | z-index: 100; |
| 27 | top: 10pt; |
| 28 | right: 20pt; |
| 29 | cursor: pointer; |
| 30 | } |
| 31 | > a > i { |
| 32 | right: 40pt; |
| 33 | } |
| 34 | iframe { |
| 35 | width: 100%; |
| 36 | min-height: 100%; |
| 37 | border: { |
| 38 | width: 0; |
| 39 | radius: 10px; |
| 40 | } |
Nils Diewald | a64d369 | 2015-02-16 18:37:58 +0000 | [diff] [blame] | 41 | /* |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 42 | background: { |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 43 | image: url('/img/crab.svg'); |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 44 | size: 10%; |
| 45 | repeat: no-repeat; |
| 46 | position: center center; |
| 47 | color: white; |
| 48 | } |
Nils Diewald | a64d369 | 2015-02-16 18:37:58 +0000 | [diff] [blame] | 49 | */ |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 50 | } |
| 51 | } |
| 52 | |
Nils Diewald | 29c0b1d | 2014-11-13 21:14:17 +0000 | [diff] [blame] | 53 | div.test { |
| 54 | display: block; |
| 55 | border-left: 10px solid $dark-green; |
| 56 | margin: 1em; |
| 57 | padding-left: 5px; |
| 58 | p { |
| 59 | color: black; |
| 60 | &.fail { |
| 61 | font-weight: bold; |
| 62 | color: red; |
| 63 | } |
| 64 | &.pass { |
| 65 | font-weight: bold; |
| 66 | color: green; |
| 67 | } |
| 68 | } |
| 69 | } |