CSS style for SELECT elements

master
pecesama 2007-09-02 18:40:20 +00:00
parent 9b617b7d4f
commit f0653b5e23
3 changed files with 11 additions and 19 deletions

View File

@ -63,25 +63,19 @@ body{ background: #fff; text-align:center; font-family:"Trebuchet Ms", Verdana,
form.newpost{ width:500px; margin:0 auto; padding:0;} form.newpost{ width:500px; margin:0 auto; padding:0;}
form.newpost ul{ list-style-type:none; margin:20px 0 10px 0; padding:0;} form.newpost ul{ list-style-type:none; margin:20px 0 10px 0; padding:0;}
form.newpost li{ margin:4px 0; padding:0;} form.newpost li{ margin:4px 0; padding:0; position:relative;}
form.newpost li.select{ margin:6px 0;}
form.newpost label{} form.newpost label{}
form.newpost input{ margin-bottom:10px;} form.newpost input{ margin-bottom:10px;}
form.newpost input.txt{ background: #fff url(images/grad-small.png) top left repeat-x; height:15px; border:1px solid #999; width:490px; padding:5px;} form.newpost input.txt{ background: #fff url(images/grad-small.png) top left repeat-x; height:15px; border:1px solid #999; width:490px; padding:5px;}
form.newpost input.btn{ } form.newpost input.btn{ }
form.newpost textarea{background: #fff url(images/grad-big.png) top left repeat-x; height:190px; border:1px solid #999; width:490px; padding:5px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.8em;} form.newpost textarea{background: #fff url(images/grad-big.png) top left repeat-x; height:190px; border:1px solid #999; width:490px; padding:5px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.8em;}
form.newpost select{ position:absolute; right:10px; top:1px;}
html > body form.newpost select{min-width:100px;}
legend.install{ legend.install{font: normal 16.5px/17px georgia, "times new roman", serif; border: 0; margin-top: 0px; padding-top:0; margin-bottom: 0; padding-bottom: 0; color: #c60; margin-bottom: 10px;}
font: normal 16.5px/17px georgia, "times new roman", serif;
border: 0;
margin-top: 0px;
padding-top:0;
margin-bottom: 0;
padding-bottom: 0;
color: #c60;
margin-bottom: 10px;
}
.tabla{ background-color:#FFFBFF; margin:20px 15px; } .tabla{ margin:15px 15px; }
.entry{ background-color:#efefef; border:1px solid #ccc; margin:20px 15px;} .entry{ background-color:#efefef; border:1px solid #ccc; margin:20px 15px;}
.info{ border-bottom:1px solid #aaa; position:relative; display:block; padding:4px 10px; height:20px; } .info{ border-bottom:1px solid #aaa; position:relative; display:block; padding:4px 10px; height:20px; }
.info p{font-size:0.8em; color:#297aab; display:inline;} .info p{font-size:0.8em; color:#297aab; display:inline;}

View File

@ -99,7 +99,6 @@ if ($user->isAdmin()) {
<li><a href="settings.php"><?php echo __("Settings")?></a></li> <li><a href="settings.php"><?php echo __("Settings")?></a></li>
<li class="selected"><a><?php echo __("Options")?></a></li> <li class="selected"><a><?php echo __("Options")?></a></li>
</ul> </ul>
<p>&nbsp;</p>
<?php <?php
if (isset($_GET["modified"])) { if (isset($_GET["modified"])) {
if ($_GET["modified"]=="true") { if ($_GET["modified"]=="true") {
@ -117,25 +116,25 @@ if ($user->isAdmin()) {
<form action="options.php" method="post" id="options_form" autocomplete="off" class="newpost"> <form action="options.php" method="post" id="options_form" autocomplete="off" class="newpost">
<fieldset> <fieldset>
<ul> <ul>
<li><label for="rich_text"><?php echo __("Rich text editor:")?></label> <li class="select"><label for="rich_text"><?php echo __("Rich text editor:")?></label>
<select name="rich_text" id="rich_text"> <select name="rich_text" id="rich_text">
<option value="1" <?php if($conf->richText) echo "selected"; ?>><?php echo __("Active")?></option> <option value="1" <?php if($conf->richText) echo "selected"; ?>><?php echo __("Active")?></option>
<option value="0" <?php if(!$conf->richText) echo "selected"; ?>><?php echo __("Deactive")?></option> <option value="0" <?php if(!$conf->richText) echo "selected"; ?>><?php echo __("Deactive")?></option>
</select> </select>
</li> </li>
<li><label for="url_friendly"><?php echo __("URL friendly:")?></label> <li class="select"><label for="url_friendly"><?php echo __("URL friendly:")?></label>
<select name="url_friendly" id="url_friendly"> <select name="url_friendly" id="url_friendly">
<option value="1" <?php if($conf->urlFriendly) echo "selected"; ?>><?php echo __("Active")?></option> <option value="1" <?php if($conf->urlFriendly) echo "selected"; ?>><?php echo __("Active")?></option>
<option value="0" <?php if(!$conf->urlFriendly) echo "selected"; ?>><?php echo __("Deactive")?></option> <option value="0" <?php if(!$conf->urlFriendly) echo "selected"; ?>><?php echo __("Deactive")?></option>
</select> </select>
</li> </li>
<li><label for="allow_comments"><?php echo __("Allow readers comments:")?></label> <li class="select"><label for="allow_comments"><?php echo __("Allow readers comments:")?></label>
<select name="allow_comments" id="allow_comments"> <select name="allow_comments" id="allow_comments">
<option value="1" <?php if($conf->allowComments) echo "selected"; ?>><?php echo __("Active")?></option> <option value="1" <?php if($conf->allowComments) echo "selected"; ?>><?php echo __("Active")?></option>
<option value="0" <?php if(!$conf->allowComments) echo "selected"; ?>><?php echo __("Deactive")?></option> <option value="0" <?php if(!$conf->allowComments) echo "selected"; ?>><?php echo __("Deactive")?></option>
</select> </select>
</li> </li>
<li><label for="time_offsets"><?php echo __("Time Offset:")?></label> <li class="select"><label for="time_offsets"><?php echo __("Time Offset:")?></label>
<select id="time_offsets" name="time_offsets"> <select id="time_offsets" name="time_offsets">
<option value="-12,Pacific/Kwajalein" <?php echo ($conf->offsetCity=="Pacific/Kwajalein")? "selected=\"selected\"":"" ?>>(GMT -12:00) International Date Line West</option> <option value="-12,Pacific/Kwajalein" <?php echo ($conf->offsetCity=="Pacific/Kwajalein")? "selected=\"selected\"":"" ?>>(GMT -12:00) International Date Line West</option>
<option value="-11,Pacific/Samoa" <?php echo ($conf->offsetCity=="Pacific/Samoa")? "selected=\"selected\"":"" ?>>(GMT -11:00) Midway Island, Samoa</option> <option value="-11,Pacific/Samoa" <?php echo ($conf->offsetCity=="Pacific/Samoa")? "selected=\"selected\"":"" ?>>(GMT -11:00) Midway Island, Samoa</option>
@ -194,7 +193,7 @@ if ($user->isAdmin()) {
<option value="9.50,Australia/Adelaide" <?php echo ($conf->offsetCity=="Australia/Adelaide")? "selected=\"selected\"":"" ?>>(GMT +9:30) Adelaide</option> <option value="9.50,Australia/Adelaide" <?php echo ($conf->offsetCity=="Australia/Adelaide")? "selected=\"selected\"":"" ?>>(GMT +9:30) Adelaide</option>
<option value="9.50,Australia/Darwin" <?php echo ($conf->offsetCity=="Australia/Darwin")? "selected=\"selected\"":"" ?>>(GMT +9:30) Darwin</option> <option value="9.50,Australia/Darwin" <?php echo ($conf->offsetCity=="Australia/Darwin")? "selected=\"selected\"":"" ?>>(GMT +9:30) Darwin</option>
<option value="10,Australia/Brisbane" <?php echo ($conf->offsetCity=="Australia/Brisbane")? "selected=\"selected\"":"" ?>>(GMT +10:00) Brisbane, Guam, Port Moresby</option> <option value="10,Australia/Brisbane" <?php echo ($conf->offsetCity=="Australia/Brisbane")? "selected=\"selected\"":"" ?>>(GMT +10:00) Brisbane, Guam, Port Moresby</option>
<option value="10,Australia/Canberra" <?php echo ($conf->offsetCity=="Australia/Canberra")? "selected=\"selected\"":"" ?>>(GMT +10:00) Canberra, Hobart, Melbourne, Sydney, Vladivostok</option> <option value="10,Australia/Canberra" <?php echo ($conf->offsetCity=="Australia/Canberra")? "selected=\"selected\"":"" ?>>(GMT +10:00) Canberra,Melbourne, Sydney, Vladivostok</option>
<option value="11,Asia/Magadan" <?php echo ($conf->offsetCity=="Asia/Magadan")? "selected=\"selected\"":"" ?>>(GMT +11:00) Magadan, Soloman Is., New Caledonia</option> <option value="11,Asia/Magadan" <?php echo ($conf->offsetCity=="Asia/Magadan")? "selected=\"selected\"":"" ?>>(GMT +11:00) Magadan, Soloman Is., New Caledonia</option>
<option value="12,Pacific/Auckland" <?php echo ($conf->offsetCity=="Pacific/Auckland")? "selected=\"selected\"":"" ?>>(GMT +12:00) Auckland, Wellington</option> <option value="12,Pacific/Auckland" <?php echo ($conf->offsetCity=="Pacific/Auckland")? "selected=\"selected\"":"" ?>>(GMT +12:00) Auckland, Wellington</option>
<option value="12,Pacific/Fiji" <?php echo ($conf->offsetCity=="Pacific/Fiji")? "selected=\"selected\"":"" ?>>(GMT +12:00) Fiji, Kamchatka, Marshall Is.</option> <option value="12,Pacific/Fiji" <?php echo ($conf->offsetCity=="Pacific/Fiji")? "selected=\"selected\"":"" ?>>(GMT +12:00) Fiji, Kamchatka, Marshall Is.</option>

View File

@ -73,7 +73,6 @@ if ($user->isAdmin()) {
<li><a href="options.php"><?php echo __("Options")?></a></li> <li><a href="options.php"><?php echo __("Options")?></a></li>
<li class="selected"><a><?php echo __("Settings")?></a></li> <li class="selected"><a><?php echo __("Settings")?></a></li>
</ul> </ul>
<p>&nbsp;</p>
<?php <?php
if (isset($_GET["modified"])) { if (isset($_GET["modified"])) {
if ($_GET["modified"]=="true") { if ($_GET["modified"]=="true") {