Changeset 16173


Ignore:
Timestamp:
Jun 29, 2012, 11:35:53 AM (12 years ago)
Author:
plg
Message:

remove specific profile page

use chosen for select boxes on the profile page, easier to customize

Location:
extensions/luciano
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/luciano/local_head.tpl

    r16048 r16173  
    1414{/if}
    1515
    16 {*
    17 {combine_script id="mootools.core" path="themes/luciano/js/mootools-1.2.4-core.js"}
    18 {combine_script id="mootools.more" require="mootools.core" path="themes/luciano/js/mootools-1.2.4.4-more.js"}
    19 *}
    2016{combine_script id="luciano.script" path="themes/luciano/js/script.js"}
    2117
    22 {footer_script}
    23 if (typeof jQuery != 'undefined') {ldelim} jQuery.noConflict();}
    24 {/footer_script}
     18{combine_script id='jquery.chosen' load='footer' path='themes/default/js/plugins/chosen.jquery.min.js'}
     19{combine_css path="themes/default/js/plugins/chosen.css"}
     20
     21{footer_script require='jquery'}{literal}
     22jQuery(document).ready(function() {
     23  jQuery("select[name=theme], select[name=language]").chosen();
     24});
     25{/literal}{/footer_script}
  • extensions/luciano/theme.css

    r16171 r16173  
    3131select                  { background-color: #222; color: #666; }
    3232input, #menubar input { border: 1px solid #444; background-color: #222; color: #666; }
     33input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]  { border: 1px solid #444; background-color: #222; color: #666; }
    3334input[type="submit"], #menubar input[type="submit"] { background-color: #666; color: #222; }
    3435input[type="submit"]:hover, #menubar input[type="submit"]:hover { background-color: #222; color: #666; cursor: hand; }
     
    333334.content form   { margin: 10px; }
    334335
    335 .errors,
    336 .infos                          { margin: 10px; color: #fff; font-weight: 700; }
    337 .errors p,
    338 .infos p                                { margin: 30px 0 10px ; color: #900; }
    339 .errors li,
    340 .infos li                               { list-style: decimal; margin-left: 30px;}
    341 
    342 .idLink                         { margin-top: 20px; }
     336.errors {background-color:red;}
     337.errors, .infos { margin: 10px; color: #fff; font-weight: 700; border-radius:6px; min-height:30px;}
     338.errors p, .infos p { margin: 30px 0 10px ; color: #900; }
     339.errors li, .infos li { list-style: decimal; margin-left: 30px;}
     340
     341.idLink { margin-top: 20px; }
    343342
    344343/* MOOTOOLS PLUGIN */
     
    396395
    397396#derivativeSwitchLink {display:none;}
     397
     398/* profile */
     399form#profile .chzn-container-single .chzn-search {display:none}
     400
     401form#profile .chzn-container-active .chzn-single-with-drop {
     402    background-color: #666666;
     403    background-image: none;
     404    border: 1px solid #666666;
     405    border-bottom-left-radius: 0;
     406    border-bottom-right-radius: 0;
     407    box-shadow: none;
     408    color: #CCCCCC;
     409}
     410
     411form#profile .chzn-container-single .chzn-single {
     412  background-image: none;
     413  background-color: #444444;
     414  border: 1px solid #666666;
     415  box-shadow: none;
     416  color: #CCCCCC;
     417}
     418
     419form#profile .chzn-container .chzn-drop {
     420  background-color: #444444;
     421  background-image: none;
     422  border: 1px solid #666666;
     423  box-shadow: none;
     424  color: #CCCCCC;
     425}
Note: See TracChangeset for help on using the changeset viewer.