]> git.mjollnir.org Git - moodle.git/commitdiff
Some style changes to reduce the size of the richtext toolbar
authormoodler <moodler>
Fri, 13 Jun 2003 16:06:55 +0000 (16:06 +0000)
committermoodler <moodler>
Fri, 13 Jun 2003 16:06:55 +0000 (16:06 +0000)
lib/rte/richedit.css
lib/rte/richedit.html

index f913c362d8c4912ba9da8a006ffd75a5846eef7e..db6f267671565a343aa522b2c27d524a01b2b394 100644 (file)
@@ -112,6 +112,18 @@ td.spacer {
        width : 200px;\r
 }\r
 \r
+.rebar .fontsize  {\r
+       font-size: 11px;\r
+       margin-top: 1; margin-bottom: 1;\r
+       width : 60px;\r
+}\r
+\r
+.rebar .fontstyle  {\r
+       font-size: 11px;\r
+       margin-top: 1; margin-bottom: 1;\r
+       width : 80px;\r
+}\r
+\r
 .rebar option { border: 5px solid red; }\r
 \r
 .rebar span.field {\r
index 3f6a1239d71b51332a2cb66cf6143c88fc497651..5679b5dfd9afd3ea4d9ce89ca54381e7f878eb05 100644 (file)
@@ -195,7 +195,7 @@ var tEdit = null;
                <img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>&nbsp;\r
                <span id="featureStyle">\r
                        <span class="label">@{Style}</span>\r
-                       <select name="" id="ctlStyle" class="button" onchange="addTag(this)">\r
+                       <select name="" id="ctlStyle" class="fontstyle" onchange="addTag(this)">\r
                        </select>\r
                        <span class="sep"></span>\r
                </span>\r
@@ -214,7 +214,7 @@ var tEdit = null;
                <span id="featureFontSize">\r
                        <span class="sep"></span>\r
                        <span class="label">@{Size}</span>\r
-                       <select hidefocus class="button" id="ctlSize"  onchange="sel(this)">\r
+                       <select hidefocus class="fontsize" id="ctlSize"  onchange="sel(this)">\r
                                <option selected></option>\r
                                <option value="1">xx-small</option>\r
                                <option value="2">x-small</option>\r