Commits

Luke Plant committed 6f353ed

Reformatted some CSS

Change from Daniele

Comments (0)

Files changed (2)

semanticeditor/media/semanticeditor/javascript/wymeditor/skins/semanticeditor/preview.css

 /* PREVIEW */
+.previewbox {
+    background: #fff;
+    border: 2px solid #808080;
+}
 
-	.previewbox {
-	    background: #fff;
-	    border: 2px solid #808080;
-	}
+.previewbox .closebar {
+    text-align: right;
+}
 
-        .previewbox .closebar {
-            text-align: right;
-        }
+.previewbox .closebar * {
+    margin: 0px;
+}
 
-        .previewbox .closebar * {
-            margin: 0px;
-        }
+.previewbox .content {
+    padding: 4px;
+    width: 400px;
+    height: 400px;
+    overflow-y: scroll;
+    overflow-x: hidden;
+}
 
-        .previewbox .content {
-	    padding: 4px;
-	    width: 400px;
-	    height: 400px;
-	    overflow-y: scroll;
-	    overflow-x: hidden;
-        }
+.previewbox .structural {
+    border: 2px solid #888;
+    margin: 2px;
+    padding: 2px;
+    overflow: hidden;
+}
 
-	.previewbox .structural {
-	    border: 2px solid #888;
-	    margin: 2px;
-	    padding: 2px;
-	    overflow: hidden;
-	}
+.previewbox .tagh1,
+.previewbox .tagh2,
+.previewbox .tagh3,
+.previewbox .tagh4,
+.previewbox .tagh5,
+.previewbox .tagh6 {
+    font-weight: bold;
+}
 
-	.previewbox .tagh1,
-	.previewbox .tagh2,
-	.previewbox .tagh3,
-	.previewbox .tagh4,
-	.previewbox .tagh5,
-	.previewbox .tagh6 {
-	    font-weight: bold;
-	}
+.previewbox .row
+{
+    clear: left;
+}
 
-	.previewbox .row
-	{
-	    clear: left;
-	}
+.previewbox .columns2,
+.previewbox .columns3,
+.previewbox .columns4
+{
+/* Can show row structure here if desired
 
-	.previewbox .columns2,
-	.previewbox .columns3,
-	.previewbox .columns4
-	{
-	    /* Can show row structure here if desired
+    border: 1px solid red;
+    padding: 2px;
+    margin-bottom: 3px; */
+}
 
-	    border: 1px solid red;
-	    padding: 2px;
-	    margin-bottom: 3px; */
-	}
+.previewbox .columns2 > .column {
+    float: left;
+    width: 50%;
+}
 
-	.previewbox .columns2 > .column {
-	    float: left;
-	    width: 50%;
-	}
+.previewbox .columns3 > .column {
+    float: left;
+    width: 33%;
+}
 
-	.previewbox .columns3 > .column {
-	    float: left;
-	    width: 33%;
-	}
-	.previewbox .columns4 > .column {
-	    float: left;
-	    width: 25%;
-	}
+.previewbox .columns4 > .column {
+    float: left;
+    width: 25%;
+}
 
-	.previewbox .columns5 > .column {
-	    float: left;
-	    width: 20%;
-	}
+.previewbox .columns5 > .column {
+    float: left;
+    width: 20%;
+}
 
-	.previewbox .columns6 > .column {
-	    float: left;
-	    width: 16%;
-	}
-
+.previewbox .columns6 > .column {
+    float: left;
+    width: 16%;
+}

semanticeditor/media/semanticeditor/javascript/wymeditor/skins/semanticeditor/skin.css

 @import url("wym.css");
 
 /* SEMANTIC EDITOR PRESENTATION CONTROLS */
-    div.prescontrol             { }
-	.prescontrol td             { padding: 0; }
-	.prescontrolheadings        { margin-right: 260px; }
-	.prescontrolheadings select { background: inherit; border: none; width: 100%;}
-	.prescontrolclasslistcont div { clear:left; }
-	.prescontrolclasslist         { overflow-y: scroll; border: none; }
-	.prescontrolerror           { color: red; text-align: center; padding-top: 5px; }
-	.prescontrolclasslistcont {width: 220px; float: right;}
-	.prescontrol .prescontrolclasslist label {
-	    /* Override some stuff set by Django admin CSS*/
-	    display: inline;
-	    width: auto;
-	    float: none;
-	    /* Make them harder to 'fall off' w.r.t tooltips */
-	    line-height: 1.5em;
-	    font-size: 100%;
-	    font-family: "Futura", "Helvetica";
-	}
-        .prescontrol .prescontrolheadings label {
-            display: inline; /* override hiding */
-            width: auto;
-            float: none;
-        }
+.prescontrol td             { padding: 0; border: none; }
+.prescontrolheadings        { margin-right: 260px; }
+.prescontrolheadings select { background: inherit; border: none; width: 100%;}
+.prescontrolclasslistcont div { clear:left; }
+.prescontrolclasslist         { overflow-y: scroll; border: none; }
+.prescontrolerror           { color: red; text-align: center; padding-top: 5px; }
+.prescontrolclasslistcont   { width: 220px; float: right; }
+.prescontrol .prescontrolclasslist label {
+    /* Override some stuff set by Django admin CSS*/
+    display: inline;
+    width: auto;
+    float: none;
+    /* Make them harder to 'fall off' w.r.t tooltips */
+    line-height: 1.5em;
+    font-size: 100%;
+}
 
-    .prescontrol td {border: none;}    
-
+.prescontrol .prescontrolheadings label {
+    display: inline; /* override hiding */
+    width: auto;
+    float: none;
+}
 
 .prescontrolheadings select { border: 1px solid #ccc; font-family: "Gill Sans"; font-size: 110%;}
 .prescontrolheadings option {color: #666;}
 
 /* the editor controls (containers, commands, classes) */
 
-.wym_section.wym_panel li, .wym_tools li  {display: inline-block; margin-bottom: 4px; font: small-caption;}
+.wym_section.wym_panel li,
+.wym_tools li  {
+    display: inline-block;
+    margin-bottom: 4px;
+    font: small-caption;
+    }
 
 .wym_panel li a,
 .wym_tools li a {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.