diff options
author | Mike Crute <mcrute@gmail.com> | 2010-02-20 23:38:47 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-02-20 23:38:47 -0500 |
commit | e6e1b94472a03b9e9e390fc707ea297963104bd2 (patch) | |
tree | c61607fa2899d95f03ff91ab90d5005f40bd8afe | |
parent | 9300a50f28514cc29e226ec19ab38f52358fc901 (diff) | |
download | snakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.tar.bz2 snakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.tar.xz snakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.zip |
Starting to tidy up the views
35 files changed, 1406 insertions, 18 deletions
diff --git a/snakeplan/TODO.txt b/snakeplan/TODO.txt new file mode 100644 index 0000000..ed43c64 --- /dev/null +++ b/snakeplan/TODO.txt | |||
@@ -0,0 +1,4 @@ | |||
1 | Work To Do | ||
2 | ========== | ||
3 | * Fix imports of snakeplan, instead place projects in the pythonpath | ||
4 | * Move templates from the application to the project | ||
diff --git a/snakeplan/projects/templates/base.html b/snakeplan/projects/templates/base.html new file mode 100644 index 0000000..2858e4c --- /dev/null +++ b/snakeplan/projects/templates/base.html | |||
@@ -0,0 +1,11 @@ | |||
1 | <html> | ||
2 | <head> | ||
3 | <title>{% block title %}SnakePlan{% endblock %}</title> | ||
4 | <link rel="stylesheet" href="static/css/blueprint/screen.css" type="text/css" media="screen, projection"> | ||
5 | <link rel="stylesheet" href="static/css/blueprint/print.css" type="text/css" media="print"> | ||
6 | <!--[if lt IE 8]><link rel="stylesheet" href="static/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]--> | ||
7 | </head> | ||
8 | <body> | ||
9 | {% block content %}{% endblock %} | ||
10 | </body> | ||
11 | </html> | ||
diff --git a/snakeplan/projects/templates/footer.html b/snakeplan/projects/templates/footer.html deleted file mode 100644 index 308b1d0..0000000 --- a/snakeplan/projects/templates/footer.html +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | </body> | ||
2 | </html> | ||
diff --git a/snakeplan/projects/templates/header.html b/snakeplan/projects/templates/header.html deleted file mode 100644 index 75ba4bf..0000000 --- a/snakeplan/projects/templates/header.html +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | <html> | ||
2 | <head><title>{{page_title]]</title></head> | ||
3 | |||
4 | <body> | ||
diff --git a/snakeplan/projects/templates/projects/iteration_list.html b/snakeplan/projects/templates/projects/iteration_list.html index 7750cc7..cb39fc7 100644 --- a/snakeplan/projects/templates/projects/iteration_list.html +++ b/snakeplan/projects/templates/projects/iteration_list.html | |||
@@ -1,18 +1,24 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content %} | ||
1 | <h1>Project: {{project_name}}</h1> | 4 | <h1>Project: {{project_name}}</h1> |
2 | 5 | ||
3 | <h2>Iterations</h2> | 6 | <h2>Iterations</h2> |
4 | 7 | ||
8 | <table> | ||
9 | <tr> | ||
10 | <th>Iteration</th> | ||
11 | <th>Description</th> | ||
12 | <th>Start Date</th> | ||
13 | <th>End Date</th> | ||
14 | </tr> | ||
5 | {% for iteration in object_list %} | 15 | {% for iteration in object_list %} |
6 | <div id="{{iteration.id}}"> | 16 | <tr> |
7 | <ul> | 17 | <td><a href="/iteration/{{iteration.id}}">{{iteration.name}}</a></td> |
8 | <li><a href="/iteration/{{iteration.id}}">{{iteration.name}}</a></li> | 18 | <td>{{iteration.description}}</td> |
9 | <li>{{iteration.description}}</li> | 19 | <td>{{iteration.start_date}}</td> |
10 | <li>{{iteration.status}}</li> | 20 | <td>{{iteration.end_date}}</td> |
11 | <li>{{iteration.start_date}}</li> | 21 | </tr> |
12 | <li>{{iteration.end_date}}</li> | ||
13 | <li>{{iteration.days_worked}}</li> | ||
14 | </ul> | ||
15 | </div> | ||
16 | {% endfor %} | 22 | {% endfor %} |
17 | </ul> | 23 | </table> |
18 | 24 | {% endblock %} | |
diff --git a/snakeplan/urls.py b/snakeplan/urls.py index eaa566a..b6d2cd5 100755 --- a/snakeplan/urls.py +++ b/snakeplan/urls.py | |||
@@ -1,3 +1,4 @@ | |||
1 | from django.views import static | ||
1 | from django.conf.urls.defaults import patterns, include | 2 | from django.conf.urls.defaults import patterns, include |
2 | 3 | ||
3 | from django.contrib import admin | 4 | from django.contrib import admin |
@@ -10,4 +11,5 @@ from snakeplan.projects import admin as snakeplan_admin | |||
10 | urlpatterns = patterns('', | 11 | urlpatterns = patterns('', |
11 | (r'^admin/', include(admin.site.urls)), | 12 | (r'^admin/', include(admin.site.urls)), |
12 | (r'^project/', include('snakeplan.projects.urls')), | 13 | (r'^project/', include('snakeplan.projects.urls')), |
14 | (r'^static/(?P<path>.*)$', static.serve, {'document_root':'../static'}), | ||
13 | ) | 15 | ) |
diff --git a/static/css/blueprint/ie.css b/static/css/blueprint/ie.css new file mode 100644 index 0000000..3dddda9 --- /dev/null +++ b/static/css/blueprint/ie.css | |||
@@ -0,0 +1,35 @@ | |||
1 | /* ----------------------------------------------------------------------- | ||
2 | |||
3 | |||
4 | Blueprint CSS Framework 0.9 | ||
5 | http://blueprintcss.org | ||
6 | |||
7 | * Copyright (c) 2007-Present. See LICENSE for more info. | ||
8 | * See README for instructions on how to use Blueprint. | ||
9 | * For credits and origins, see AUTHORS. | ||
10 | * This is a compressed file. See the sources in the 'src' directory. | ||
11 | |||
12 | ----------------------------------------------------------------------- */ | ||
13 | |||
14 | /* ie.css */ | ||
15 | body {text-align:center;} | ||
16 | .container {text-align:left;} | ||
17 | * html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;} | ||
18 | * html legend {margin:0px -8px 16px 0;padding:0;} | ||
19 | sup {vertical-align:text-top;} | ||
20 | sub {vertical-align:text-bottom;} | ||
21 | html>body p code {*white-space:normal;} | ||
22 | hr {margin:-8px auto 11px;} | ||
23 | img {-ms-interpolation-mode:bicubic;} | ||
24 | .clearfix, .container {display:inline-block;} | ||
25 | * html .clearfix, * html .container {height:1%;} | ||
26 | fieldset {padding-top:0;} | ||
27 | textarea {overflow:auto;} | ||
28 | input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} | ||
29 | input.text:focus, input.title:focus {border-color:#666;} | ||
30 | input.text, input.title, textarea, select {margin:0.5em 0;} | ||
31 | input.checkbox, input.radio {position:relative;top:.25em;} | ||
32 | form.inline div, form.inline p {vertical-align:middle;} | ||
33 | form.inline label {position:relative;top:-0.25em;} | ||
34 | form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} | ||
35 | button, input.button {position:relative;top:0.25em;} \ No newline at end of file | ||
diff --git a/static/css/blueprint/plugins/buttons/icons/cross.png b/static/css/blueprint/plugins/buttons/icons/cross.png new file mode 100755 index 0000000..1514d51 --- /dev/null +++ b/static/css/blueprint/plugins/buttons/icons/cross.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/buttons/icons/key.png b/static/css/blueprint/plugins/buttons/icons/key.png new file mode 100755 index 0000000..a9d5e4f --- /dev/null +++ b/static/css/blueprint/plugins/buttons/icons/key.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/buttons/icons/tick.png b/static/css/blueprint/plugins/buttons/icons/tick.png new file mode 100755 index 0000000..a9925a0 --- /dev/null +++ b/static/css/blueprint/plugins/buttons/icons/tick.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/buttons/readme.txt b/static/css/blueprint/plugins/buttons/readme.txt new file mode 100644 index 0000000..aa9fe26 --- /dev/null +++ b/static/css/blueprint/plugins/buttons/readme.txt | |||
@@ -0,0 +1,32 @@ | |||
1 | Buttons | ||
2 | |||
3 | * Gives you great looking CSS buttons, for both <a> and <button>. | ||
4 | * Demo: particletree.com/features/rediscovering-the-button-element | ||
5 | |||
6 | |||
7 | Credits | ||
8 | ---------------------------------------------------------------- | ||
9 | |||
10 | * Created by Kevin Hale [particletree.com] | ||
11 | * Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com] | ||
12 | |||
13 | |||
14 | Usage | ||
15 | ---------------------------------------------------------------- | ||
16 | |||
17 | 1) Add this plugin to lib/settings.yml. | ||
18 | See compress.rb for instructions. | ||
19 | |||
20 | 2) Use the following HTML code to place the buttons on your site: | ||
21 | |||
22 | <button type="submit" class="button positive"> | ||
23 | <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save | ||
24 | </button> | ||
25 | |||
26 | <a class="button" href="/password/reset/"> | ||
27 | <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password | ||
28 | </a> | ||
29 | |||
30 | <a href="#" class="button negative"> | ||
31 | <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel | ||
32 | </a> | ||
diff --git a/static/css/blueprint/plugins/buttons/screen.css b/static/css/blueprint/plugins/buttons/screen.css new file mode 100644 index 0000000..bb66b21 --- /dev/null +++ b/static/css/blueprint/plugins/buttons/screen.css | |||
@@ -0,0 +1,97 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | buttons.css | ||
4 | * Gives you some great CSS-only buttons. | ||
5 | |||
6 | Created by Kevin Hale [particletree.com] | ||
7 | * particletree.com/features/rediscovering-the-button-element | ||
8 | |||
9 | See Readme.txt in this folder for instructions. | ||
10 | |||
11 | -------------------------------------------------------------- */ | ||
12 | |||
13 | a.button, button { | ||
14 | display:block; | ||
15 | float:left; | ||
16 | margin: 0.7em 0.5em 0.7em 0; | ||
17 | padding:5px 10px 5px 7px; /* Links */ | ||
18 | |||
19 | border:1px solid #dedede; | ||
20 | border-top:1px solid #eee; | ||
21 | border-left:1px solid #eee; | ||
22 | |||
23 | background-color:#f5f5f5; | ||
24 | font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; | ||
25 | font-size:100%; | ||
26 | line-height:130%; | ||
27 | text-decoration:none; | ||
28 | font-weight:bold; | ||
29 | color:#565656; | ||
30 | cursor:pointer; | ||
31 | } | ||
32 | button { | ||
33 | width:auto; | ||
34 | overflow:visible; | ||
35 | padding:4px 10px 3px 7px; /* IE6 */ | ||
36 | } | ||
37 | button[type] { | ||
38 | padding:4px 10px 4px 7px; /* Firefox */ | ||
39 | line-height:17px; /* Safari */ | ||
40 | } | ||
41 | *:first-child+html button[type] { | ||
42 | padding:4px 10px 3px 7px; /* IE7 */ | ||
43 | } | ||
44 | button img, a.button img{ | ||
45 | margin:0 3px -3px 0 !important; | ||
46 | padding:0; | ||
47 | border:none; | ||
48 | width:16px; | ||
49 | height:16px; | ||
50 | float:none; | ||
51 | } | ||
52 | |||
53 | |||
54 | /* Button colors | ||
55 | -------------------------------------------------------------- */ | ||
56 | |||
57 | /* Standard */ | ||
58 | button:hover, a.button:hover{ | ||
59 | background-color:#dff4ff; | ||
60 | border:1px solid #c2e1ef; | ||
61 | color:#336699; | ||
62 | } | ||
63 | a.button:active{ | ||
64 | background-color:#6299c5; | ||
65 | border:1px solid #6299c5; | ||
66 | color:#fff; | ||
67 | } | ||
68 | |||
69 | /* Positive */ | ||
70 | body .positive { | ||
71 | color:#529214; | ||
72 | } | ||
73 | a.positive:hover, button.positive:hover { | ||
74 | background-color:#E6EFC2; | ||
75 | border:1px solid #C6D880; | ||
76 | color:#529214; | ||
77 | } | ||
78 | a.positive:active { | ||
79 | background-color:#529214; | ||
80 | border:1px solid #529214; | ||
81 | color:#fff; | ||
82 | } | ||
83 | |||
84 | /* Negative */ | ||
85 | body .negative { | ||
86 | color:#d12f19; | ||
87 | } | ||
88 | a.negative:hover, button.negative:hover { | ||
89 | background-color:#fbe3e4; | ||
90 | border:1px solid #fbc2c4; | ||
91 | color:#d12f19; | ||
92 | } | ||
93 | a.negative:active { | ||
94 | background-color:#d12f19; | ||
95 | border:1px solid #d12f19; | ||
96 | color:#fff; | ||
97 | } | ||
diff --git a/static/css/blueprint/plugins/fancy-type/readme.txt b/static/css/blueprint/plugins/fancy-type/readme.txt new file mode 100644 index 0000000..85f2491 --- /dev/null +++ b/static/css/blueprint/plugins/fancy-type/readme.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | Fancy Type | ||
2 | |||
3 | * Gives you classes to use if you'd like some | ||
4 | extra fancy typography. | ||
5 | |||
6 | Credits and instructions are specified above each class | ||
7 | in the fancy-type.css file in this directory. | ||
8 | |||
9 | |||
10 | Usage | ||
11 | ---------------------------------------------------------------- | ||
12 | |||
13 | 1) Add this plugin to lib/settings.yml. | ||
14 | See compress.rb for instructions. | ||
diff --git a/static/css/blueprint/plugins/fancy-type/screen.css b/static/css/blueprint/plugins/fancy-type/screen.css new file mode 100644 index 0000000..127cf25 --- /dev/null +++ b/static/css/blueprint/plugins/fancy-type/screen.css | |||
@@ -0,0 +1,71 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | fancy-type.css | ||
4 | * Lots of pretty advanced classes for manipulating text. | ||
5 | |||
6 | See the Readme file in this folder for additional instructions. | ||
7 | |||
8 | -------------------------------------------------------------- */ | ||
9 | |||
10 | /* Indentation instead of line shifts for sibling paragraphs. */ | ||
11 | p + p { text-indent:2em; margin-top:-1.5em; } | ||
12 | form p + p { text-indent: 0; } /* Don't want this in forms. */ | ||
13 | |||
14 | |||
15 | /* For great looking type, use this code instead of asdf: | ||
16 | <span class="alt">asdf</span> | ||
17 | Best used on prepositions and ampersands. */ | ||
18 | |||
19 | .alt { | ||
20 | color: #666; | ||
21 | font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; | ||
22 | font-style: italic; | ||
23 | font-weight: normal; | ||
24 | } | ||
25 | |||
26 | |||
27 | /* For great looking quote marks in titles, replace "asdf" with: | ||
28 | <span class="dquo">“</span>asdf” | ||
29 | (That is, when the title starts with a quote mark). | ||
30 | (You may have to change this value depending on your font size). */ | ||
31 | |||
32 | .dquo { margin-left: -.5em; } | ||
33 | |||
34 | |||
35 | /* Reduced size type with incremental leading | ||
36 | (http://www.markboulton.co.uk/journal/comments/incremental_leading/) | ||
37 | |||
38 | This could be used for side notes. For smaller type, you don't necessarily want to | ||
39 | follow the 1.5x vertical rhythm -- the line-height is too much. | ||
40 | |||
41 | Using this class, it reduces your font size and line-height so that for | ||
42 | every four lines of normal sized type, there is five lines of the sidenote. eg: | ||
43 | |||
44 | New type size in em's: | ||
45 | 10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems) | ||
46 | |||
47 | New line-height value: | ||
48 | 12px x 1.5 = 18px (old line-height) | ||
49 | 18px x 4 = 72px | ||
50 | 72px / 5 = 14.4px (new line height) | ||
51 | 14.4px / 10px = 1.44 (new line height in em's) */ | ||
52 | |||
53 | p.incr, .incr p { | ||
54 | font-size: 10px; | ||
55 | line-height: 1.44em; | ||
56 | margin-bottom: 1.5em; | ||
57 | } | ||
58 | |||
59 | |||
60 | /* Surround uppercase words and abbreviations with this class. | ||
61 | Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */ | ||
62 | |||
63 | .caps { | ||
64 | font-variant: small-caps; | ||
65 | letter-spacing: 1px; | ||
66 | text-transform: lowercase; | ||
67 | font-size:1.2em; | ||
68 | line-height:1%; | ||
69 | font-weight:bold; | ||
70 | padding:0 2px; | ||
71 | } | ||
diff --git a/static/css/blueprint/plugins/link-icons/icons/doc.png b/static/css/blueprint/plugins/link-icons/icons/doc.png new file mode 100644 index 0000000..834cdfa --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/doc.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/email.png b/static/css/blueprint/plugins/link-icons/icons/email.png new file mode 100644 index 0000000..7348aed --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/email.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/external.png b/static/css/blueprint/plugins/link-icons/icons/external.png new file mode 100644 index 0000000..cf1cfb4 --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/external.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/feed.png b/static/css/blueprint/plugins/link-icons/icons/feed.png new file mode 100644 index 0000000..315c4f4 --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/feed.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/im.png b/static/css/blueprint/plugins/link-icons/icons/im.png new file mode 100644 index 0000000..79f35cc --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/im.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/pdf.png b/static/css/blueprint/plugins/link-icons/icons/pdf.png new file mode 100644 index 0000000..8f8095e --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/pdf.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/visited.png b/static/css/blueprint/plugins/link-icons/icons/visited.png new file mode 100644 index 0000000..ebf206d --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/visited.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/icons/xls.png b/static/css/blueprint/plugins/link-icons/icons/xls.png new file mode 100644 index 0000000..b977d7e --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/icons/xls.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/plugins/link-icons/readme.txt b/static/css/blueprint/plugins/link-icons/readme.txt new file mode 100644 index 0000000..fc4dc64 --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/readme.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | Link Icons | ||
2 | * Icons for links based on protocol or file type. | ||
3 | |||
4 | This is not supported in IE versions < 7. | ||
5 | |||
6 | |||
7 | Credits | ||
8 | ---------------------------------------------------------------- | ||
9 | |||
10 | * Marc Morgan | ||
11 | * Olav Bjorkoy [bjorkoy.com] | ||
12 | |||
13 | |||
14 | Usage | ||
15 | ---------------------------------------------------------------- | ||
16 | |||
17 | 1) Add this line to your HTML: | ||
18 | <link rel="stylesheet" href="css/blueprint/plugins/link-icons/screen.css" type="text/css" media="screen, projection"> | ||
diff --git a/static/css/blueprint/plugins/link-icons/screen.css b/static/css/blueprint/plugins/link-icons/screen.css new file mode 100644 index 0000000..7b4bef9 --- /dev/null +++ b/static/css/blueprint/plugins/link-icons/screen.css | |||
@@ -0,0 +1,40 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | link-icons.css | ||
4 | * Icons for links based on protocol or file type. | ||
5 | |||
6 | See the Readme file in this folder for additional instructions. | ||
7 | |||
8 | -------------------------------------------------------------- */ | ||
9 | |||
10 | /* Use this class if a link gets an icon when it shouldn't. */ | ||
11 | body a.noicon { | ||
12 | background:transparent none !important; | ||
13 | padding:0 !important; | ||
14 | margin:0 !important; | ||
15 | } | ||
16 | |||
17 | /* Make sure the icons are not cut */ | ||
18 | a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, | ||
19 | a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], | ||
20 | a[href$=".rdf"], a[href^="aim:"] { | ||
21 | padding:2px 22px 2px 0; | ||
22 | margin:-2px 0; | ||
23 | background-repeat: no-repeat; | ||
24 | background-position: right center; | ||
25 | } | ||
26 | |||
27 | /* External links */ | ||
28 | a[href^="http:"] { background-image: url(icons/external.png); } | ||
29 | a[href^="mailto:"] { background-image: url(icons/email.png); } | ||
30 | a[href^="http:"]:visited { background-image: url(icons/visited.png); } | ||
31 | |||
32 | /* Files */ | ||
33 | a[href$=".pdf"] { background-image: url(icons/pdf.png); } | ||
34 | a[href$=".doc"] { background-image: url(icons/doc.png); } | ||
35 | a[href$=".xls"] { background-image: url(icons/xls.png); } | ||
36 | |||
37 | /* Misc */ | ||
38 | a[href$=".rss"], | ||
39 | a[href$=".rdf"] { background-image: url(icons/feed.png); } | ||
40 | a[href^="aim:"] { background-image: url(icons/im.png); } | ||
diff --git a/static/css/blueprint/plugins/rtl/readme.txt b/static/css/blueprint/plugins/rtl/readme.txt new file mode 100644 index 0000000..5564c40 --- /dev/null +++ b/static/css/blueprint/plugins/rtl/readme.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | RTL | ||
2 | * Mirrors Blueprint, so it can be used with Right-to-Left languages. | ||
3 | |||
4 | By Ran Yaniv Hartstein, ranh.co.il | ||
5 | |||
6 | Usage | ||
7 | ---------------------------------------------------------------- | ||
8 | |||
9 | 1) Add this line to your HTML: | ||
10 | <link rel="stylesheet" href="css/blueprint/plugins/rtl/screen.css" type="text/css" media="screen, projection"> | ||
diff --git a/static/css/blueprint/plugins/rtl/screen.css b/static/css/blueprint/plugins/rtl/screen.css new file mode 100644 index 0000000..7db7eb5 --- /dev/null +++ b/static/css/blueprint/plugins/rtl/screen.css | |||
@@ -0,0 +1,110 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | rtl.css | ||
4 | * Mirrors Blueprint for left-to-right languages | ||
5 | |||
6 | By Ran Yaniv Hartstein [ranh.co.il] | ||
7 | |||
8 | -------------------------------------------------------------- */ | ||
9 | |||
10 | body .container { direction: rtl; } | ||
11 | body .column, body .span-1, body .span-2, body .span-3, body .span-4, body .span-5, body .span-6, body .span-7, body .span-8, body .span-9, body .span-10, body .span-11, body .span-12, body .span-13, body .span-14, body .span-15, body .span-16, body .span-17, body .span-18, body .span-19, body .span-20, body .span-21, body .span-22, body .span-23, body .span-24 { | ||
12 | float: right; | ||
13 | margin-right: 0; | ||
14 | margin-left: 10px; | ||
15 | text-align:right; | ||
16 | } | ||
17 | |||
18 | body div.last { margin-left: 0; } | ||
19 | body table .last { padding-left: 0; } | ||
20 | |||
21 | body .append-1 { padding-right: 0; padding-left: 40px; } | ||
22 | body .append-2 { padding-right: 0; padding-left: 80px; } | ||
23 | body .append-3 { padding-right: 0; padding-left: 120px; } | ||
24 | body .append-4 { padding-right: 0; padding-left: 160px; } | ||
25 | body .append-5 { padding-right: 0; padding-left: 200px; } | ||
26 | body .append-6 { padding-right: 0; padding-left: 240px; } | ||
27 | body .append-7 { padding-right: 0; padding-left: 280px; } | ||
28 | body .append-8 { padding-right: 0; padding-left: 320px; } | ||
29 | body .append-9 { padding-right: 0; padding-left: 360px; } | ||
30 | body .append-10 { padding-right: 0; padding-left: 400px; } | ||
31 | body .append-11 { padding-right: 0; padding-left: 440px; } | ||
32 | body .append-12 { padding-right: 0; padding-left: 480px; } | ||
33 | body .append-13 { padding-right: 0; padding-left: 520px; } | ||
34 | body .append-14 { padding-right: 0; padding-left: 560px; } | ||
35 | body .append-15 { padding-right: 0; padding-left: 600px; } | ||
36 | body .append-16 { padding-right: 0; padding-left: 640px; } | ||
37 | body .append-17 { padding-right: 0; padding-left: 680px; } | ||
38 | body .append-18 { padding-right: 0; padding-left: 720px; } | ||
39 | body .append-19 { padding-right: 0; padding-left: 760px; } | ||
40 | body .append-20 { padding-right: 0; padding-left: 800px; } | ||
41 | body .append-21 { padding-right: 0; padding-left: 840px; } | ||
42 | body .append-22 { padding-right: 0; padding-left: 880px; } | ||
43 | body .append-23 { padding-right: 0; padding-left: 920px; } | ||
44 | |||
45 | body .prepend-1 { padding-left: 0; padding-right: 40px; } | ||
46 | body .prepend-2 { padding-left: 0; padding-right: 80px; } | ||
47 | body .prepend-3 { padding-left: 0; padding-right: 120px; } | ||
48 | body .prepend-4 { padding-left: 0; padding-right: 160px; } | ||
49 | body .prepend-5 { padding-left: 0; padding-right: 200px; } | ||
50 | body .prepend-6 { padding-left: 0; padding-right: 240px; } | ||
51 | body .prepend-7 { padding-left: 0; padding-right: 280px; } | ||
52 | body .prepend-8 { padding-left: 0; padding-right: 320px; } | ||
53 | body .prepend-9 { padding-left: 0; padding-right: 360px; } | ||
54 | body .prepend-10 { padding-left: 0; padding-right: 400px; } | ||
55 | body .prepend-11 { padding-left: 0; padding-right: 440px; } | ||
56 | body .prepend-12 { padding-left: 0; padding-right: 480px; } | ||
57 | body .prepend-13 { padding-left: 0; padding-right: 520px; } | ||
58 | body .prepend-14 { padding-left: 0; padding-right: 560px; } | ||
59 | body .prepend-15 { padding-left: 0; padding-right: 600px; } | ||
60 | body .prepend-16 { padding-left: 0; padding-right: 640px; } | ||
61 | body .prepend-17 { padding-left: 0; padding-right: 680px; } | ||
62 | body .prepend-18 { padding-left: 0; padding-right: 720px; } | ||
63 | body .prepend-19 { padding-left: 0; padding-right: 760px; } | ||
64 | body .prepend-20 { padding-left: 0; padding-right: 800px; } | ||
65 | body .prepend-21 { padding-left: 0; padding-right: 840px; } | ||
66 | body .prepend-22 { padding-left: 0; padding-right: 880px; } | ||
67 | body .prepend-23 { padding-left: 0; padding-right: 920px; } | ||
68 | |||
69 | body .border { | ||
70 | padding-right: 0; | ||
71 | padding-left: 4px; | ||
72 | margin-right: 0; | ||
73 | margin-left: 5px; | ||
74 | border-right: none; | ||
75 | border-left: 1px solid #eee; | ||
76 | } | ||
77 | |||
78 | body .colborder { | ||
79 | padding-right: 0; | ||
80 | padding-left: 24px; | ||
81 | margin-right: 0; | ||
82 | margin-left: 25px; | ||
83 | border-right: none; | ||
84 | border-left: 1px solid #eee; | ||
85 | } | ||
86 | |||
87 | body .pull-1 { margin-left: 0; margin-right: -40px; } | ||
88 | body .pull-2 { margin-left: 0; margin-right: -80px; } | ||
89 | body .pull-3 { margin-left: 0; margin-right: -120px; } | ||
90 | body .pull-4 { margin-left: 0; margin-right: -160px; } | ||
91 | |||
92 | body .push-0 { margin: 0 18px 0 0; } | ||
93 | body .push-1 { margin: 0 18px 0 -40px; } | ||
94 | body .push-2 { margin: 0 18px 0 -80px; } | ||
95 | body .push-3 { margin: 0 18px 0 -120px; } | ||
96 | body .push-4 { margin: 0 18px 0 -160px; } | ||
97 | body .push-0, body .push-1, body .push-2, | ||
98 | body .push-3, body .push-4 { float: left; } | ||
99 | |||
100 | |||
101 | /* Typography with RTL support */ | ||
102 | body h1,body h2,body h3, | ||
103 | body h4,body h5,body h6 { font-family: Arial, sans-serif; } | ||
104 | html body { font-family: Arial, sans-serif; } | ||
105 | body pre,body code,body tt { font-family: monospace; } | ||
106 | |||
107 | /* Mirror floats and margins on typographic elements */ | ||
108 | body p img { float: right; margin: 1.5em 0 1.5em 1.5em; } | ||
109 | body dd, body ul, body ol { margin-left: 0; margin-right: 1.5em;} | ||
110 | body td, body th { text-align:right; } | ||
diff --git a/static/css/blueprint/print.css b/static/css/blueprint/print.css new file mode 100644 index 0000000..fdb8220 --- /dev/null +++ b/static/css/blueprint/print.css | |||
@@ -0,0 +1,29 @@ | |||
1 | /* ----------------------------------------------------------------------- | ||
2 | |||
3 | |||
4 | Blueprint CSS Framework 0.9 | ||
5 | http://blueprintcss.org | ||
6 | |||
7 | * Copyright (c) 2007-Present. See LICENSE for more info. | ||
8 | * See README for instructions on how to use Blueprint. | ||
9 | * For credits and origins, see AUTHORS. | ||
10 | * This is a compressed file. See the sources in the 'src' directory. | ||
11 | |||
12 | ----------------------------------------------------------------------- */ | ||
13 | |||
14 | /* print.css */ | ||
15 | body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} | ||
16 | .container {background:none;} | ||
17 | hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} | ||
18 | hr.space {background:#fff;color:#fff;visibility:hidden;} | ||
19 | h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} | ||
20 | code {font:.9em "Courier New", Monaco, Courier, monospace;} | ||
21 | a img {border:none;} | ||
22 | p img.top {margin-top:0;} | ||
23 | blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} | ||
24 | .small {font-size:.9em;} | ||
25 | .large {font-size:1.1em;} | ||
26 | .quiet {color:#999;} | ||
27 | .hide {display:none;} | ||
28 | a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} | ||
29 | a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;} \ No newline at end of file | ||
diff --git a/static/css/blueprint/screen.css b/static/css/blueprint/screen.css new file mode 100644 index 0000000..f542e30 --- /dev/null +++ b/static/css/blueprint/screen.css | |||
@@ -0,0 +1,258 @@ | |||
1 | /* ----------------------------------------------------------------------- | ||
2 | |||
3 | |||
4 | Blueprint CSS Framework 0.9 | ||
5 | http://blueprintcss.org | ||
6 | |||
7 | * Copyright (c) 2007-Present. See LICENSE for more info. | ||
8 | * See README for instructions on how to use Blueprint. | ||
9 | * For credits and origins, see AUTHORS. | ||
10 | * This is a compressed file. See the sources in the 'src' directory. | ||
11 | |||
12 | ----------------------------------------------------------------------- */ | ||
13 | |||
14 | /* reset.css */ | ||
15 | html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;} | ||
16 | article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;} | ||
17 | body {line-height:1.5;} | ||
18 | table {border-collapse:separate;border-spacing:0;} | ||
19 | caption, th, td {text-align:left;font-weight:normal;} | ||
20 | table, td, th {vertical-align:middle;} | ||
21 | blockquote:before, blockquote:after, q:before, q:after {content:"";} | ||
22 | blockquote, q {quotes:"" "";} | ||
23 | a img {border:none;} | ||
24 | |||
25 | /* typography.css */ | ||
26 | html {font-size:100.01%;} | ||
27 | body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;} | ||
28 | h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;} | ||
29 | h1 {font-size:3em;line-height:1;margin-bottom:0.5em;} | ||
30 | h2 {font-size:2em;margin-bottom:0.75em;} | ||
31 | h3 {font-size:1.5em;line-height:1;margin-bottom:1em;} | ||
32 | h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;} | ||
33 | h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;} | ||
34 | h6 {font-size:1em;font-weight:bold;} | ||
35 | h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;} | ||
36 | p {margin:0 0 1.5em;} | ||
37 | p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;} | ||
38 | p img.right {float:right;margin:1.5em 0 1.5em 1.5em;} | ||
39 | a:focus, a:hover {color:#000;} | ||
40 | a {color:#009;text-decoration:underline;} | ||
41 | blockquote {margin:1.5em;color:#666;font-style:italic;} | ||
42 | strong {font-weight:bold;} | ||
43 | em, dfn {font-style:italic;} | ||
44 | dfn {font-weight:bold;} | ||
45 | sup, sub {line-height:0;} | ||
46 | abbr, acronym {border-bottom:1px dotted #666;} | ||
47 | address {margin:0 0 1.5em;font-style:italic;} | ||
48 | del {color:#666;} | ||
49 | pre {margin:1.5em 0;white-space:pre;} | ||
50 | pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;} | ||
51 | li ul, li ol {margin:0;} | ||
52 | ul, ol {margin:0 1.5em 1.5em 0;padding-left:3.333em;} | ||
53 | ul {list-style-type:disc;} | ||
54 | ol {list-style-type:decimal;} | ||
55 | dl {margin:0 0 1.5em 0;} | ||
56 | dl dt {font-weight:bold;} | ||
57 | dd {margin-left:1.5em;} | ||
58 | table {margin-bottom:1.4em;width:100%;} | ||
59 | th {font-weight:bold;} | ||
60 | thead th {background:#c3d9ff;} | ||
61 | th, td, caption {padding:4px 10px 4px 5px;} | ||
62 | tr.even td {background:#e5ecf9;} | ||
63 | tfoot {font-style:italic;} | ||
64 | caption {background:#eee;} | ||
65 | .small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;} | ||
66 | .large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;} | ||
67 | .hide {display:none;} | ||
68 | .quiet {color:#666;} | ||
69 | .loud {color:#000;} | ||
70 | .highlight {background:#ff0;} | ||
71 | .added {background:#060;color:#fff;} | ||
72 | .removed {background:#900;color:#fff;} | ||
73 | .first {margin-left:0;padding-left:0;} | ||
74 | .last {margin-right:0;padding-right:0;} | ||
75 | .top {margin-top:0;padding-top:0;} | ||
76 | .bottom {margin-bottom:0;padding-bottom:0;} | ||
77 | |||
78 | /* forms.css */ | ||
79 | label {font-weight:bold;} | ||
80 | fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;} | ||
81 | legend {font-weight:bold;font-size:1.2em;} | ||
82 | input[type=text], input[type=password], input.text, input.title, textarea, select {background-color:#fff;border:1px solid #bbb;} | ||
83 | input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {border-color:#666;} | ||
84 | input[type=text], input[type=password], input.text, input.title, textarea, select {margin:0.5em 0;} | ||
85 | input.text, input.title {width:300px;padding:5px;} | ||
86 | input.title {font-size:1.5em;} | ||
87 | textarea {width:390px;height:250px;padding:5px;} | ||
88 | input[type=checkbox], input[type=radio], input.checkbox, input.radio {position:relative;top:.25em;} | ||
89 | form.inline {line-height:3;} | ||
90 | form.inline p {margin-bottom:0;} | ||
91 | .error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;} | ||
92 | .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;} | ||
93 | .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;} | ||
94 | .success {background:#E6EFC2;color:#264409;border-color:#C6D880;} | ||
95 | .error a {color:#8a1f11;} | ||
96 | .notice a {color:#514721;} | ||
97 | .success a {color:#264409;} | ||
98 | |||
99 | /* grid.css */ | ||
100 | .container {width:950px;margin:0 auto;} | ||
101 | .showgrid {background:url(src/grid.png);} | ||
102 | .column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {float:left;margin-right:10px;} | ||
103 | .last {margin-right:0;} | ||
104 | .span-1 {width:30px;} | ||
105 | .span-2 {width:70px;} | ||
106 | .span-3 {width:110px;} | ||
107 | .span-4 {width:150px;} | ||
108 | .span-5 {width:190px;} | ||
109 | .span-6 {width:230px;} | ||
110 | .span-7 {width:270px;} | ||
111 | .span-8 {width:310px;} | ||
112 | .span-9 {width:350px;} | ||
113 | .span-10 {width:390px;} | ||
114 | .span-11 {width:430px;} | ||
115 | .span-12 {width:470px;} | ||
116 | .span-13 {width:510px;} | ||
117 | .span-14 {width:550px;} | ||
118 | .span-15 {width:590px;} | ||
119 | .span-16 {width:630px;} | ||
120 | .span-17 {width:670px;} | ||
121 | .span-18 {width:710px;} | ||
122 | .span-19 {width:750px;} | ||
123 | .span-20 {width:790px;} | ||
124 | .span-21 {width:830px;} | ||
125 | .span-22 {width:870px;} | ||
126 | .span-23 {width:910px;} | ||
127 | .span-24 {width:950px;margin-right:0;} | ||
128 | input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {border-left-width:1px!important;border-right-width:1px!important;padding-left:5px!important;padding-right:5px!important;} | ||
129 | input.span-1, textarea.span-1 {width:18px!important;} | ||
130 | input.span-2, textarea.span-2 {width:58px!important;} | ||
131 | input.span-3, textarea.span-3 {width:98px!important;} | ||
132 | input.span-4, textarea.span-4 {width:138px!important;} | ||
133 | input.span-5, textarea.span-5 {width:178px!important;} | ||
134 | input.span-6, textarea.span-6 {width:218px!important;} | ||
135 | input.span-7, textarea.span-7 {width:258px!important;} | ||
136 | input.span-8, textarea.span-8 {width:298px!important;} | ||
137 | input.span-9, textarea.span-9 {width:338px!important;} | ||
138 | input.span-10, textarea.span-10 {width:378px!important;} | ||
139 | input.span-11, textarea.span-11 {width:418px!important;} | ||
140 | input.span-12, textarea.span-12 {width:458px!important;} | ||
141 | input.span-13, textarea.span-13 {width:498px!important;} | ||
142 | input.span-14, textarea.span-14 {width:538px!important;} | ||
143 | input.span-15, textarea.span-15 {width:578px!important;} | ||
144 | input.span-16, textarea.span-16 {width:618px!important;} | ||
145 | input.span-17, textarea.span-17 {width:658px!important;} | ||
146 | input.span-18, textarea.span-18 {width:698px!important;} | ||
147 | input.span-19, textarea.span-19 {width:738px!important;} | ||
148 | input.span-20, textarea.span-20 {width:778px!important;} | ||
149 | input.span-21, textarea.span-21 {width:818px!important;} | ||
150 | input.span-22, textarea.span-22 {width:858px!important;} | ||
151 | input.span-23, textarea.span-23 {width:898px!important;} | ||
152 | input.span-24, textarea.span-24 {width:938px!important;} | ||
153 | .append-1 {padding-right:40px;} | ||
154 | .append-2 {padding-right:80px;} | ||
155 | .append-3 {padding-right:120px;} | ||
156 | .append-4 {padding-right:160px;} | ||
157 | .append-5 {padding-right:200px;} | ||
158 | .append-6 {padding-right:240px;} | ||
159 | .append-7 {padding-right:280px;} | ||
160 | .append-8 {padding-right:320px;} | ||
161 | .append-9 {padding-right:360px;} | ||
162 | .append-10 {padding-right:400px;} | ||
163 | .append-11 {padding-right:440px;} | ||
164 | .append-12 {padding-right:480px;} | ||
165 | .append-13 {padding-right:520px;} | ||
166 | .append-14 {padding-right:560px;} | ||
167 | .append-15 {padding-right:600px;} | ||
168 | .append-16 {padding-right:640px;} | ||
169 | .append-17 {padding-right:680px;} | ||
170 | .append-18 {padding-right:720px;} | ||
171 | .append-19 {padding-right:760px;} | ||
172 | .append-20 {padding-right:800px;} | ||
173 | .append-21 {padding-right:840px;} | ||
174 | .append-22 {padding-right:880px;} | ||
175 | .append-23 {padding-right:920px;} | ||
176 | .prepend-1 {padding-left:40px;} | ||
177 | .prepend-2 {padding-left:80px;} | ||
178 | .prepend-3 {padding-left:120px;} | ||
179 | .prepend-4 {padding-left:160px;} | ||
180 | .prepend-5 {padding-left:200px;} | ||
181 | .prepend-6 {padding-left:240px;} | ||
182 | .prepend-7 {padding-left:280px;} | ||
183 | .prepend-8 {padding-left:320px;} | ||
184 | .prepend-9 {padding-left:360px;} | ||
185 | .prepend-10 {padding-left:400px;} | ||
186 | .prepend-11 {padding-left:440px;} | ||
187 | .prepend-12 {padding-left:480px;} | ||
188 | .prepend-13 {padding-left:520px;} | ||
189 | .prepend-14 {padding-left:560px;} | ||
190 | .prepend-15 {padding-left:600px;} | ||
191 | .prepend-16 {padding-left:640px;} | ||
192 | .prepend-17 {padding-left:680px;} | ||
193 | .prepend-18 {padding-left:720px;} | ||
194 | .prepend-19 {padding-left:760px;} | ||
195 | .prepend-20 {padding-left:800px;} | ||
196 | .prepend-21 {padding-left:840px;} | ||
197 | .prepend-22 {padding-left:880px;} | ||
198 | .prepend-23 {padding-left:920px;} | ||
199 | .border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;} | ||
200 | .colborder {padding-right:24px;margin-right:25px;border-right:1px solid #eee;} | ||
201 | .pull-1 {margin-left:-40px;} | ||
202 | .pull-2 {margin-left:-80px;} | ||
203 | .pull-3 {margin-left:-120px;} | ||
204 | .pull-4 {margin-left:-160px;} | ||
205 | .pull-5 {margin-left:-200px;} | ||
206 | .pull-6 {margin-left:-240px;} | ||
207 | .pull-7 {margin-left:-280px;} | ||
208 | .pull-8 {margin-left:-320px;} | ||
209 | .pull-9 {margin-left:-360px;} | ||
210 | .pull-10 {margin-left:-400px;} | ||
211 | .pull-11 {margin-left:-440px;} | ||
212 | .pull-12 {margin-left:-480px;} | ||
213 | .pull-13 {margin-left:-520px;} | ||
214 | .pull-14 {margin-left:-560px;} | ||
215 | .pull-15 {margin-left:-600px;} | ||
216 | .pull-16 {margin-left:-640px;} | ||
217 | .pull-17 {margin-left:-680px;} | ||
218 | .pull-18 {margin-left:-720px;} | ||
219 | .pull-19 {margin-left:-760px;} | ||
220 | .pull-20 {margin-left:-800px;} | ||
221 | .pull-21 {margin-left:-840px;} | ||
222 | .pull-22 {margin-left:-880px;} | ||
223 | .pull-23 {margin-left:-920px;} | ||
224 | .pull-24 {margin-left:-960px;} | ||
225 | .pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;} | ||
226 | .push-1 {margin:0 -40px 1.5em 40px;} | ||
227 | .push-2 {margin:0 -80px 1.5em 80px;} | ||
228 | .push-3 {margin:0 -120px 1.5em 120px;} | ||
229 | .push-4 {margin:0 -160px 1.5em 160px;} | ||
230 | .push-5 {margin:0 -200px 1.5em 200px;} | ||
231 | .push-6 {margin:0 -240px 1.5em 240px;} | ||
232 | .push-7 {margin:0 -280px 1.5em 280px;} | ||
233 | .push-8 {margin:0 -320px 1.5em 320px;} | ||
234 | .push-9 {margin:0 -360px 1.5em 360px;} | ||
235 | .push-10 {margin:0 -400px 1.5em 400px;} | ||
236 | .push-11 {margin:0 -440px 1.5em 440px;} | ||
237 | .push-12 {margin:0 -480px 1.5em 480px;} | ||
238 | .push-13 {margin:0 -520px 1.5em 520px;} | ||
239 | .push-14 {margin:0 -560px 1.5em 560px;} | ||
240 | .push-15 {margin:0 -600px 1.5em 600px;} | ||
241 | .push-16 {margin:0 -640px 1.5em 640px;} | ||
242 | .push-17 {margin:0 -680px 1.5em 680px;} | ||
243 | .push-18 {margin:0 -720px 1.5em 720px;} | ||
244 | .push-19 {margin:0 -760px 1.5em 760px;} | ||
245 | .push-20 {margin:0 -800px 1.5em 800px;} | ||
246 | .push-21 {margin:0 -840px 1.5em 840px;} | ||
247 | .push-22 {margin:0 -880px 1.5em 880px;} | ||
248 | .push-23 {margin:0 -920px 1.5em 920px;} | ||
249 | .push-24 {margin:0 -960px 1.5em 960px;} | ||
250 | .push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:right;position:relative;} | ||
251 | .prepend-top {margin-top:1.5em;} | ||
252 | .append-bottom {margin-bottom:1.5em;} | ||
253 | .box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;} | ||
254 | hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;} | ||
255 | hr.space {background:#fff;color:#fff;visibility:hidden;} | ||
256 | .clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;} | ||
257 | .clearfix, .container {display:block;} | ||
258 | .clear {clear:both;} \ No newline at end of file | ||
diff --git a/static/css/blueprint/src/forms.css b/static/css/blueprint/src/forms.css new file mode 100644 index 0000000..b491134 --- /dev/null +++ b/static/css/blueprint/src/forms.css | |||
@@ -0,0 +1,65 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | forms.css | ||
4 | * Sets up some default styling for forms | ||
5 | * Gives you classes to enhance your forms | ||
6 | |||
7 | Usage: | ||
8 | * For text fields, use class .title or .text | ||
9 | * For inline forms, use .inline (even when using columns) | ||
10 | |||
11 | -------------------------------------------------------------- */ | ||
12 | |||
13 | label { font-weight: bold; } | ||
14 | fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; } | ||
15 | legend { font-weight: bold; font-size:1.2em; } | ||
16 | |||
17 | |||
18 | /* Form fields | ||
19 | -------------------------------------------------------------- */ | ||
20 | |||
21 | input[type=text], input[type=password], | ||
22 | input.text, input.title, | ||
23 | textarea, select { | ||
24 | background-color:#fff; | ||
25 | border:1px solid #bbb; | ||
26 | } | ||
27 | input[type=text]:focus, input[type=password]:focus, | ||
28 | input.text:focus, input.title:focus, | ||
29 | textarea:focus, select:focus { | ||
30 | border-color:#666; | ||
31 | } | ||
32 | |||
33 | input[type=text], input[type=password], | ||
34 | input.text, input.title, | ||
35 | textarea, select { | ||
36 | margin:0.5em 0; | ||
37 | } | ||
38 | |||
39 | input.text, | ||
40 | input.title { width: 300px; padding:5px; } | ||
41 | input.title { font-size:1.5em; } | ||
42 | textarea { width: 390px; height: 250px; padding:5px; } | ||
43 | |||
44 | input[type=checkbox], input[type=radio], | ||
45 | input.checkbox, input.radio { | ||
46 | position:relative; top:.25em; | ||
47 | } | ||
48 | |||
49 | form.inline { line-height:3; } | ||
50 | form.inline p { margin-bottom:0; } | ||
51 | |||
52 | |||
53 | /* Success, notice and error boxes | ||
54 | -------------------------------------------------------------- */ | ||
55 | |||
56 | .error, | ||
57 | .notice, | ||
58 | .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; } | ||
59 | |||
60 | .error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; } | ||
61 | .notice { background: #FFF6BF; color: #514721; border-color: #FFD324; } | ||
62 | .success { background: #E6EFC2; color: #264409; border-color: #C6D880; } | ||
63 | .error a { color: #8a1f11; } | ||
64 | .notice a { color: #514721; } | ||
65 | .success a { color: #264409; } | ||
diff --git a/static/css/blueprint/src/grid.css b/static/css/blueprint/src/grid.css new file mode 100755 index 0000000..eb07356 --- /dev/null +++ b/static/css/blueprint/src/grid.css | |||
@@ -0,0 +1,280 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | grid.css | ||
4 | * Sets up an easy-to-use grid of 24 columns. | ||
5 | |||
6 | By default, the grid is 950px wide, with 24 columns | ||
7 | spanning 30px, and a 10px margin between columns. | ||
8 | |||
9 | If you need fewer or more columns, namespaces or semantic | ||
10 | element names, use the compressor script (lib/compress.rb) | ||
11 | |||
12 | -------------------------------------------------------------- */ | ||
13 | |||
14 | /* A container should group all your columns. */ | ||
15 | .container { | ||
16 | width: 950px; | ||
17 | margin: 0 auto; | ||
18 | } | ||
19 | |||
20 | /* Use this class on any .span / container to see the grid. */ | ||
21 | .showgrid { | ||
22 | background: url(src/grid.png); | ||
23 | } | ||
24 | |||
25 | |||
26 | /* Columns | ||
27 | -------------------------------------------------------------- */ | ||
28 | |||
29 | /* Sets up basic grid floating and margin. */ | ||
30 | .column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 { | ||
31 | float: left; | ||
32 | margin-right: 10px; | ||
33 | } | ||
34 | |||
35 | /* The last column in a row needs this class. */ | ||
36 | .last { margin-right: 0; } | ||
37 | |||
38 | /* Use these classes to set the width of a column. */ | ||
39 | .span-1 {width: 30px;} | ||
40 | |||
41 | .span-2 {width: 70px;} | ||
42 | .span-3 {width: 110px;} | ||
43 | .span-4 {width: 150px;} | ||
44 | .span-5 {width: 190px;} | ||
45 | .span-6 {width: 230px;} | ||
46 | .span-7 {width: 270px;} | ||
47 | .span-8 {width: 310px;} | ||
48 | .span-9 {width: 350px;} | ||
49 | .span-10 {width: 390px;} | ||
50 | .span-11 {width: 430px;} | ||
51 | .span-12 {width: 470px;} | ||
52 | .span-13 {width: 510px;} | ||
53 | .span-14 {width: 550px;} | ||
54 | .span-15 {width: 590px;} | ||
55 | .span-16 {width: 630px;} | ||
56 | .span-17 {width: 670px;} | ||
57 | .span-18 {width: 710px;} | ||
58 | .span-19 {width: 750px;} | ||
59 | .span-20 {width: 790px;} | ||
60 | .span-21 {width: 830px;} | ||
61 | .span-22 {width: 870px;} | ||
62 | .span-23 {width: 910px;} | ||
63 | .span-24 {width:950px; margin-right:0;} | ||
64 | |||
65 | /* Use these classes to set the width of an input. */ | ||
66 | input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 { | ||
67 | border-left-width: 1px!important; | ||
68 | border-right-width: 1px!important; | ||
69 | padding-left: 5px!important; | ||
70 | padding-right: 5px!important; | ||
71 | } | ||
72 | |||
73 | input.span-1, textarea.span-1 { width: 18px!important; } | ||
74 | input.span-2, textarea.span-2 { width: 58px!important; } | ||
75 | input.span-3, textarea.span-3 { width: 98px!important; } | ||
76 | input.span-4, textarea.span-4 { width: 138px!important; } | ||
77 | input.span-5, textarea.span-5 { width: 178px!important; } | ||
78 | input.span-6, textarea.span-6 { width: 218px!important; } | ||
79 | input.span-7, textarea.span-7 { width: 258px!important; } | ||
80 | input.span-8, textarea.span-8 { width: 298px!important; } | ||
81 | input.span-9, textarea.span-9 { width: 338px!important; } | ||
82 | input.span-10, textarea.span-10 { width: 378px!important; } | ||
83 | input.span-11, textarea.span-11 { width: 418px!important; } | ||
84 | input.span-12, textarea.span-12 { width: 458px!important; } | ||
85 | input.span-13, textarea.span-13 { width: 498px!important; } | ||
86 | input.span-14, textarea.span-14 { width: 538px!important; } | ||
87 | input.span-15, textarea.span-15 { width: 578px!important; } | ||
88 | input.span-16, textarea.span-16 { width: 618px!important; } | ||
89 | input.span-17, textarea.span-17 { width: 658px!important; } | ||
90 | input.span-18, textarea.span-18 { width: 698px!important; } | ||
91 | input.span-19, textarea.span-19 { width: 738px!important; } | ||
92 | input.span-20, textarea.span-20 { width: 778px!important; } | ||
93 | input.span-21, textarea.span-21 { width: 818px!important; } | ||
94 | input.span-22, textarea.span-22 { width: 858px!important; } | ||
95 | input.span-23, textarea.span-23 { width: 898px!important; } | ||
96 | input.span-24, textarea.span-24 { width: 938px!important; } | ||
97 | |||
98 | /* Add these to a column to append empty cols. */ | ||
99 | |||
100 | .append-1 { padding-right: 40px;} | ||
101 | .append-2 { padding-right: 80px;} | ||
102 | .append-3 { padding-right: 120px;} | ||
103 | .append-4 { padding-right: 160px;} | ||
104 | .append-5 { padding-right: 200px;} | ||
105 | .append-6 { padding-right: 240px;} | ||
106 | .append-7 { padding-right: 280px;} | ||
107 | .append-8 { padding-right: 320px;} | ||
108 | .append-9 { padding-right: 360px;} | ||
109 | .append-10 { padding-right: 400px;} | ||
110 | .append-11 { padding-right: 440px;} | ||
111 | .append-12 { padding-right: 480px;} | ||
112 | .append-13 { padding-right: 520px;} | ||
113 | .append-14 { padding-right: 560px;} | ||
114 | .append-15 { padding-right: 600px;} | ||
115 | .append-16 { padding-right: 640px;} | ||
116 | .append-17 { padding-right: 680px;} | ||
117 | .append-18 { padding-right: 720px;} | ||
118 | .append-19 { padding-right: 760px;} | ||
119 | .append-20 { padding-right: 800px;} | ||
120 | .append-21 { padding-right: 840px;} | ||
121 | .append-22 { padding-right: 880px;} | ||
122 | .append-23 { padding-right: 920px;} | ||
123 | |||
124 | /* Add these to a column to prepend empty cols. */ | ||
125 | |||
126 | .prepend-1 { padding-left: 40px;} | ||
127 | .prepend-2 { padding-left: 80px;} | ||
128 | .prepend-3 { padding-left: 120px;} | ||
129 | .prepend-4 { padding-left: 160px;} | ||
130 | .prepend-5 { padding-left: 200px;} | ||
131 | .prepend-6 { padding-left: 240px;} | ||
132 | .prepend-7 { padding-left: 280px;} | ||
133 | .prepend-8 { padding-left: 320px;} | ||
134 | .prepend-9 { padding-left: 360px;} | ||
135 | .prepend-10 { padding-left: 400px;} | ||
136 | .prepend-11 { padding-left: 440px;} | ||
137 | .prepend-12 { padding-left: 480px;} | ||
138 | .prepend-13 { padding-left: 520px;} | ||
139 | .prepend-14 { padding-left: 560px;} | ||
140 | .prepend-15 { padding-left: 600px;} | ||
141 | .prepend-16 { padding-left: 640px;} | ||
142 | .prepend-17 { padding-left: 680px;} | ||
143 | .prepend-18 { padding-left: 720px;} | ||
144 | .prepend-19 { padding-left: 760px;} | ||
145 | .prepend-20 { padding-left: 800px;} | ||
146 | .prepend-21 { padding-left: 840px;} | ||
147 | .prepend-22 { padding-left: 880px;} | ||
148 | .prepend-23 { padding-left: 920px;} | ||
149 | |||
150 | |||
151 | /* Border on right hand side of a column. */ | ||
152 | .border { | ||
153 | padding-right: 4px; | ||
154 | margin-right: 5px; | ||
155 | border-right: 1px solid #eee; | ||
156 | } | ||
157 | |||
158 | /* Border with more whitespace, spans one column. */ | ||
159 | .colborder { | ||
160 | padding-right: 24px; | ||
161 | margin-right: 25px; | ||
162 | border-right: 1px solid #eee; | ||
163 | } | ||
164 | |||
165 | |||
166 | /* Use these classes on an element to push it into the | ||
167 | next column, or to pull it into the previous column. */ | ||
168 | |||
169 | |||
170 | .pull-1 { margin-left: -40px; } | ||
171 | .pull-2 { margin-left: -80px; } | ||
172 | .pull-3 { margin-left: -120px; } | ||
173 | .pull-4 { margin-left: -160px; } | ||
174 | .pull-5 { margin-left: -200px; } | ||
175 | .pull-6 { margin-left: -240px; } | ||
176 | .pull-7 { margin-left: -280px; } | ||
177 | .pull-8 { margin-left: -320px; } | ||
178 | .pull-9 { margin-left: -360px; } | ||
179 | .pull-10 { margin-left: -400px; } | ||
180 | .pull-11 { margin-left: -440px; } | ||
181 | .pull-12 { margin-left: -480px; } | ||
182 | .pull-13 { margin-left: -520px; } | ||
183 | .pull-14 { margin-left: -560px; } | ||
184 | .pull-15 { margin-left: -600px; } | ||
185 | .pull-16 { margin-left: -640px; } | ||
186 | .pull-17 { margin-left: -680px; } | ||
187 | .pull-18 { margin-left: -720px; } | ||
188 | .pull-19 { margin-left: -760px; } | ||
189 | .pull-20 { margin-left: -800px; } | ||
190 | .pull-21 { margin-left: -840px; } | ||
191 | .pull-22 { margin-left: -880px; } | ||
192 | .pull-23 { margin-left: -920px; } | ||
193 | .pull-24 { margin-left: -960px; } | ||
194 | |||
195 | .pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float: left; position:relative;} | ||
196 | |||
197 | |||
198 | .push-1 { margin: 0 -40px 1.5em 40px; } | ||
199 | .push-2 { margin: 0 -80px 1.5em 80px; } | ||
200 | .push-3 { margin: 0 -120px 1.5em 120px; } | ||
201 | .push-4 { margin: 0 -160px 1.5em 160px; } | ||
202 | .push-5 { margin: 0 -200px 1.5em 200px; } | ||
203 | .push-6 { margin: 0 -240px 1.5em 240px; } | ||
204 | .push-7 { margin: 0 -280px 1.5em 280px; } | ||
205 | .push-8 { margin: 0 -320px 1.5em 320px; } | ||
206 | .push-9 { margin: 0 -360px 1.5em 360px; } | ||
207 | .push-10 { margin: 0 -400px 1.5em 400px; } | ||
208 | .push-11 { margin: 0 -440px 1.5em 440px; } | ||
209 | .push-12 { margin: 0 -480px 1.5em 480px; } | ||
210 | .push-13 { margin: 0 -520px 1.5em 520px; } | ||
211 | .push-14 { margin: 0 -560px 1.5em 560px; } | ||
212 | .push-15 { margin: 0 -600px 1.5em 600px; } | ||
213 | .push-16 { margin: 0 -640px 1.5em 640px; } | ||
214 | .push-17 { margin: 0 -680px 1.5em 680px; } | ||
215 | .push-18 { margin: 0 -720px 1.5em 720px; } | ||
216 | .push-19 { margin: 0 -760px 1.5em 760px; } | ||
217 | .push-20 { margin: 0 -800px 1.5em 800px; } | ||
218 | .push-21 { margin: 0 -840px 1.5em 840px; } | ||
219 | .push-22 { margin: 0 -880px 1.5em 880px; } | ||
220 | .push-23 { margin: 0 -920px 1.5em 920px; } | ||
221 | .push-24 { margin: 0 -960px 1.5em 960px; } | ||
222 | |||
223 | .push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float: right; position:relative;} | ||
224 | |||
225 | |||
226 | /* Misc classes and elements | ||
227 | -------------------------------------------------------------- */ | ||
228 | |||
229 | /* In case you need to add a gutter above/below an element */ | ||
230 | .prepend-top { | ||
231 | margin-top:1.5em; | ||
232 | } | ||
233 | .append-bottom { | ||
234 | margin-bottom:1.5em; | ||
235 | } | ||
236 | |||
237 | /* Use a .box to create a padded box inside a column. */ | ||
238 | .box { | ||
239 | padding: 1.5em; | ||
240 | margin-bottom: 1.5em; | ||
241 | background: #E5ECF9; | ||
242 | } | ||
243 | |||
244 | /* Use this to create a horizontal ruler across a column. */ | ||
245 | hr { | ||
246 | background: #ddd; | ||
247 | color: #ddd; | ||
248 | clear: both; | ||
249 | float: none; | ||
250 | width: 100%; | ||
251 | height: .1em; | ||
252 | margin: 0 0 1.45em; | ||
253 | border: none; | ||
254 | } | ||
255 | |||
256 | hr.space { | ||
257 | background: #fff; | ||
258 | color: #fff; | ||
259 | visibility: hidden; | ||
260 | } | ||
261 | |||
262 | |||
263 | /* Clearing floats without extra markup | ||
264 | Based on How To Clear Floats Without Structural Markup by PiE | ||
265 | [http://www.positioniseverything.net/easyclearing.html] */ | ||
266 | |||
267 | .clearfix:after, .container:after { | ||
268 | content: "\0020"; | ||
269 | display: block; | ||
270 | height: 0; | ||
271 | clear: both; | ||
272 | visibility: hidden; | ||
273 | overflow:hidden; | ||
274 | } | ||
275 | .clearfix, .container {display: block;} | ||
276 | |||
277 | /* Regular clearing | ||
278 | apply to column that should drop below previous ones. */ | ||
279 | |||
280 | .clear { clear:both; } | ||
diff --git a/static/css/blueprint/src/grid.png b/static/css/blueprint/src/grid.png new file mode 100644 index 0000000..d42a6c3 --- /dev/null +++ b/static/css/blueprint/src/grid.png | |||
Binary files differ | |||
diff --git a/static/css/blueprint/src/ie.css b/static/css/blueprint/src/ie.css new file mode 100644 index 0000000..0f458e6 --- /dev/null +++ b/static/css/blueprint/src/ie.css | |||
@@ -0,0 +1,76 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | ie.css | ||
4 | |||
5 | Contains every hack for Internet Explorer, | ||
6 | so that our core files stay sweet and nimble. | ||
7 | |||
8 | -------------------------------------------------------------- */ | ||
9 | |||
10 | /* Make sure the layout is centered in IE5 */ | ||
11 | body { text-align: center; } | ||
12 | .container { text-align: left; } | ||
13 | |||
14 | /* Fixes IE margin bugs */ | ||
15 | * html .column, * html .span-1, * html .span-2, | ||
16 | * html .span-3, * html .span-4, * html .span-5, | ||
17 | * html .span-6, * html .span-7, * html .span-8, | ||
18 | * html .span-9, * html .span-10, * html .span-11, | ||
19 | * html .span-12, * html .span-13, * html .span-14, | ||
20 | * html .span-15, * html .span-16, * html .span-17, | ||
21 | * html .span-18, * html .span-19, * html .span-20, | ||
22 | * html .span-21, * html .span-22, * html .span-23, | ||
23 | * html .span-24 { display:inline; overflow-x: hidden; } | ||
24 | |||
25 | |||
26 | /* Elements | ||
27 | -------------------------------------------------------------- */ | ||
28 | |||
29 | /* Fixes incorrect styling of legend in IE6. */ | ||
30 | * html legend { margin:0px -8px 16px 0; padding:0; } | ||
31 | |||
32 | /* Fixes wrong line-height on sup/sub in IE. */ | ||
33 | sup { vertical-align:text-top; } | ||
34 | sub { vertical-align:text-bottom; } | ||
35 | |||
36 | /* Fixes IE7 missing wrapping of code elements. */ | ||
37 | html>body p code { *white-space: normal; } | ||
38 | |||
39 | /* IE 6&7 has problems with setting proper <hr> margins. */ | ||
40 | hr { margin:-8px auto 11px; } | ||
41 | |||
42 | /* Explicitly set interpolation, allowing dynamically resized images to not look horrible */ | ||
43 | img { -ms-interpolation-mode:bicubic; } | ||
44 | |||
45 | /* Clearing | ||
46 | -------------------------------------------------------------- */ | ||
47 | |||
48 | /* Makes clearfix actually work in IE */ | ||
49 | .clearfix, .container { display:inline-block; } | ||
50 | * html .clearfix, | ||
51 | * html .container { height:1%; } | ||
52 | |||
53 | |||
54 | /* Forms | ||
55 | -------------------------------------------------------------- */ | ||
56 | |||
57 | /* Fixes padding on fieldset */ | ||
58 | fieldset { padding-top:0; } | ||
59 | |||
60 | /* Makes classic textareas in IE 6 resemble other browsers */ | ||
61 | textarea { overflow:auto; } | ||
62 | |||
63 | /* Fixes rule that IE 6 ignores */ | ||
64 | input.text, input.title, textarea { background-color:#fff; border:1px solid #bbb; } | ||
65 | input.text:focus, input.title:focus { border-color:#666; } | ||
66 | input.text, input.title, textarea, select { margin:0.5em 0; } | ||
67 | input.checkbox, input.radio { position:relative; top:.25em; } | ||
68 | |||
69 | /* Fixes alignment of inline form elements */ | ||
70 | form.inline div, form.inline p { vertical-align:middle; } | ||
71 | form.inline label { position:relative;top:-0.25em; } | ||
72 | form.inline input.checkbox, form.inline input.radio, | ||
73 | form.inline input.button, form.inline button { | ||
74 | margin:0.5em 0; | ||
75 | } | ||
76 | button, input.button { position:relative;top:0.25em; } | ||
diff --git a/static/css/blueprint/src/print.css b/static/css/blueprint/src/print.css new file mode 100755 index 0000000..bbc7948 --- /dev/null +++ b/static/css/blueprint/src/print.css | |||
@@ -0,0 +1,85 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | print.css | ||
4 | * Gives you some sensible styles for printing pages. | ||
5 | * See Readme file in this directory for further instructions. | ||
6 | |||
7 | Some additions you'll want to make, customized to your markup: | ||
8 | #header, #footer, #navigation { display:none; } | ||
9 | |||
10 | -------------------------------------------------------------- */ | ||
11 | |||
12 | body { | ||
13 | line-height: 1.5; | ||
14 | font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; | ||
15 | color:#000; | ||
16 | background: none; | ||
17 | font-size: 10pt; | ||
18 | } | ||
19 | |||
20 | |||
21 | /* Layout | ||
22 | -------------------------------------------------------------- */ | ||
23 | |||
24 | .container { | ||
25 | background: none; | ||
26 | } | ||
27 | |||
28 | hr { | ||
29 | background:#ccc; | ||
30 | color:#ccc; | ||
31 | width:100%; | ||
32 | height:2px; | ||
33 | margin:2em 0; | ||
34 | padding:0; | ||
35 | border:none; | ||
36 | } | ||
37 | hr.space { | ||
38 | background: #fff; | ||
39 | color: #fff; | ||
40 | visibility: hidden; | ||
41 | } | ||
42 | |||
43 | |||
44 | /* Text | ||
45 | -------------------------------------------------------------- */ | ||
46 | |||
47 | h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; } | ||
48 | code { font:.9em "Courier New", Monaco, Courier, monospace; } | ||
49 | |||
50 | a img { border:none; } | ||
51 | p img.top { margin-top: 0; } | ||
52 | |||
53 | blockquote { | ||
54 | margin:1.5em; | ||
55 | padding:1em; | ||
56 | font-style:italic; | ||
57 | font-size:.9em; | ||
58 | } | ||
59 | |||
60 | .small { font-size: .9em; } | ||
61 | .large { font-size: 1.1em; } | ||
62 | .quiet { color: #999; } | ||
63 | .hide { display:none; } | ||
64 | |||
65 | |||
66 | /* Links | ||
67 | -------------------------------------------------------------- */ | ||
68 | |||
69 | a:link, a:visited { | ||
70 | background: transparent; | ||
71 | font-weight:700; | ||
72 | text-decoration: underline; | ||
73 | } | ||
74 | |||
75 | a:link:after, a:visited:after { | ||
76 | content: " (" attr(href) ")"; | ||
77 | font-size: 90%; | ||
78 | } | ||
79 | |||
80 | /* If you're having trouble printing relative links, uncomment and customize this: | ||
81 | (note: This is valid CSS3, but it still won't go through the W3C CSS Validator) */ | ||
82 | |||
83 | /* a[href^="/"]:after { | ||
84 | content: " (http://www.yourdomain.com" attr(href) ") "; | ||
85 | } */ | ||
diff --git a/static/css/blueprint/src/reset.css b/static/css/blueprint/src/reset.css new file mode 100755 index 0000000..09d9131 --- /dev/null +++ b/static/css/blueprint/src/reset.css | |||
@@ -0,0 +1,45 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | reset.css | ||
4 | * Resets default browser CSS. | ||
5 | |||
6 | -------------------------------------------------------------- */ | ||
7 | |||
8 | html, body, div, span, object, iframe, | ||
9 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
10 | a, abbr, acronym, address, code, | ||
11 | del, dfn, em, img, q, dl, dt, dd, ol, ul, li, | ||
12 | fieldset, form, label, legend, | ||
13 | table, caption, tbody, tfoot, thead, tr, th, td, | ||
14 | article, aside, dialog, figure, footer, header, | ||
15 | hgroup, nav, section { | ||
16 | margin: 0; | ||
17 | padding: 0; | ||
18 | border: 0; | ||
19 | font-weight: inherit; | ||
20 | font-style: inherit; | ||
21 | font-size: 100%; | ||
22 | font-family: inherit; | ||
23 | vertical-align: baseline; | ||
24 | } | ||
25 | |||
26 | article, aside, dialog, figure, footer, header, | ||
27 | hgroup, nav, section { | ||
28 | display:block; | ||
29 | } | ||
30 | |||
31 | body { | ||
32 | line-height: 1.5; | ||
33 | } | ||
34 | |||
35 | /* Tables still need 'cellspacing="0"' in the markup. */ | ||
36 | table { border-collapse: separate; border-spacing: 0; } | ||
37 | caption, th, td { text-align: left; font-weight: normal; } | ||
38 | table, td, th { vertical-align: middle; } | ||
39 | |||
40 | /* Remove possible quote marks (") from <q>, <blockquote>. */ | ||
41 | blockquote:before, blockquote:after, q:before, q:after { content: ""; } | ||
42 | blockquote, q { quotes: "" ""; } | ||
43 | |||
44 | /* Remove annoying border on linked images. */ | ||
45 | a img { border: none; } | ||
diff --git a/static/css/blueprint/src/typography.css b/static/css/blueprint/src/typography.css new file mode 100644 index 0000000..a1cfe27 --- /dev/null +++ b/static/css/blueprint/src/typography.css | |||
@@ -0,0 +1,106 @@ | |||
1 | /* -------------------------------------------------------------- | ||
2 | |||
3 | typography.css | ||
4 | * Sets up some sensible default typography. | ||
5 | |||
6 | -------------------------------------------------------------- */ | ||
7 | |||
8 | /* Default font settings. | ||
9 | The font-size percentage is of 16px. (0.75 * 16px = 12px) */ | ||
10 | html { font-size:100.01%; } | ||
11 | body { | ||
12 | font-size: 75%; | ||
13 | color: #222; | ||
14 | background: #fff; | ||
15 | font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; | ||
16 | } | ||
17 | |||
18 | |||
19 | /* Headings | ||
20 | -------------------------------------------------------------- */ | ||
21 | |||
22 | h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; } | ||
23 | |||
24 | h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; } | ||
25 | h2 { font-size: 2em; margin-bottom: 0.75em; } | ||
26 | h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; } | ||
27 | h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; } | ||
28 | h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; } | ||
29 | h6 { font-size: 1em; font-weight: bold; } | ||
30 | |||
31 | h1 img, h2 img, h3 img, | ||
32 | h4 img, h5 img, h6 img { | ||
33 | margin: 0; | ||
34 | } | ||
35 | |||
36 | |||
37 | /* Text elements | ||
38 | -------------------------------------------------------------- */ | ||
39 | |||
40 | p { margin: 0 0 1.5em; } | ||
41 | p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } | ||
42 | p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; } | ||
43 | |||
44 | a:focus, | ||
45 | a:hover { color: #000; } | ||
46 | a { color: #009; text-decoration: underline; } | ||
47 | |||
48 | blockquote { margin: 1.5em; color: #666; font-style: italic; } | ||
49 | strong { font-weight: bold; } | ||
50 | em,dfn { font-style: italic; } | ||
51 | dfn { font-weight: bold; } | ||
52 | sup, sub { line-height: 0; } | ||
53 | |||
54 | abbr, | ||
55 | acronym { border-bottom: 1px dotted #666; } | ||
56 | address { margin: 0 0 1.5em; font-style: italic; } | ||
57 | del { color:#666; } | ||
58 | |||
59 | pre { margin: 1.5em 0; white-space: pre; } | ||
60 | pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } | ||
61 | |||
62 | |||
63 | /* Lists | ||
64 | -------------------------------------------------------------- */ | ||
65 | |||
66 | li ul, | ||
67 | li ol { margin: 0; } | ||
68 | ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; } | ||
69 | |||
70 | ul { list-style-type: disc; } | ||
71 | ol { list-style-type: decimal; } | ||
72 | |||
73 | dl { margin: 0 0 1.5em 0; } | ||
74 | dl dt { font-weight: bold; } | ||
75 | dd { margin-left: 1.5em;} | ||
76 | |||
77 | |||
78 | /* Tables | ||
79 | -------------------------------------------------------------- */ | ||
80 | |||
81 | table { margin-bottom: 1.4em; width:100%; } | ||
82 | th { font-weight: bold; } | ||
83 | thead th { background: #c3d9ff; } | ||
84 | th,td,caption { padding: 4px 10px 4px 5px; } | ||
85 | tr.even td { background: #e5ecf9; } | ||
86 | tfoot { font-style: italic; } | ||
87 | caption { background: #eee; } | ||
88 | |||
89 | |||
90 | /* Misc classes | ||
91 | -------------------------------------------------------------- */ | ||
92 | |||
93 | .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; } | ||
94 | .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; } | ||
95 | .hide { display: none; } | ||
96 | |||
97 | .quiet { color: #666; } | ||
98 | .loud { color: #000; } | ||
99 | .highlight { background:#ff0; } | ||
100 | .added { background:#060; color: #fff; } | ||
101 | .removed { background:#900; color: #fff; } | ||
102 | |||
103 | .first { margin-left:0; padding-left:0; } | ||
104 | .last { margin-right:0; padding-right:0; } | ||
105 | .top { margin-top:0; padding-top:0; } | ||
106 | .bottom { margin-bottom:0; padding-bottom:0; } | ||