james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [2/2] james-project git commit: JAMES-2379 Add Apache events on top of James homepage
Date Fri, 20 Apr 2018 02:15:32 GMT
JAMES-2379 Add Apache events on top of James homepage


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f477504f
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f477504f
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/f477504f

Branch: refs/heads/master
Commit: f477504fc093354c76a454a0390f52d41a2214e5
Parents: c2ad6f7
Author: Antoine Duprat <aduprat@linagora.com>
Authored: Thu Apr 19 13:47:39 2018 +0200
Committer: benwa <btellier@linagora.com>
Committed: Fri Apr 20 09:15:02 2018 +0700

----------------------------------------------------------------------
 src/homepage/assets/css/main.css | 42 +++++++++++++++++++++++++++++++++++
 src/homepage/index.html          |  6 +++++
 2 files changed, 48 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/f477504f/src/homepage/assets/css/main.css
----------------------------------------------------------------------
diff --git a/src/homepage/assets/css/main.css b/src/homepage/assets/css/main.css
index 19977b3..181bd22 100644
--- a/src/homepage/assets/css/main.css
+++ b/src/homepage/assets/css/main.css
@@ -3106,6 +3106,41 @@
 		margin: 0;
 	}
 
+	#wrapper .apache_ref_left {
+		position: absolute;
+		top: 0;
+		left: 5%;
+		margin:0;
+		padding: 5px 5px 0px 5px;
+		background-color: #ffffff;
+		border-radius: 0 0 10px 10px;
+	}
+
+	#wrapper .apache_ref_left_mobile {
+		display: none;
+		position: absolute;
+		top: 0;
+		left: 0;
+		width: 100%;
+		text-align: center;
+		background: url('images/overlay.png') rgba(0,0,0,0.2);
+	}
+
+	#wrapper .apache_ref_left_mobile a {
+		font-size: 9pt;
+		color: #DDD;
+	}
+
+	#wrapper .apache_ref_left  img {
+		width: 10em;
+	}
+
+	#wrapper .apache_ref_left a {
+		border: none;
+		padding: 0;
+		margin: 0;
+	}
+
 	#header {
 		padding: 3em 5em 1em 5em;
 		text-align: center;
@@ -3251,6 +3286,13 @@
 				display: block;
 			}
 
+			.apache_ref_left {
+				display:none;
+			}
+			#wrapper .apache_ref_left_mobile {
+				display: block;
+			}
+
 		}
 
 		@media screen and (max-width: 360px) {

http://git-wip-us.apache.org/repos/asf/james-project/blob/f477504f/src/homepage/index.html
----------------------------------------------------------------------
diff --git a/src/homepage/index.html b/src/homepage/index.html
index 621548e..844e380 100644
--- a/src/homepage/index.html
+++ b/src/homepage/index.html
@@ -28,6 +28,12 @@ layout: default
   <div class="apache_ref_mobile">
     <a href="https://www.apache.org" alt="apache foundation link">The Apache Software
Foundation</a>
   </div>
+  <div class="apache_ref_left">
+    <a href="https://www.apache.org/events/current-event.html" alt="apache foundation
event"><img src="https://www.apache.org/events/current-event-234x60.png" title="apache
foundation event logo"/></a>
+  </div>
+  <div class="apache_ref_left_mobile">
+    <a href="https://www.apache.org/events/current-event.html" alt="apache foundation
event"><img src="https://www.apache.org/events/current-event-234x60.png" title="apache
foundation event logo"/></a>
+  </div>
 
   <!-- Header -->
     <header id="header" class="alt">


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message