blob: 8f8d0f4a376b7a482d02e5fc22a39f4f06bc93aa [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
Nils Diewalda31a5152015-04-17 21:05:23 +000072dl {
73 margin: 0;
74 padding-bottom: 2em;
75 dt {
76 font-weight: bold;
77 abbr {
78 border-width: 0;
79 &[data-type=token]::after {
80 color: $ids-blue-1;
81 }
82 &[data-type=span]::after {
83 color: $ids-pink-1;
84 }
85 &::after {
86 content: ' (' attr(title) ')';
87 vertical-align: bottom;
88 font-style: italic;
89 font-weight: normal;
90 font-size: 80%;
91 }
92 }
93 }
94}
95
96
97
Nils Diewalda944fab2015-04-08 21:02:04 +000098/*
99#tutorial {
100 iframe {
101 width: 100%;
102 min-height: 100%;
103 border: {
104 width: 0;
105 radius: 10px;
106 }
107 background: {
108 image:url('#{$basepath}/img/korap-bg-kalamar.svg');
109 size: 10%;
110 repeat: no-repeat;
111 position: center center;
112 color: white;
113 }
114 }
115
116 display: block;
117 background-color: $dark-green;
118 border-radius: 15px;
119 &:not(.active) {
120 display: none;
121 }
122 &.active {
123 display: block;
124 }
125 > i,
126 > a > i {
127 font-size: 20pt;
128 color: $dark-green;
129 position: absolute;
130 background-color: rgba(255,255,255,0.5);
131 z-index: 100;
132 top: 10pt;
133 right: 20pt;
134 cursor: pointer;
135 }
136 > a > i {
137 right: 40pt;
138 }
139}
140
141div.test {
142 display: block;
143 border-left: 10px solid $dark-green;
144 margin: 1em;
145 padding-left: 5px;
146 p {
147 color: black;
148 &.fail {
149 font-weight: bold;
150 color: red;
151 }
152 &.pass {
153 font-weight: bold;
154 color: green;
155 }
156 }
157}
158*/