Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Hammond
committed
Nov 19, 2013
1 parent
9beb8cb
commit 356ee39
Showing
14 changed files
with
176 additions
and
7 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../v11_extra_public_directory/plugin.py |
3 changes: 3 additions & 0 deletions
3
ckanext/example_theme/v12_custom_css/public/example_theme.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.account-masthead { | ||
background-color: rgb(40, 40, 40); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../v11_extra_public_directory/public/promoted-image.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% ckan_extends %} | ||
|
||
{% block styles %} | ||
{{ super() }} | ||
<link rel="stylesheet" href="/example_theme.css" /> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../v11_extra_public_directory/templates/home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../v11_extra_public_directory/templates/snippets |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../v12_custom_css/plugin.py |
103 changes: 103 additions & 0 deletions
103
ckanext/example_theme/v13_more_custom_css/public/example_theme.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
/* ===================================================== | ||
The "account masthead" bar across the top of the site | ||
===================================================== */ | ||
|
||
.account-masthead { | ||
background-color: rgb(40, 40, 40); | ||
} | ||
/* The "bubble" containing the number of new notifications. */ | ||
.account-masthead .account .notifications a span { | ||
background-color: black; | ||
} | ||
/* The text and icons in the user account info. */ | ||
.account-masthead .account ul li a { | ||
color: rgba(255, 255, 255, 0.6); | ||
} | ||
/* The user account info text and icons, when the user's pointer is hovering | ||
over them. */ | ||
.account-masthead .account ul li a:hover { | ||
color: rgba(255, 255, 255, 0.7); | ||
background-color: black; | ||
} | ||
|
||
|
||
/* ======================================================================== | ||
The main masthead bar that contains the site logo, nav links, and search | ||
======================================================================== */ | ||
|
||
.masthead { | ||
background-color: #3d3d3d; | ||
} | ||
/* The "navigation pills" in the masthead (the links to Datasets, | ||
Organizations, etc) when the user's pointer hovers over them. */ | ||
.masthead .navigation .nav-pills li a:hover { | ||
background-color: rgb(48, 48, 48); | ||
color: white; | ||
} | ||
/* The "active" navigation pill (for example, when you're on the /dataset page | ||
the "Datasets" link is active). */ | ||
.masthead .navigation .nav-pills li.active a { | ||
background-color: rgb(74, 74, 74); | ||
} | ||
/* The "box shadow" effect that appears around the search box when it | ||
has the keyboard cursor's focus. */ | ||
.masthead input[type="text"]:focus { | ||
-webkit-box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7); | ||
box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7); | ||
} | ||
|
||
|
||
/* =========================================== | ||
The content in the middle of the front page | ||
=========================================== */ | ||
|
||
/* Remove the "box shadow" effect around various boxes on the page. */ | ||
.box { | ||
box-shadow: none; | ||
} | ||
/* Remove the borders around the "Welcome to CKAN" and "Search Your Data" | ||
boxes. */ | ||
.hero .box { | ||
border: none; | ||
} | ||
/* Change the colors of the "Search Your Data" box. */ | ||
.homepage .module-search .module-content { | ||
color: rgb(68, 68, 68); | ||
background-color: white; | ||
} | ||
/* Change the background color of the "Popular Tags" box. */ | ||
.homepage .module-search .tags { | ||
background-color: rgb(61, 61, 61); | ||
} | ||
/* Remove some padding. This makes the bottom edges of the "Welcome to CKAN" | ||
and "Search Your Data" boxes line up. */ | ||
.module-content:last-child { | ||
padding-bottom: 0px; | ||
} | ||
.homepage .module-search { | ||
padding: 0px; | ||
} | ||
/* Add a border line between the top and bottom halves of the front page. */ | ||
.homepage [role="main"] { | ||
border-top: 1px solid rgb(204, 204, 204); | ||
} | ||
|
||
|
||
/* ==================================== | ||
The footer at the bottom of the site | ||
==================================== */ | ||
|
||
.site-footer, | ||
body { | ||
background-color: rgb(40, 40, 40); | ||
} | ||
/* The text in the footer. */ | ||
.site-footer, | ||
.site-footer label, | ||
.site-footer small { | ||
color: rgba(255, 255, 255, 0.6); | ||
} | ||
/* The link texts in the footer. */ | ||
.site-footer a { | ||
color: rgba(255, 255, 255, 0.6); | ||
} |
1 change: 1 addition & 0 deletions
1
ckanext/example_theme/v13_more_custom_css/public/promoted-image.jpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../v12_custom_css/public/promoted-image.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../v12_custom_css/templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters