myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2934] trunk: Created a template for basic skins


From: noreply
Subject: [myexperiment-hackers] [2934] trunk: Created a template for basic skins that just require logo and colour changes
Date: Wed, 15 Feb 2012 10:38:46 -0500 (EST)

Revision
2934
Author
fbacall
Date
2012-02-15 10:38:45 -0500 (Wed, 15 Feb 2012)

Log Message

Created a template for basic skins that just require logo and colour changes

Added Paths

Diff

Added: trunk/app/views/layouts/_skin_template.html.erb (0 => 2934)


--- trunk/app/views/layouts/_skin_template.html.erb	                        (rev 0)
+++ trunk/app/views/layouts/_skin_template.html.erb	2012-02-15 15:38:45 UTC (rev 2934)
@@ -0,0 +1,8 @@
+<% content_for :logo do %>
+  <div style="display:inline-block; text-align: right; float: left">
+    <%= link_to image_tag(@logo_image_url || "/images/logo.png"), @logo_link_url  || "/home", :style => "display: block;" %>
+    <span>on <%= link_to image_tag("/images/logo_tiny.png", :style=>"vertical-align: middle"), "/" -%></span>
+  </div>
+<% end %>
+
+<%= render :partial => "layouts/myexperiment" %>

Added: trunk/public/images/searchfade_alpha.png


(Binary files differ)
Property changes on: trunk/public/images/searchfade_alpha.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/public/images/sidebar_alpha.png


(Binary files differ)
Property changes on: trunk/public/images/sidebar_alpha.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/public/stylesheets/skin_template.css (0 => 2934)


--- trunk/public/stylesheets/skin_template.css	                        (rev 0)
+++ trunk/public/stylesheets/skin_template.css	2012-02-15 15:38:45 UTC (rev 2934)
@@ -0,0 +1,13 @@
+/* Supplementary stylesheet for the template layout. Requires main myExperiment stylesheet. */
+
+/* Changes the colour of the sidebar/searchbar (normally blue): */
+#myexp_searchbar, #myexp_sidebar, .pagination a, .tabnav li a:hover, .tabnav li#selected_tabnav a  {
+  background-color: #317EFF;
+}
+
+#myexp_searchbar {
+  background-image: url('/images/searchfade_alpha.png');
+}
+#myexp_sidebar {
+  background-image: url('/images/sidebar_alpha.png');
+}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]