-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation-tool-xr.css
159 lines (134 loc) · 3.58 KB
/
documentation-tool-xr.css
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
.h5p-documentation-tool-xr {
font-size: 16px;
}
.h5p-documentation-tool-xr button::-moz-focus-inner {
border: 0;
padding: 0;
}
.h5p-documentation-tool-xr .joubel-exportable-area {
box-sizing: border-box;
}
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-main-content .joubel-exportable-header-inner button {
font-family: Sans-Serif;
font-size: 1em;
background: 0 0;
border: 0;
overflow: visible;
padding: 0;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-main-content {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background-color: #fff;
}
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-main-content:before {
content: none;
}
.h5p-standalone.h5p-documentation-tool-xr {
max-width: 75em;
}
.h5p-documentation-tool-xr-page-container {
position: relative;
min-height: 500px;
width: 100%;
color: #333;
padding-bottom: 1.5em;
}
.h5p-documentation-tool-xr-page-container .h5p-documentation-tool-xr-page {
display: block;
height: 100%;
margin-bottom: 1em;
display: none;
}
.h5p-documentation-tool-xr-page-container .h5p-documentation-tool-xr-page > * {
padding: 0.5em 1em;
}
.h5p-documentation-tool-xr-page-container .h5p-documentation-tool-xr-page.current {
display: block;
}
/* Make things untabbable when export page is open */
.h5p-documentation-tool-xr-main-content.hidden .h5p-navigation-menu,
.h5p-documentation-tool-xr-main-content.hidden .h5p-documentation-tool-xr-page.current * {
visibility: hidden;
}
/* Page header */
.h5p-documentation-tool-xr-page .page-header {
display: flex;
flex-wrap: wrap;
width: 100%;
border-bottom: 1px solid #ccc;
justify-content: space-between;
padding: 0.5em 0;
outline: none; /* Override focus effect */
}
.h5p-documentation-tool-xr-page .page-title {
font-size: 18px;
color: #333;
}
.h5p-documentation-tool-xr-page .page-help-text {
color: #1a73d9;
cursor: pointer;
font-size: 0.8em;
}
.h5p-documentation-tool-xr-page .page-help-text:hover {
color: #1a4773;
}
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-footer {
display: block;
position: absolute;
height: 2.25em;
left: 0;
right: 0;
bottom: 0;
}
/* ------ Documentation Tool Buttons --------------- */
/* Rounded button css in 'H5P.JoubelUI' library */
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-nav-button {
position: absolute;
right: 1em;
padding: 0;
width: 30px;
height: 30px;
line-height: 24px;
}
.h5p-documentation-tool-xr-nav-button:before {
font-family: "H5PFontAwesome4";
content: "\f104";
color: #FFFFFF;
font-size: 24px;
position: relative;
right: -0.375em;
line-height: 28px;
}
/* Active state */
.h5p-documentation-tool-xr-nav-button:active:before {
top: 2px;
}
.h5p-documentation-tool-xr-nav-button.prev {
margin-right: 3em;
}
.h5p-documentation-tool-xr-nav-button.next:before {
content: "\f105";
color: #FFFFFF;
right: -0.5em;
}
/* Disable prev button for first page and next button for last page */
.h5p-documentation-tool-xr-nav-button[aria-disabled="true"] {
background-color: #ccc;
cursor: default;
pointer-events: none;
}
/* ---------------------------- Responsive view ----------------------------- */
.h5p-documentation-tool-xr .h5p-documentation-tool-xr-main-content.responsive .h5p-documentation-tool-xr-page-container {
margin-left: 2.2em;
}
/* ------------------------- Subcontent Overrides --------------------------- */
.h5p-image-hotspots .h5p-image-hotspot-close-popup-button {
right: 1em;
}