Repository navigation
Expand file tree
/
Copy pathbooklet.css
More file actions
104 lines (99 loc) · 1.78 KB
/
Copy pathbooklet.css
File metadata and controls
104 lines (99 loc) · 1.78 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
.booklet-window {
display: inline-block;
position: fixed;
top: 0;
left: 0;
overflow-y: auto;
overflow-x: hidden;
min-width: 100px;
min-height: 100px;
background: white;
width: 100px;
height: 100px;
resize: both;
z-index: 100;
border: 1px solid black;
font-family: monospace;
/* overflow: none; */
}
.booklet-window:focus, .booklet-focused {
z-index: 999;
}
.booklet-window.maximized {
top: 2vh!important;
left: 2vw!important;
width: 96vw!important;
height: 96vh!important;
}
.booklet-window.minimized {
height: 1rem!important;
min-height: auto!important;
}
.booklet-window-topbar {
height: 1rem;
user-select: none;
background: #A60F2D;
cursor: move;
/* border-bottom: 1px solid black; */
}
.booklet-window-topbar button {
background: none;
margin: none;
padding: none;
outline: none;
border: none;
vertical-align: bottom;
font-family: monospace;
color: white;
font-size: 12px;
line-height: 12px;
cursor: pointer;
transition: background 0.7s;
z-index: 100;
}
.booklet-window-topbar button:hover {
background: white;
}
.booklet-window-topbar span {
position: absolute;
top: 0;
left: 0px;
width: calc(100% - 0px);
text-align: center;
overflow: hidden;
padding: 0;
pointer-events: none;
}
.booklet-content {
color: black;
height: calc(100% - 1.2rem);
/* overflow-y: auto; */
width: 100%;
}
.booklet-tabbar {
border-bottom: 1px solid black;
overflow-y: hidden;
overflow-x: auto;
height: 1.1rem;
margin: 0;
}
.booklet-tab {
background: lightgrey;
padding: 0 30px 0px;
height: 1.1rem;
border-right: 1px solid black;
user-select: none;
cursor: pointer;
display: inline-block;
/* max-width: 120px; */
text-align: center;
}
.booklet-tab.active {
background: grey;
}
.booklet-iframe {
outline: none;
border: none;
width: 100%;
height: 98%!important;
}