forked from visualpython/visualpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainFrame.css
More file actions
109 lines (106 loc) · 2.77 KB
/
mainFrame.css
File metadata and controls
109 lines (106 loc) · 2.77 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
/*
* Project Name : Visual Python
* Description : GUI-based Python code generator
* File Name : mainFrame.css
* Author : Black Logic
* Note : stylesheet for visualpython.html
* License : GNU GPLv3 with Visual Python special exception
* Date : 2021. 09. 13
* Change Date :
*/
#vp_wrapper {
display: none;
position: fixed;
height: calc(100% - 110px);
overflow: hidden;
left: unset !important;
object-fit: contain;
color: var(--vp-font-primary);
font-family: AppleSDGothicNeo;
border: 1px solid var(--vp-border-gray-color);
top: 110px;
right: 0;
background: var(--vp-background-color);
z-index: 100;
}
#vp_wrapper.colab {
/* CHROME: edited to show */
display: none;
position: fixed;
/* CHROME: edited height */
height: calc(100% - 90px);
/* height: calc(100% - 110px); */
overflow: hidden;
left: unset !important;
object-fit: contain;
color: var(--vp-font-primary);
font-family: AppleSDGothicNeo;
border: 1px solid var(--vp-border-gray-color);
/* CHROME: edited top position */
top: 64px;
/* top: 110px; */
right: 0;
background: var(--vp-background-color);
z-index: 100;
}
/* CHROME: set default box-sizing for vp area */
div#vp_wrapper.colab * {
box-sizing: border-box !important;
}
/* LAB: reset position and size */
#vp_wrapper.lab, #vp_wrapper.lite {
position: unset !important;
width: 100% !important;
height: 100% !important;
min-width: 273px !important;
}
#vp_wrapper.lab *, #vp_wrapper.lite * {
box-sizing: border-box !important;
}
/* LITE: show protector */
#vp_wrapper.lab .vp-protector,
#vp_wrapper.lite .vp-protector {
background-color: rgb(33 33 33 / 77%);
position: absolute;
width: 100%;
height: 100%;
z-index: 100;
}
#vp_wrapper.lab .vp-protector-info,
#vp_wrapper.lite .vp-protector-info {
background-color: var(--vp-background-color);
width: 250px;
height: 170px;
padding: 10px;
margin: auto;
top: calc(50% - 80px);
position: relative;
display: grid;
grid-template-rows: 20px 100px 30px;
}
#vp_wrapper.lab .vp-protector-title,
#vp_wrapper.lite .vp-protector-title {
font-weight: bold;
color: var(--vp-font-highlight);
}
#vp_wrapper.lab .vp-protector-content,
#vp_wrapper.lite .vp-protector-content {
border: 0.25px solid var(--vp-border-gray-color);
border-radius: 10px;
padding: 10px;
margin: 5px 0;
}
#vp_wrapper.lab .vp-protector-footer,
#vp_wrapper.lite .vp-protector-footer {
text-align: right;
}
/* resizing handle */
#vp_wrapper > .ui-resizable-handle {
position: absolute;
margin-right: 5px;
left: 0px;
top: 0px;
width: 10px;
height: 100%;
cursor: col-resize;
}