From d7a7c40a0f0e6d2a527fd93b7c65d16ff096c783 Mon Sep 17 00:00:00 2001
From: Tom Needham <needham.thomas@gmail.com>
Date: Thu, 27 Oct 2011 17:08:58 +0100
Subject: [PATCH] Moved breacrumb styling to core for use outside files app.

---
 core/css/styles.css | 8 ++++++++
 files/css/files.css | 9 +--------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index 0f591859f3..4730eee56d 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -98,6 +98,14 @@ label.infield { cursor: text !important; }
 #expand+span { position:relative; bottom:.4em; left:.2em; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; }
 #logout { position:absolute; right:0; top:0; padding:1.2em 2em .55em 1.2em; }
 
+/* BREADCRUMB */
+
+div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; }
+div.crumb:first-child { padding-left:1em; }
+div.crumb.last { font-weight:bold; }
+/* add breadcrumb divider to the File item in navigation panel */
+#navigation>ul>li:first-child { background:url('../../core/img/breadcrumb-start.svg') no-repeat 12.5em 0px; width:12.5em; padding-right:1em; position:fixed; }
+#navigation>ul>li:first-child+li { padding-top:2.9em; }
 
 /* VARIOUS REUSABLE SELECTORS */
 .hidden { display:none; }
diff --git a/files/css/files.css b/files/css/files.css
index ac1f523f86..12d14e843e 100644
--- a/files/css/files.css
+++ b/files/css/files.css
@@ -32,9 +32,6 @@ tbody a { color:#000; }
 span.extention, td.date { color:#999; }
 span.extention { opacity:0; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
 tr:hover span.extention { opacity:1; }
-div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; }
-div.crumb:first-child { padding-left:1em; }
-div.crumb.last { font-weight:bold; }
 table tr.mouseOver td { background-color:#eee; }
 table th { height:2em; padding:0 .5em; color:#999; }
 table th .name { float:left; margin-left:.5em; }
@@ -60,8 +57,4 @@ table thead.fixed { height:2em; }
 #select_all { float:left; margin:.3em 0.6em 0 .5em; }
 #uploadsize-message,#delete-confirm { display:none; }
 .selectedActions a,#fileList a.action { float:right; display:inline; margin:0 .5em; padding:.3em .3em 0 .3em !important; }
-.selectedActions { display:none; }
-
-/* add breadcrumb divider to the File item in navigation panel */
-#navigation>ul>li:first-child { background:url('../../core/img/breadcrumb-start.svg') no-repeat 12.5em 0px; width:12.5em; padding-right:1em; position:fixed; }
-#navigation>ul>li:first-child+li { padding-top:2.9em; }
\ No newline at end of file
+.selectedActions { display:none; }
\ No newline at end of file
-- 
GitLab