forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorialCodeValidation.less
More file actions
73 lines (62 loc) · 1.41 KB
/
tutorialCodeValidation.less
File metadata and controls
73 lines (62 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* Import all components */
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
/* Reference import */
@import (reference) "semantic.less";
/*******************************
Tutorial Code Validation
*******************************/
.tutorialCodeValidation {
position: absolute;
max-width: 100%;
min-width: 18.75rem;
top: ~'calc(50% + 3rem)';
right: 2rem;
padding: 0.625rem 1.625rem;
border-radius: 1.2rem;
background: @white;
z-index: @tutorialLightboxCardZIndex;
border: 0.5rem solid @black;
box-shadow: 0rem 0rem 0.5rem 0.063rem rgba(0, 0, 0, .3);
}
.tutorialCodeValidation:before {
content: ' ';
position: absolute;
width: 0;
height: 0;
right: 0.313rem;
top: -1.5rem;
bottom: auto;
border: 1rem solid;
border-color: transparent @black transparent transparent;
transform: rotateZ(-135deg);
}
.tutorialCodeValidation > div {
max-height: 60vh;
overflow: auto;
}
.tutorialCodeValidation.hidden {
display: none;
}
.tutorialCodeValidation .mask {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
.ui.button.no {
right: 2rem;
background-color: @black;
color:white;
}
.ui.button.yes {
left: 2rem;
margin-right: 2rem;
}
.codeValidationPopUpText {
font-size: 16px;
padding-bottom: 10px;
padding-top: 10px;
white-space: pre-line;
}