From 8ee79710640b73f616d268460adb91b58d1df521 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 02 Dec 2021 16:39:36 +0800 Subject: [PATCH] 微调底层文件结构,微调测试环境判断 --- common/common.scss | 84 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 1 deletions(-) diff --git a/common/common.scss b/common/common.scss index 72f151e..b9957b5 100644 --- a/common/common.scss +++ b/common/common.scss @@ -3,7 +3,7 @@ * @author Tevin */ -@import "./components/common/sassMixin"; +@import "./sassMixin"; .m-price { &::before { @@ -14,4 +14,86 @@ .m-mark { color: #fb4242; +} + +.m-text-stress { + color: #2093df; +} +.m-text-success { + color: #22c322; +} +.m-text-info { + color: #05b7c7; +} +.m-text-warning { + color: #db9d00; +} +.m-text-danger { + color: #FF5722; +} +.m-text-ignore { + color: rgba(0, 0, 0, 0.45); +} + +[class^="m-border"] { + border-width: 0; + border-style: solid; + &[class*="border-stress"] { + border-color: #d6e4ef; + } + &[class*="border-normal"] { + border-color: #eee; + } + &[class*="border-strong"] { + border-color: #e2e2e2; + } + &[class*="border-super"] { + border-color: #d1d1d1; + } + &[class*="stress-bottom"], + &[class*="normal-bottom"], + &[class*="strong-bottom"], + &[class*="super-bottom"], + &[class*="top-bottom"], + &[class*="left-bottom"], + &[class*="right-bottom"] { + border-bottom-width: 1PX; + } + &[class*="stress-top"], + &[class*="normal-top"], + &[class*="strong-top"], + &[class*="super-top"], + &[class*="left-top"], + &[class*="right-top"], + &[class*="bottom-top"] { + border-top-width: 1PX; + } + &[class*="stress-left"], + &[class*="normal-left"], + &[class*="strong-left"], + &[class*="super-left"], + &[class*="bottom-left"], + &[class*="top-left"], + &[class*="right-left"] { + border-left-width: 1PX; + } + &[class*="stress-right"], + &[class*="normal-right"], + &[class*="strong-right"], + &[class*="super-right"], + &[class*="bottom-right"], + &[class*="top-right"], + &[class*="left-right"] { + border-right-width: 1PX; + } + &[class*="stress-full"], + &[class*="normal-full"], + &[class*="strong-full"], + &[class*="super-full"], + &[class*="bottom-full"], + &[class*="top-full"], + &[class*="left-full"], + &[class*="right-full"] { + border-width: 1PX; + } } \ No newline at end of file -- Gitblit v1.9.1