From a285f816a4101ce533ddbe415a804b56a665db63 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Tue, 20 Nov 2012 15:53:52 -0800 Subject: [PATCH] Some CSS cleanup and .gitignore added. --- .gitignore | 3 +++ e107_admin/header.php | 6 +++--- e107_web/css/e107.css | 17 +++++++++++++++-- 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..be1640465 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +e107_config.php +e107_media/* +e107_system/* diff --git a/e107_admin/header.php b/e107_admin/header.php index 5f6d258bf..93429ce13 100644 --- a/e107_admin/header.php +++ b/e107_admin/header.php @@ -8,8 +8,8 @@ * * Admin Header * - * $URL$ - * $Id$ + * $URL:$ + * $Id:$ */ if (!defined('e107_INIT')) @@ -243,7 +243,7 @@ echo "\n\n"; // // Unobtrusive JS via CSS, prevent 3rd party code overload // -require_once(e_FILE."/e_css.php"); +// require_once(e_FILE."/e_css.php"); //moved to e107_web/css/e107.css // // E: Send JS diff --git a/e107_web/css/e107.css b/e107_web/css/e107.css index 6c8853537..e4d333211 100644 --- a/e107_web/css/e107.css +++ b/e107_web/css/e107.css @@ -193,6 +193,19 @@ div.e-comment-edit-save { margin-top:8px; padding: 5px } .divider { border-bottom: 1px solid silver; font-size: 18px; margin-bottom: 30px; position: relative; text-align: center; } .divider span { padding: 0 15px; position: relative; top: 10px; } - - +/* Used to hide elements when JavaScript is enabled */ +/* + .e-hide-if-js { display: none; } +*/ +/* Used to show elements when JavaScript is disabled */ +/* + .e-show-if-js { display: none; } +*/ + /* Used to hide elements when JavaScript is disabled */ +/* + .e-hide-if-js { display: block; } + a.e-hide-if-js, + span.e-hide-if-js, + button.e-hide-if-js { display: inline; } +*/