From da31980429ab6c44738c1f76d01db61afafaf737 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 02 Dec 2021 15:49:48 +0800 Subject: [PATCH] 边框公共样式 --- common/common.scss | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/common/common.scss b/common/common.scss index a2ccdd7..b9957b5 100644 --- a/common/common.scss +++ b/common/common.scss @@ -16,6 +16,9 @@ color: #fb4242; } +.m-text-stress { + color: #2093df; +} .m-text-success { color: #22c322; } @@ -30,4 +33,67 @@ } .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