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
Line 
1/** ****************************************************************** **/
2/** http://particletree.com/features/rediscovering-the-button-element/ **/
3/** ****************************************************************** **/
4
5/* BUTTONS */
6
7button {
8    -moz-border-radius: 4px 4px 4px 4px;
9    -webkit-border-radius: 4px 4px 4px 4px;
10
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 */
30}
31
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}
52
53/* STANDARD */
54button:hover {
55    background-color: #dff4ff;
56    border: 1px solid #c2e1ef;
57    color: #336699;
58}
59
60/* POSITIVE */
61button.positive {
62    background-color: #F0FFF0;
63    color: #529214;
64    border-radius:8px;
65}
66
67button.positive:hover {
68    background-color: #E6EFC2;
69    border: 1px solid #C6D880;
70    color: #529214;
71}
72
73/* NEGATIVE */
74button.negative {
75    color: #d12f19;
76}
77
78button.negative:hover {
79    background: #fbe3e4;
80    border: 1px solid #fbc2c4;
81    color: #d12f19;
82}
83
84/* DISABLE */
85button.disable, button.disable:hover {
86    border-radius:8px;
87    background-color: #CCCCCC;
88    border: 1px solid #dedede;
89    color: #565656;
90}
91
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;
100}
101
102.blue_button_text, .big_blue_button_text {
103    color: white;
104    font-size: 11px;
105    font-weight: bold;
106}
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;
117}
118
119.big_blue_button_text {
120    position: relative;
121    top: -3px;
122    font-size: 44px;
123}
124
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;
134}
135
136button.action_button {
137    margin-left: 5px;
138    margin-right: -3px;
139}
140
141/* RED BUTTON */
142button.red_button {
143    background-color: #8a68bb;
144    height: 40px;
145    float: right;
146    margin-right: 0;
147    border: 0;
148}
149
150
151
152.red_button_text {
153    color: white;
154    font-size: 11px;
155    font-weight: bold;
156
157}
158
159.red_button_text:hover {
160    color : #bfafd6;
161    font-size: 11px;
162    font-weight: bold;
163}
164
165button.red_button:hover {
166    background-color: #bfafd6;
167
168}
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.