aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/ie7.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:48:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:48:17 -0300
commit238eb4e25087be44e834614a01ccbdec250cea45 (patch)
treefc5563eb060190edf8e81f16c75bb45b3a105cb8 /views/default/css/ie7.php
downloadelgg-238eb4e25087be44e834614a01ccbdec250cea45.tar.gz
elgg-238eb4e25087be44e834614a01ccbdec250cea45.tar.bz2
Squashed 'mod/basic_theme/' content from commit b0e908f
git-subtree-dir: mod/basic_theme git-subtree-split: b0e908f45134d8730954f4cc0d88ebf9b5c3eb4c
Diffstat (limited to 'views/default/css/ie7.php')
-rw-r--r--views/default/css/ie7.php65
1 files changed, 65 insertions, 0 deletions
diff --git a/views/default/css/ie7.php b/views/default/css/ie7.php
new file mode 100644
index 000000000..db0125b4b
--- /dev/null
+++ b/views/default/css/ie7.php
@@ -0,0 +1,65 @@
+/**
+ * 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,
+.elgg-menu-general > li > a,
+.elgg-menu-general 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,
+.elgg-menu-general 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;
+}
+
+.elgg-avatar {
+ display: inline;
+}
+
+.elgg-body-walledgarden .elgg-col-1of2 {
+ width: 255px;
+}
+
+.elgg-module-walledgarden > .elgg-head,
+.elgg-module-walledgarden > .elgg-foot {
+ width: 530px;
+} \ No newline at end of file