1 | /** ****************************************************************** **/ |
---|
2 | /** http://particletree.com/features/rediscovering-the-button-element/ **/ |
---|
3 | /** ****************************************************************** **/ |
---|
4 | |
---|
5 | /* BUTTONS */ |
---|
6 | |
---|
7 | button { |
---|
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 | |
---|
16 | border: 1px solid #dedede; |
---|
17 | border-top: 1px solid #eee; |
---|
18 | border-left: 1px solid #eee; |
---|
19 | |
---|
20 | font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; |
---|
21 | font-size: 100%; |
---|
22 | line-height: 130%; |
---|
23 | text-decoration: none; |
---|
24 | font-weight: bold; |
---|
25 | color: #565656; |
---|
26 | cursor: pointer; |
---|
27 | |
---|
28 | width: auto; |
---|
29 | overflow: visible; |
---|
30 | padding: 4px 6px 3px 6px; /* IE6 */ |
---|
31 | |
---|
32 | -moz-box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.3); |
---|
33 | -webkit-box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.3); |
---|
34 | box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.3); |
---|
35 | } |
---|
36 | |
---|
37 | button[type] { |
---|
38 | /* padding: 5px 10px 5px 7px; Firefox */ |
---|
39 | padding: 2px 10px 5px 7px; /* Firefox */ |
---|
40 | line-height: 17px; /* Safari */ |
---|
41 | } |
---|
42 | |
---|
43 | *:first-child+html button[type] { |
---|
44 | padding: 4px 10px 3px 7px; /* IE7 */ |
---|
45 | } |
---|
46 | |
---|
47 | .small { |
---|
48 | font-size: 80%; |
---|
49 | } |
---|
50 | |
---|
51 | button img { |
---|
52 | margin: 0 3px -3px 0 !important; |
---|
53 | padding: 0; |
---|
54 | border: none; |
---|
55 | width: 16px; |
---|
56 | height: 16px; |
---|
57 | } |
---|
58 | |
---|
59 | /* STANDARD */ |
---|
60 | button:hover { |
---|
61 | background-color: #dff4ff; |
---|
62 | border: 1px solid #c2e1ef; |
---|
63 | color: #336699; |
---|
64 | } |
---|
65 | |
---|
66 | /* POSITIVE */ |
---|
67 | button.positive { |
---|
68 | background-color: #F0FFF0; |
---|
69 | color: #529214; |
---|
70 | } |
---|
71 | |
---|
72 | button.positive:hover { |
---|
73 | background-color: #E6EFC2; |
---|
74 | border: 1px solid #C6D880; |
---|
75 | color: #529214; |
---|
76 | } |
---|
77 | |
---|
78 | /* NEGATIVE */ |
---|
79 | button.negative { |
---|
80 | color: #d12f19; |
---|
81 | } |
---|
82 | |
---|
83 | button.negative:hover { |
---|
84 | background: #fbe3e4; |
---|
85 | border: 1px solid #fbc2c4; |
---|
86 | color: #d12f19; |
---|
87 | } |
---|
88 | |
---|
89 | /* DISABLE */ |
---|
90 | button.disable, button.disable:hover { |
---|
91 | background-color: #CCCCCC; |
---|
92 | border: 1px solid #dedede; |
---|
93 | color: #565656; |
---|
94 | } |
---|
95 | |
---|
96 | /* BLUE BUTTON */ |
---|
97 | button.blue_button { |
---|
98 | background-image: url("../images/elements/button_middle_3.png"); |
---|
99 | background-repeat: repeat-x; |
---|
100 | height: 39px; |
---|
101 | float: right; |
---|
102 | margin-right: 0; |
---|
103 | border: 0; |
---|
104 | } |
---|
105 | |
---|
106 | .blue_button_text, .big_blue_button_text { |
---|
107 | color: white; |
---|
108 | font-size: 11px; |
---|
109 | font-weight: bold; |
---|
110 | } |
---|
111 | |
---|
112 | button.big_blue_button { |
---|
113 | /*background-image: url("../images/logoNat_small.png");*/ |
---|
114 | background-image: url("../images/elements/big_button_middle_3.png"); |
---|
115 | background-repeat: repeat-x repeat-y; |
---|
116 | height: 50px; |
---|
117 | width: 50px; |
---|
118 | float: right; |
---|
119 | margin-right: 0; |
---|
120 | border: 0; |
---|
121 | } |
---|
122 | |
---|
123 | .big_blue_button_text { |
---|
124 | position: relative; |
---|
125 | top: -3px; |
---|
126 | font-size: 44px; |
---|
127 | } |
---|
128 | |
---|
129 | /* GRAY BUTTON */ |
---|
130 | button.gray_button { |
---|
131 | /* background-image: url("../images/elements/button_middle_gray.png"); |
---|
132 | background-repeat: repeat-x; |
---|
133 | height: 41px; |
---|
134 | float: right; |
---|
135 | margin-right: 0; |
---|
136 | position: relative; |
---|
137 | top: -1px; */ |
---|
138 | background-color: #EFF0F0; |
---|
139 | color: #000000; |
---|
140 | font-weight: normal; |
---|
141 | } |
---|
142 | |
---|
143 | button.gray_button:hover { |
---|
144 | background-color: #D6D9D9; |
---|
145 | border: 1px solid #c2e1ef; |
---|
146 | } |
---|
147 | |
---|
148 | button.action_button { |
---|
149 | margin-left: 5px; |
---|
150 | margin-right: -3px; |
---|
151 | } |
---|
152 | |
---|
153 | /* RED BUTTON */ |
---|
154 | button.red_button { |
---|
155 | /* background-color: #581700;*/ |
---|
156 | background-color: #003D6C; |
---|
157 | height: 39px; |
---|
158 | float: right; |
---|
159 | margin-right: 0; |
---|
160 | border: 0; |
---|
161 | } |
---|
162 | |
---|
163 | .red_button_text { |
---|
164 | color: white; |
---|
165 | font-size: 11px; |
---|
166 | font-weight: bold; |
---|
167 | } |
---|
168 | |
---|
169 | button.red_button:hover { |
---|
170 | background-color: #881714; |
---|
171 | } |
---|
172 | |
---|
173 | |
---|