diff --git a/addressbook/templates/default/app.css b/addressbook/templates/default/app.css
index 108b2c05ba..9a4c6ab1ae 100644
--- a/addressbook/templates/default/app.css
+++ b/addressbook/templates/default/app.css
@@ -89,10 +89,19 @@ input.et2_radiobox {
top: 0;
padding-top: 0;
}
-#addressbook-edit_adr_one_locality,#addressbook-edit_adr_two_locality {
- margin-left:5px;
+#addressbook-edit_adr_one_locality,
+#addressbook-edit_adr_two_locality,
+#addressbook-edit_adr_one_postalcode,
+#addressbook-edit_adr_two_postalcode{
+ padding-top:5px;
+ padding-bottom: 5px;
}
-
+#addressbook-edit_adr_one_postalcode,
+#addressbook-edit_adr_two_postalcode{
+ margin-right: -4px;
+}
+div.city_state_postcode #addressbook-edit_adr_two_postalcode,
+div.city_state_postcode #addressbook-edit_adr_one_postalcode {margin-right: 5px !important;}
#addressbook-edit_role {
margin-right: 5px;
}
@@ -121,4 +130,9 @@ select#addressbook-index_col_filter\[tid\] {
}
#addressbook-edit .chzn-container .chzn-results {max-height: 110px}
-#addressbook-index_nm .chzn-drop {width:auto;}
\ No newline at end of file
+#addressbook-index_nm .chzn-drop {width:auto;}
+#addressbook-edit_adr_one_region, #addressbook-edit_adr_two_region {
+ width: 130px;
+ vertical-align: middle;
+ margin-left: 3px;
+}
\ No newline at end of file
diff --git a/addressbook/templates/default/edit.xet b/addressbook/templates/default/edit.xet
index 29466c0f57..60f21e9194 100644
--- a/addressbook/templates/default/edit.xet
+++ b/addressbook/templates/default/edit.xet
@@ -71,7 +71,7 @@
-
+
@@ -82,7 +82,7 @@
-
+
@@ -95,7 +95,7 @@
-
+
@@ -105,7 +105,7 @@
-
+
@@ -227,7 +227,7 @@
-
+
@@ -238,7 +238,7 @@
-
+
@@ -251,7 +251,7 @@
-
+
@@ -261,7 +261,7 @@
-
+
diff --git a/addressbook/templates/pixelegg/app.css b/addressbook/templates/pixelegg/app.css
index 4f85f58ea7..c2ef2745aa 100755
--- a/addressbook/templates/pixelegg/app.css
+++ b/addressbook/templates/pixelegg/app.css
@@ -108,8 +108,19 @@ input.et2_radiobox {
padding-top: 0;
}
#addressbook-edit_adr_one_locality,
-#addressbook-edit_adr_two_locality {
- margin-left: 5px;
+#addressbook-edit_adr_two_locality,
+#addressbook-edit_adr_one_postalcode,
+#addressbook-edit_adr_two_postalcode {
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+#addressbook-edit_adr_one_postalcode,
+#addressbook-edit_adr_two_postalcode {
+ margin-right: -4px;
+}
+div.city_state_postcode #addressbook-edit_adr_two_postalcode,
+div.city_state_postcode #addressbook-edit_adr_one_postalcode {
+ margin-right: 5px !important;
}
#addressbook-edit_role {
margin-right: 5px;
@@ -146,6 +157,12 @@ select#addressbook-index_col_filter\[tid\] {
#addressbook-index_nm .chzn-drop {
width: auto;
}
+#addressbook-edit_adr_one_region,
+#addressbook-edit_adr_two_region {
+ width: 130px;
+ vertical-align: middle;
+ margin-left: 3px;
+}
@media all {
/* #############################################################################
diff --git a/api/js/etemplate/et2_widget_selectbox.js b/api/js/etemplate/et2_widget_selectbox.js
index 5663534efb..86d43652b7 100644
--- a/api/js/etemplate/et2_widget_selectbox.js
+++ b/api/js/etemplate/et2_widget_selectbox.js
@@ -239,18 +239,23 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
var valid = this._super.apply(this, arguments);
var selected = this.input.siblings().find('a.chzn-single');
var val = _value && _value.selected ? _value.selected : this.value;
- if (selected && selected.length == 1 && val)
+ switch (this._type)
{
- selected.removeClass (function (index, className) {
- return (className.match (/(^|\s)flag-\S+/g) || []).join(' ');
- });
- selected.find('span.img').remove();
- selected.prepend('');
- selected.addClass('et2_country-select flag-'+ val.toLowerCase());
- }
- else if(selected)
- {
- selected.removeClass('et2_country-select');
+ case 'select-country':
+ if (selected && selected.length == 1 && val)
+ {
+ selected.removeClass (function (index, className) {
+ return (className.match (/(^|\s)flag-\S+/g) || []).join(' ');
+ });
+ selected.find('span.img').remove();
+ selected.prepend('');
+ selected.addClass('et2_country-select flag-'+ val.toLowerCase());
+ }
+ else if(selected)
+ {
+ selected.removeClass('et2_country-select');
+ }
+ break;
}
return valid;
},
diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css
index 57380494c7..74b6e398e9 100644
--- a/api/templates/default/etemplate2.css
+++ b/api/templates/default/etemplate2.css
@@ -1131,6 +1131,7 @@ table.egwGridView_grid .et2_taglist_thumbnail .et2_taglist_thumbnail_img {
/* Toggle single / multiple */
.et2_taglist_toggle {
position: relative;
+ overflow: visible !important;
}
.et2_taglist_toggle > div.ms-ctn {
display: inline-block;
@@ -1215,11 +1216,9 @@ div .et2_taglist_single:not(.et2_taglist_small) div.ms-sel-ctn div.ms-sel-item {
}
.et2_taglist.et2_taglist_toggle div.ms-ctn input {
border:none;
- background-color: #fafafa;
}
.et2_taglist.et2_taglist_single .ms-ctn.form-control {
- border-radius: 3px;
- background-color: #fafafa;
+
}
.et2_taglist_single.et2_taglist_category .ms-sel-item > span:first-child {
padding: 0;
@@ -1262,7 +1261,7 @@ div .et2_taglist_small.et2_taglist_single div.ms-sel-ctn div.ms-sel-item {
.et2_taglist_small.ui-state-hover,
.et2_taglist_small.ui-state-active {
max-height: none;
- min-width: 15em;
+ min-width: 10em;
background: white;
z-index: 5;
margin-top: 0px;