Ignore:
Timestamp:
03/01/12 17:22:49 (12 years ago)
Author:
vmipsl
Message:

clean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tapas/web/resources/css/button.css

    r376 r386  
    55/* BUTTONS */ 
    66 
    7 .buttons a, .buttons button { 
    8     display:block; 
    9     float:left; 
    10     margin:0 11px 0 0; 
    11     background-color:#f5f5f5; 
    12     border:1px solid #dedede; 
    13     border-top:1px solid #eee; 
    14     border-left:1px solid #eee; 
     7button { 
     8    -moz-border-radius: 4px 4px 4px 4px; 
     9    -webkit-border-radius: 4px 4px 4px 4px; 
    1510 
    16     font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; 
    17     font-size:100%; 
    18     line-height:130%; 
    19     text-decoration:none; 
    20     font-weight:bold; 
    21     color:#565656; 
    22     cursor:pointer; 
    23     padding:5px 10px 6px 7px; /* Links */ 
    24 } 
    25 .buttons button{ 
    26     width:auto; 
    27     overflow:visible; 
    28     padding:4px 6px 3px 6px; /* IE6 */ 
    29 } 
    30 .buttons button[type]{ 
    31     padding:5px 10px 5px 7px; /* Firefox */ 
    32     line-height:17px; /* Safari */ 
    33 } 
    34 *:first-child+html button[type]{ 
    35     padding:4px 10px 3px 7px; /* IE7 */ 
    36 } 
    37 .buttons button img, .buttons a img{ 
    38     margin:0 3px -3px 0 !important; 
    39     padding:0; 
    40     border:none; 
    41     width:16px; 
    42     height:16px; 
     11    display: block; 
     12    float: left; 
     13    margin: 0 11px 0 0; 
     14    background-color: #f5f5f5; 
     15    border: 1px solid #dedede; 
     16    border-top: 1px solid #eee; 
     17    border-left: 1px solid #eee; 
     18 
     19    font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; 
     20    font-size: 100%; 
     21    line-height: 130%; 
     22    text-decoration: none; 
     23    font-weight: bold; 
     24    color: #565656; 
     25    cursor: pointer; 
     26 
     27    width: auto; 
     28    overflow: visible; 
     29    padding: 4px 6px 3px 6px; /* IE6 */ 
    4330} 
    4431 
     32button[type] { 
     33    padding: 5px 10px 5px 7px; /* Firefox */ 
     34    line-height: 17px; /* Safari */ 
     35} 
     36 
     37*:first-child+html button[type] { 
     38    padding: 4px 10px 3px 7px; /* IE7 */ 
     39} 
     40 
     41.small { 
     42    font-size: 80%; 
     43} 
     44 
     45button img { 
     46    margin: 0 3px -3px 0 !important; 
     47    padding: 0; 
     48    border: none; 
     49    width: 16px; 
     50    height: 16px; 
     51} 
    4552 
    4653/* STANDARD */ 
    47  
    48 button:hover, .buttons a:hover{ 
    49     background-color:#dff4ff; 
    50     border:1px solid #c2e1ef; 
    51     color:#336699; 
    52 } 
    53 .buttons a:active{ 
    54     background-color:#6299c5; 
    55     border:1px solid #6299c5; 
    56     color:#fff; 
     54button:hover { 
     55    background-color: #dff4ff; 
     56    border: 1px solid #c2e1ef; 
     57    color: #336699; 
    5758} 
    5859 
    5960/* POSITIVE */ 
     61button.positive { 
     62    background-color: #F0FFF0; 
     63    color: #529214; 
     64} 
    6065 
    61 button.positive, .buttons a.positive{ 
    62     color:#529214; 
    63 } 
    64 .buttons a.positive:hover, button.positive:hover{ 
    65     background-color:#E6EFC2; 
    66     border:1px solid #C6D880; 
    67     color:#529214; 
    68 } 
    69 .buttons a.positive:active{ 
    70     background-color:#529214; 
    71     border:1px solid #529214; 
    72     color:#fff; 
     66button.positive:hover { 
     67    background-color: #E6EFC2; 
     68    border: 1px solid #C6D880; 
     69    color: #529214; 
    7370} 
    7471 
    7572/* NEGATIVE */ 
     73button.negative { 
     74    color: #d12f19; 
     75} 
    7676 
    77 .buttons a.negative, button.negative{ 
    78     color:#d12f19; 
    79 } 
    80 .buttons a.negative:hover, button.negative:hover{ 
    81     background:#fbe3e4; 
    82     border:1px solid #fbc2c4; 
    83     color:#d12f19; 
    84 } 
    85 .buttons a.negative:active{ 
    86     background-color:#d12f19; 
    87     border:1px solid #d12f19; 
    88     color:#fff; 
     77button.negative:hover { 
     78    background: #fbe3e4; 
     79    border: 1px solid #fbc2c4; 
     80    color: #d12f19; 
    8981} 
    9082 
    9183/* DISABLE */ 
    92  
    93 .buttons a.disable, .buttons a.disable:hover, .buttons button.disable, .buttons button.disable:hover 
    94 { 
    95     background-color:#CCCCCC; 
    96     border:1px solid #dedede; 
    97     color:#565656; 
     84button.disable, button.disable:hover { 
     85    background-color: #CCCCCC; 
     86    border: 1px solid #dedede; 
     87    color: #565656; 
    9888} 
    9989 
     90/* BLUE BUTTON */ 
     91button.blue_button { 
     92    background-image: url("../images/elements/button_middle_3.png"); 
     93    background-repeat: repeat-x; 
     94    height: 39px; 
     95    float: right; 
     96    margin-right: 0; 
     97    border: 0; 
     98} 
     99 
     100.blue_button_text, .big_blue_button_text { 
     101    color: white; 
     102    font-size: 11px; 
     103    font-weight: bold; 
     104} 
     105 
     106button.big_blue_button { 
     107/*background-image: url("../images/logoNat_small.png");*/ 
     108    background-image: url("../images/elements/big_button_middle_3.png"); 
     109    background-repeat: repeat-x repeat-y; 
     110    height: 50px; 
     111    width: 50px; 
     112    float: right; 
     113    margin-right: 0; 
     114    border: 0; 
     115} 
     116 
     117.big_blue_button_text { 
     118    position: relative; 
     119    top: -3px; 
     120    font-size: 44px; 
     121} 
     122 
     123/* GRAY BUTTON */ 
     124button.gray_button { 
     125    background-image: url("../images/elements/button_middle_gray.png"); 
     126    background-repeat: repeat-x; 
     127    height: 41px; 
     128    float: right; 
     129    margin-right: 0; 
     130    position: relative; 
     131    top: -1px; 
     132} 
     133 
     134button.action_button { 
     135    margin-left: 5px; 
     136    margin-right: -3px; 
     137} 
Note: See TracChangeset for help on using the changeset viewer.