[330] | 1 | /** ****************************************************************** **/ |
---|
| 2 | /** http://particletree.com/features/rediscovering-the-button-element/ **/ |
---|
| 3 | /** ****************************************************************** **/ |
---|
| 4 | |
---|
| 5 | /* BUTTONS */ |
---|
| 6 | |
---|
[347] | 7 | button { |
---|
| 8 | -moz-border-radius: 4px 4px 4px 4px; |
---|
| 9 | -webkit-border-radius: 4px 4px 4px 4px; |
---|
[330] | 10 | |
---|
[347] | 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 */ |
---|
[330] | 30 | } |
---|
[347] | 31 | |
---|
| 32 | button[type] { |
---|
| 33 | padding: 5px 10px 5px 7px; /* Firefox */ |
---|
| 34 | line-height: 17px; /* Safari */ |
---|
[330] | 35 | } |
---|
[347] | 36 | |
---|
| 37 | *:first-child+html button[type] { |
---|
| 38 | padding: 4px 10px 3px 7px; /* IE7 */ |
---|
[330] | 39 | } |
---|
[347] | 40 | |
---|
| 41 | .small { |
---|
| 42 | font-size: 80%; |
---|
[330] | 43 | } |
---|
[347] | 44 | |
---|
| 45 | button img { |
---|
| 46 | margin: 0 3px -3px 0 !important; |
---|
| 47 | padding: 0; |
---|
| 48 | border: none; |
---|
| 49 | width: 16px; |
---|
| 50 | height: 16px; |
---|
[330] | 51 | } |
---|
| 52 | |
---|
| 53 | /* STANDARD */ |
---|
[347] | 54 | button:hover, .button.gray_button:hover { |
---|
| 55 | background-color: #dff4ff !important; |
---|
| 56 | border: 1px solid #c2e1ef; |
---|
| 57 | color: #336699; |
---|
[330] | 58 | } |
---|
| 59 | |
---|
| 60 | /* POSITIVE */ |
---|
[347] | 61 | button.positive { |
---|
| 62 | background-color: #F0FFF0; |
---|
| 63 | color: #529214; |
---|
| 64 | } |
---|
[330] | 65 | |
---|
[347] | 66 | button.positive:hover { |
---|
| 67 | background-color: #E6EFC2; |
---|
| 68 | border: 1px solid #C6D880; |
---|
| 69 | color: #529214; |
---|
[330] | 70 | } |
---|
[347] | 71 | |
---|
| 72 | /* NEGATIVE */ |
---|
| 73 | button.negative { |
---|
| 74 | color: #d12f19; |
---|
[330] | 75 | } |
---|
[347] | 76 | |
---|
| 77 | button.negative:hover { |
---|
| 78 | background: #fbe3e4; |
---|
| 79 | border: 1px solid #fbc2c4; |
---|
| 80 | color: #d12f19; |
---|
[330] | 81 | } |
---|
| 82 | |
---|
[347] | 83 | /* DISABLE */ |
---|
| 84 | button.disable, button.disable:hover { |
---|
| 85 | background-color: #CCCCCC; |
---|
| 86 | border: 1px solid #dedede; |
---|
| 87 | color: #565656; |
---|
| 88 | } |
---|
[330] | 89 | |
---|
[347] | 90 | /* ********************* BLUE BUTTON ********************* */ |
---|
| 91 | button.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; |
---|
[330] | 98 | } |
---|
[347] | 99 | |
---|
| 100 | .blue_button_text, .big_blue_button_text { |
---|
| 101 | color: white; |
---|
| 102 | font-size: 11px; |
---|
| 103 | font-weight: bold; |
---|
[330] | 104 | } |
---|
[347] | 105 | |
---|
| 106 | button.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; |
---|
[330] | 114 | } |
---|
| 115 | |
---|
[347] | 116 | .big_blue_button_text { |
---|
| 117 | position: relative; |
---|
| 118 | top: -3px; |
---|
| 119 | font-size: 44px; |
---|
| 120 | } |
---|
[330] | 121 | |
---|
[347] | 122 | /* ********************* GRAY BUTTON ********************* */ |
---|
| 123 | button.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; |
---|
[330] | 131 | } |
---|
| 132 | |
---|
[347] | 133 | .gray_button_text { |
---|
| 134 | color: gray; |
---|
| 135 | font-size: 11px; |
---|
| 136 | font-weight: bold; |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | button.action_button { |
---|
| 140 | margin-left: 5px; |
---|
| 141 | margin-right: -3px; |
---|
| 142 | } |
---|