aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/ie7.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-24 22:11:43 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-24 22:11:43 -0400
commit43f82db7fe8cab6b035fb66b307e5466cb5b3aa5 (patch)
tree87c87171b7d991ee8bd216d9ae483598367a1d09 /views/default/css/ie7.php
parentef52dd9cfec3c415cd00714223ea7ce31cb07b3d (diff)
downloadelgg-43f82db7fe8cab6b035fb66b307e5466cb5b3aa5.tar.gz
elgg-43f82db7fe8cab6b035fb66b307e5466cb5b3aa5.tar.bz2
Fixes #3845 added ie7 css view and tested all current hacks for ie7
Diffstat (limited to 'views/default/css/ie7.php')
-rw-r--r--views/default/css/ie7.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/views/default/css/ie7.php b/views/default/css/ie7.php
new file mode 100644
index 000000000..91d23823f
--- /dev/null
+++ b/views/default/css/ie7.php
@@ -0,0 +1,49 @@
+/**
+ * CSS for IE7
+ */
+
+/* trigger hasLayout in IE */
+* {
+ zoom: 1;
+}
+
+/* site menu drop-down z-index fix for IE7 */
+.elgg-page-header {
+ z-index: 1;
+}
+
+/* inline-block fixes */
+.elgg-gallery > li,
+.elgg-button,
+.elgg-icon,
+.elgg-menu-hz > li,
+.elgg-menu-hz > li:after,
+.elgg-menu-hz > li > a,
+.elgg-menu-hz > li > span,
+.elgg-breadcrumbs > li,
+.elgg-menu-footer > li > a,
+.elgg-menu-footer li {
+ display: inline;
+}
+
+/* IE7 does not support :after */
+.elgg-breadcrumbs > li > a {
+ display: inline;
+ padding-right: 4px;
+ margin-right: 4px;
+ border-right: 1px solid #bababa;
+}
+.elgg-menu-footer li,
+.elgg-menu-user li {
+ padding-left: 4px;
+ padding-right: 4px;
+}
+
+/* longtext menu would not display horizontally without this */
+.elgg-menu-longtext {
+ width: 100%;
+}
+.elgg-menu-longtext li {
+ width: 100px;
+ float: right;
+}