From 9a37c5e1b2190c3f6ec71483923922189091dd52 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 18 Dec 2024 09:42:01 +0800
Subject: [PATCH] 事件模拟更新
---
src/styles/base/index.scss | 140 +++++++++++++++++++++++++++++++++++-----------
1 files changed, 107 insertions(+), 33 deletions(-)
diff --git a/src/styles/base/index.scss b/src/styles/base/index.scss
index 29aa729..d390aaf 100644
--- a/src/styles/base/index.scss
+++ b/src/styles/base/index.scss
@@ -1,39 +1,113 @@
-@use './container.scss'as *;
+@use './flexStyle.scss';
+@use './marginStyle.scss';
+@use './paddingStyle.scss';
+@use './widthStyle.scss';
+@use './heightStyle.scss';
+@use './fontStyle.scss';
+@use './dc-base.scss';
-.public-map-popup {
+.ol-attribution {
+ display: none;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ box-sizing: border-box;
+ scrollbar-color: #BFBFBF rgb(255, 255, 255);
+ // scrollbar-width: thin;
+}
+
+html,
+body,
+#app {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+}
+
+::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+ background-color: none;
+}
+
+::-webkit-scrollbar-thumb {
+ background: #4acfff;
+ border-radius: 3px;
+}
+
+::-webkit-scrollbar-track {
+ background: #1d486e;
+}
+
+.content-center {
position: absolute;
- left: 0;
top: 0;
- pointer-events: all;
- display: block;
- transform-origin: left bottom;
- z-index: auto;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+}
- .marsBlueGradientPnl {
- text-align: center;
- padding: 5px 30px;
- margin: 0;
- color: #fff;
- background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- max-height: 130px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- white-space: nowrap;
+.b-r-4 {
+ border-radius: 4px;
+}
- &::after {
- content: "";
- position: absolute;
- bottom: -60px;
- left: calc(50% - 3px);
- display: block;
- width: 3px;
- height: 60px;
- border-right: 3px solid #2bcdbb;
- }
- }
+.b-r-6 {
+ border-radius: 6px;
+}
+
+.b-r-20 {
+ border-radius: 20px;
+}
+
+.b-c-w {
+ background-color: #fff;
+}
+
+.cursor-p {
+ cursor: pointer;
+}
+
+.f-c-black {
+ color: #000;
+}
+
+.overflow-h {
+ overflow: hidden;
+}
+
+.relative {
+ position: relative;
+}
+
+.b-s-b {
+ box-sizing: border-box;
+}
+
+.text-align-l {
+ text-align: left
+}
+
+.pointer-auto {
+ pointer-events: auto;
+}
+
+.nowrap-ellipsis-hidden {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+//去除输入框type为number的箭头
+input::-webkit-outer-spin-button,
+input::-webkit-inner-spin-button {
+ -webkit-appearance: none !important;
+}
+
+/* 在Firefox浏览器下 */
+input[type="number"] {
+ -moz-appearance: textfield !important;
}
\ No newline at end of file
--
Gitblit v1.9.3