guy 8 years ago
parent
commit
344ce94931
  1. 2
      bi/case.js
  2. 2
      docs/case.js
  3. 86
      docs/resource.css
  4. 2
      src/case/button/icon/icon.trigger.js
  5. 35
      src/css/resource/app.css
  6. 51
      src/css/resource/normal.css
  7. 45
      src/less/resource/app.less
  8. 51
      src/less/resource/normal.less

2
bi/case.js

@ -128,7 +128,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { 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" extraCls: "pull-down-font"
}); });
}, },

2
docs/case.js

@ -128,7 +128,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { 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" extraCls: "pull-down-font"
}); });
}, },

86
docs/resource.css

@ -61,41 +61,6 @@ body {
overflow-x: hidden; overflow-x: hidden;
overflow-y: 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, div::-webkit-scrollbar,
textarea::-webkit-scrollbar { textarea::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;
@ -6353,6 +6318,57 @@ textarea::-webkit-scrollbar-thumb {
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='icon/push_up.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='icon/push_up.png');
_background: none; _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 * Farbtastic Color Picker 1.2
* © 2008 Steven Wittens * © 2008 Steven Wittens

2
src/case/button/icon/icon.trigger.js

@ -10,7 +10,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { 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" extraCls: "pull-down-font"
}); });
}, },

35
src/css/resource/app.css

@ -61,41 +61,6 @@ body {
overflow-x: hidden; overflow-x: hidden;
overflow-y: 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, div::-webkit-scrollbar,
textarea::-webkit-scrollbar { textarea::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;

51
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;
}

45
src/less/resource/app.less

@ -58,51 +58,6 @@ body {
overflow-y: 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 @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 { div, textarea {
&::-webkit-scrollbar { &::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;

51
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;
}
Loading…
Cancel
Save