Author: Jonathan.Wage
Date: 2010-01-18 05:13:48 +0100 (Mon, 18 Jan 2010)
New Revision: 26796
Added:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor_small.css
Removed:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/css/editor.css
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/edit_slotsSuccess.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/config/sfSympalFrontendEditorPluginConfiguration.class.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor.css
Log:
[1.4][sfSympalPlugin][1.0] Fixing inline edit bar when dev mode is off
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/edit_slotsSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/edit_slotsSuccess.php
2010-01-18 03:51:49 UTC (rev 26795)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/edit_slotsSuccess.php
2010-01-18 04:13:48 UTC (rev 26796)
@@ -1,4 +1,4 @@
-<?php sympal_use_stylesheet('/sfSympalAdminPlugin/css/editor.css', 'last') ?>
+<?php
sympal_use_stylesheet('/sfSympalFrontendEditorPlugin/css/editor_small.css',
'last') ?>
<div id="sf_admin_container">
<h1>Editing "<?php echo $sf_sympal_content ?>" Slots</h1>
Deleted:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/css/editor.css
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/css/editor.css
2010-01-18 03:51:49 UTC (rev 26795)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/css/editor.css
2010-01-18 04:13:48 UTC (rev 26796)
@@ -1,41 +0,0 @@
-#sympal_dashboard, #sympal_editor, #sympal_assets, #sympal_links ,
#sympal_assets {
- top: 30px;
-}
-
-#sfWebDebugBar {
- border-bottom: none;
- background: none !important;
- position: fixed;
- top: 0;
- left: 0;
-}
-
-.sympal_inline_edit_bar_background {
- filter:alpha(opacity=75);
- -moz-opacity:0.75;
- -khtml-opacity: 0.75;
- opacity: 0.75;
- border-bottom: 1px solid #000;
- background: #333 !important;
- position: fixed;
- top: 0;
- left: 0;
- height: 30px;
- width: 100%;
-}
-
-.sympal_inline_edit_bar_container {
- font-weight: bold;
- position: fixed;
- top: 3px;
- right: 10px;
- z-index: 101 !important;
-}
-
-.sympal_toggle_inline_edit_bar {
- display: none;
-}
-
-html {
- margin-top: 30px;
-}
\ No newline at end of file
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/config/sfSympalFrontendEditorPluginConfiguration.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/config/sfSympalFrontendEditorPluginConfiguration.class.php
2010-01-18 03:51:49 UTC (rev 26795)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/config/sfSympalFrontendEditorPluginConfiguration.class.php
2010-01-18 04:13:48 UTC (rev 26796)
@@ -63,6 +63,11 @@
$response->addJavascript(sfSympalConfig::getAssetPath('/sfSympalFrontendEditorPlugin/js/editor.js'));
$response->addStylesheet(sfSympalConfig::getAssetPath('/sfSympalFrontendEditorPlugin/css/editor.css'));
+ if (!sfConfig::get('sf_debug'))
+ {
+
$response->addStylesheet(sfSympalConfig::getAssetPath('/sfSympalFrontendEditorPlugin/css/editor_small.css'),
'last');
+ }
+
$this->_editorAssetsLoaded = true;
}
}
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor.css
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor.css
2010-01-18 03:51:49 UTC (rev 26795)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor.css
2010-01-18 04:13:48 UTC (rev 26796)
@@ -212,7 +212,7 @@
.sympal_inline_edit_admin_menu
{
background: #000;
- height: 25px;
+ height: 30px;
position: fixed;
top: 0;
left: 5px;
@@ -232,9 +232,10 @@
list-style: none;
color: #fff;
margin: 0;
- padding: 4px;
+ height: 30px;
padding-right: 8px;
padding-left: 8px;
+ padding-top: 8px;
font-weight: normal;
}
@@ -275,9 +276,8 @@
border-bottom: 1px solid #333;
border-right: 1px solid #333;
margin-left: -9px;
- margin-top: 4px;
+ margin-top: 7px;
width: 200px;
- padding-top: 10px;
}
.sympal_inline_edit_admin_menu ul li ul li
Added:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor_small.css
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor_small.css
(rev 0)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalFrontendEditorPlugin/web/css/editor_small.css
2010-01-18 04:13:48 UTC (rev 26796)
@@ -0,0 +1,41 @@
+#sympal_dashboard, #sympal_editor, #sympal_assets, #sympal_links ,
#sympal_assets {
+ top: 30px;
+}
+
+#sfWebDebugBar {
+ border-bottom: none;
+ background: none !important;
+ position: fixed;
+ top: 0;
+ left: 0;
+}
+
+.sympal_inline_edit_bar_background {
+ filter:alpha(opacity=75);
+ -moz-opacity:0.75;
+ -khtml-opacity: 0.75;
+ opacity: 0.75;
+ border-bottom: 1px solid #000;
+ background: #333 !important;
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 30px;
+ width: 100%;
+}
+
+.sympal_inline_edit_bar_container {
+ font-weight: bold;
+ position: fixed;
+ top: 3px;
+ right: 10px;
+ z-index: 101 !important;
+}
+
+.sympal_toggle_inline_edit_bar {
+ display: none;
+}
+
+html {
+ margin-top: 30px;
+}
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.