-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyles.css
More file actions
165 lines (139 loc) · 3.12 KB
/
styles.css
File metadata and controls
165 lines (139 loc) · 3.12 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
@font-face {
font-family: FreeSans;
/* This URL is necessary as it is modified to call style.php, that does only look for default.ttf in the font folders. */
src: url("../../../../lib/default.ttf");
}
.learningmap-menubar {
padding: 0;
}
#learningmap-advanced-settings-icon {
font-size: x-large;
cursor: pointer;
}
.learningmap-render-loading {
text-align: center;
font-size: large;
}
.learningmap-mapcontainer {
border-color: black;
border-width: 1px;
border-style: solid;
}
#learningmap-activity-setting {
position: absolute;
--pos-x: 0;
--pos-y: 0;
--map-width: 800;
--map-height: 100;
display: none;
left: 0;
top: 0;
transform:
translate(
min(
var(--pos-x),
calc(var(--map-width) - 100%)
),
min(
var(--pos-y),
calc(var(--map-height) - 100%)
)
);
z-index: 1;
}
#learningmap-advanced-settings {
position: absolute;
z-index: 1;
right: 0;
max-width: 100%;
}
@media (max-width: 767.98px) {
#learningmap-advanced-settings {
left: 0;
right: 0;
}
}
#learningmap-advanced-settings .col {
min-width: 0;
}
#fitem_id_introeditor_text {
display: none;
}
.learningmap-scaling-svg-container {
position: relative;
min-height: 100px;
width: 100%;
max-width: 90vw;
}
.learningmap-scaling-svg.learningmap-slicemode {
width: auto;
}
.learningmap-scaling-svg {
vertical-align: top;
width: 100%;
left: 0;
top: 0;
}
.learningmap-menubar input[type="color"] {
width: 2rem;
}
.learningmap-editor-main {
width: 100%;
position: relative;
}
#page-mod-learningmap-mod #fitem_id_svgcode {
display: none;
}
.learningmap-used-activity {
color: green;
}
.learningmap-disabled-activity {
color: lightsalmon;
}
.learningmap-render-container {
width: 100%;
}
@font-face {
font-family: 'Learningmap';
src: url([[font:mod_learningmap|learningmap.eot]]);
src:
url([[font:mod_learningmap|learningmap.eot]]?#iefix) format('embedded-opentype'),
url([[font:mod_learningmap|learningmap.woff]]) format('woff'),
url([[font:mod_learningmap|learningmap.ttf]]) format('truetype'),
url([[font:mod_learningmap|learningmap.svg]]#Learningmap) format('svg');
font-weight: normal;
font-style: normal;
}
[class*='learningmap-icon']:before {
display: inline-block;
font-family: 'Learningmap';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.learningmap-icon:before {
content: 'A';
padding-right: 0.5rem;
}
.learningmap-backlink {
padding-top: 1rem;
}
.learningmap-container {
width: 100%;
}
.learningmap_description_form {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.learningmap_description_form input,
.learningmap_description_form textarea {
width: 100%;
box-sizing: border-box;
}
[dir="rtl"] #learningmap-activity-setting {
inset-inline-start: auto;
inset-inline-end: 0;
}