Spaces:
Running
Running
Update style/classical_style_template.css
Browse files
style/classical_style_template.css
CHANGED
@@ -8,7 +8,6 @@
|
|
8 |
padding-bottom: var(--aspect-percent);
|
9 |
background: #fff;
|
10 |
border: 1px solid #ccc;
|
11 |
-
/* Square corners only */
|
12 |
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
13 |
}
|
14 |
|
@@ -20,7 +19,6 @@
|
|
20 |
width: 100%;
|
21 |
height: 100%;
|
22 |
border: 1px solid #ccc;
|
23 |
-
/* Square corners */
|
24 |
overflow: hidden;
|
25 |
cursor: pointer;
|
26 |
background: #f9f9f9;
|
@@ -41,7 +39,6 @@
|
|
41 |
height: 100%;
|
42 |
background: #fff;
|
43 |
border: 0px solid #ccc;
|
44 |
-
/* Square corners */
|
45 |
overflow: hidden;
|
46 |
box-sizing: border-box;
|
47 |
}
|
@@ -51,7 +48,6 @@
|
|
51 |
width: 100%;
|
52 |
height: 100%;
|
53 |
display: block;
|
54 |
-
/* Background is set by JS using JSON */
|
55 |
}
|
56 |
|
57 |
/* Progress dialog styling */
|
@@ -63,17 +59,18 @@
|
|
63 |
border: 1px solid #ccc;
|
64 |
background: #c8c8c8;
|
65 |
padding: 10px;
|
66 |
-
/* Square corners */
|
67 |
z-index: 1000;
|
68 |
display: none;
|
69 |
}
|
70 |
|
71 |
-
/*
|
|
|
72 |
.menu-content {
|
73 |
display: none;
|
74 |
position: absolute;
|
75 |
-
|
76 |
-
|
|
|
77 |
background: #c8c8c8;
|
78 |
border: 1px solid #ccc;
|
79 |
padding: 8px;
|
@@ -85,18 +82,21 @@
|
|
85 |
.widget-button {
|
86 |
width: 40px;
|
87 |
height: 30px;
|
88 |
-
background-color: #
|
89 |
cursor: pointer;
|
90 |
padding: 0;
|
|
|
|
|
91 |
display: flex;
|
92 |
align-items: center;
|
93 |
justify-content: center;
|
94 |
font-family: inherit;
|
95 |
font-size: 16px;
|
96 |
color: #333;
|
|
|
97 |
}
|
98 |
|
99 |
-
/*
|
100 |
/* Close button: far right */
|
101 |
.close-btn {
|
102 |
position: absolute;
|
@@ -107,13 +107,13 @@
|
|
107 |
.fullscreen-toggle {
|
108 |
position: absolute;
|
109 |
top: 0px;
|
110 |
-
right: 40px;
|
111 |
}
|
112 |
/* Reset camera button: immediately to the left of fullscreen */
|
113 |
.reset-camera-btn {
|
114 |
position: absolute;
|
115 |
top: 0px;
|
116 |
-
right: 80px;
|
117 |
}
|
118 |
|
119 |
/* Help button: positioned in the middle on the right side of the canvas */
|
@@ -121,23 +121,42 @@
|
|
121 |
position: absolute;
|
122 |
top: 50%;
|
123 |
right: 4px;
|
124 |
-
border-radius: 2;
|
125 |
width: 50px;
|
126 |
height: 40px;
|
127 |
transform: translateY(-50%);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
|
130 |
-
/*
|
131 |
-
.close-btn
|
132 |
-
|
133 |
-
color: #fff;
|
134 |
}
|
135 |
-
.fullscreen-toggle
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
139 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
.help-toggle:hover {
|
141 |
-
background-color: #
|
142 |
-
color: #
|
143 |
}
|
|
|
8 |
padding-bottom: var(--aspect-percent);
|
9 |
background: #fff;
|
10 |
border: 1px solid #ccc;
|
|
|
11 |
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
12 |
}
|
13 |
|
|
|
19 |
width: 100%;
|
20 |
height: 100%;
|
21 |
border: 1px solid #ccc;
|
|
|
22 |
overflow: hidden;
|
23 |
cursor: pointer;
|
24 |
background: #f9f9f9;
|
|
|
39 |
height: 100%;
|
40 |
background: #fff;
|
41 |
border: 0px solid #ccc;
|
|
|
42 |
overflow: hidden;
|
43 |
box-sizing: border-box;
|
44 |
}
|
|
|
48 |
width: 100%;
|
49 |
height: 100%;
|
50 |
display: block;
|
|
|
51 |
}
|
52 |
|
53 |
/* Progress dialog styling */
|
|
|
59 |
border: 1px solid #ccc;
|
60 |
background: #c8c8c8;
|
61 |
padding: 10px;
|
|
|
62 |
z-index: 1000;
|
63 |
display: none;
|
64 |
}
|
65 |
|
66 |
+
/* Instruction text (menu) styling */
|
67 |
+
/* Positioned to the left of the help button */
|
68 |
.menu-content {
|
69 |
display: none;
|
70 |
position: absolute;
|
71 |
+
right: 54px; /* Help button is at right: 4px with width:50px */
|
72 |
+
top: 50%;
|
73 |
+
transform: translateY(-50%);
|
74 |
background: #c8c8c8;
|
75 |
border: 1px solid #ccc;
|
76 |
padding: 8px;
|
|
|
82 |
.widget-button {
|
83 |
width: 40px;
|
84 |
height: 30px;
|
85 |
+
background-color: #eeeef2;
|
86 |
cursor: pointer;
|
87 |
padding: 0;
|
88 |
+
margin: 0;
|
89 |
+
box-shadow: none;
|
90 |
display: flex;
|
91 |
align-items: center;
|
92 |
justify-content: center;
|
93 |
font-family: inherit;
|
94 |
font-size: 16px;
|
95 |
color: #333;
|
96 |
+
border: 1px solid #ccc;
|
97 |
}
|
98 |
|
99 |
+
/* Positioning the three control buttons flush in the topβright corner */
|
100 |
/* Close button: far right */
|
101 |
.close-btn {
|
102 |
position: absolute;
|
|
|
107 |
.fullscreen-toggle {
|
108 |
position: absolute;
|
109 |
top: 0px;
|
110 |
+
right: 40px;
|
111 |
}
|
112 |
/* Reset camera button: immediately to the left of fullscreen */
|
113 |
.reset-camera-btn {
|
114 |
position: absolute;
|
115 |
top: 0px;
|
116 |
+
right: 80px;
|
117 |
}
|
118 |
|
119 |
/* Help button: positioned in the middle on the right side of the canvas */
|
|
|
121 |
position: absolute;
|
122 |
top: 50%;
|
123 |
right: 4px;
|
|
|
124 |
width: 50px;
|
125 |
height: 40px;
|
126 |
transform: translateY(-50%);
|
127 |
+
background-color: #eeeef2;
|
128 |
+
border: 1px solid #ccc;
|
129 |
+
cursor: pointer;
|
130 |
+
padding: 0;
|
131 |
+
display: flex;
|
132 |
+
align-items: center;
|
133 |
+
justify-content: center;
|
134 |
+
font-family: inherit;
|
135 |
+
font-size: 16px;
|
136 |
+
color: #333;
|
137 |
+
box-shadow: none;
|
138 |
}
|
139 |
|
140 |
+
/* Button icons defined via pseudo-elements */
|
141 |
+
.close-btn::before {
|
142 |
+
content: "β";
|
|
|
143 |
}
|
144 |
+
.fullscreen-toggle::before {
|
145 |
+
content: "π";
|
146 |
+
}
|
147 |
+
.reset-camera-btn::before {
|
148 |
+
content: "β²";
|
149 |
}
|
150 |
+
.help-toggle::before {
|
151 |
+
content: "?";
|
152 |
+
}
|
153 |
+
|
154 |
+
/* Hover effects for all buttons */
|
155 |
+
.widget-button:hover,
|
156 |
+
.close-btn:hover,
|
157 |
+
.fullscreen-toggle:hover,
|
158 |
+
.reset-camera-btn:hover,
|
159 |
.help-toggle:hover {
|
160 |
+
background-color: #ccd0d7;
|
161 |
+
color: #333;
|
162 |
}
|