summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/css/gallery.css4
-rw-r--r--modules/gallery/helpers/gallery_theme.php1
-rw-r--r--modules/gallery/views/in_place_edit.html.php8
-rw-r--r--themes/admin_wind/css/screen.css5
-rw-r--r--themes/night_wind/css/screen.css5
-rw-r--r--themes/wind/css/screen.css5
6 files changed, 20 insertions, 8 deletions
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
index a4a52155..c766abbc 100644
--- a/modules/gallery/css/gallery.css
+++ b/modules/gallery/css/gallery.css
@@ -116,3 +116,7 @@
background-color: #cfc;
border: 1px solid #beb;
}
+
+#g-inplace-edit-form ul {
+ margin: 0;
+}
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 3fcaca67..0682d4ae 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -61,6 +61,7 @@ class gallery_theme_Core {
}
static function admin_head($theme) {
+ $theme->css("gallery.css");
$theme->script("gallery.panel.js");
$session = Session::instance();
if ($session->get("debug")) {
diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php
index 5cc42cd6..64671d57 100644
--- a/modules/gallery/views/in_place_edit.html.php
+++ b/modules/gallery/views/in_place_edit.html.php
@@ -1,12 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<style>
- #g-inplace-edit-form ul {
- margin: 0;
- }
- #g-inplace-edit-message {
-background-color: #FFF;
- }
-</style>
<?= form::open($action, array("method" => "post", "id" => "g-inplace-edit-form", "class" => "g-short-form"), $hidden) ?>
<ul>
<li <? if (!empty($errors["input"])): ?> class="g-error"<? endif ?>>
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 87879ecb..cd83b110 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -368,6 +368,11 @@ th {
padding: .3em .8em;
}
+/* In-line editting ~~~~~~~~~~~~~~~~~~~~~ */
+#g-inplace-edit-message {
+ background-color: #FFF;
+}
+
/** *******************************************************************
* 5) Navigation and menus
*********************************************************************/
diff --git a/themes/night_wind/css/screen.css b/themes/night_wind/css/screen.css
index b95cfc72..2286b26e 100644
--- a/themes/night_wind/css/screen.css
+++ b/themes/night_wind/css/screen.css
@@ -455,6 +455,11 @@ li.g-error select {
padding-top: 1em;
}
+/* In-line editting ~~~~~~~~~~~~~~~~~~~~~ */
+#g-inplace-edit-message {
+ background-color: #FFF;
+}
+
/** *******************************************************************
* 5) Navigation and menus
*********************************************************************/
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 1fc5fa65..8c466bd8 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -299,6 +299,11 @@ td {
padding-top: 1em;
}
+/* In-line editting ~~~~~~~~~~~~~~~~~~~~~ */
+#g-inplace-edit-message {
+ background-color: #FFF;
+}
+
/** *******************************************************************
* 5) Navigation and menus
*********************************************************************/