src/pyams_skin/resources/less/widgets.less
changeset 69 a361355b55c7
parent 66 7a2d69fe8f6c
child 100 83cd0ab2d3f5
--- a/src/pyams_skin/resources/less/widgets.less	Wed May 20 15:01:45 2015 +0200
+++ b/src/pyams_skin/resources/less/widgets.less	Wed Jun 17 10:00:10 2015 +0200
@@ -303,6 +303,11 @@
 		>h2 {
 			margin-left: 10px;
 			float: left;
+
+			& + .btn,
+			& + .btn-group {
+				margin-left: 20px;
+			}
 		}
 		.rtl & {
 			padding: 0 7px 0 0;
@@ -348,12 +353,12 @@
 		margin: 0;
 		padding: 13px 13px 0;
 		background-color: #fff !important;
-		border-width: 1px 1px 2px;
+		border-width: 1px;
 		border-style: solid;
+		border-color: #ccc!important;
+	}
+	>header+div {
 		border-top: 0;
-		border-right-color: #CCC !important;
-		border-bottom-color: #CCC !important;
-		border-left-color: #CCC !important;
 	}
 	.widget-body {
 		position: relative;
@@ -1120,7 +1125,7 @@
 			display: list-item;
 			background-image: none;
 
-			&.select2-result-with-children>.select2-result-label {
+			&.select2-result-with-children >.select2-result-label {
 				font-weight: 700;
 			}
 		}
@@ -1274,7 +1279,7 @@
 				}
 				.select2-search-choice {
 					padding: 1px 28px 1px 8px;
-					margin: 2px 0 2px 2px;
+					margin: 2px;
 					position: relative;
 					line-height: 18px;
 					color: #fff;
@@ -1298,6 +1303,10 @@
 					}
 					&.ui-sortable-handle {
 						cursor: move;
+
+						.with-icons & {
+							margin-right: 1px;
+						}
 					}
 				}
 			}
@@ -1305,6 +1314,7 @@
 				.select2-choices {
 					li {
 						float: none;
+						cursor: move;
 
 						&.ui-state-highlight {
 							margin: 2px 0 2px 2px;
@@ -1414,8 +1424,8 @@
 	}
 }
 label.with-icon {
-	>i.icon-append + .select2-parent {
-		.select2-choices {
+	>i.icon-append +.select2-parent {
+		>.select2-choices {
 			padding-right: 29px;
 		}
 	}