Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
c134ed7f
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c134ed7f
编写于
6月 09, 2015
作者:
展
展新
浏览文件
操作
浏览文件
下载
差异文件
fixed: merge
上级
81271825
b4bb5654
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
149 addition
and
152 deletion
+149
-152
.npmignore
.npmignore
+1
-0
components/dropdown/demo/event.md
components/dropdown/demo/event.md
+2
-4
components/dropdown/demo/trigger.md
components/dropdown/demo/trigger.md
+12
-14
components/tooltip/index.jsx
components/tooltip/index.jsx
+2
-8
site/templates/layout.html
site/templates/layout.html
+3
-6
static/style.css
static/style.css
+6
-0
style/components/datepicker/Calendar.less
style/components/datepicker/Calendar.less
+1
-2
style/components/tooltip.less
style/components/tooltip.less
+4
-2
style/core/iconfont.less
style/core/iconfont.less
+1
-1
style/core/motion.less
style/core/motion.less
+92
-92
style/mixins/button.less
style/mixins/button.less
+2
-2
style/themes/default/custom.less
style/themes/default/custom.less
+23
-21
未找到文件。
.npmignore
浏览文件 @
c134ed7f
...
...
@@ -4,3 +4,4 @@ node_modules
theme
static
_site
site
components/dropdown/demo/event.md
浏览文件 @
c134ed7f
...
...
@@ -9,10 +9,9 @@
````
jsx
var
Menu
=
antd
.
Menu
;
var
Dropdown
=
antd
.
Dropdown
;
function
onClick
(
key
){
var
onClick
=
function
(
key
){
alert
(
'
选中了菜单
'
+
key
);
}
}
;
var
menu
=
<
Menu
onClick
=
{
onClick
}
>
<
Menu
.
Item
key
=
"1"
>
第一个菜单项
</
Menu
.
Item
>
...
...
@@ -21,7 +20,6 @@ var menu = <Menu onClick={onClick}>
<
Menu
.
Item
key
=
"4"
disabled
>
第四个菜单项
</
Menu
.
Item
>
</
Menu
>;
React
.
render
(
<
Dropdown
overlay
=
{
menu
}
>
<
button
className
=
"ant-btn ant-btn-ghost"
>
...
...
components/dropdown/demo/trigger.md
浏览文件 @
c134ed7f
...
...
@@ -21,18 +21,16 @@ var menu = <Menu>
<
Menu
.
Item
key
=
"3"
>
第三个菜单项
</
Menu
.
Item
>
</
Menu
>;
React
.
render
(
<
div
>
<
Dropdown
overlay
=
{
menu
}
trigger
=
"click"
>
<
button
className
=
"ant-btn ant-btn-ghost"
>
点我下来
<
i
className
=
"anticon anticon-caret-down"
></
i
>
</
button
>
</
Dropdown
>
<
Dropdown
overlay
=
{
menu
}
>
<
button
className
=
"ant-btn ant-btn-ghost"
>
鼠标移入
<
i
className
=
"anticon anticon-caret-down"
></
i
>
</
button
>
</
Dropdown
>
</
div
>
,
document
.
getElementById
(
'
components-dropdown-demo-trigger
'
));
React
.
render
(<
div
>
<
Dropdown
overlay
=
{
menu
}
trigger
=
"click"
>
<
button
className
=
"ant-btn ant-btn-ghost"
>
点我下来
<
i
className
=
"anticon anticon-caret-down"
></
i
>
</
button
>
</
Dropdown
>
<
Dropdown
overlay
=
{
menu
}
>
<
button
className
=
"ant-btn ant-btn-ghost"
>
鼠标移入
<
i
className
=
"anticon anticon-caret-down"
></
i
>
</
button
>
</
Dropdown
>
</
div
>,
document
.
getElementById
(
'
components-dropdown-demo-trigger
'
));
````
components/tooltip/index.jsx
浏览文件 @
c134ed7f
...
...
@@ -2,12 +2,6 @@ var React = require('react');
var
Tooltip
=
require
(
'
rc-tooltip
'
);
module
.
exports
=
React
.
createClass
({
getInitialState
:
function
()
{
var
state
=
{};
state
.
placement
=
this
.
props
.
placement
;
state
.
title
=
this
.
props
.
title
;
return
state
;
},
getDefaultProps
:
function
()
{
return
{
placement
:
'
top
'
...
...
@@ -15,10 +9,10 @@ module.exports = React.createClass({
},
render
:
function
()
{
return
(
<
Tooltip
placement
=
{
this
.
state
.
placement
}
<
Tooltip
placement
=
{
this
.
props
.
placement
}
prefixCls
=
"ant-tooltip"
trigger
=
"hover"
overlay
=
{
this
.
state
.
title
}
>
overlay
=
{
this
.
props
.
title
}
>
{
this
.
props
.
children
}
</
Tooltip
>
);
...
...
site/templates/layout.html
浏览文件 @
c134ed7f
...
...
@@ -45,16 +45,13 @@
<a
href=
"/components"
>
组件
</a>
</li>
<li
class=
"{%- if post.filename === 'design' %}current{%- endif %}"
>
<a
href=
"/docs/design"
>
设计
</a>
<a
class=
"disabled"
href=
"/docs/design"
>
设计
</a>
</li>
<li
class=
"{%- if post.filename === 'modes' %}current{%- endif %}"
>
<a
href=
"/docs/modes"
>
模式
</a>
<a
class=
"disabled"
href=
"/docs/modes"
>
模式
</a>
</li>
<li
class=
"{%- if post.filename === 'cases' %}current{%- endif %}"
>
<a
href=
"/docs/cases"
>
案例
</a>
</li>
<li
class=
"{%- if post.filename === 'download' %}current{%- endif %}"
>
<a
href=
"/docs/download"
>
下载
</a>
<a
class=
"disabled"
href=
"/docs/cases"
>
案例
</a>
</li>
</ul>
</nav>
...
...
static/style.css
浏览文件 @
c134ed7f
...
...
@@ -247,6 +247,12 @@ a.logo {
display
:
block
;
}
.nav
ul
li
a
.disabled
{
cursor
:
not-allowed
;
color
:
#ddd
!important
;
pointer-events
:
none
;
}
.nav
ul
li
.current
a
{
color
:
#71B5DE
;
font-weight
:
bold
;
...
...
style/components/datepicker/Calendar.less
浏览文件 @
c134ed7f
.@{prefixCalendarClass} {
position: relative;
outline: none;
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif;
width: 253px;
border: 1px solid #ccc;
list-style: none;
...
...
@@ -193,4 +192,4 @@
color: #23c0fa;
}
}
}
\ No newline at end of file
}
style/components/tooltip.less
浏览文件 @
c134ed7f
...
...
@@ -24,8 +24,10 @@
z-index: 1070;
display: block;
visibility: visible;
left: -9999px;
top: -9999px;
font-size: @font-size-base;
line-height:
1.5
;
line-height:
@line-height-base
;
&-placement-top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
&-placement-right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
...
...
@@ -41,7 +43,7 @@
text-align: left;
text-decoration: none;
background-color: @tooltip-bg;
border-radius:
6px
;
border-radius:
@border-radius-base
;
box-shadow: 0 0 4px rgba(0,0,0,0.4);
}
...
...
style/core/iconfont.less
浏览文件 @
c134ed7f
...
...
@@ -156,7 +156,7 @@
.@{iconfont-css-prefix}-windows:before {content:"\e66c";}
.@{iconfont-css-prefix}-loading:before {
display: inline-block;
.animation(loadingCircle @
fc-
duration-1000 infinite linear);
.animation(loadingCircle @duration-1000 infinite linear);
content:"\e610";
}
...
...
style/core/motion.less
浏览文件 @
c134ed7f
...
...
@@ -5,10 +5,10 @@
// Fade - 透明度从 0 到 1,从 1 到 0
.fade {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
animation-duration: @
fc-
duration-600;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-duration: @duration-600;
&.ng-enter,
&.fade-add,
...
...
@@ -88,12 +88,12 @@
// zoom - 从中心点放大、缩小
.zoom {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-600;
animation-duration: @duration-600;
&.ng-enter,
&.zoom-add,
...
...
@@ -134,12 +134,12 @@
}
.zoom-left {
-webkit-animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-timing-function: @ease-in-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-left-add,
...
...
@@ -179,12 +179,12 @@
}
}
.zoom-right {
-webkit-animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-timing-function: @ease-in-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-right-add,
...
...
@@ -225,12 +225,12 @@
}
.zoom-up {
-webkit-animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-timing-function: @ease-in-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-up-add,
...
...
@@ -271,12 +271,12 @@
}
.zoom-down {
-webkit-animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-timing-function: @ease-in-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in-out;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-down-add,
...
...
@@ -317,12 +317,12 @@
}
.zoom-arr12 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr12-add,
...
...
@@ -345,12 +345,12 @@
}
.zoom-arr1 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr1-add,
...
...
@@ -373,12 +373,12 @@
}
.zoom-arr3 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr3-add,
...
...
@@ -401,12 +401,12 @@
}
.zoom-arr5 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr5-add,
...
...
@@ -429,12 +429,12 @@
}
.zoom-arr6 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr6-add,
...
...
@@ -456,12 +456,12 @@
}
}
.zoom-arr7 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr7-add,
...
...
@@ -485,12 +485,12 @@
}
.zoom-arr9 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr9-add,
...
...
@@ -512,12 +512,12 @@
}
}
.zoom-arr11 {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.zoom-arr11-add,
...
...
@@ -983,12 +983,12 @@
}
// puff - 从本身放大、缩小
.puff {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-500;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-500;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-500;
animation-duration: @duration-500;
&.ng-enter,
&.puff-add,
...
...
@@ -1093,12 +1093,12 @@
.rotate-down {
-webkit-backface-visibility: visible !important;
backface-visibility: visible !important;
-webkit-animation-timing-function: @
fc-
ease-out;
-webkit-animation-timing-function: @ease-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-400;
animation-timing-function: @
fc-
ease-out;
-webkit-animation-duration: @duration-400;
animation-timing-function: @ease-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-400;
animation-duration: @duration-400;
&.ng-enter,
&.rotate-down-add,
...
...
@@ -1143,12 +1143,12 @@
.rotate-up {
-webkit-backface-visibility: visible !important;
backface-visibility: visible !important;
-webkit-animation-timing-function: @
fc-
ease-out;
-webkit-animation-timing-function: @ease-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-400;
animation-timing-function: @
fc-
ease-out;
-webkit-animation-duration: @duration-400;
animation-timing-function: @ease-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-400;
animation-duration: @duration-400;
&.ng-enter,
&.rotate-up-add,
...
...
@@ -1189,12 +1189,12 @@
.rotate-left {
-webkit-backface-visibility: visible !important;
backface-visibility: visible !important;
-webkit-animation-timing-function: @
fc-
ease-out;
-webkit-animation-timing-function: @ease-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-400;
animation-timing-function: @
fc-
ease-out;
-webkit-animation-duration: @duration-400;
animation-timing-function: @ease-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-400;
animation-duration: @duration-400;
&.ng-enter,
&.rotate-left-add,
...
...
@@ -1236,12 +1236,12 @@
.rotate-right {
-webkit-backface-visibility: visible !important;
backface-visibility: visible !important;
-webkit-animation-timing-function: @
fc-
ease-out;
-webkit-animation-timing-function: @ease-out;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-400;
animation-timing-function: @
fc-
ease-out;
-webkit-animation-duration: @duration-400;
animation-timing-function: @ease-out;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-400;
animation-duration: @duration-400;
&.ng-enter,
&.rotate-right-add,
...
...
@@ -1494,12 +1494,12 @@
// Slide - 滑动
.slide-down {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-600;
animation-duration: @duration-600;
&.ng-enter,
&.slide-down-add,
...
...
@@ -1539,12 +1539,12 @@
}
}
.slide-left {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-600;
animation-duration: @duration-600;
&.ng-enter,
&.slide-left-add,
...
...
@@ -1584,12 +1584,12 @@
}
}
.slide-right {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-600;
animation-duration: @duration-600;
&.ng-enter,
&.slide-right-add,
...
...
@@ -1629,12 +1629,12 @@
}
}
.slide-up {
-webkit-animation-timing-function: @
fc-
ease-in;
-webkit-animation-timing-function: @ease-in;
-webkit-animation-fill-mode: backwards;
-webkit-animation-duration: @
fc-
duration-600;
animation-timing-function: @
fc-
ease-in;
-webkit-animation-duration: @duration-600;
animation-timing-function: @ease-in;
animation-fill-mode: backwards;
animation-duration: @
fc-
duration-600;
animation-duration: @duration-600;
&.ng-enter,
&.slide-up-add,
...
...
style/mixins/button.less
浏览文件 @
c134ed7f
...
...
@@ -88,7 +88,7 @@
line-height: @line-height-base;
.button-size(@btn-padding-base; @font-size-base; @btn-border-radius-base);
.user-select(none);
.transition(all .4s @
fc-
ease-in-out);
.transition(all .4s @ease-in-out);
-webkit-transform: translate3d(0, 0, 0);
> .@{iconfont-css-prefix} {
...
...
@@ -196,7 +196,7 @@
border-radius: 50% 50%;
content: " ";
.scale(0, 0);
.transition(all @
fc-duration-300 @fc-
ease-in-out);
.transition(all @
duration-300 @
ease-in-out);
z-index: 0;
background-color: @primary-color;
}
...
...
style/themes/default/custom.less
浏览文件 @
c134ed7f
...
...
@@ -26,25 +26,25 @@
@cursor-disabled : not-allowed;
// Animation
@
fc-
duration-300 : .3s;
@
fc-
duration-400 : .4s;
@
fc-
duration-500 : .5s;
@
fc-
duration-600 : .6s;
@
fc-
duration-700 : .7s;
@
fc-
duration-800 : .8s;
@
fc-
duration-900 : .9s;
@
fc-
duration-1000 : 1.0s;
@
fc-
duration-1100 : 1.1s;
@
fc-
duration-1200 : 1.2s;
@
fc-
ease-out : cubic-bezier(0.25, 0.8, 0.25, 1);
@
fc-
ease-in : cubic-bezier(0.55, 0, 0.55, 0.2);
@
fc-
ease-in-out : cubic-bezier(0.35, 0, 0.25, 1);
@
fc-
ease-out-back : cubic-bezier(0.18, 0.89, 0.32, 1.28);
@
fc-
ease-in-back : cubic-bezier(0.6, -0.3, 0.74, 0.05);
@
fc-
ease-in-out-back : cubic-bezier(0.68, -0.55, 0.27, 1.55);
@
fc-
ease-out-circ : cubic-bezier(0.08, 0.82, 0.17, 1);
@
fc-
ease-in-circ : cubic-bezier(0.6, 0.04, 0.98, 0.34);
@
fc-
ease-in-out-circ : cubic-bezier(0.78, 0.14, 0.15, 0.86);
@duration-300 : .3s;
@duration-400 : .4s;
@duration-500 : .5s;
@duration-600 : .6s;
@duration-700 : .7s;
@duration-800 : .8s;
@duration-900 : .9s;
@duration-1000 : 1.0s;
@duration-1100 : 1.1s;
@duration-1200 : 1.2s;
@ease-out : cubic-bezier(0.25, 0.8, 0.25, 1);
@ease-in : cubic-bezier(0.55, 0, 0.55, 0.2);
@ease-in-out : cubic-bezier(0.35, 0, 0.25, 1);
@ease-out-back : cubic-bezier(0.18, 0.89, 0.32, 1.28);
@ease-in-back : cubic-bezier(0.6, -0.3, 0.74, 0.05);
@ease-in-out-back : cubic-bezier(0.68, -0.55, 0.27, 1.55);
@ease-out-circ : cubic-bezier(0.08, 0.82, 0.17, 1);
@ease-in-circ : cubic-bezier(0.6, 0.04, 0.98, 0.34);
@ease-in-out-circ : cubic-bezier(0.78, 0.14, 0.15, 0.86);
// BUTTONS
@btn-font-weight : normal;
...
...
@@ -79,6 +79,9 @@
@btn-circle-size-lg : 32px;
@btn-circle-size-sm : 22px;
// Border
@border-radius-base : 6px;
// Media queries breakpoints
// Extra small screen / phone
@screen-xs : 480px;
...
...
@@ -107,5 +110,4 @@
// Container sizes
@container-sm : (720px + @grid-gutter-width);
@container-md : (940px + @grid-gutter-width);
@container-lg : (1140px + @grid-gutter-width);
@container-lg : (1140px + @grid-gutter-width);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录