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

Last change on this file since 816 was 816, checked in by rboipsl, 9 years ago

copy date
One transmission
mise a jour sur champs
changement couleur en demi-deuil

File size: 3.5 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;
[816]64    border-radius:8px;
[386]65}
[376]66
[386]67button.positive:hover {
68    background-color: #E6EFC2;
69    border: 1px solid #C6D880;
70    color: #529214;
[376]71}
[386]72
73/* NEGATIVE */
74button.negative {
75    color: #d12f19;
[376]76}
[386]77
78button.negative:hover {
79    background: #fbe3e4;
80    border: 1px solid #fbc2c4;
81    color: #d12f19;
[376]82}
83
[386]84/* DISABLE */
85button.disable, button.disable:hover {
[816]86    border-radius:8px;
[386]87    background-color: #CCCCCC;
88    border: 1px solid #dedede;
89    color: #565656;
90}
[376]91
[386]92/* BLUE BUTTON */
93button.blue_button {
94    background-image: url("../images/elements/button_middle_3.png");
95    background-repeat: repeat-x;
96    height: 39px;
97    float: right;
98    margin-right: 0;
99    border: 0;
[376]100}
[386]101
102.blue_button_text, .big_blue_button_text {
103    color: white;
104    font-size: 11px;
105    font-weight: bold;
[376]106}
[386]107
108button.big_blue_button {
109/*background-image: url("../images/logoNat_small.png");*/
110    background-image: url("../images/elements/big_button_middle_3.png");
111    background-repeat: repeat-x repeat-y;
112    height: 50px;
113    width: 50px;
114    float: right;
115    margin-right: 0;
116    border: 0;
[376]117}
118
[386]119.big_blue_button_text {
120    position: relative;
121    top: -3px;
122    font-size: 44px;
123}
[376]124
[386]125/* GRAY BUTTON */
126button.gray_button {
127    background-image: url("../images/elements/button_middle_gray.png");
128    background-repeat: repeat-x;
129    height: 41px;
130    float: right;
131    margin-right: 0;
132    position: relative;
133    top: -1px;
[376]134}
135
[386]136button.action_button {
137    margin-left: 5px;
138    margin-right: -3px;
[388]139}
140
141/* RED BUTTON */
142button.red_button {
[816]143    background-color: #8a68bb;
[490]144    height: 40px;
[388]145    float: right;
146    margin-right: 0;
147    border: 0;
148}
149
[816]150
151
[388]152.red_button_text {
[816]153    color: white;
[388]154    font-size: 11px;
155    font-weight: bold;
[816]156
[388]157}
158
[529]159.red_button_text:hover {
[816]160    color : #bfafd6;
[529]161    font-size: 11px;
162    font-weight: bold;
163}
164
[388]165button.red_button:hover {
[816]166    background-color: #bfafd6;
[529]167
[388]168}
[816]169
170/*  */
171button.tapas1 {
172    background-color: #bfafd6;
173    height: 40px;
174    float: right;
175    margin-right: 0;
176    border: 0;
177    border-radius:8px;
178}
179
180
181
182.tapas1_text {
183    color: white;
184    font-size: 11px;
185    font-weight: bold;
186}
187
188.tapas1:hover {
189    color : #bfafd6;
190    font-size: 11px;
191    font-weight: bold;
192}
193
194button.tapas1:hover {
195    background-color: #bfafd6;
196
197}
198
199
Note: See TracBrowser for help on using the repository browser.