[dw-free] Revamp /update
[commit: http://hg.dwscoalition.org/dw-free/rev/160282d42b25]
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Tweak header styling, so that headers aren't hidden after saving, and
headers of inactive components aren't shown after saving.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Tweak header styling, so that headers aren't hidden after saving, and
headers of inactive components aren't shown after saving.
Patch by
Files modified:
- htdocs/js/jquery.postoptions.js
- htdocs/stc/jquery.postoptions.css
--------------------------------------------------------------------------------
diff -r f2d163239b4d -r 160282d42b25 htdocs/js/jquery.postoptions.js
--- a/htdocs/js/jquery.postoptions.js Mon Oct 31 21:23:11 2011 +0800
+++ b/htdocs/js/jquery.postoptions.js Mon Oct 31 21:45:41 2011 +0800
@@ -99,7 +99,7 @@
$(".column").sortable( "disable" ).enableSelection();
$(document.body).removeClass("screen-customize-mode");
- $("#post_entry").addClass("minimal");
+ $("#post_entry").toggleClass("midimal");
$("#post-options").slideUp();
}
@@ -108,7 +108,7 @@
$(".column").sortable( "enable" ).disableSelection();
$(document.body).addClass("screen-customize-mode");
- $("#post_entry").removeClass("minimal");
+ $("#post_entry").toggleClass("midimal");
}
});
diff -r f2d163239b4d -r 160282d42b25 htdocs/stc/jquery.postoptions.css
--- a/htdocs/stc/jquery.postoptions.css Mon Oct 31 21:23:11 2011 +0800
+++ b/htdocs/stc/jquery.postoptions.css Mon Oct 31 21:45:41 2011 +0800
@@ -24,7 +24,7 @@
position: relative;
}
-#post_entry .ui-sortable .component {
+.ui-sortable .component {
cursor: move;
border-left-style: none;
border-right-style: none;
@@ -34,16 +34,6 @@
border-style: solid;
}
-.ui-sortable-disabled {
- border-style: none;
- min-height: 0;
- padding: 0 !important;
-}
-
-.ui-sortable-disabled .component {
- cursor: auto;
-}
-
.sortable_column_text {
display: none;
}
@@ -75,3 +65,17 @@
display: none;
}
+
+.ui-sortable-disabled {
+ border-style: none;
+ min-height: 0;
+ padding: 0 !important;
+}
+
+.ui-sortable-disabled .component {
+ cursor: auto;
+}
+
+.ui-sortable-disabled .inactive_component {
+ display: none;
+}
--------------------------------------------------------------------------------

no subject
no subject
(It'll probably go away after we've settled on a style, which should be soon)