summaryrefslogtreecommitdiffstats
path: root/sass/base/_utilities.scss
blob: 63aae7a0dae1629a365022264b330c40d2b83ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@mixin square($property){
	width: $property;
	height: $property;
}
@mixin user-select($select){
	-moz-user-select: $select;
	-khtml-user-select: $select;
	-webkit-user-select: $select;
	-o-user-select: $select;
	user-select: $select;
}
@mixin border-shadow($top: $color-gray05, $bottom: $color-gray04){
	border-top: 1px solid $top;
	border-bottom: 1px solid $bottom;
}
@mixin center($width, $height){
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: $width/(-2);
	margin-top: $height/(-2);
	width: $width;
	height: $height;
}