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

Last change on this file since 529 was 529, checked in by rboipsl, 12 years ago

V2 orange

File size: 3.1 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}
65
66button.positive:hover {
67    background-color: #E6EFC2;
68    border: 1px solid #C6D880;
69    color: #529214;
70}
71
72/* NEGATIVE */
73button.negative {
74    color: #d12f19;
75}
76
77button.negative:hover {
78    background: #fbe3e4;
79    border: 1px solid #fbc2c4;
80    color: #d12f19;
81}
82
83/* DISABLE */
84button.disable, button.disable:hover {
85    background-color: #CCCCCC;
86    border: 1px solid #dedede;
87    color: #565656;
88}
89
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;
98}
99
100.blue_button_text, .big_blue_button_text {
101    color: white;
102    font-size: 11px;
103    font-weight: bold;
104}
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;
115}
116
117.big_blue_button_text {
118    position: relative;
119    top: -3px;
120    font-size: 44px;
121}
122
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;
132}
133
134button.action_button {
135    margin-left: 5px;
136    margin-right: -3px;
137}
138
139/* RED BUTTON */
140button.red_button {
141    background-color: #d45400;
142    height: 40px;
143    float: right;
144    margin-right: 0;
145    border: 0;
146}
147
148.red_button_text {
149    color: black;
150    font-size: 11px;
151    font-weight: bold;
152}
153
154.red_button_text:hover {
155    color : #d45400;
156    font-size: 11px;
157    font-weight: bold;
158}
159
160button.red_button:hover {
161    background-color: #ff7c25;
162
163}
Note: See TracBrowser for help on using the repository browser.