blob: 3aeebb3dc2a8a581857e26bb96a7e91e68c07c0d [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00002@import "../util";
Nils Diewalda944fab2015-04-08 21:02:04 +00003
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%;
13 padding-right: $right-match-distance;
14/*
15 padding: 0;
16 margin: 0;
17*/
18 background-color: $nearly-white;
19 ul.action {
20 background-color: $middle-grey;
21 display: block;
22 }
23 border: {
24 width: 2 * $border-size;
25// color: $dark-orange;
26 color: $dark-grey;
27 style: solid;
28 radius: $standard-border-radius;
29 }
30 box-shadow: $choose-box-shadow;
31 iframe {
32 border-width: 0;
33 width: 100%;
34 // Hack for a Firefox bug
35 min-height: 100.1%;
36 background: {
37 image:url('#{$img-path}/korap-bg-kalamar.svg');
38 repeat: no-repeat;
39 position: center center;
40 size: 20%;
41 }
42 }
43}
44
45body.embedded {
46 background-color: $nearly-white;
Nils Diewald7c8ced22015-04-15 19:21:00 +000047 aside {
Nils Diewalda944fab2015-04-08 21:02:04 +000048/*
49 border-right: {
50 width: $border-size;
51 style: solid;
52 }
53*/
54 padding-top: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000055 @include choose-item;
Nils Diewalda944fab2015-04-08 21:02:04 +000056 background-color: $middle-grey;
57 > div {
58 position: relative;
59 top: 50%;
60 -webkit-transform: translateY(-50%);
61 -ms-transform: translateY(-50%);
62 transform: translateY(-50%);
63 // margin-right: -1 * $border-size;
64 }
65 }
66}
67
68main.tutorial {
69 margin-left: $logo-left-distance + 15px;
70}
71
72/*
73#tutorial {
74 iframe {
75 width: 100%;
76 min-height: 100%;
77 border: {
78 width: 0;
79 radius: 10px;
80 }
81 background: {
82 image:url('#{$basepath}/img/korap-bg-kalamar.svg');
83 size: 10%;
84 repeat: no-repeat;
85 position: center center;
86 color: white;
87 }
88 }
89
90 display: block;
91 background-color: $dark-green;
92 border-radius: 15px;
93 &:not(.active) {
94 display: none;
95 }
96 &.active {
97 display: block;
98 }
99 > i,
100 > a > i {
101 font-size: 20pt;
102 color: $dark-green;
103 position: absolute;
104 background-color: rgba(255,255,255,0.5);
105 z-index: 100;
106 top: 10pt;
107 right: 20pt;
108 cursor: pointer;
109 }
110 > a > i {
111 right: 40pt;
112 }
113}
114
115div.test {
116 display: block;
117 border-left: 10px solid $dark-green;
118 margin: 1em;
119 padding-left: 5px;
120 p {
121 color: black;
122 &.fail {
123 font-weight: bold;
124 color: red;
125 }
126 &.pass {
127 font-weight: bold;
128 color: green;
129 }
130 }
131}
132*/