Plugin Directory

Changeset 475875


Ignore:
Timestamp:
12/15/2011 01:11:34 PM (14 years ago)
Author:
theorboman
Message:

Better CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • easy-paypal-custom-fields/trunk/css/paypal.css

    r474696 r475875  
    6868/* Generic Custom Theme */
    6969
    70 .rps-custom-theme-button {
    71 /* , #rps-paypal-button-light, #rps-paypal-button-dark, #rps-paypal-button-blue, #rps-paypal-button-red { */
     70.paypal-form .rps-custom-theme-button {
    7271    margin-bottom: 20px;
     72    height: auto !important;
    7373    min-width: 90px;
    74     padding: 5px 10px ;
    75     line-height: 1.3 !important;
    76     font: 12px !important "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
     74    padding: 5px 9px 6px;
     75    font-size: 14px !important;
     76    line-height: 14px !important;
     77    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif !important;
    7778    font-weight: bold;
    7879    text-shadow: 1px 1px 1px rgba( 0, 0, 0, 0.1 );
     
    8283}
    8384
     85.paypal-form .rps-custom-theme-button:active {
     86    cursor: default;
     87    padding: 5px 9px 6px;
     88}
     89
    8490
    8591/* Light Theme */
    8692
    87 .rps-paypal-button-light {
     93.paypal-form .rps-paypal-button-light {
    8894    color: #444 !important;
    8995    border: 1px solid #c0c0c0 !important;
     
    100106}
    101107
    102 .rps-paypal-button-light:hover {
     108.paypal-form .rps-paypal-button-light:hover {
    103109    cursor: pointer;
    104110    border-color: #888;
     
    113119}
    114120
    115 .rps-paypal-button-light:active {
    116     cursor: default;
    117     margin-top: 1px;
     121.paypal-form .rps-paypal-button-light:active {
    118122    border-color: #555;
    119123    color: #444;
     
    123127/* Dark Theme (ooh, I'm SO scared..) */
    124128
    125 .rps-paypal-button-dark {
     129.paypal-form .rps-paypal-button-dark {
    126130    color: #fff !important;
    127131    border: 1px solid #444 !important;
     
    137141}
    138142
    139 .rps-paypal-button-dark:hover {
     143.paypal-form .rps-paypal-button-dark:hover {
    140144    cursor: pointer;
    141145    border-color: #777;
     
    149153}
    150154
    151 .rps-paypal-button-dark:active {
    152     cursor: default;
    153     margin-top: 1px;
     155.paypal-form .rps-paypal-button-dark:active {
    154156    border-color: #000;
    155157    color: #fff;
     
    159161/* Blue theme - Ooooh */
    160162
    161 .rps-paypal-button-blue {
     163.paypal-form .rps-paypal-button-blue {
    162164    color: #fafafa !important;
    163165    border: 1px solid #c0c0c0;
     
    174176}
    175177
    176 .rps-paypal-button-blue:hover {
     178.paypal-form .rps-paypal-button-blue:hover {
    177179    cursor: pointer;
    178180    border-color: #888;
     
    187189}
    188190
    189 .rps-paypal-button-blue:active {
    190     cursor: default;
    191     margin-top: 1px;
     191.paypal-form .rps-paypal-button-blue:active {
    192192    border-color: #555;
    193193    color: #ccc;
     
    197197/* Red theme - Aaaah */
    198198
    199 .rps-paypal-button-red {
     199.paypal-form .rps-paypal-button-red {
    200200    color: #fafafa !important;
    201201    border: 1px solid #c0c0c0;
     
    212212}
    213213
    214 .rps-paypal-button-red:hover {
     214.paypal-form .rps-paypal-button-red:hover {
    215215    cursor: pointer;
    216216    border-color: #888;
     
    225225}
    226226
    227 .rps-paypal-button-red:active {
    228     cursor: default;
    229     margin-top: 1px;
     227.paypal-form .rps-paypal-button-red:active {
    230228    border-color: #000;
    231229    color: #ddd;
     
    235233/* PayPal Image */
    236234
    237 .rps-pp-img {
     235.paypal-form .rps-pp-img {
    238236    padding: 0 0 0 !important;
    239237    margin: 0 0 10px !important;
     
    242240
    243241
    244 .paypal-form table {
     242.paypal-form .paypal-form table {
    245243    margin-bottom: 0;
    246244}
Note: See TracChangeset for help on using the changeset viewer.