Changeset 7788
- Timestamp:
- 03/25/07 23:55:02 (22 months ago)
- Location:
- dijit/trunk/themes/tundra
- Files:
-
- 2 modified
-
index.html (modified) (3 diffs)
-
tundra.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/themes/tundra/index.html
r7260 r7788 4 4 <link href="tundra.css" rel="stylesheet" type="text/css" /> 5 5 <style type="text/css"> 6 button { 7 margin:0 12px 0 0; 6 7 body { 8 background:#cddde9; 9 background:#fff; 8 10 } 9 11 … … 16 18 17 19 <h4>Button Widget Example</h4> 18 <button class="dojoButton">Button</button> 19 <button class="dojoButton">Button</button> 20 <span class="dojoButton dojoInlineBox"><button>Button</button></span> 20 21 21 < button class="dojoButton dojoButtonDisabled" disabled="disabled">Disabled</button>22 <span class="dojoButton dojoButtonDisabled dojoInlineBox"><button disabled="disabled">Disabled</button></span> 22 23 23 24 <h4>Form Fields</h4> … … 26 27 <input type="text" class="dojoInputField dojoInputFieldValidationError" value="Test" /><br /> 27 28 <input type="password" class="dojoinputField" id="passwordField" /><br /> 28 < button class="dojoButton">Login</button>29 <span class="dojoButton dojoInlineBox"><button>Login</button></span> 29 30 30 31 </body> -
dijit/trunk/themes/tundra/tundra.css
r7786 r7788 1 1 2 /* To inline block elements, surround them with <fieldset class="dojoInlineBox"> */ 2 3 .dojoInlineBox { 4 5 display:inline-block; 3 6 display: -moz-inline-stack; 4 display:inline-block;5 7 _display:inline; 6 8 border:0px; … … 13 15 14 16 /*IE6 Hack */ 15 * html .dojoButton ,17 * html .dojoButton button, 16 18 * html .dojoInputField, 17 19 * html .dojoMenu { … … 20 22 } 21 23 24 25 26 /*Dojo Button Rules*/ 27 28 .dojoButton { 29 background:#fff; 30 border-top:1px solid #dadada; 31 border-right:1px solid #a9a9a9; 32 border-bottom:1px solid #a9a9a9; 33 border-left:1px solid #dadada; 34 padding:0 0 1px 1px; 35 } 36 37 .dojoButton button { 38 background:#e2e2e2 url("dojoTundraGradientBg.png") repeat-x 0 0; 39 border:0; 40 border-left:0; 41 font-family: Myriad, Arial, Helvetica; 42 font-size:13px; 43 font-weight:normal; 44 padding:2px 4px; 45 } 46 47 .dojoButtonDisabled { 48 background:#dadada; 49 border-top:1px solid #dadada; 50 border-right:1px solid #a9a9a9; 51 border-bottom:1px solid #a9a9a9; 52 border-left:1px solid #dadada; 53 } 54 55 .dojoButtonDisabled button { 56 color:#787878; 57 background-image: url("dojoTundraGradientBgActive.png"); 58 } 59 60 span.dojoButton:hover { 61 border-top:1px solid #80a5c2; 62 border-right:1px solid #42739a; 63 border-bottom:1px solid #42739a; 64 border-left:1px solid #80a5c2; 65 } 66 67 span.dojoButton:hover button { 68 color:#0e4978; 69 } 70 71 span.dojoButton:active { 72 border-top:1px solid #42739a; 73 border-right:1px solid #80a5c2; 74 border-bottom:1px solid #80a5c2; 75 border-left:1px solid #42739a; 76 } 77 78 span.dojoButton:active button { 79 background-image: url("dojoTundraGradientBgActive.png"); 80 background-position:bottom left; 81 } 82 83 22 84 /* Base of Tundra default theme */ 23 .dojoButton,24 85 .dojoInputField 25 86 { … … 34 95 35 96 36 /* Default Hover Styles */ 37 .dojoButton:hover, 97 /* Default Hover Styles */ 38 98 .dojoInputField:hover, 39 99 .dojoMenuItemHover … … 44 104 45 105 /* Default Active/Focus style*/ 46 .dojoButton:active,47 106 .dojoInputField:focus, 48 107 .dojoInputFieldFocused … … 54 113 55 114 /* Default Disabled Styles*/ 56 .dojoButton[disabled],57 115 .dojoInputField[disabled], 58 .dojoButtonDisabled,59 116 .dojoInputFieldDisabled, 60 117 .dojoMenuItemDisabled { … … 65 122 } 66 123 67 .dojoButton[disabled]:active,68 124 .dojoInputField[disabled]:active, 69 .dojoButtonDisabled:active,70 125 .dojoInputFieldDisabled:active { 71 126 background-image: url("dojoTundraGradientBg.png");