thirdparty-editable.less
2.26 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
.enable_plugin_inline_editable() when(@enable-plugin-inline-editable = true) {
.editable-container .popover-title {
	color:#438EB9;
}
.editable-click {
	border-bottom:1px dashed #BBB;
	cursor:pointer;
	font-weight:normal;
	
	img& {
		border:1px dotted #BBB;
	}
	&:hover {
		border-color:#0088CC;
		color:#0088CC;
		img& {.opacity(0.75);}
	}
}
.editable-buttons , .editable-input {
	display:inline-block;
}
.editable-buttons {
	margin-left: 1px;
	.btn {
		padding: 0;
		width: 28px;
		line-height: 24px;
		border-width: 3px;
		font-size: @base-font-size - 1;
		margin: 0 1px 0 0;
		> .@{icon} {
			margin: 0;
		}
	}
}
.editable-clear-x {
	cursor:pointer;
	color:#888;
	background:none;
	&:hover {
		color:#D15B47;
	}
	
	&:before {
		display:inline-block;
		content:"\f057";
 
		font-family: FontAwesome;
		font-size: @font-size-editable-clear;
	
		position: absolute;
		margin-top: -9px;
		width: 16px;
		height: 30px;
		line-height: 30px;
		text-align:center;
	}
}
.editable-input .ace-spinner {
 margin-right: 8px;
 .spinner-input {
	width: 100%;
 }
}
.editable-inline .editable-slider {
  margin-top: 10px;
  margin-right: 4px;
}
.editable-popup .editable-slider {
	display: block;
	margin-bottom: 16px;
	margin-top: 4px;
}
.editable-slider input[type=text] {
	display: none;
}
.editable-slider input[type=range] {
	outline: none !important;
}
.editable-input .ace-file-input {
	display:block;
}
.editable-image .ace-file-multiple .ace-file-container.selected {
	border-color:transparent;
}
.editable-image + .editable-buttons  , .editable-wysiwyg + .editable-buttons {
	display:block;
	text-align:center;
	margin-top:8px;
}
.editable-wysiwyg {
	width:95%;
	.wysiwyg-editor  {
		height:auto;
		overflow-y:hidden;
	}
}
.editableform {
	.input-append.dropdown-menu {
		display:none;
	}
	.open .input-append.dropdown-menu {
		display:block;
	}
}
.editable-container .editableform {
	margin-bottom:10px;
}
.editable-inline .editableform {
	margin-bottom:0;
}
.editableform .control-group {
	display: block;
}
.editableform-loading {
	background:none;
	.@{icon} , .progress{
		position:relative;
		top:35%;
	}
}
.input-group.date .input-group-addon {
	cursor:pointer;
}
//IE!!!!
//.editable-input .input-group .input-group-addon {
 ///width: auto \9;
//}
}
.enable_plugin_inline_editable();