Keep country-select width flexible and migrate more country-select to use tags

This commit is contained in:
Hadi Nategh 2018-09-18 11:50:12 +02:00
parent 3b8a2edce7
commit af9cadc6cf
5 changed files with 5 additions and 14 deletions

View File

@ -84,7 +84,7 @@
<description for="adr_one_countryname" value="country"/> <description for="adr_one_countryname" value="country"/>
<vbox width="100%"> <vbox width="100%">
<menulist class="et2_fullWidth"> <menulist class="et2_fullWidth">
<menupopup type="select-country" tags="true" class="countrySelect et2_fullWidth" id="adr_one_countrycode" tabindex="15" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/> <menupopup type="select-country" tags="true" width="100%" class="countrySelect et2_fullWidth" id="adr_one_countrycode" tabindex="15" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/>
</menulist> </menulist>
<textbox id="adr_one_countryname" class="custom_country et2_fullWidth" autocomplete="country-name"/> <textbox id="adr_one_countryname" class="custom_country et2_fullWidth" autocomplete="country-name"/>
</vbox> </vbox>
@ -117,7 +117,7 @@
<description for="adr_one_countryname" value="country"/> <description for="adr_one_countryname" value="country"/>
<vbox width="100%" tabindex="16"> <vbox width="100%" tabindex="16">
<menulist tabindex="16"> <menulist tabindex="16">
<menupopup type="select-country" tabindex="16" class="countrySelect et2_fullWidth" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/> <menupopup type="select-country" tabindex="16" tags="true" width="100%" class="countrySelect et2_fullWidth" id="adr_one_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="country"/>
</menulist> </menulist>
<textbox id="adr_one_countryname" class="custom_country et2_fullWidth" tabindex="16" autocomplete="country-name"/> <textbox id="adr_one_countryname" class="custom_country et2_fullWidth" tabindex="16" autocomplete="country-name"/>
</vbox> </vbox>
@ -240,7 +240,7 @@
<description for="adr_two_countryname" value="country"/> <description for="adr_two_countryname" value="country"/>
<vbox width="100%"> <vbox width="100%">
<menulist class="et2_fullWidth"> <menulist class="et2_fullWidth">
<menupopup type="select-country" tabindex="37" class="countrySelect et2_fullWidth" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" /> <menupopup type="select-country" tabindex="37" tags="true" width="100%" class="countrySelect et2_fullWidth" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" />
</menulist> </menulist>
<textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" /> <textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" />
</vbox> </vbox>
@ -273,7 +273,7 @@
<description for="adr_two_countryname" value="country"/> <description for="adr_two_countryname" value="country"/>
<vbox width="100%"> <vbox width="100%">
<menulist> <menulist>
<menupopup type="select-country" class="countrySelect et2_fullWidth" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" /> <menupopup type="select-country" class="countrySelect et2_fullWidth" tags="true" width="100%" id="adr_two_countrycode" onchange="app.addressbook.show_custom_country(this);" options="Select one,0,1" autocomplete="section-two country" />
</menulist> </menulist>
<textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" /> <textbox id="adr_two_countryname" class="custom_country et2_fullWidth" autocomplete="section-two country-name" />
</vbox> </vbox>

View File

@ -2678,9 +2678,6 @@ button[id="add"]:active {
/** /**
* Egw customizations for Chosen widget * Egw customizations for Chosen widget
*/ */
.chzn-container {
width: 100% !important;
}
.chzn-container-single .chzn-single { .chzn-container-single .chzn-single {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
border-radius: 0; border-radius: 0;

View File

@ -2667,9 +2667,6 @@ button[id="add"]:active {
/** /**
* Egw customizations for Chosen widget * Egw customizations for Chosen widget
*/ */
.chzn-container {
width: 100% !important;
}
.chzn-container-single .chzn-single { .chzn-container-single .chzn-single {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
border-radius: 0; border-radius: 0;

View File

@ -140,7 +140,7 @@
/** /**
* Egw customizations for Chosen widget * Egw customizations for Chosen widget
*/ */
.chzn-container {width: 100% !important;} .chzn-container {}
.chzn-container .chzn-single { .chzn-container .chzn-single {
} }

View File

@ -2689,9 +2689,6 @@ button[id="add"]:active {
/** /**
* Egw customizations for Chosen widget * Egw customizations for Chosen widget
*/ */
.chzn-container {
width: 100% !important;
}
.chzn-container-single .chzn-single { .chzn-container-single .chzn-single {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
border-radius: 0; border-radius: 0;