diff --git a/src/pages/Well/WellOperations/DrillProcessFlow.jsx b/src/pages/Well/WellOperations/DrillProcessFlow.jsx
index 86dcb09..354b32b 100644
--- a/src/pages/Well/WellOperations/DrillProcessFlow.jsx
+++ b/src/pages/Well/WellOperations/DrillProcessFlow.jsx
@@ -10,7 +10,7 @@ import { arrayOrDefault } from '@utils'
const columns = [
makeNumericStartEnd('Глубина, м', 'depth'),
makeNumericMinMax('Нагрузка, т', 'axialLoad'),
- makeNumericMinMax('Давление, атм', 'pressure'),
+ makeNumericMinMax('Перепад давления, атм', 'pressure'),
makeNumericMinMax('Момент на ВСП, кН·м', 'rotorTorque'),
makeNumericMinMax('Обороты на ВСП, об/мин', 'rotorSpeed'),
makeNumericMinMax('Расход, л/с', 'flow')
diff --git a/src/pages/Well/WellOperations/WellDrillParams.jsx b/src/pages/Well/WellOperations/WellDrillParams.jsx
index 0ae6097..57b1ba8 100644
--- a/src/pages/Well/WellOperations/WellDrillParams.jsx
+++ b/src/pages/Well/WellOperations/WellDrillParams.jsx
@@ -26,7 +26,7 @@ export const getColumns = async (idWell) => {
sorter: makeNumericSorter('idWellSectionType'),
}),
makeNumericAvgRange('Нагрузка, т', 'axialLoad', 1),
- makeNumericAvgRange('Давление, атм', 'pressure', 1),
+ makeNumericAvgRange('Перепад давления, атм', 'pressure', 1),
makeNumericAvgRange('Момент на ВСП, кН·м', 'rotorTorque', 1),
makeNumericAvgRange('Обороты на ВСП, об/мин', 'rotorSpeed', 1),
makeNumericAvgRange('Расход, л/с', 'flow', 1),
diff --git a/src/styles/include/antd_theme.less b/src/styles/include/antd_theme.less
index 68e0e3f..c9acd72 100644
--- a/src/styles/include/antd_theme.less
+++ b/src/styles/include/antd_theme.less
@@ -7,8 +7,5 @@
// Переменные для темы тут:
// https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
-//@primary-color: rgba(124, 124, 124, 0.3);
-@primary-color: rgb(195, 40,40);
-//@primary-color:rgb(65, 63, 61);
-//@layout-header-background: rgb(195, 40,40);
-@layout-header-background: rgb(65, 63, 61);
+@primary-color: #C32828; // rgb(195, 40, 40)
+@layout-header-background:#413F3D; // rgb(65, 63, 61)
diff --git a/src/styles/index.css b/src/styles/index.css
index 53d4e5d..217ba16 100755
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -135,7 +135,7 @@ code {
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
- supported by Chrome, Edge, Opera and Firefox */
+ supported by Chrome, Edge, Opera and Firefox */
}
.download-link {
@@ -153,4 +153,17 @@ code {
.color-pale-green {
background-color: #98fb98;
-}
\ No newline at end of file
+}
+
+.asb-grid-item {
+ padding: 4px;
+}
+
+.pointer {
+ cursor: pointer;
+}
+
+.deposit-page {
+ height: 100vh;
+ overflow: hidden;
+}
diff --git a/src/styles/layout.less b/src/styles/layout.less
index 4d5861f..225dd03 100644
--- a/src/styles/layout.less
+++ b/src/styles/layout.less
@@ -19,6 +19,10 @@
}
.page-layout {
+ --sheet-padding: 15px;
+
+ @sheet-padding: var(--sheet-padding);
+
height: 100vh;
& .menu-sider {
@@ -62,7 +66,7 @@
background-color: transparent;
cursor: pointer;
overflow: hidden;
-
+
&:hover {
color: white;
}
@@ -88,8 +92,9 @@
display: flex;
justify-content: space-between;
align-items: center;
- gap: 15px;
- padding: 0 15px 15px 15px;
+ gap: @sheet-padding;
+ padding: @sheet-padding;
+ padding-top: 0;
& .ant-breadcrumb-link, .ant-breadcrumb-separator {
.no-select;
@@ -99,7 +104,7 @@
}
& .sheet{
- padding: 15px;
+ padding: @sheet-padding;
// min-height: calc(@layout-min-height - 30px); // 280px;
overflow: visible;
// margin: 15px;
@@ -126,3 +131,15 @@
.site-layout-background {
background: #fff;
}
+
+@media only screen and (max-width: 1280px) {
+ .page-layout {
+ --sheet-padding: 10px;
+ }
+}
+
+@media only screen and (max-width: 1024px) {
+ .page-layout {
+ --sheet-padding: 5px;
+ }
+}
diff --git a/src/styles/loader.css b/src/styles/loader.css
index 23ab350..33a233a 100755
--- a/src/styles/loader.css
+++ b/src/styles/loader.css
@@ -39,11 +39,18 @@
}
.loader-content{
+ display: flex;
+ flex-direction: column;
grid-column-start: 1;
grid-column-end: span 3;
grid-row-start: 1;
}
+.loader-content.loader-content-fill {
+ height: 100%;
+ width: 100%;
+}
+
.loader-overlay{
grid-column-start: 1;
grid-column-end: span 3;
diff --git a/src/styles/monitoring.less b/src/styles/monitoring.less
deleted file mode 100644
index 9a3cb0e..0000000
--- a/src/styles/monitoring.less
+++ /dev/null
@@ -1,17 +0,0 @@
-.page-top {
- display: flex;
- flex-wrap: wrap;
- margin: -5px;
-
- & > * {
- margin: 5px;
- }
-
- & > .icons {
- display: flex;
-
- & > * {
- margin-left: 15px;
- }
- }
-}
diff --git a/src/styles/telemetry_view.less b/src/styles/telemetry_view.less
new file mode 100644
index 0000000..cdbb3c6
--- /dev/null
+++ b/src/styles/telemetry_view.less
@@ -0,0 +1,66 @@
+.telemetry-view-page {
+ --page-gap: 10px;
+
+ @page-gap: var(--page-gap);
+
+ .flex-container {
+ display: flex;
+ align-items: stretch;
+ justify-content: space-between;
+ gap: @page-gap;
+ }
+
+ width: 100%;
+ height: 100%;
+ flex-direction: column;
+ .flex-container;
+
+ & .page-top {
+ .flex-container;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+
+ & .icons {
+ display: flex;
+
+ & > * {
+ margin-left: 15px;
+ }
+ }
+ }
+
+ & .page-main {
+ flex-grow: 1;
+ .flex-container;
+
+ & .page-left {
+ .flex-container;
+ justify-content: flex-start;
+ flex-direction: column;
+
+ & .modes, & .current-values {
+ .flex-container;
+ flex-direction: column;
+ gap: 0;
+ }
+ }
+
+ & .page-right {
+ flex-grow: 1;
+ .flex-container;
+ flex-direction: column;
+ }
+ }
+}
+
+@media only screen and (max-width: 1280px) {
+ .telemetry-view-page {
+ --page-gap: 7.5px;
+ }
+}
+
+@media only screen and (max-width: 1024px) {
+ .telemetry-view-page {
+ --page-gap: 5px;
+ }
+}
diff --git a/src/styles/well_composite.less b/src/styles/well_composite.less
index ea64fc8..4d000cc 100644
--- a/src/styles/well_composite.less
+++ b/src/styles/well_composite.less
@@ -4,7 +4,7 @@
right: 0;
top: 0;
height: 100%;
- background-color: red;
+ background-color: #FFF2F0;
}
& .avg-value {