source: ether_megapoli/trunk/web/resources/css/button.css @ 265

Last change on this file since 265 was 265, checked in by vmipsl, 13 years ago

loginModule

File size: 2.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    color: #529214;
63}
64
65button.positive:hover {
66    background-color: #E6EFC2;
67    border: 1px solid #C6D880;
68    color: #529214;
69}
70
71/* NEGATIVE */
72button.negative {
73    color: #d12f19;
74}
75
76button.negative:hover {
77    background: #fbe3e4;
78    border: 1px solid #fbc2c4;
79    color: #d12f19;
80}
81
82/* DISABLE */
83button.disable, button.disable:hover {
84    background-color: #CCCCCC;
85    border: 1px solid #dedede;
86    color: #565656;
87}
88
89/* BLUE BUTTON */
90button.blue_button {
91    background-image: url("../images/elements/button_middle_3.png");
92    background-repeat: repeat-x;
93    height: 39px;
94    float: right;
95    margin-right: 0;
96    border: 0;
97}
98
99.blue_button_text, .big_blue_button_text {
100    color: white;
101    font-size: 11px;
102    font-weight: bold;
103}
104
105button.big_blue_button {
106    background-image: url("../images/elements/big_button_middle_3.png");
107    background-repeat: repeat-x repeat-y;
108    height: 50px;
109    width: 50px;
110    float: right;
111    margin-right: 0;
112    border: 0;
113}
114
115.big_blue_button_text {
116    position: relative;
117    top: -3px;
118    font-size: 44px;
119}
120
121/* GRAY BUTTON */
122button.gray_button {
123    background-color: #778899;
124    height: 39px;
125    float: right;
126    margin-right: 0;
127    border: 0;
128}
129
130.gray_button_text {
131    color: white;
132    font-size: 11px;
133    font-weight: bold;
134}
Note: See TracBrowser for help on using the repository browser.