This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmixins.import.less
104 lines (88 loc) · 1.53 KB
/
mixins.import.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// position
// .left {
// float: left;
// text-align: left;
// }
// .absolute-left {
// position: absolute;
// left: 0;
// }
// .right {
// float: right;
// text-align: right;
// }
// .absolute-right {
// position: absolute;
// right: 0;
// }
// .center {
// text-align: center;
// }
.dapp-clear-fix {
clear: both;
}
.dapp-overflow {
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.dapp-shorten-text {
display: inline-block;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 100%;
}
.dapp-button-reset {
background: none;
border: 0;
padding: 0;
margin: 0;
.box-sizing(content-box);
&:hover,
&:focus {
outline: 0;
}
}
.dapp-shadow-none {
.box-shadow(0 0 0 rgba(0,0,0,0));
}
.dapp-shadow-small {
.box-shadow(0 0px 1px rgba(0,0,0,0.3));
}
.dapp-shadow-medium {
.box-shadow(0 1px 4px rgba(0,0,0,0.3));
}
.dapp-shadow-large {
.box-shadow(0 1px 16px rgba(0,0,0,0.3));
}
.dapp-horizontal-menu,
.dapp-vertical-menu {
padding: 0;
margin: 0;
list-style: none;
}
.dapp-horizontal-menu {
> li {
display: inline-block;
padding: 0;
margin: 0;
}
}
.dapp-vertical-menu {
> li {
display: block;
padding: 0;
margin: 0;
}
}
// ANIMATIONS
.cubic-bezier {
// .transition-timing-function(cubic-bezier(0,0,.58,1));
.transition-timing-function(cubic-bezier(.15,.3,.1,1));
&.animate {
// .transition-timing-function(cubic-bezier(.42,0,1,1));
.transition-timing-function(cubic-bezier(.5,.1,0.2,1));
}
}