Changeset 13244


Ignore:
Timestamp:
02/18/12 23:09:08 (8 years ago)
Author:
plg
Message:

change color scheme on submit buttons for clear theme: white text on dark gray
background and orange background on :hover.

On many places, the submit buttons are now left aligned (instead of centered)

On configuration option screens, the "Reset" button was removed: useless and
confusing.

Much simpler "Quick Local Synchronization" button on admin/intro.tpl for admin
theme clear.

Location:
trunk/admin/themes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r13168 r13244  
    241241 
    242242INPUT[type="text"].large  { width: 317px; } 
    243 .bigbutton { background:transparent url(images/quickLocalSync.png) no-repeat scroll left top; display: block; 
    244 color:#eee; font-size:28px; height:161px; margin: 0 20px 0 auto; padding:0 18px 0; text-align:center; width:625px; 
    245 position:relative;  z-index: 50;} 
    246 .bigtext { display:block; font-weight:bold; left:225px; position:relative; top:35px; width:320px;  z-index: 55; cursor:pointer; } 
    247 .bigbutton:hover { color: #fff; } 
    248 .bigbutton input { background:transparent url(images/transparent.gif) repeat scroll left top; border:0; 
    249 display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0;} 
    250 .bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;} 
     243 
     244.bigbutton {background:none;margin-right:-5px; padding: 10px;height:auto;position:static;width:auto;text-align:right;} 
     245.bigtext {display:none;position:static;} 
     246.bigbutton input[type="submit"] {display:inline;position:static;height:auto;width:auto;font-size:18px;padding:10px;} 
     247 
     248 
    251249/* hacks */ 
    252250* html[lang="en"] body .content h2 , *+html[lang="en"] body .content h2 { text-transform:capitalize; } /* IE */ 
     
    295293 
    296294#pwgMain {padding-left:0} 
     295 
     296input[type="submit"], input[type="button"], input[type="reset"], a.bigButton { 
     297  font-size:12px; 
     298  font-weight:bold; 
     299  letter-spacing:1px; 
     300  border:none; 
     301  background-color:#666666; 
     302  color:#fff; 
     303  padding:2px 5px; 
     304  -moz-border-radius:5px; 
     305  -webkit-border-radius:5px; 
     306  border-radius:5px; 
     307  margin-left:0; 
     308} 
     309 
     310input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, a.bigButton:hover { 
     311  background-color:#ff7700; 
     312  color:white; 
     313} 
  • trunk/admin/themes/default/template/configuration.tpl

    r13087 r13244  
    503503 
    504504{if !isset($default)} 
    505   <p> 
     505  <p class="formButtons"> 
    506506    <input class="submit" type="submit" name="submit" value="{'Save Settings'|@translate}"> 
    507     <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> 
    508507  </p> 
    509508</form> 
  • trunk/admin/themes/default/template/intro.tpl

    r12887 r13244  
    9999<div class="bigbutton"> 
    100100<span class="bigtext">{'Quick Local Synchronization'|@translate}</span> 
    101 <input type="submit" value="" name="submit"> 
     101<input type="submit" value="{'Quick Local Synchronization'|@translate}" name="submit"> 
    102102</div> 
    103103</form> 
  • trunk/admin/themes/default/theme.css

    r13079 r13244  
    349349FORM P { 
    350350        text-align: center; 
    351         margin-top: 2em; 
    352         margin-bottom: 2em; 
     351        margin:1em; 
    353352} 
    354353 
     
    356355  text-align: left; 
    357356} 
     357 
     358form p.formButtons {text-align:left;} 
    358359 
    359360FORM FIELDSET P { 
    360361        margin-top: 1em; 
    361362        margin-bottom: 0; 
     363        text-align:left; 
    362364} 
    363365 
  • trunk/admin/themes/roma/theme.css

    r13078 r13244  
    209209.bigbutton:hover { background:transparent url(images/quickLocalSync_hover.png) no-repeat scroll left top; color: #000; } 
    210210.bigbutton input { background:transparent url(images/transparent.gif) repeat scroll left top; border:0; 
    211 display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0;} 
    212 .bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;} 
     211display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0; 
     212color:transparent;} 
     213.bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;color:transparent;} 
    213214/* hacks */ 
    214215* html[lang="en"] body .content h2 , *+html[lang="en"] body .content h2 { text-transform:capitalize; } /* IE */ 
Note: See TracChangeset for help on using the changeset viewer.