/* * Boutons CSS3 * */
input[type="submit"],
.wims_button,
.wims_button_help {
margin: 0 0 2px 2px;
}
input[type="submit"],
.wims_button,
.wims_button_help,
.wims_button_feedback,
.wims_tab,
.wims_tabselect,
/* Jquery UI hack : */ .ui-widget input[type="submit"]{
display:inline-block;
width:auto;
padding:.2em .6em;
font-family: AllerBold, Arial, Helvetica, sans-serif;
font-weight:bold;
cursor:pointer;
overflow:visible;
position:relative;
text-decoration:none;
line-height: 2em;
border-color: #999;
/*border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);*/
border-color: transparent rgba(0, 0, 0, .25) rgba(0, 0, 0, .5);
border-style:solid;
border-width:1px;
border-radius:4px;
background-image: linear-gradient(transparent, rgba(0, 0, 0, .25)) ;
/*background-image: linear-gradient(transparent, rgba(0, 0, 0, .25));*/
/* 3D effect */
/*box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 1px 2px rgba(0, 0, 0, .25);*/
font-size: 12px;
}
input[type="submit"].small,
.wims_button.small,
.wims_button_help.small,
.wims_button_feedback.small,
.wims_tab.small,
.wims_tabselect.small{
font-size: 10px;
}
input[type="button"].wims_button {
display:inline-block;
width:auto;
font-family: 'AllerBold', Arial, Helvetica, sans-serif;
margin-bottom: .1em;
padding:.2em .6em;
cursor:pointer;
overflow:visible;
position:relative;
text-decoration:none;
box-shadow: rgba(255, 255, 255, .75) 0 1px 1px;
font-size: .8em;
font-weight:bold;
}
/* Text shadow for dark buttons (i.e : when color:white). Not suitable for black text*/
input[type="submit"],
.wims_button,
.wims_button_feedback,
.wims_tab,
.wims_tabselect{
}
/* Text shadow for light buttons (i.e : when color:black). Not suitable for white text*/
/*.wims_button_help{
text-shadow:0 -1px 1px rgba(255, 255, 255, .5);
}*/
.wims_button_feedback {
border:2px solid green;
border-radius:50px;
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .25));
font-size: 1em;
height: 2em;
background-color: orange;
color:black;
}
input[type="submit"]:hover,
.wims_button:hover,
.wims_button_help:hover,
.wims_tab:hover {
background-image: linear-gradient(rgba(0, 0, 0, .25), transparent) ;
border-color: rgba(0, 0, 0, .25);
}
/* "pressed button" style */
input[type="submit"]:active,
.wims_button:active,
.wims_button_help:active,
.wims_button_feedback:active,
.wims_tab:active {
top:1px;
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .5);
}
body.main_body .wims_secondary_button{
background-color: #EEE;
color:#000;
/*background-image: linear-gradient(to bottom, rgba(255,255,255,.1),rgba(255,255,255,.2));*/
}
body.main_body .wims_button.wims_warning,
input[type="submit"].wims_warning,
input[type="button"].wims_warning{
background-color : brown;
}
.wims_button.disabled{
opacity: .6;
background-image:none;
box-shadow: none;
/*cursor:not-allowed;*/
cursor: default;
}
.wims_button.disabled:hover{
top:0;
box-shadow: none;
}
.wims_button.inline{
padding: 0 .2em;
line-height: 1.5em;
}