From a5d2af336a94c4cf4fd1a5732b3f64197a3f2dd2 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 25 Oct 2009 16:51:24 -0600 Subject: Move g2_import styles from the theme to the module. --- modules/g2_import/css/g2_import.css | 30 +++++++++++++++++++++++++++ modules/g2_import/helpers/g2_import_theme.php | 28 +++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 modules/g2_import/css/g2_import.css create mode 100644 modules/g2_import/helpers/g2_import_theme.php (limited to 'modules') diff --git a/modules/g2_import/css/g2_import.css b/modules/g2_import/css/g2_import.css new file mode 100644 index 00000000..d53564d7 --- /dev/null +++ b/modules/g2_import/css/g2_import.css @@ -0,0 +1,30 @@ +#g-admin-g2-import-notes { + padding-bottom: 20px; +} + +#g-admin-g2-import-details { + padding-top: 20px; +} + +#g-admin-g2-import-details .g-warning { + margin-top: 4px; +} + +#g-admin-g2-import-details .g-info { + padding: 2px; + border: 1px solid #999; + margin-bottom: 10px; +} + +#g-admin-g2-import-notes p, +#g-admin-g2-import-details .g-info p { + padding: 0; + margin: 0; +} + +#g-admin-g2-import-notes ul li, +#g-admin-g2-import .g-info ul li { + padding-left: 0; + margin-left: 20px; + list-style-type: disc; +} diff --git a/modules/g2_import/helpers/g2_import_theme.php b/modules/g2_import/helpers/g2_import_theme.php new file mode 100644 index 00000000..b1aaac00 --- /dev/null +++ b/modules/g2_import/helpers/g2_import_theme.php @@ -0,0 +1,28 @@ +css("g2_import.css"); + } + + static function admin_head($theme) { + $theme->css("g2_import.css"); + } +} \ No newline at end of file -- cgit v1.2.3