Changeset 225
- Timestamp:
- 06/08/05 05:34:35 (8 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
htmlarea.css (modified) (3 diffs)
-
htmlarea.js (modified) (3 diffs)
-
skins/blue-metallic/skin.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.css
r221 r225 15 15 font-size: 11px; 16 16 } 17 .htmlarea .toolbar .toolbarRow .container { 18 margin: 0px; 19 height: 22px; 20 padding: 1px; 21 } 22 17 23 .htmlarea .toolbar .toolbarRow img { margin: 0; border: none;} 18 24 .htmlarea .toolbar .toolbarRow .label { … … 21 27 top: 5px; 22 28 padding-right: 2px; 29 border-bottom: 1px; 30 height: 17px; 23 31 } 24 32 .htmlarea .toolbar .toolbarRow .select { 25 33 vertical-align: top; 26 34 position: relative; 27 top: 3px;35 top: 2px; 28 36 } 29 37 … … 72 80 vertical-align: top; 73 81 position: relative; 74 top: 5px;82 top: 4px; 75 83 } 76 84 -
trunk/htmlarea.js
r224 r225 843 843 }); 844 844 } 845 return el; 845 var xel = document.createElement("div"); 846 xel.className = "container"; 847 xel.appendChild(el); 848 return xel; 846 849 }; // END of function: createSelect 847 850 … … 970 973 break; 971 974 case "textindicator": 972 tb_element= document.createElement("div");973 tb_element.appendChild(document.createTextNode("A"));974 tb_element.className = "indicator";975 tb_element.title = HTMLArea._lc("Current style");975 var el = document.createElement("div"); 976 el.appendChild(document.createTextNode("A")); 977 el.className = "indicator"; 978 el.title = HTMLArea._lc("Current style"); 976 979 var obj = { 977 980 name : code, // the button name (i.e. 'bold') 978 element : tb_element, // the UI element (DIV)981 element : el, // the UI element (DIV) 979 982 enabled : true, // is it enabled? 980 983 active : false, // is it pressed? … … 984 987 }; 985 988 tb_objects[code] = obj; 989 var tb_element = document.createElement("div"); 990 tb_element.className = "container"; 991 tb_element.appendChild(el); 986 992 break; 987 993 default: -
trunk/skins/blue-metallic/skin.css
r221 r225 8 8 -moz-border-radius:5px; 9 9 margin: 1px; 10 } 11 .htmlarea .toolbar .toolbarRow .container, 12 .htmlarea .toolbar .toolbarRow .label { 13 background-image: url(button-background.png); 10 14 } 11 15
