bilca commited on
Commit
b709609
Β·
verified Β·
1 Parent(s): f167c90

Update style/classical_style_template.css

Browse files
Files changed (1) hide show
  1. style/classical_style_template.css +21 -41
style/classical_style_template.css CHANGED
@@ -8,7 +8,7 @@
8
  padding-bottom: var(--aspect-percent);
9
  background: #fff;
10
  border: 1px solid #ccc;
11
- /* Removed border-radius */
12
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
13
  }
14
 
@@ -20,7 +20,7 @@
20
  width: 100%;
21
  height: 100%;
22
  border: 1px solid #ccc;
23
- /* Removed border-radius */
24
  overflow: hidden;
25
  cursor: pointer;
26
  background: #f9f9f9;
@@ -41,7 +41,7 @@
41
  height: 100%;
42
  background: #fff;
43
  border: 1px solid #ccc;
44
- /* Removed border-radius */
45
  overflow: hidden;
46
  box-sizing: border-box;
47
  }
@@ -51,6 +51,7 @@
51
  width: 100%;
52
  height: 100%;
53
  display: block;
 
54
  }
55
 
56
  /* Progress dialog styling */
@@ -62,7 +63,7 @@
62
  border: 1px solid #ccc;
63
  background: #fff;
64
  padding: 10px;
65
- /* Removed border-radius */
66
  z-index: 1000;
67
  display: none;
68
  }
@@ -78,99 +79,78 @@
78
  padding: 8px;
79
  font-size: 13px;
80
  color: #333;
81
- /* Removed border-radius */
82
  }
83
 
84
- /* Common button styling */
85
  .widget-button {
86
- width: 36px;
87
- height: 24px;
88
  background-color: #fff;
89
  border: 1px solid #ccc;
90
- border-radius: 0; /* Rectangular buttons */
91
  cursor: pointer;
92
  padding: 0;
93
  display: flex;
94
  align-items: center;
95
  justify-content: center;
96
  font-family: inherit;
97
- font-size: 14px;
98
  color: #333;
99
  }
100
 
101
- /* Position buttons on the top right in order:
102
- - Close (X) at far right
103
- - Fullscreen to its left
104
- - Reset camera next to fullscreen */
105
  .close-btn {
106
  position: absolute;
107
  top: 4px;
108
  right: 4px;
109
  }
 
110
  .fullscreen-toggle {
111
  position: absolute;
112
  top: 4px;
113
- right: 44px; /* 4px + 36px + 4px gap */
114
  }
 
115
  .reset-camera-btn {
116
  position: absolute;
117
  top: 4px;
118
- right: 84px; /* 4px + 36px + 4px + 36px + 4px gap */
119
  }
120
 
121
- /* Help toggle: positioned in the right middle of the canvas */
122
  .help-toggle {
123
  position: absolute;
124
  top: 50%;
125
  right: 4px;
126
  transform: translateY(-50%);
127
- width: 36px;
128
- height: 24px;
129
- background-color: #fff;
130
- border: 1px solid #ccc;
131
- border-radius: 0;
132
- cursor: pointer;
133
- padding: 0;
134
- display: flex;
135
- align-items: center;
136
- justify-content: center;
137
- font-family: inherit;
138
- font-size: 14px;
139
- color: #333;
140
  }
141
 
142
- /* Button Icons */
143
- /* Close button: "X" */
144
  .close-btn::before {
145
  content: "βœ•";
146
  }
147
- /* Fullscreen toggle: square icon */
148
  .fullscreen-toggle::before {
149
  content: "πŸ—–";
150
  }
151
- /* Reset camera: refresh icon */
152
  .reset-camera-btn::before {
153
  content: "⟲";
154
  }
155
- /* Help toggle: question mark */
156
  .help-toggle::before {
157
  content: "?";
158
  }
159
 
160
- /* Hover effects for buttons */
161
  .close-btn:hover {
162
  background-color: #d32f2f;
163
  color: #fff;
164
  }
165
- .fullscreen-toggle:hover {
166
- background-color: #e0e0e0;
167
- color: #333;
168
- }
169
  .reset-camera-btn:hover {
170
  background-color: #e0e0e0;
171
  color: #333;
172
  }
173
  .help-toggle:hover {
174
- background-color: #c0c0c0; /* Darker when hovered */
175
  color: #000;
176
  }
 
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
  width: 100%;
21
  height: 100%;
22
  border: 1px solid #ccc;
23
+ /* Square corners */
24
  overflow: hidden;
25
  cursor: pointer;
26
  background: #f9f9f9;
 
41
  height: 100%;
42
  background: #fff;
43
  border: 1px solid #ccc;
44
+ /* Square corners */
45
  overflow: hidden;
46
  box-sizing: border-box;
47
  }
 
51
  width: 100%;
52
  height: 100%;
53
  display: block;
54
+ /* Background is set by JS using JSON */
55
  }
56
 
57
  /* Progress dialog styling */
 
63
  border: 1px solid #ccc;
64
  background: #fff;
65
  padding: 10px;
66
+ /* Square corners */
67
  z-index: 1000;
68
  display: none;
69
  }
 
79
  padding: 8px;
80
  font-size: 13px;
81
  color: #333;
 
82
  }
83
 
84
+ /* Shared base style for all buttons */
85
  .widget-button {
86
+ width: 40px;
87
+ height: 30px;
88
  background-color: #fff;
89
  border: 1px solid #ccc;
90
+ border-radius: 0; /* Rectangular buttons */
91
  cursor: pointer;
92
  padding: 0;
93
  display: flex;
94
  align-items: center;
95
  justify-content: center;
96
  font-family: inherit;
97
+ font-size: 16px;
98
  color: #333;
99
  }
100
 
101
+ /* Position buttons on the top right (grouped with no gap) */
102
+ /* Close button: far right */
 
 
103
  .close-btn {
104
  position: absolute;
105
  top: 4px;
106
  right: 4px;
107
  }
108
+ /* Fullscreen button: immediately to the left */
109
  .fullscreen-toggle {
110
  position: absolute;
111
  top: 4px;
112
+ right: 44px; /* 4px + 40px */
113
  }
114
+ /* Reset camera button: immediately to the left of fullscreen */
115
  .reset-camera-btn {
116
  position: absolute;
117
  top: 4px;
118
+ right: 84px; /* 4px + 40px + 40px */
119
  }
120
 
121
+ /* Help button: positioned in the middle on the right side of the canvas */
122
  .help-toggle {
123
  position: absolute;
124
  top: 50%;
125
  right: 4px;
126
  transform: translateY(-50%);
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
128
 
129
+ /* Button Icons via pseudo-elements; each icon appears only once */
 
130
  .close-btn::before {
131
  content: "βœ•";
132
  }
 
133
  .fullscreen-toggle::before {
134
  content: "πŸ—–";
135
  }
 
136
  .reset-camera-btn::before {
137
  content: "⟲";
138
  }
 
139
  .help-toggle::before {
140
  content: "?";
141
  }
142
 
143
+ /* Hover effects */
144
  .close-btn:hover {
145
  background-color: #d32f2f;
146
  color: #fff;
147
  }
148
+ .fullscreen-toggle:hover,
 
 
 
149
  .reset-camera-btn:hover {
150
  background-color: #e0e0e0;
151
  color: #333;
152
  }
153
  .help-toggle:hover {
154
+ background-color: #c0c0c0; /* Darker on hover */
155
  color: #000;
156
  }