--- a/src/ztfy/myams/resources/less/widgets.less Fri Jan 29 15:36:00 2016 +0100
+++ b/src/ztfy/myams/resources/less/widgets.less Fri Jan 29 15:37:22 2016 +0100
@@ -22,6 +22,9 @@
padding: 0 8px;
text-align: center;
+ &:empty {
+ padding: 0;
+ }
&.no-border {
border-left: 0;
}
@@ -1125,7 +1128,7 @@
display: list-item;
background-image: none;
- &.select2-result-with-children>.select2-result-label {
+ &.select2-result-with-children >.select2-result-label {
font-weight: 700;
}
}
@@ -1208,15 +1211,13 @@
&-container {
&.select2-container-disabled {
.select2-choice {
- background-color: #f4f4f4;
background-image: none;
- border: 1px solid #ddd;
+ border: 1px solid transparent;
+ border-bottom: 1px solid #ccc;
cursor: default;
.select2-arrow {
- background-color: #f4f4f4;
- background-image: none;
- border-left: 0;
+ display: none;
}
abbr {
display: none;
@@ -1279,7 +1280,7 @@
}
.select2-search-choice {
padding: 1px 28px 1px 8px;
- margin: 2px 0 2px 2px;
+ margin: 2px;
position: relative;
line-height: 18px;
color: #fff;
@@ -1314,7 +1315,10 @@
.select2-choices {
li {
float: none;
- cursor: move;
+
+ &.select2-search-choice {
+ cursor: move;
+ }
&.ui-state-highlight {
margin: 2px 0 2px 2px;
@@ -1336,12 +1340,16 @@
}
}
&.select2-container-disabled .select2-choices {
- background-color: #f4f4f4;
+ //background-color: #f4f4f4;
background-image: none;
border: 1px solid transparent;
border-bottom: 1px solid #ccc;
cursor: default;
+ &:hover {
+ border-color: transparent!important;
+ border-bottom: 1px solid #ccc!important;
+ }
.select2-search-choice {
padding: 1px 5px;
border: 1px solid #4a90cc;
@@ -1424,8 +1432,8 @@
}
}
label.with-icon {
- >i.icon-append + .select2-parent {
- .select2-choices {
+ >i.icon-append +.select2-parent {
+ >.select2-choices {
padding-right: 29px;
}
}