From 05b0f6104cc5e1ac06c8d1f553bbc3e32f6e6521 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 01 Nov 2024 10:43:02 +0800
Subject: [PATCH] 布局容器样式调整
---
src/styles/base/index.scss | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 112 insertions(+), 2 deletions(-)
diff --git a/src/styles/base/index.scss b/src/styles/base/index.scss
index 54b25fe..5027faf 100644
--- a/src/styles/base/index.scss
+++ b/src/styles/base/index.scss
@@ -1,2 +1,112 @@
-@use './container.scss'as *;
-@use './dc-base.scss'as *;
\ No newline at end of file
+@use './flexStyle.scss';
+@use './marginStyle.scss';
+@use './paddingStyle.scss';
+@use './widthStyle.scss';
+@use './heightStyle.scss';
+@use './fontStyle.scss';
+@use './dc-base.scss';
+
+.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%;
+}
+
+::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+ background-color: none;
+}
+
+::-webkit-scrollbar-thumb {
+ background-color: #BFBFBF;
+ border-radius: 3px;
+}
+
+::-webkit-scrollbar-track {
+ background-color: rgb(255, 255, 255);
+}
+
+.content-center {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+}
+
+.b-r-4 {
+ border-radius: 4px;
+}
+
+.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