Permalink
Browse files

Remove old style, initial new style commit.

  • Loading branch information...
1 parent 37fc328 commit 2ccb443c31c7847c38fccbe027d36f83d8c98a47 @dracos dracos committed Jun 27, 2012
Showing with 1,343 additions and 117 deletions.
  1. +3 −0 .gitignore
  2. +15 −0 bin/make_css
  3. BIN mapit/static/mapit/compassS.jpg
  4. +0 −117 mapit/static/mapit/css.css
  5. BIN mapit/static/mapit/englandS.png
  6. BIN mapit/static/mapit/fonts/exljbris-museoslab-500.eot
  7. +247 −0 mapit/static/mapit/fonts/exljbris-museoslab-500.svg
  8. BIN mapit/static/mapit/fonts/exljbris-museoslab-500.ttf
  9. BIN mapit/static/mapit/fonts/exljbris-museoslab-500.woff
  10. BIN mapit/static/mapit/img/global-cross_sell.png
  11. BIN mapit/static/mapit/img/global-header.jpg
  12. BIN mapit/static/mapit/img/home-icon.png
  13. BIN mapit/static/mapit/img/page-top-donate.png
  14. BIN mapit/static/mapit/img/page-top-grad.png
  15. BIN mapit/static/mapit/img/page-top-mysociety.png
  16. BIN mapit/static/mapit/img/uk-cross_sell.png
  17. BIN mapit/static/mapit/img/union_flag.jpg
  18. BIN mapit/static/mapit/img/union_flag2.jpg
  19. BIN mapit/static/mapit/mysociety_smT.png
  20. BIN mapit/static/mapit/niS.png
  21. 0 mapit/static/mapit/sass/base/_colours.scss
  22. 0 mapit/static/mapit/sass/base/_forms.scss
  23. +19 −0 mapit/static/mapit/sass/base/_grid.scss
  24. +40 −0 mapit/static/mapit/sass/base/_mixins.scss
  25. +523 −0 mapit/static/mapit/sass/base/_normalise.scss
  26. +6 −0 mapit/static/mapit/sass/base/_typography.scss
  27. +7 −0 mapit/static/mapit/sass/base/_webfonts.scss
  28. +19 −0 mapit/static/mapit/sass/mapit.scss
  29. +129 −0 mapit/static/mapit/sass/modules/_api_docs.scss
  30. +49 −0 mapit/static/mapit/sass/modules/_footer.scss
  31. +84 −0 mapit/static/mapit/sass/modules/_header.scss
  32. +36 −0 mapit/static/mapit/sass/modules/_mapit-cross-sell.scss
  33. +22 −0 mapit/static/mapit/sass/modules/_mysociety-org-bar.scss
  34. +26 −0 mapit/static/mapit/sass/modules/_try-mapit.scss
  35. +76 −0 mapit/static/mapit/sass/modules/area_list.scss
  36. +42 −0 mapit/static/mapit/sass/modules/area_view.scss
  37. BIN mapit/static/mapit/scotlandS.png
  38. BIN mapit/static/mapit/walesS.png
View
@@ -9,3 +9,6 @@
/dist
*~
/.coverage
+
+.sass-cache
+/mapit/static/mapit/css
View
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# make_css:
+# Generate CSS files from SCSS files.
+#
+# Requires sass which you can get from http://sass-lang.com/
+#
+# Copyright (c) 2012 UK Citizens Online Democracy. All rights reserved.
+# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
+
+DIRECTORY=$(cd `dirname $0`/.. && pwd)
+
+mkdir -p $DIRECTORY/mapit/static/mapit/css
+sass --scss --style compressed $DIRECTORY/mapit/static/mapit/sass/mapit.scss $DIRECTORY/mapit/static/mapit/css/mapit.css
+
Deleted file not rendered
View
@@ -1,117 +0,0 @@
-body {
- font-family: Tahoma, Geneva, sans-serif;
- line-height: 1.5;
- margin: 0;
- padding: 1em;
- background-image: url("/static/mapit/compassS.jpg");
- background-position: 0 0;
- background-attachment: fixed;
- background-repeat: no-repeat;
-}
-
-li {
- margin-bottom: 0.5em;
-}
-
-blockquote {
- width: 20em;
- float: right;
- margin: 0 0 1.5em 1.5em;
- font-style: italic;
-}
-
-h1 {
- margin: 0;
-}
-
-h2 {
- margin-bottom: 0;
-}
-
-h3 {
- font-size: 120%;
- line-height: 1.25;
-}
-
-input {
- font-size: 99%;
-}
-
-#logo {
- float: right;
- margin: 0 0 1.5em 3em;
-}
-
-#content {
- clear: both;
-}
-
-#copyright {
- float: left;
- width: 18em;
- margin-right: 1em;
- border-right: solid 1px #999999;
- padding-right: 1em;
- color: #222222;
-}
-
-#donate {
- background-image: url("http://old.mysociety.org/wp/wp-content/themes/mysociety/images/piggy.png");
- background-position: 0 1em;
- background-repeat: no-repeat;
- min-height: 56px;
- padding-left: 52px;
- float: right;
- width: 20em;
- margin-left: 2em;
- padding-top: 1em;
- padding-bottom: 1em;
- border-top: solid 1px #999999;
- border-bottom: solid 1px #999999;
-}
-
-#col1 {
- float: left;
- width: 49%;
- clear: both;
-}
-#col2 {
- float: right;
- width: 49%;
-}
-
-#nipic {
- margin: 0 0 1em 1em;
-}
-
-#footer {
- clear: both;
- text-align: center;
- padding-top: 1em;
- border-top: solid 1px #999999;
-}
-
-form {
- clear: right;
- float: right;
- font-size: 125%;
- padding-left: 52px;
- width: 16em;
- margin-left: 1.6em;
- padding-top: 1em;
- padding-bottom: 1em;
-}
-
-#mapBox {
- margin-left: 1em;
- margin-bottom: 1em;
- float: right;
-}
-#map {
- width: 390px;
- height: 390px;
- border: solid 1px #999999;
-}
-.olControlAttribution {
- bottom: 3px !important;
-}
Deleted file not rendered
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Deleted file not rendered
View
Deleted file not rendered
No changes.
No changes.
@@ -0,0 +1,19 @@
+
+@mixin full_page{
+ width: 100%;
+ clear: both;
+}
+
+@mixin full_grid($initial_padding_left:0, $initial_padding_right:0){
+ @media (min-width : 60em) {
+ width: 60em;
+ }
+ @media (min-width : 63.75em) {
+ width: 63.75em;
+ padding-left: $initial_padding_left + 1.875em;
+ padding-right: $initial_padding_right + 1.875em;
+ }
+ max-width:100%;
+ margin: auto;
+ background-color: #fff;
+}
@@ -0,0 +1,40 @@
+@mixin border-radius($rad){
+ -webkit-border-radius: $rad;
+ -moz-border-radius: $rad;
+ -ms-border-radius: $rad;
+ -o-border-radius: $rad;
+ border-radius: $rad;
+}
+
+@mixin transition($values){
+ -webkit-transition: $values;
+ -moz-transition: $values;
+ -ms-transition: $values;
+ -o-transition: $values;
+ transition: $values;
+}
+
+@mixin clearfix{
+ &:before,
+ &:after{
+ content:"";
+ display:table;
+ }
+ &:after {
+ clear:both;
+ }
+ *zoom:1;
+
+}
+
+@mixin resetlist{
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ text-indent: 0;
+
+ &>li{
+ margin: 0;
+ padding: 0;
+ }
+}
Oops, something went wrong.

0 comments on commit 2ccb443

Please sign in to comment.