Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Le forum «   Web design «   Un petit nouveau Yacs, en ce début d'année «  

Comment: Un petit nouveau Yacs, en ce début d'année

  Next >>
Et bien ma fois c'est très jolie tout ça

Comme tu vas surement le demander, pour rendre les boutons compatibles avec Yacs 7.12 : Edite ta feuille de style yordpress comme ceci :
Cherche la ligne ".big { /* bigger than default, but smaller than .huge -- ... */" (ligne 733) et en dessous (après l'accolade } insert ces lignes :
#main_panel a.button { /* a link that mimic a form button --
    
[button]url[/button], [button=label]url[/button] */
    
display: -moz-inline-box/* mandatory for firefox 2 */
    
displayinline-block;
    
cursorpointer;
    
bordernone;
    
font-size0;
    
font-stylenormal;
    
text-decorationnone;
    
color#2e523b;
    
line-height0;
    
backgroundtransparent url('images/button_drop.png'0 0 no-repeat;
    
height30px;
    
margin0 6px 0 0;
    
padding0 10px 0 0;
    
vertical-alignmiddle;
}

#main_panel a.button span {
    
displayinline-block;
    
cursorpointer;
    
bordernone;
    
font-family"Arial" !important;
    
font-size12px !important;
    
font-stylenormal;
    
white-spacenowrap;
    
letter-spacing!important;
    
color#222;
    
line-height16px;
    
backgroundtransparent url('images/button_drop.png'1000 no-repeat;
    
height30px;
    
margin-16px 0 10px;
    
padding8px 20px 0 10px;
    
vertical-alignmiddle;
}


#main_panel span.button { /* a button in a form */
    
display: -moz-inline-box/* mandatory for firefox 2 */
    
displayinline-block;
    
cursorpointer;
    
bordernone;
    
font-size0;
    
font-stylenormal;
    
text-decorationnone;
    
color#2e523b;
    
line-height0;
    
backgroundtransparent url('images/button_drop.png'0 0 no-repeat;
    
height30px;
    
margin0 6px 0 0;
    
padding0 10px 0 0;
    
vertical-alignmiddle;
}

#main_panel span.button button {
    
display: -moz-inline-box;
    
displayinline-block;
    
cursorpointer;
    
bordernone;
    
font-family"Arial" !important;
    
font-size14px !important;
    
font-stylenormal;
    
white-spacenowrap;
    
letter-spacing!important;
    
color#222;
    
line-height2em/*Higt value for Opera 9.0 compatibility*/
    
backgroundtransparent url('images/button_drop.png'1000 no-repeat;
    
height30px;
    
margin-16px 0 10px;
    
padding0 20px 0 10px
    
vertical-aligntext-top;
}

#main_panel a.button:hover,
#main_panel span.button:hover {
    
background-position:-60px;
    
color:#fff;
    
text-decoration:none;
}

#main_panel a.button:hover span,
#main_panel span.button:hover button {
    
background-position:100% -60px;
    
color:#fff;
}

#main_panel a.button:active span,
#main_panel span.button:focus button {
    
color:#444;
}



Il te faut aussi le dessin du bouton, a retrouver ici : file-716-button-drop.gif


SEO et webmastering VDP-Digital - Skins pour Yacs : Yordpress

This comment has inspired:

by ThierryP on Jan. 14