source: ether_2012/trunk/web/resources/css/button.css @ 347

Last change on this file since 347 was 347, checked in by vmipsl, 12 years ago

menu

File size: 2.8 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, .button.gray_button:hover {
55    background-color: #dff4ff !important;
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/elements/big_button_middle_3.png");
108    background-repeat: repeat-x repeat-y;
109    height: 50px;
110    width: 50px;
111    float: right;
112    margin-right: 0;
113    border: 0;
114}
115
116.big_blue_button_text {
117    position: relative;
118    top: -3px;
119    font-size: 44px;
120}
121
122/* ********************* GRAY BUTTON ********************* */
123button.gray_button {
124    background-color: transparent;
125    border: hidden;
126    height: 31px;
127    float: right;
128    margin-right: 0;
129    position: relative;
130    top: -1px;
131}
132
133.gray_button_text {
134    color: gray;
135    font-size: 11px;
136    font-weight: bold;
137}
138
139button.action_button {
140    margin-left: 5px;
141    margin-right: -3px;
142}
Note: See TracBrowser for help on using the repository browser.