Tighten up CSS a little

This commit is contained in:
Nathan Gray 2012-07-11 19:01:06 +00:00
parent cc00b3c0ba
commit 8c8171c88b
2 changed files with 24 additions and 4 deletions

View File

@ -396,8 +396,7 @@ var et2_link_entry = et2_inputWidget.extend({
self.cache = {}; // Clear cache when app changes
if(typeof self.options.value != 'object') self.options.value = {};
self.options.value.app = self.app_select.val();
})
.css("width","39%");
});
var opt_count = 0;
for(var key in this.options.select_options) {
opt_count++;

View File

@ -14,6 +14,14 @@
background-color: white;
}
/**
* Basic rules
*/
input,button,select {
margin: 1px;
padding: 0px;
}
/**
* VBox widget
*/
@ -257,7 +265,7 @@ span.et2_date {
min-width: 130px;
}
span.et2_date input.et2_date {
min-width: 16.5ex;
min-width: 15ex;
background-repeat: no-repeat;
background-position: top right;
background-size: contain;
@ -373,12 +381,25 @@ div.et2_link_entry:after {
margin: -20px;
}
/* Special layout for inside nm grid */
.et2_nextmatch div.et2_link_entry {
padding-right: 4px;
}
.et2_nextmatch .et2_link_entry:after {
margin: 0px;
margin: -12px;
}
div.et2_link_entry select {
width: 39%;
}
div.et2_link_entry input.ui-autocomplete-input {
width: 61%;
padding-bottom: 1px;
}
.et2_link_entry.no_app input.ui-autocomplete-input {
width: 100%;
}
.et2_link_entry.no_app select {
display: none;
}
.et2_link_entry .ui-icon-close {
display: inline-block;
background-color: inherit;