blob: 0b03cd001f8243285d16f0470087e07e5d7d3ad2 [file] [log] [blame]
Nils Diewald58141332015-04-07 16:18:45 +00001@charset "utf-8";
2@import "util";
3
Nils Diewald44e1edb2015-04-08 19:12:15 +00004$border-size: 2px;
Nils Diewald58141332015-04-07 16:18:45 +00005
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;
Nils Diewald44e1edb2015-04-08 19:12:15 +000014/*
15 padding: 0;
16 margin: 0;
17*/
Nils Diewald58141332015-04-07 16:18:45 +000018 background-color: $nearly-white;
19 ul.action {
Nils Diewald44e1edb2015-04-08 19:12:15 +000020 background-color: $middle-grey;
Nils Diewald58141332015-04-07 16:18:45 +000021 display: block;
22 }
23 border: {
Nils Diewald44e1edb2015-04-08 19:12:15 +000024 width: 2 * $border-size;
25// color: $dark-orange;
26 color: $dark-grey;
Nils Diewald58141332015-04-07 16:18:45 +000027 style: solid;
28 radius: $standard-border-radius;
29 }
30 box-shadow: $choose-box-shadow;
31 iframe {
Nils Diewald58141332015-04-07 16:18:45 +000032 border-width: 0;
Nils Diewald44e1edb2015-04-08 19:12:15 +000033 width: 100%;
34 // Hack for a Firefox bug
35 min-height: 100.1%;
Nils Diewald58141332015-04-07 16:18:45 +000036 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
Nils Diewald44e1edb2015-04-08 19:12:15 +000045body.embedded {
46 background-color: $nearly-white;
47 #sidebar {
48/*
49 border-right: {
50 width: $border-size;
51 style: solid;
52 }
53*/
54 padding-top: 0;
55 // @include choose-item;
56 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
Nils Diewald58141332015-04-07 16:18:45 +000068main.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*/