public
Created

Shortcode Button old styling. Replace the whole block in shortcode.css

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
/* ======================================================================================================================================================
Button
====================================================================================================================================================== */
 
/*button element*/
.avia-button-wrap{display:inline-block;}
 
.avia-button{
color:#777;
border-color: #e1e1e1;
background-color: #f8f8f8;
}
 
body div .avia-button{
border-radius: 3px;
background-image: url("../images/layout/bg-button.png");
background-repeat: repeat-x;
background-position: 0 0;
padding:10px;
font-size: 12px;
text-decoration: none;
display:inline-block;
border-style: solid;
border-width: 1px;
margin:3px 0;
line-height: 1.2em;
position: relative;
font-weight: 600;
text-align: center;
max-width: 100%;
}
 
.avia-button:hover{background-position: 0 -7px;}
.avia-button.avia-color-theme-color-subtle{background-image: none;}
.avia-button.avia-color-theme-color-subtle:hover{}
 
 
.avia-button .avia_button_icon{position: relative; left: -0.3em;}
.avia-button.avia-icon_select-no .avia_button_icon{ display:none }
.avia-button.avia-size-small .avia_button_icon{ left: -2px;}
 
 
.avia-button.avia-color-grey, .avia-button.avia-color-grey:hover {background-color: #555; border-color: #555; text-shadow: 0 1px 0 rgba(0, 0, 0, 1); color: #fff; }
.avia-button.avia-color-black, .avia-button.avia-color-black:hover {background-color: #222; border-color: #222; text-shadow: 0 -1px 0 rgba(0, 0, 0, 1); color: #fff; }
.avia-button.avia-color-red, .avia-button.avia-color-red:hover {background-color: #B02B2C; border-color: #B02B2C; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); color: #5d1a1b; }
.avia-button.avia-color-orange, .avia-button.avia-color-orange:hover {background-color: #edae44; border-color: #edae44; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #745521; }
.avia-button.avia-color-green, .avia-button.avia-color-green:hover {background-color: #83a846; border-color: #83a846; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #415324; }
.avia-button.avia-color-blue, .avia-button.avia-color-blue:hover {background-color: #7bb0e7; border-color: #7bb0e7; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #3f5871; }
.avia-button.avia-color-aqua, .avia-button.avia-color-aqua:hover {background-color: #4ecac2; border-color: #4ecac2; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #286460; }
.avia-button.avia-color-teal, .avia-button.avia-color-teal:hover {background-color: #5f8789; border-color: #5f8789; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #314445; }
.avia-button.avia-color-purple, .avia-button.avia-color-purple:hover {background-color: #745f7e; border-color: #745f7e; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #3c3240; }
.avia-button.avia-color-pink, .avia-button.avia-color-pink:hover {background-color: #d65799; border-color: #d65799; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); color: #692b4b; }
.avia-button.avia-color-silver, .avia-button.avia-color-silver:hover {background-color: #d7d7d7; border-color: #d7d7d7; text-shadow: 0 1px 0 rgba(255, 255, 255, 1); color: #444; }
 
body .avia-button.avia-color-theme-color, body .avia-button.avia-color-theme-color:hover{
color:#fff;
color: rgba(0, 0, 0, 0.5);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}
 
 
 
.avia-button-center {display:block; text-align: center;}
.avia-button-right {display:block; float:right;}
.avia-button.avia-position-right{float:right; display:block;}
.avia-button.avia-position-left{float:left; display:block;}
 
.avia-button.avia-size-small{
padding:7px 10px;
font-size: 13px;
min-width: 80px;
}
 
.avia-button.avia-size-medium{
padding:10px 16px;
font-size: 14px;
min-width: 90px;
}
 
.avia-button.avia-size-large{
padding: 13px 30px;
font-size: 14px;
min-width: 127px;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.