source: tapas/web/resources/css/button.css @ 388

Last change on this file since 388 was 388, checked in by vmipsl, 12 years ago

ajout menu rouge

File size: 3.0 KB
RevLine 
[376]1/** ****************************************************************** **/
2/** http://particletree.com/features/rediscovering-the-button-element/ **/
3/** ****************************************************************** **/
4
5/* BUTTONS */
6
[386]7button {
8    -moz-border-radius: 4px 4px 4px 4px;
9    -webkit-border-radius: 4px 4px 4px 4px;
[376]10
[386]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 */
[376]30}
[386]31
32button[type] {
33    padding: 5px 10px 5px 7px; /* Firefox */
34    line-height: 17px; /* Safari */
[376]35}
[386]36
37*:first-child+html button[type] {
38    padding: 4px 10px 3px 7px; /* IE7 */
[376]39}
[386]40
41.small {
42    font-size: 80%;
[376]43}
[386]44
45button img {
46    margin: 0 3px -3px 0 !important;
47    padding: 0;
48    border: none;
49    width: 16px;
50    height: 16px;
[376]51}
52
53/* STANDARD */
[386]54button:hover {
55    background-color: #dff4ff;
56    border: 1px solid #c2e1ef;
57    color: #336699;
[376]58}
59
60/* POSITIVE */
[386]61button.positive {
62    background-color: #F0FFF0;
63    color: #529214;
64}
[376]65
[386]66button.positive:hover {
67    background-color: #E6EFC2;
68    border: 1px solid #C6D880;
69    color: #529214;
[376]70}
[386]71
72/* NEGATIVE */
73button.negative {
74    color: #d12f19;
[376]75}
[386]76
77button.negative:hover {
78    background: #fbe3e4;
79    border: 1px solid #fbc2c4;
80    color: #d12f19;
[376]81}
82
[386]83/* DISABLE */
84button.disable, button.disable:hover {
85    background-color: #CCCCCC;
86    border: 1px solid #dedede;
87    color: #565656;
88}
[376]89
[386]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;
[376]98}
[386]99
100.blue_button_text, .big_blue_button_text {
101    color: white;
102    font-size: 11px;
103    font-weight: bold;
[376]104}
[386]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;
[376]115}
116
[386]117.big_blue_button_text {
118    position: relative;
119    top: -3px;
120    font-size: 44px;
121}
[376]122
[386]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;
[376]132}
133
[386]134button.action_button {
135    margin-left: 5px;
136    margin-right: -3px;
[388]137}
138
139/* RED BUTTON */
140button.red_button {
141    background-color: #581700;
142    height: 39px;
143    float: right;
144    margin-right: 0;
145    border: 0;
146}
147
148.red_button_text {
149    color: white;
150    font-size: 11px;
151    font-weight: bold;
152}
153
154button.red_button:hover {
155    background-color: #881714;
156}
Note: See TracBrowser for help on using the repository browser.