architwin 1.10.21 → 1.10.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/types.d.ts CHANGED
@@ -146,6 +146,7 @@ export interface IMPConfig {
146
146
  shape?: string;
147
147
  color: string | Array<SweepColor>;
148
148
  };
149
+ multispace?: boolean;
149
150
  }
150
151
  export interface IMapConfig {
151
152
  mapId: string;
@@ -165,6 +166,7 @@ export interface IMapConfig {
165
166
  zIndex?: number;
166
167
  isShow?: boolean;
167
168
  showCurrentFloorOnly?: boolean;
169
+ enableCustomMap?: boolean;
168
170
  }
169
171
  export interface ISweep {
170
172
  alignmentType: MpSdk.Sweep.Alignment;
@@ -709,7 +711,17 @@ export declare enum SPACE_EVENTS {
709
711
  PARTITION_DISPOSED = "PARTITION_DISPOSED",
710
712
  PARTITION_RENDERED = "PARTITION_RENDERED",
711
713
  DRAW_HISTORY = "DRAW_HISTORY",
712
- BASEPOINT_UPDATED = "BASEPOINT_UPDATED"
714
+ BASEPOINT_UPDATED = "BASEPOINT_UPDATED",
715
+ FLOOR_IMAGE_SELECTED = "FLOOR_IMAGE_SELECTED",
716
+ FLOOR_IMAGE_UPLOADED = "FLOOR_IMAGE_UPLOADED",
717
+ FLOOR_IMAGE_UPLOAD_FAILED = "FLOOR_IMAGE_UPLOAD_FAILED",
718
+ FLOOR_IMAGE_ROTATED = "FLOOR_IMAGE_ROTATED",
719
+ CUSTOM_SWEEP_SCALE_UPDATED = "CUSTOM_SWEEP_SCALE_UPDATED",
720
+ CUSTOM_SWEEP_TRANSLATE_UPDATED = "CUSTOM_SWEEP_TRANSLATE_UPDATED",
721
+ CUSTOM_SWEEP_OFFSETX_UPDATED = "CUSTOM_SWEEP_OFFSETX_UPDATED",
722
+ CUSTOM_SWEEP_OFFSETY_UPDATED = "CUSTOM_SWEEP_OFFSETY_UPDATED",
723
+ CUSTOM_MAP_SETTINGS_UPDATED = "CUSTOM_MAP_SETTINGS_UPDATED",
724
+ SPACE_METADATA_RETRIEVED = "SPACE_METADATA_RETRIEVED"
713
725
  }
714
726
  export declare const enum TAG_COLOR {
715
727
  MAROON = "MAROON",
@@ -859,6 +871,7 @@ export interface IToolbarConfig {
859
871
  theme?: boolean;
860
872
  roomCreation?: boolean;
861
873
  bim?: boolean;
874
+ generalSetting?: boolean;
862
875
  };
863
876
  themeConfig?: IThemeConfig;
864
877
  }
@@ -1112,6 +1125,74 @@ export interface ICurrentSpace {
1112
1125
  created_on?: string;
1113
1126
  hidden?: boolean;
1114
1127
  }
1128
+ export interface CustomMapFloorData {
1129
+ floor_sequence: number;
1130
+ name?: string;
1131
+ floor_image: string;
1132
+ scale: number;
1133
+ translate: number;
1134
+ rotate: number;
1135
+ offset_x: number;
1136
+ offset_y: number;
1137
+ }
1138
+ export interface SpaceMetadata {
1139
+ coordSystemCalibration?: {
1140
+ bim: {
1141
+ coord_system: string;
1142
+ scale_factor: string;
1143
+ measurement_unit: string;
1144
+ rotation_unit: string;
1145
+ true_origin: {
1146
+ x: number;
1147
+ y: number;
1148
+ z: number;
1149
+ };
1150
+ project_base: {
1151
+ x: number;
1152
+ y: number;
1153
+ z: number;
1154
+ };
1155
+ mp_project_base: {
1156
+ id: number;
1157
+ player_id: string;
1158
+ showcase_id: null | number;
1159
+ media_viewer_id: number;
1160
+ object_position: {
1161
+ x: number;
1162
+ y: number;
1163
+ z: number;
1164
+ };
1165
+ object_rotation: {
1166
+ x: number;
1167
+ y: number;
1168
+ z: number;
1169
+ };
1170
+ object_scale: {
1171
+ x: number;
1172
+ y: number;
1173
+ z: number;
1174
+ };
1175
+ offset_position: number;
1176
+ offset_rotation: number;
1177
+ position_unit: string;
1178
+ object_data: {
1179
+ amazon_uri: string;
1180
+ object_type: string;
1181
+ uuid: string;
1182
+ id: null | number;
1183
+ };
1184
+ coordinate_system: string;
1185
+ json_data: string;
1186
+ };
1187
+ };
1188
+ };
1189
+ general_settings?: {
1190
+ minimap?: {
1191
+ type?: string;
1192
+ custom_floor_data?: CustomMapFloorData[] | null;
1193
+ };
1194
+ };
1195
+ }
1115
1196
  export declare enum COORDINATE_SYSTEM {
1116
1197
  MATTERPORT = "YUP",
1117
1198
  BIM = "ZUP"
@@ -1126,3 +1207,13 @@ export declare enum UNITS {
1126
1207
  CENTIMETER = "cm",
1127
1208
  MILLIMETER = "mm"
1128
1209
  }
1210
+ export declare enum DEGREE {
1211
+ DEG_0 = 0,
1212
+ DEG_90 = 90,
1213
+ DEG_180 = 180,
1214
+ DEG_270 = 270
1215
+ }
1216
+ export declare enum MAP_OPTIONS {
1217
+ DEFAULT_MAP = "DEFAULT MINIMAP",
1218
+ CUSTOM_MAP = "CUSTOM MINIMAP"
1219
+ }
package/lib/types.js CHANGED
@@ -96,6 +96,16 @@ export var SPACE_EVENTS;
96
96
  SPACE_EVENTS["PARTITION_RENDERED"] = "PARTITION_RENDERED";
97
97
  SPACE_EVENTS["DRAW_HISTORY"] = "DRAW_HISTORY";
98
98
  SPACE_EVENTS["BASEPOINT_UPDATED"] = "BASEPOINT_UPDATED";
99
+ SPACE_EVENTS["FLOOR_IMAGE_SELECTED"] = "FLOOR_IMAGE_SELECTED";
100
+ SPACE_EVENTS["FLOOR_IMAGE_UPLOADED"] = "FLOOR_IMAGE_UPLOADED";
101
+ SPACE_EVENTS["FLOOR_IMAGE_UPLOAD_FAILED"] = "FLOOR_IMAGE_UPLOAD_FAILED";
102
+ SPACE_EVENTS["FLOOR_IMAGE_ROTATED"] = "FLOOR_IMAGE_ROTATED";
103
+ SPACE_EVENTS["CUSTOM_SWEEP_SCALE_UPDATED"] = "CUSTOM_SWEEP_SCALE_UPDATED";
104
+ SPACE_EVENTS["CUSTOM_SWEEP_TRANSLATE_UPDATED"] = "CUSTOM_SWEEP_TRANSLATE_UPDATED";
105
+ SPACE_EVENTS["CUSTOM_SWEEP_OFFSETX_UPDATED"] = "CUSTOM_SWEEP_OFFSETX_UPDATED";
106
+ SPACE_EVENTS["CUSTOM_SWEEP_OFFSETY_UPDATED"] = "CUSTOM_SWEEP_OFFSETY_UPDATED";
107
+ SPACE_EVENTS["CUSTOM_MAP_SETTINGS_UPDATED"] = "CUSTOM_MAP_SETTINGS_UPDATED";
108
+ SPACE_EVENTS["SPACE_METADATA_RETRIEVED"] = "SPACE_METADATA_RETRIEVED";
99
109
  })(SPACE_EVENTS || (SPACE_EVENTS = {}));
100
110
  export var MEETING_SIDEBAR;
101
111
  (function (MEETING_SIDEBAR) {
@@ -127,3 +137,15 @@ export var UNITS;
127
137
  UNITS["CENTIMETER"] = "cm";
128
138
  UNITS["MILLIMETER"] = "mm";
129
139
  })(UNITS || (UNITS = {}));
140
+ export var DEGREE;
141
+ (function (DEGREE) {
142
+ DEGREE[DEGREE["DEG_0"] = 0] = "DEG_0";
143
+ DEGREE[DEGREE["DEG_90"] = 90] = "DEG_90";
144
+ DEGREE[DEGREE["DEG_180"] = 180] = "DEG_180";
145
+ DEGREE[DEGREE["DEG_270"] = 270] = "DEG_270";
146
+ })(DEGREE || (DEGREE = {}));
147
+ export var MAP_OPTIONS;
148
+ (function (MAP_OPTIONS) {
149
+ MAP_OPTIONS["DEFAULT_MAP"] = "DEFAULT MINIMAP";
150
+ MAP_OPTIONS["CUSTOM_MAP"] = "CUSTOM MINIMAP";
151
+ })(MAP_OPTIONS || (MAP_OPTIONS = {}));
package/lib/utils.d.ts CHANGED
@@ -88,3 +88,4 @@ export declare function getUnitConverter(unit: 'mm' | 'cm' | 'm' | 'ft' | 'in'):
88
88
  */
89
89
  export declare function getAssetUrl(filename: string): string;
90
90
  export declare function convertMeasurement(value: any, fromUnit: any, toUnit: any): number;
91
+ export declare function showLoader(visible: boolean): void;
package/lib/utils.js CHANGED
@@ -366,9 +366,13 @@ export function getAssetUrl(filename) {
366
366
  if (!filename) {
367
367
  log.error;
368
368
  }
369
- if ('bundlePath' in _mpConfig) {
369
+ if ('bundlePath' in _mpConfig && !window.location.href.includes('localhost')) {
370
370
  _staticAssetPath = 'https://cdn.jsdelivr.net/npm/architwin@latest/';
371
371
  }
372
+ else {
373
+ // use local
374
+ _staticAssetPath = "../../node_modules/architwin/";
375
+ }
372
376
  return `${_staticAssetPath}static/${filename}`;
373
377
  }
374
378
  export function convertMeasurement(value, fromUnit, toUnit) {
@@ -414,3 +418,18 @@ export function convertMeasurement(value, fromUnit, toUnit) {
414
418
  }
415
419
  return value * conversionFactors[fromUnit][toUnit];
416
420
  }
421
+ export function showLoader(visible) {
422
+ log.info("showLoader");
423
+ try {
424
+ const spinner = document.getElementById('at-spinner');
425
+ if (visible) {
426
+ spinner.style.display = 'block';
427
+ }
428
+ else {
429
+ spinner.style.display = 'none';
430
+ }
431
+ }
432
+ catch (error) {
433
+ log.error("Error show loader: ", error);
434
+ }
435
+ }
@@ -92,3 +92,18 @@ export declare function convertYupScaleToZupScale(scale: {
92
92
  z: number;
93
93
  };
94
94
  export declare function getOffsetPositionFromBasepoint(position: Vector3, basePoint: Vector3, unit?: 'mm' | 'cm' | 'm' | 'ft' | 'in', scaleFactor?: number): Vector3;
95
+ /**
96
+ * Gives you the simple relative position of an object to another object in the Matterport Space. Does not perform
97
+ * @param position
98
+ * @param relativeTo
99
+ * @returns
100
+ */
101
+ export declare function getRelativePosition(position: Vector3, relativeTo: Vector3): Vector3;
102
+ /**
103
+ * Gives your the original position of an object's relative position to another object. use this
104
+ * to reverse the result given by getRelativePosition
105
+ * @param position
106
+ * @param relativeTo
107
+ * @returns
108
+ */
109
+ export declare function getOriginalWorldPosition(position: Vector3, relativeTo: Vector3): Vector3;
@@ -154,3 +154,48 @@ export function getOffsetPositionFromBasepoint(position, basePoint, unit = 'm',
154
154
  z
155
155
  };
156
156
  }
157
+ /**
158
+ * Gives you the simple relative position of an object to another object in the Matterport Space. Does not perform
159
+ * @param position
160
+ * @param relativeTo
161
+ * @returns
162
+ */
163
+ export function getRelativePosition(position, relativeTo) {
164
+ if (!position || !relativeTo) {
165
+ log.error("One or more parameter is undefined");
166
+ return;
167
+ }
168
+ const THREE = _3DXObjects[0].component.context.three;
169
+ if (!THREE) {
170
+ log.error("Could not get THREE js context. No existing objects in space exist to get context from");
171
+ return;
172
+ }
173
+ const newRelativeVec = new THREE.Vector3();
174
+ const posVec = new THREE.Vector3(position.x, position.y, position.z);
175
+ const relativeVec = new THREE.Vector3(relativeTo.x, relativeTo.y, relativeTo.z);
176
+ newRelativeVec.addVectors(relativeVec, posVec);
177
+ return newRelativeVec;
178
+ }
179
+ /**
180
+ * Gives your the original position of an object's relative position to another object. use this
181
+ * to reverse the result given by getRelativePosition
182
+ * @param position
183
+ * @param relativeTo
184
+ * @returns
185
+ */
186
+ export function getOriginalWorldPosition(position, relativeTo) {
187
+ if (!position || !relativeTo) {
188
+ log.error("One or more parameter is undefined");
189
+ return;
190
+ }
191
+ const THREE = _3DXObjects[0].component.context.three;
192
+ if (!THREE) {
193
+ log.error("Could not get THREE js context. No existing objects in space exist to get context from");
194
+ return;
195
+ }
196
+ const worldPosVec = new THREE.Vector3();
197
+ const posVec = new THREE.Vector3(position.x, position.y, position.z);
198
+ const relativeVec = new THREE.Vector3(relativeTo.x, relativeTo.y, relativeTo.z);
199
+ worldPosVec.subVectors(posVec, relativeVec);
200
+ return worldPosVec;
201
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "architwin",
3
- "version": "1.10.21",
3
+ "version": "1.10.23",
4
4
  "description": "ArchiTwin Library for Matterport",
5
5
  "main": "./lib/architwin.js",
6
6
  "types": "./lib/architwin.d.ts",
@@ -191,6 +191,21 @@
191
191
  color: var(--text-color-dark);
192
192
  }
193
193
 
194
+ .at_search_button {
195
+ font-weight: var(--button-font-weight);
196
+ background: var(--bg-accent);
197
+ color: var(--text-color-light);
198
+ padding: 9px 0.8em 9px;
199
+ max-height: 3em;
200
+ cursor: pointer;
201
+ text-align: center;
202
+ }
203
+
204
+ .at_search_button:hover {
205
+ background-color: var(--bg-accent-azusa);
206
+ color: var(--text-color-dark);
207
+ }
208
+
194
209
  .at_icon {
195
210
  font-size: 1.6em;
196
211
  cursor: pointer;
@@ -215,6 +230,14 @@
215
230
  margin-bottom: 8px;
216
231
  }
217
232
 
233
+ .at_button_search_tag{
234
+ cursor: pointer;
235
+ position: absolute;
236
+ z-index: 99;
237
+ top: 10px;
238
+ right: 55px;
239
+ }
240
+
218
241
  .at_justify_start {
219
242
  justify-content: flex-start;
220
243
  }
@@ -470,6 +493,20 @@
470
493
  border-radius: var(--border-radius);
471
494
  }
472
495
 
496
+ .at_field_search_input {
497
+ border: 0;
498
+ background: var(--bg-secondary);
499
+ color: var(--text-color-light);
500
+ font: 3em;
501
+ padding: 10px 8px;
502
+ margin-top: 4px;
503
+ width: 11.75rem
504
+ }
505
+
506
+ .at_field_search_input:focus {
507
+ outline: solid white 2px;
508
+ border-radius: var(--border-radius);
509
+ }
473
510
  /* Old dropdown */
474
511
 
475
512
  .at_transparent_dropdown {
@@ -1763,4 +1800,4 @@
1763
1800
 
1764
1801
  .at_default_coordinate_system {
1765
1802
  margin-top: 15px;
1766
- }
1803
+ }
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="50.000000pt" height="80.000000pt" viewBox="0 0 50.000000 80.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.16, written by Peter Selinger 2001-2019
9
+ </metadata>
10
+ <g transform="translate(0.000000,80.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M180 490 c-19 -10 -54 -29 -77 -40 -24 -12 -43 -25 -43 -29 0 -10
13
+ 160 -84 167 -78 9 9 6 161 -3 164 -5 1 -25 -6 -44 -17z"/>
14
+ <path d="M270 425 c0 -93 2 -96 57 -67 17 9 52 28 77 40 25 13 46 27 46 30 0
15
+ 8 -154 82 -170 82 -6 0 -10 -33 -10 -85z"/>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="50px" height="80px" viewBox="0 0 50 80" enable-background="new 0 0 50 80" xml:space="preserve"> <image id="image0" width="50" height="80" x="0" y="0"
4
+ href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABQCAQAAADxCu5rAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
5
+ AAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAAmJLR0QA/4ePzL8AAAAJcEhZ
6
+ cwAACxMAAAsTAQCanBgAAAAHdElNRQflCgwNCgR/YThIAAACAUlEQVRYw+2XO0vDUBTH/3kUBXFQ
7
+ HHxBM1gHwUUo6CLWTlYQVBwVVBzEwcVRfOAnEGwHoShVEBQc/AAidXByEkqtDi3UxyB01Nom16GN
8
+ bdMkbeqNaLn/O/T2Ps4v95zDuQlHYL/4X2AwCIMwCIMwSP1DxNK/HNU7jHC/eJL6gYgG49yPrGoi
9
+ Wz/uYhAGYRAGYRD7Ic6pjseJ9X1nYeQS49jDguGlVdMDv0kXO9G5peOD+yxBBv3qBEVIVuYJEHPF
10
+ tgEAsi3u0tzYAgCJOqRcM1fYQR8AUtIKHevqnmzIaMwRECk5H7A9heNdN8M0s0tH7RFvwBeyFbK4
11
+ 5Q5eJ6mmsI5yyUwzu9RscaSFNP+O18IMRYgoKDwwcL06K38qIpqKZuhBONL54PG7j1dSOAXgKJ7R
12
+ LFQ7emakacJl5dIpAlGAkjjX85z6EWQJ4ow+u3hFO6pwbfGXHjOIpZh4/Bk+LWpbRnAfVthopaz4
13
+ WwbC5YWjN1Z8hxQbLbNaXe1am3F8aCFLG0ZPri4xionZ0fXiFYULQtnSCoE3Ea8oVUay9k9spTGl
14
+ exLZeEsNJ6leBu4y127+924zuAUArYmzEcQBYNR0nyV3NeabO9geAYDBoxyikmorkElvAJCexk4i
15
+ yDVzWSqQzd89X+h2eShc0XpedCNtoP/2LswgDMIgDMIgfxPyBQLk0NGmyQCGAAAAJXRFWHRkYXRl
16
+ OmNyZWF0ZQAyMDIxLTEwLTEyVDEwOjEwOjA0KzAzOjAwxK5iHwAAACV0RVh0ZGF0ZTptb2RpZnkA
17
+ MjAyMS0xMC0xMlQxMDoxMDowNCswMzowMLXz2qMAAAAASUVORK5CYII=" />
18
+ </svg>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="48.000000pt" height="48.000000pt" viewBox="0 0 48.000000 48.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.16, written by Peter Selinger 2001-2019
9
+ </metadata>
10
+ <g transform="translate(0.000000,48.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M22 243 l3 -178 218 -3 217 -2 0 180 0 180 -220 0 -220 0 2 -177z
13
+ m398 -3 l0 -140 -100 0 -100 0 0 40 0 40 -80 0 -80 0 0 100 0 100 180 0 180 0
14
+ 0 -140z"/>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="50.000000pt" height="80.000000pt" viewBox="0 0 50.000000 80.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.16, written by Peter Selinger 2001-2019
9
+ </metadata>
10
+ <g transform="translate(0.000000,80.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M208 540 c-21 -44 -38 -84 -38 -90 0 -6 33 -10 85 -10 93 0 96 2 67
13
+ 57 -9 17 -28 52 -40 77 -13 25 -27 46 -30 46 -4 0 -24 -36 -44 -80z"/>
14
+ <path d="M174 398 c-3 -4 4 -24 15 -45 11 -21 29 -57 41 -80 12 -24 25 -43 29
15
+ -43 10 0 84 160 78 166 -8 9 -158 10 -163 2z"/>
16
+ </g>
17
+ </svg>
Binary file
package/static/map.css CHANGED
@@ -147,4 +147,216 @@ display: inline-block;
147
147
 
148
148
  .at_custom_dropdown_option {
149
149
  padding: 8px 8px;
150
+ }
151
+
152
+ /*CUSTOM MINIMAP CSS*/
153
+ .at_overlay_left_minimap{
154
+ position: absolute;
155
+ left: 0px;
156
+ top: 100px;
157
+ width: 379px;
158
+ height: 379px;
159
+ max-width: 856px;
160
+ max-height: 379px;
161
+ z-index: 1;
162
+ display: block;
163
+ background: rgb(31, 32, 35);
164
+ }
165
+
166
+ .at_custom_map_canvas {
167
+ position: absolute;
168
+ max-width: 856px;
169
+ max-height: 379px;
170
+ z-index: 1;
171
+ }
172
+
173
+
174
+ .at_overlay_left_minimap .at_custom_map{
175
+ width: 379px;
176
+ height: 379px;
177
+ }
178
+
179
+ .at_custom_map img{
180
+ width: 100%;
181
+ height: 100%;
182
+ object-fit: cover;
183
+ }
184
+
185
+ .at_custom_minimap_settings{
186
+ position: absolute;
187
+ left: 0px;
188
+ z-index: -1;
189
+ top: 0;
190
+ width: 100%;
191
+ transition: all .4s ease-in-out;
192
+ height: auto;
193
+ background: rgb(51, 51, 51);
194
+ border: 1px solid rgb(51, 51, 51);
195
+ padding: 20px;
196
+ box-sizing: border-box;
197
+ visibility: hidden;
198
+
199
+ }
200
+
201
+ .at_custom_minimap_settings.show{
202
+ top: 379px;
203
+ transition: all .4s ease-in-out;
204
+ visibility: visible;
205
+
206
+ }
207
+
208
+
209
+ .at_overlay_left_minimap .at_close_minimap,
210
+ .at_overlay_left_minimap .at_setting_icon {
211
+ width: 2em;
212
+ height: 2em;
213
+ background-color: rgba(0, 0, 0, 0.5);
214
+ color: white;
215
+ position: absolute;
216
+ font-size: 0.7em;
217
+ right: 0;
218
+ bottom: 0;
219
+ display: flex;
220
+ align-items: center;
221
+ justify-content: center;
222
+ z-index: 2;
223
+ cursor: pointer;
224
+ }
225
+
226
+ .at_overlay_left_minimap .at_close_minimap{
227
+ bottom: unset;
228
+ top: 0;
229
+ }
230
+
231
+ .at_custom_minimap_settings .at_custom_button_row {
232
+ display: flex;
233
+ justify-content: space-between;
234
+ margin-bottom: 10px;
235
+ }
236
+
237
+ .at_custom_minimap_settings .at_custom_setting_button {
238
+ display: flex;
239
+ align-items: center;
240
+ gap: 5px;
241
+ background: #ccc;
242
+ color: black;
243
+ padding: 6px 10px;
244
+ border: none;
245
+ cursor: pointer;
246
+ font-size: 14px;
247
+ }
248
+
249
+ .at_custom_minimap_settings .at_custom_button_settings{
250
+ background-color: rgba(214, 212, 212, 0.8) !important;
251
+ font-size: 14px;
252
+ color: black;
253
+ font-weight: bold;
254
+ font-family: inherit;
255
+ height: 30px;
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ gap: 8px;
260
+ padding: 8px 16px;
261
+ border: none;
262
+ cursor: pointer;
263
+ }
264
+
265
+ .at_custom_minimap_settings .at_custom_slider_group {
266
+ display: flex;
267
+ flex-direction: column;
268
+ gap: 3.5vh;
269
+ margin-top: 20px;
270
+ margin-left: 0.5vh;
271
+ }
272
+
273
+ .at_custom_minimap_settings .at_custom_slider_row {
274
+ display: flex;
275
+ align-items: center;
276
+ gap: 30px;
277
+ margin-bottom: 0.5vh;
278
+ }
279
+
280
+
281
+ .at_custom_slider_row input[type="range"] {
282
+ flex: 1;
283
+ -webkit-appearance: none;
284
+ appearance: none;
285
+ height: 0.7vh;
286
+ background: rgb(105, 105, 105);
287
+ border-radius: 5px;
288
+ outline: none;
289
+
290
+ }
291
+
292
+ .at_custom_slider_row input[type="range"]::-webkit-slider-thumb {
293
+ -webkit-appearance: none;
294
+ appearance: none;
295
+ width: 20px;
296
+ height: 20px;
297
+ border-radius: 50%;
298
+ background: rgb(189, 189, 189);
299
+ cursor: pointer;
300
+ }
301
+
302
+
303
+ .at_custom_slider_row input[type="range"]::-moz-range-thumb {
304
+ width: 20px;
305
+ height: 20px;
306
+ border-radius: 50%;
307
+ background: rgb(189, 189, 189);
308
+ cursor: pointer;
309
+ }
310
+
311
+
312
+ .at_custom_slider_row input[type="range"]::-ms-thumb {
313
+ width: 20px;
314
+ height: 20px;
315
+ border-radius: 50%;
316
+ background: rgb(189, 189, 189);
317
+ cursor: pointer;
318
+ }
319
+
320
+
321
+
322
+ .at_svg_icon_container{
323
+ width: 1em;
324
+ height: 1em;
325
+ transform: scale(1.8);
326
+ display: flex;
327
+ justify-content: center;
328
+ align-items: center;
329
+ }
330
+
331
+ .at_svg_icon_container img {
332
+ filter: invert(1) grayscale(1) contrast(100%);
333
+ }
334
+
335
+ .at_custom_button_settings span.mdi {
336
+ font-size: 1.3rem;
337
+ }
338
+
339
+ .at_custom_map .at_custom_sweep, .at_custom_map .at_custom_sweep:visited {
340
+ color: transparent;
341
+ display: inline-block;
342
+ position: absolute;
343
+ padding: 0 0;
344
+ margin: 0;
345
+ height: 0.5rem;
346
+ width: 0.5rem;
347
+ border: 0.20rem solid rgba(255, 255, 0, 0.79);
348
+ border-radius: 50%;
349
+ box-sizing: content-box;
350
+ background-color: transparent;
351
+ font-size: 15px;
352
+ cursor: pointer;
353
+ }
354
+
355
+ .at_custom_sweep.active {
356
+ background-color: orangered;
357
+ border: 0.23rem solid rgba(255, 255, 0, 0.79);
358
+ }
359
+
360
+ .at_custom_sweep:hover {
361
+ background-color: rgba(255, 255, 0, 0.79);
150
362
  }