mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-25 01:04:25 -04:00
Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode.
This commit is contained in:
committed by
Bharat Mediratta
parent
33e76f5e33
commit
3fc08dfd4c
@@ -8,10 +8,10 @@
|
||||
<ul>
|
||||
<li>
|
||||
<label for="q"><?= t("Search the gallery") ?></label>
|
||||
<input name="q" id="q" type="text" value="<?= html::clean_attribute($q) ?>"/>
|
||||
<input name="q" id="q" type="text" value="<?= html::clean_attribute($q) ?>" class="text" />
|
||||
</li>
|
||||
<li>
|
||||
<input type="submit" value="<?= t("Search")->for_html_attr() ?>" />
|
||||
<input type="submit" value="<?= t("Search")->for_html_attr() ?>" class="submit" />
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<ul>
|
||||
<li>
|
||||
<label for="g-search"><?= t("Search the gallery") ?></label>
|
||||
<input type="text" name="q" id="g-search"/>
|
||||
<input type="text" name="q" id="g-search" class="text" />
|
||||
</li>
|
||||
<li>
|
||||
<input type="submit" value="<?= t("Go")->for_html_attr() ?>" />
|
||||
<input type="submit" value="<?= t("Go")->for_html_attr() ?>" class="submit" />
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Fix display in IE 6, 7
|
||||
* Fix display in IE 6, 7, and 8
|
||||
*/
|
||||
|
||||
#g-banner {
|
||||
@@ -26,11 +26,17 @@ input.submit {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.g-short-form input[type='submit'] {
|
||||
.g-short-form input.text,
|
||||
.g-short-form input.submit {
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
padding: .38em .3em;
|
||||
}
|
||||
|
||||
#g-search-form input#q {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#g-add-tag-form input.textbox {
|
||||
width: 110px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user