NIHVIVO-1954: Done some markup refactoring changing ID's into classes.
Also, in some cases I wasn't able to change id selectors because these are used temporarily due to the custom jsp tags (<v:input>) for editing forms which require an id and do not allow a class. This will be removed once we refactor the editing forms to Freemarker
This commit is contained in:
parent
bbe69c5f87
commit
6961c2a4eb
3 changed files with 15 additions and 4 deletions
|
@ -93,6 +93,11 @@ input.block {
|
||||||
label {
|
label {
|
||||||
margin-top: .5em;
|
margin-top: .5em;
|
||||||
}
|
}
|
||||||
|
input.submit,
|
||||||
|
input.submit:visited,
|
||||||
|
/* the id selectors are used temporarily due to the custom jsp tags (<v:input>)
|
||||||
|
for editing forms which require an id and do not allow a class. This will be
|
||||||
|
removed once we refactor the editing forms to Freemarker */
|
||||||
input#submit,
|
input#submit,
|
||||||
input#submit:visited {
|
input#submit:visited {
|
||||||
background: #222 url(../images/alert-overlay.png) repeat-x;
|
background: #222 url(../images/alert-overlay.png) repeat-x;
|
||||||
|
@ -114,6 +119,8 @@ input#submit:visited {
|
||||||
margin-right: .6em;
|
margin-right: .6em;
|
||||||
margin-top: .5em;
|
margin-top: .5em;
|
||||||
}
|
}
|
||||||
|
input.delete,
|
||||||
|
input.delete:visited,
|
||||||
input#delete,
|
input#delete,
|
||||||
input#delete:visited {
|
input#delete:visited {
|
||||||
background: #222 url(../images/alert-overlay.png) repeat-x;
|
background: #222 url(../images/alert-overlay.png) repeat-x;
|
||||||
|
@ -135,15 +142,19 @@ input#delete:visited {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-right: .6em;
|
margin-right: .6em;
|
||||||
}
|
}
|
||||||
|
input.submit:hover,
|
||||||
input#submit:hover {
|
input#submit:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #b2d15a;
|
background-color: #b2d15a;
|
||||||
}
|
}
|
||||||
|
input.delete:hover,
|
||||||
input#delete:hover {
|
input#delete:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #93c3d4;
|
background-color: #93c3d4;
|
||||||
}
|
}
|
||||||
|
input.delete:active,
|
||||||
input#delete:active,
|
input#delete:active,
|
||||||
|
input.submit:active,
|
||||||
input#submit:active {
|
input#submit:active {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
|
@ -406,7 +417,7 @@ ul#header-nav a:active {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
background: url(../images/search-interior-pages.png) 0 0 no-repeat;
|
background: url(../images/search-interior-pages.png) 0 0 no-repeat;
|
||||||
}
|
}
|
||||||
#search-field .submit {
|
#search-field input.search {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -647,7 +658,7 @@ p.password-note {
|
||||||
height: 44px;
|
height: 44px;
|
||||||
background: url(../images/search-field-and-button.png) 0 0 no-repeat;
|
background: url(../images/search-field-and-button.png) 0 0 no-repeat;
|
||||||
}
|
}
|
||||||
#search-home-field input.submit {
|
#search-home-field input.search {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<div id="search-field">
|
<div id="search-field">
|
||||||
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" />
|
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" />
|
||||||
<input type="submit" value="Search" class="submit">
|
<input type="submit" value="Search" class="search">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</#if>
|
</#if>
|
||||||
<div id="search-home-field">
|
<div id="search-home-field">
|
||||||
<input type="text" name="querytext" class="search-home-vivo" value="${querytext!}" />
|
<input type="text" name="querytext" class="search-home-vivo" value="${querytext!}" />
|
||||||
<input type="submit" value="Search" class="submit">
|
<input type="submit" value="Search" class="search">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Loading…
Add table
Reference in a new issue