diff --git a/src/client/src/styles/RouteWidget.css b/src/client/src/styles/RouteWidget.css
index 33ae546..3aaac09 100644
--- a/src/client/src/styles/RouteWidget.css
+++ b/src/client/src/styles/RouteWidget.css
@@ -26,15 +26,17 @@
position: fixed;
display: inline-flex;
border-radius: 10px;
- box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
+ box-shadow:
+ 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
/* Внутренняя рамка */ 4px 4px 12px 0 rgba(255, 255, 255, 0.12) inset; /* Ваш существующий внутренний shadow */
padding: 1px; /* Чтобы контент не прилипал к рамке */
- background: linear-gradient(
+ background:
+ linear-gradient(
to bottom right,
rgba(255, 255, 255, 0.2) 0%,
rgba(255, 255, 255, 0) 100%
),
- rgba(var(--carrier-main-rgb, 0, 111, 58), 0.4);
+ rgba(179, 165, 152, 0.4);
backdrop-filter: blur(10px);
pointer-events: auto;
z-index: 10000001;
diff --git a/src/pages/Route/route-preview/LeftSidebar.tsx b/src/pages/Route/route-preview/LeftSidebar.tsx
index 926d9d2..ee67058 100644
--- a/src/pages/Route/route-preview/LeftSidebar.tsx
+++ b/src/pages/Route/route-preview/LeftSidebar.tsx
@@ -24,7 +24,9 @@ export const LeftSidebar = observer(({ open, onToggle }: LeftSidebarProps) => {
useEffect(() => {
async function fetchCarrierData() {
if (routeData?.carrier_id) {
- const carrier = (await authInstance.get(`/carrier/${routeData.carrier_id}`)).data;
+ const carrier = (
+ await authInstance.get(`/carrier/${routeData.carrier_id}`)
+ ).data;
setCarrierLogo(carrier.logo);
setCarrierSlogan(carrier.slogan ?? null);
setCarrierShortName(carrier.short_name ?? null);
@@ -45,6 +47,7 @@ export const LeftSidebar = observer(({ open, onToggle }: LeftSidebarProps) => {
{
{carrierLogo && !isMediaIdEmpty(carrierLogo) && (
@@ -190,7 +197,12 @@ export const LeftSidebar = observer(({ open, onToggle }: LeftSidebarProps) => {
diff --git a/src/pages/Route/route-preview/index.tsx b/src/pages/Route/route-preview/index.tsx
index 1775545..2788347 100644
--- a/src/pages/Route/route-preview/index.tsx
+++ b/src/pages/Route/route-preview/index.tsx
@@ -54,7 +54,7 @@ export const RoutePreview = () => {
{
) {
const coordinates = coordinatesToLocal(
originalRouteData?.center_latitude,
- originalRouteData?.center_longitude
+ originalRouteData?.center_longitude,
);
setTransform(
coordinates.x,
coordinates.y,
originalRouteData?.rotate,
- originalRouteData?.scale_min
+ originalRouteData?.scale_min,
);
setIsSetup(true);
}
diff --git a/src/pages/Route/route-preview/webgl-prototype/RouteWidget.module.css b/src/pages/Route/route-preview/webgl-prototype/RouteWidget.module.css
index 637f475..8724d8a 100644
--- a/src/pages/Route/route-preview/webgl-prototype/RouteWidget.module.css
+++ b/src/pages/Route/route-preview/webgl-prototype/RouteWidget.module.css
@@ -26,15 +26,17 @@
position: fixed;
display: inline-flex;
border-radius: 10px;
- box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
+ box-shadow:
+ 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
/* Внутренняя рамка */ 4px 4px 12px 0 rgba(255, 255, 255, 0.12) inset; /* Ваш существующий внутренний shadow */
padding: 1px; /* Чтобы контент не прилипал к рамке */
- background: linear-gradient(
+ background:
+ linear-gradient(
to bottom right,
rgba(255, 255, 255, 0.2) 0%,
rgba(255, 255, 255, 0) 100%
),
- rgba(var(--carrier-main-rgb, 0, 111, 58), 0.4);
+ rgba(179, 165, 152, 0.4);
backdrop-filter: blur(10px);
pointer-events: auto;
z-index: 10000001;