Last change
on this file since 319 was
319,
checked in by vmipsl, 12 years ago
|
Import du projet Ether pour le nouveau look 2012
|
File size:
1.5 KB
|
Line | |
---|
1 | /** ****************************************************************** **/ |
---|
2 | /** http://particletree.com/features/rediscovering-the-button-element/ **/ |
---|
3 | /** ****************************************************************** **/ |
---|
4 | |
---|
5 | /* BUTTONS */ |
---|
6 | |
---|
7 | 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; |
---|
15 | |
---|
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 | |
---|
24 | width:auto; |
---|
25 | overflow:visible; |
---|
26 | padding:4px 6px 3px 6px; /* IE6 */ |
---|
27 | } |
---|
28 | |
---|
29 | button[type]{ |
---|
30 | padding:5px 10px 5px 7px; /* Firefox */ |
---|
31 | line-height:17px; /* Safari */ |
---|
32 | } |
---|
33 | |
---|
34 | *:first-child+html button[type]{ |
---|
35 | padding:4px 10px 3px 7px; /* IE7 */ |
---|
36 | } |
---|
37 | |
---|
38 | .small{ |
---|
39 | font-size:80%; |
---|
40 | } |
---|
41 | |
---|
42 | button img{ |
---|
43 | margin:0 3px -3px 0 !important; |
---|
44 | padding:0; |
---|
45 | border:none; |
---|
46 | width:16px; |
---|
47 | height:16px; |
---|
48 | } |
---|
49 | |
---|
50 | |
---|
51 | /* STANDARD */ |
---|
52 | button:hover{ |
---|
53 | background-color:#dff4ff; |
---|
54 | border:1px solid #c2e1ef; |
---|
55 | color:#336699; |
---|
56 | } |
---|
57 | |
---|
58 | /* POSITIVE */ |
---|
59 | button.positive{ |
---|
60 | color:#529214; |
---|
61 | } |
---|
62 | button.positive:hover{ |
---|
63 | background-color:#E6EFC2; |
---|
64 | border:1px solid #C6D880; |
---|
65 | color:#529214; |
---|
66 | } |
---|
67 | |
---|
68 | /* NEGATIVE */ |
---|
69 | button.negative{ |
---|
70 | color:#d12f19; |
---|
71 | } |
---|
72 | button.negative:hover{ |
---|
73 | background:#fbe3e4; |
---|
74 | border:1px solid #fbc2c4; |
---|
75 | color:#d12f19; |
---|
76 | } |
---|
77 | |
---|
78 | /* DISABLE */ |
---|
79 | button.disable, button.disable:hover{ |
---|
80 | background-color:#CCCCCC; |
---|
81 | border:1px solid #dedede; |
---|
82 | color:#565656; |
---|
83 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.