Hot buttons!

git-svn-id: http://svn.automattic.com/wordpress/trunk@1240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-08 01:15:03 +00:00
parent ba407ff5b3
commit c49ada1340
10 changed files with 34 additions and 19 deletions

View File

@ -151,7 +151,7 @@ if ($action != 'editcomment') {
<p><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="6" />
<p class="submit"><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="6" />
<?php
if ('publish' != $post_status || 0 == $post_ID) {
?>

View File

@ -91,7 +91,7 @@ edCanvas = document.getElementById('content');
<?php echo $form_pingback ?>
<?php echo $form_trackback; ?>
<p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" />
<p class="submit"><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" />
<input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" />
<input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="<?php _e('Publish') ?>" />
<?php if ('bookmarklet' != $mode) {

View File

@ -106,7 +106,7 @@ include('options-head.php');
<textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea>
</p>
</fieldset>
<p style="text-align: right;">
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
</p>
</form>

View File

@ -112,8 +112,8 @@ include('options-head.php');
</table>
</fieldset>
<p style="text-align: right;">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
</p>
</form>
</div>

View File

@ -124,8 +124,8 @@ else $selected = '';
<input type="checkbox" name="hack_file" value="1" <?php checked('1', get_settings('hack_file')); ?> />
<?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
</p>
<p style="text-align: right;">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
</p>
</form>
</div>

View File

@ -94,8 +94,8 @@ include('options-head.php');
<input type="checkbox" name="gzipcompression" value="1" <?php checked('1', get_settings('gzipcompression')); ?> />
<?php _e('WordPress should compress articles (gzip) if browsers ask for them') ?></label>
</p>
<p style="text-align: right;">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
</p>
</form>
</div>

View File

@ -118,8 +118,8 @@ endforeach;
</tr>
</table>
</fieldset>
<p style="text-align: right;">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
<p class="submit">
<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />
</p>
</form>
</div>

View File

@ -317,7 +317,7 @@ default:
</tr>
</table>
<p class="submit">
<input type="submit" value="<?php _e('Update &raquo;') ?>" name="submit" />
<input type="submit" value="<?php _e('Update Profile &raquo;') ?>" name="submit" />
</p>
</div>
</form>

View File

@ -159,6 +159,22 @@ textarea, input, select {
font: 12px Georgia, "Times New Roman", Times, serif;
}
.submit input, .submit input:focus {
background: url(../wp-images/fade-butt.png);
border: 3px double #999;
border-left-color: #ccc;
border-top-color: #ccc;
color: #333;
padding: 0.25em;
}
.submit input:active {
background: #f4f4f4;
border: 3px double #ccc;
border-left-color: #999;
border-top-color: #999;
}
.submit, #quicktags, .editform th, #postcustomsubmit {
text-align: right;
}
@ -282,6 +298,11 @@ textarea, input, select {
border: none;
}
#content, #excerpt {
margin-left: 1%;
width: 97%;
}
#ed_del {
text-decoration: line-through;
}
@ -353,7 +374,6 @@ textarea, input, select {
width: 98%;
}
#postcustom table input, #postcustom table textarea {
width: 95%;
}
@ -366,11 +386,6 @@ textarea, input, select {
margin-right: 11em;
}
#content, #excerpt {
margin-left: 1%;
width: 97%;
}
#profile {
margin: 10px;
}
@ -398,7 +413,7 @@ textarea, input, select {
}
#save {
width: 13em;
width: 14em;
}
#slugdiv {

BIN
wp-images/fade-butt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B