_ui-draggable.scss 1.17 KB
Newer Older
Liam Sharpe's avatar
Liam Sharpe committed
1
.ui-draggable.form-group:not(.button) {
Naomi Guyer's avatar
Naomi Guyer committed
2
3
	@extend .fa;
	min-height: 30px;
4
5
6
	float: none;
	clear: both;
	padding: 0;
Naomi Guyer's avatar
Naomi Guyer committed
7
8
9
	padding-left: 50px;
	line-height: 30px;
	display: block;
Liam Sharpe's avatar
Liam Sharpe committed
10
	text-align: left;
11
	
Naomi Guyer's avatar
Naomi Guyer committed
12
13
	&:before {
		box-sizing: border-box;
Liam Sharpe's avatar
Liam Sharpe committed
14
		color: rgba(#777, 0.7);
Naomi Guyer's avatar
Naomi Guyer committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
		content: "\f047";
		display: block;
		height: 100%;
		left: 0px;
		line-height: 1.3em;
		padding: 5px;
		position: absolute;
		top: 0px;
		width: 22px;
	}

	.checkbox {
		right: 10px;
		top: 5px;
	}
}
Liam Sharpe's avatar
Liam Sharpe committed
31
32
33
34
.draggable {
	z-index: 1;
	position: relative;
}
Naomi Guyer's avatar
Naomi Guyer committed
35

Liam Sharpe's avatar
Liam Sharpe committed
36
37
38
39
.droppable {
	z-index: 0;
	position: relative;
}
Naomi Guyer's avatar
Naomi Guyer committed
40
41
// This is a different case wheree we can use the icon itself
.icon-drag:before{
42
43
44
	display: block;
	float: left; 
	margin-right: 10px;
Naomi Guyer's avatar
Naomi Guyer committed
45
46
47
48
49
50
51
52
53
54
	height: 100%;
	color: rgba(#555, 0.4);

}

.icon-drag-current {
	border: 1px dashed #ccc;
	min-width: 200px;
}

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

.ui-draggable-dragging {
	.blocktype-drag {
		overflow: hidden;
		min-width: 200px;
	}
	label {
		@include text-overflow;
		max-width: 80%;
		line-height: 1em;
		padding-top: 3px;
		margin:0;
	}
	.icon, .indicator {
		padding-top: 3px;
		vertical-align: top;
	}
	.indicator {
		padding-top: 5px;
	}
}

.drag-handle,
.ui-draggable {
  cursor: move;
}

.ui-sortable-helper {
	overflow: hidden;
Naomi Guyer's avatar
Naomi Guyer committed
84
}