diff --git a/bi/case.js b/bi/case.js index 18b7edc59..15d30f687 100644 --- a/bi/case.js +++ b/bi/case.js @@ -128,7 +128,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { _defaultConfig: function () { var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-trigger-icon-button bi-border-left", + baseCls: (conf.baseCls || "") + " bi-trigger-icon-button", extraCls: "pull-down-font" }); }, diff --git a/docs/case.js b/docs/case.js index 18b7edc59..15d30f687 100644 --- a/docs/case.js +++ b/docs/case.js @@ -128,7 +128,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { _defaultConfig: function () { var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-trigger-icon-button bi-border-left", + baseCls: (conf.baseCls || "") + " bi-trigger-icon-button", extraCls: "pull-down-font" }); }, diff --git a/docs/resource.css b/docs/resource.css index e2663cf8f..0d86e5aac 100644 --- a/docs/resource.css +++ b/docs/resource.css @@ -61,41 +61,6 @@ body { overflow-x: hidden; overflow-y: hidden; } -a { - outline: none; - text-decoration: none; -} -a:focus { - outline: 0; -} -input, -textarea { - margin: 0; - padding: 0; - outline: none; - border: 1px solid #d4dadd; -} -.bi-theme-dark input, -.bi-theme-dark textarea { - border: 1px solid #525466; -} -ul, -ol { - margin: 0; - padding: 0; -} -ul { - list-style: disc; -} -li { - list-style-type: none; -} -i { - font-style: normal; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; -} div::-webkit-scrollbar, textarea::-webkit-scrollbar { -webkit-appearance: none; @@ -6353,6 +6318,57 @@ textarea::-webkit-scrollbar-thumb { _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='icon/push_up.png'); _background: none; } +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ +html, +body, +div, +ul, +li, +img, +a, +span, +p, +* { + margin: 0; + padding: 0; +} +a { + outline: none; + text-decoration: none; +} +a:focus { + outline: 0; +} +input, +textarea { + margin: 0; + padding: 0; + outline: none; + border: 1px solid #d4dadd; +} +.bi-theme-dark input, +.bi-theme-dark textarea { + border: 1px solid #525466; +} +ul, +ol { + margin: 0; + padding: 0; +} +ul { + list-style: disc; +} +li { + list-style-type: none; +} +i { + font-style: normal; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; +} /** * Farbtastic Color Picker 1.2 * © 2008 Steven Wittens diff --git a/src/case/button/icon/icon.trigger.js b/src/case/button/icon/icon.trigger.js index 763b55c90..8ae75e3cf 100644 --- a/src/case/button/icon/icon.trigger.js +++ b/src/case/button/icon/icon.trigger.js @@ -10,7 +10,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { _defaultConfig: function () { var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-trigger-icon-button bi-border-left", + baseCls: (conf.baseCls || "") + " bi-trigger-icon-button", extraCls: "pull-down-font" }); }, diff --git a/src/css/resource/app.css b/src/css/resource/app.css index 41c926c72..a4f143180 100644 --- a/src/css/resource/app.css +++ b/src/css/resource/app.css @@ -61,41 +61,6 @@ body { overflow-x: hidden; overflow-y: hidden; } -a { - outline: none; - text-decoration: none; -} -a:focus { - outline: 0; -} -input, -textarea { - margin: 0; - padding: 0; - outline: none; - border: 1px solid #d4dadd; -} -.bi-theme-dark input, -.bi-theme-dark textarea { - border: 1px solid #525466; -} -ul, -ol { - margin: 0; - padding: 0; -} -ul { - list-style: disc; -} -li { - list-style-type: none; -} -i { - font-style: normal; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; -} div::-webkit-scrollbar, textarea::-webkit-scrollbar { -webkit-appearance: none; diff --git a/src/css/resource/normal.css b/src/css/resource/normal.css new file mode 100644 index 000000000..6f34ac161 --- /dev/null +++ b/src/css/resource/normal.css @@ -0,0 +1,51 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ +html, +body, +div, +ul, +li, +img, +a, +span, +p, +* { + margin: 0; + padding: 0; +} +a { + outline: none; + text-decoration: none; +} +a:focus { + outline: 0; +} +input, +textarea { + margin: 0; + padding: 0; + outline: none; + border: 1px solid #d4dadd; +} +.bi-theme-dark input, +.bi-theme-dark textarea { + border: 1px solid #525466; +} +ul, +ol { + margin: 0; + padding: 0; +} +ul { + list-style: disc; +} +li { + list-style-type: none; +} +i { + font-style: normal; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; +} diff --git a/src/less/resource/app.less b/src/less/resource/app.less index 22e6ca6e1..ab03dc43b 100644 --- a/src/less/resource/app.less +++ b/src/less/resource/app.less @@ -58,51 +58,6 @@ body { overflow-y: hidden; } -a { - outline: none; - text-decoration: none; -} - -a:focus { - outline: 0; -} - -input, -textarea { - margin: 0; - padding: 0; - outline: none; - border: 1px solid @color-bi-border-line; -} - -.bi-theme-dark { - input, - textarea { - border: 1px solid @color-bi-border-line-theme-dark; - } -} - -ul, -ol { - margin: 0; - padding: 0; -} - -ul { - list-style: disc; -} - -li { - list-style-type: none; -} - -i { - font-style: normal; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; -} - div, textarea { &::-webkit-scrollbar { -webkit-appearance: none; diff --git a/src/less/resource/normal.less b/src/less/resource/normal.less new file mode 100644 index 000000000..6e49bb107 --- /dev/null +++ b/src/less/resource/normal.less @@ -0,0 +1,51 @@ +@import "../bibase"; + +html, body, div, ul, li, img, a, span, p, * { + margin: 0; + padding: 0; +} + +a { + outline: none; + text-decoration: none; +} + +a:focus { + outline: 0; +} + +input, +textarea { + margin: 0; + padding: 0; + outline: none; + border: 1px solid @color-bi-border-line; +} + +.bi-theme-dark { + input, + textarea { + border: 1px solid @color-bi-border-line-theme-dark; + } +} + +ul, +ol { + margin: 0; + padding: 0; +} + +ul { + list-style: disc; +} + +li { + list-style-type: none; +} + +i { + font-style: normal; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; +} \ No newline at end of file