Changeset 386 for tapas/web/resources/css/button.css
- Timestamp:
- 03/01/12 17:22:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tapas/web/resources/css/button.css
r376 r386 5 5 /* BUTTONS */ 6 6 7 .buttons a, .buttons button { 8 display:block; 9 float:left; 10 margin:0 11px 0 0; 11 background-color:#f5f5f5; 12 border:1px solid #dedede; 13 border-top:1px solid #eee; 14 border-left:1px solid #eee; 7 button { 8 -moz-border-radius: 4px 4px 4px 4px; 9 -webkit-border-radius: 4px 4px 4px 4px; 15 10 16 font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; 17 font-size:100%; 18 line-height:130%; 19 text-decoration:none; 20 font-weight:bold; 21 color:#565656; 22 cursor:pointer; 23 padding:5px 10px 6px 7px; /* Links */ 24 } 25 .buttons button{ 26 width:auto; 27 overflow:visible; 28 padding:4px 6px 3px 6px; /* IE6 */ 29 } 30 .buttons button[type]{ 31 padding:5px 10px 5px 7px; /* Firefox */ 32 line-height:17px; /* Safari */ 33 } 34 *:first-child+html button[type]{ 35 padding:4px 10px 3px 7px; /* IE7 */ 36 } 37 .buttons button img, .buttons a img{ 38 margin:0 3px -3px 0 !important; 39 padding:0; 40 border:none; 41 width:16px; 42 height:16px; 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 */ 43 30 } 44 31 32 button[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 45 button img { 46 margin: 0 3px -3px 0 !important; 47 padding: 0; 48 border: none; 49 width: 16px; 50 height: 16px; 51 } 45 52 46 53 /* STANDARD */ 47 48 button:hover, .buttons a:hover{ 49 background-color:#dff4ff; 50 border:1px solid #c2e1ef; 51 color:#336699; 52 } 53 .buttons a:active{ 54 background-color:#6299c5; 55 border:1px solid #6299c5; 56 color:#fff; 54 button:hover { 55 background-color: #dff4ff; 56 border: 1px solid #c2e1ef; 57 color: #336699; 57 58 } 58 59 59 60 /* POSITIVE */ 61 button.positive { 62 background-color: #F0FFF0; 63 color: #529214; 64 } 60 65 61 button.positive, .buttons a.positive{ 62 color:#529214; 63 } 64 .buttons a.positive:hover, button.positive:hover{ 65 background-color:#E6EFC2; 66 border:1px solid #C6D880; 67 color:#529214; 68 } 69 .buttons a.positive:active{ 70 background-color:#529214; 71 border:1px solid #529214; 72 color:#fff; 66 button.positive:hover { 67 background-color: #E6EFC2; 68 border: 1px solid #C6D880; 69 color: #529214; 73 70 } 74 71 75 72 /* NEGATIVE */ 73 button.negative { 74 color: #d12f19; 75 } 76 76 77 .buttons a.negative, button.negative{ 78 color:#d12f19; 79 } 80 .buttons a.negative:hover, button.negative:hover{ 81 background:#fbe3e4; 82 border:1px solid #fbc2c4; 83 color:#d12f19; 84 } 85 .buttons a.negative:active{ 86 background-color:#d12f19; 87 border:1px solid #d12f19; 88 color:#fff; 77 button.negative:hover { 78 background: #fbe3e4; 79 border: 1px solid #fbc2c4; 80 color: #d12f19; 89 81 } 90 82 91 83 /* DISABLE */ 92 93 .buttons a.disable, .buttons a.disable:hover, .buttons button.disable, .buttons button.disable:hover 94 { 95 background-color:#CCCCCC; 96 border:1px solid #dedede; 97 color:#565656; 84 button.disable, button.disable:hover { 85 background-color: #CCCCCC; 86 border: 1px solid #dedede; 87 color: #565656; 98 88 } 99 89 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; 98 } 99 100 .blue_button_text, .big_blue_button_text { 101 color: white; 102 font-size: 11px; 103 font-weight: bold; 104 } 105 106 button.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 */ 124 button.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 134 button.action_button { 135 margin-left: 5px; 136 margin-right: -3px; 137 }
Note: See TracChangeset
for help on using the changeset viewer.