Skip to content
This repository
Browse code

remove blueprint in IE and Print stylesheets

  • Loading branch information...
commit 14905f985315e787b27abfe787fd8d41f484b962 1 parent 170636e
Julien Fache authored
2  zinnia/static/zinnia/css/ie.css
... ... @@ -1 +1 @@
1   -.zinnia{text-align:center}* html .zinnia legend{margin:0px -8px 16px 0;padding:0}html>.zinnia p code{*white-space:normal}.zinnia .container{text-align:left}.zinnia sup{vertical-align:text-top}.zinnia sub{vertical-align:text-bottom}.zinnia hr{margin:-8px auto 11px}.zinnia img{-ms-interpolation-mode:bicubic}.zinnia fieldset{padding-top:0}.zinnia legend{margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em}.zinnia fieldset,.zinnia #IE8#HACK{padding-top:1.4em}.zinnia legend,.zinnia #IE8#HACK{margin-top:0;margin-bottom:0}.zinnia textarea{overflow:auto}.zinnia label{position:relative;top:-0.25em}.zinnia input.text{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.text:focus{border:1px solid #666666}.zinnia input.title{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.title:focus{border:1px solid #666666}.zinnia input.checkbox{position:relative;top:0.25em}.zinnia input.radio{position:relative;top:0.25em}.zinnia input.button{position:relative;top:0.25em}.zinnia textarea{margin:0.5em 0}.zinnia select{margin:0.5em 0}.zinnia button{position:relative;top:0.25em}.zinnia .container{text-align:left}
  1 +.zinnia{text-align:center}* html .zinnia legend{margin:0px -8px 16px 0;padding:0}html>.zinnia p code{*white-space:normal}.zinnia .container{text-align:left}.zinnia sup{vertical-align:text-top}.zinnia sub{vertical-align:text-bottom}.zinnia hr{margin:-8px auto 11px}.zinnia img{-ms-interpolation-mode:bicubic}.zinnia fieldset{padding-top:0}.zinnia legend{margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em}.zinnia fieldset,.zinnia #IE8#HACK{padding-top:1.4em}.zinnia legend,.zinnia #IE8#HACK{margin-top:0;margin-bottom:0}.zinnia textarea{overflow:auto}.zinnia label{position:relative;top:-0.25em}.zinnia input.text{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.text:focus{border:1px solid #666666}.zinnia input.title{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.title:focus{border:1px solid #666666}.zinnia input.checkbox{position:relative;top:0.25em}.zinnia input.radio{position:relative;top:0.25em}.zinnia input.button{position:relative;top:0.25em}.zinnia textarea{margin:0.5em 0}.zinnia select{margin:0.5em 0}.zinnia button{position:relative;top:0.25em}
2  zinnia/static/zinnia/css/print.css
... ... @@ -1 +1 @@
1   -.zinnia{line-height:1.5;font-family:Arial, Helvetica, sans-serif;color:black;background:none;font-size:10pt;font-size:2em}.zinnia .container{background:none}.zinnia hr{background:#cccccc;color:#cccccc;width:100%;height:2px;margin:2em 0;padding:0;border:none}.zinnia hr.space{background:white;color:white}.zinnia h1,.zinnia h2,.zinnia h3,.zinnia h4,.zinnia h5,.zinnia h6{font-family:Arial, Helvetica, sans-serif}.zinnia code{font-size:0.9em;font-family:"andale mono","lucida console",monospace}.zinnia a img{border:none}.zinnia a:link,.zinnia a:visited{background:transparent;font-weight:700;text-decoration:underline}.zinnia p img.top{margin-top:0}.zinnia blockquote{margin:1.5em;padding:1em;font-style:italic;font-size:0.9em}.zinnia .small{font-size:0.9em}.zinnia .large{font-size:1.1em}.zinnia .quiet{color:#999999}.zinnia .hide{display:none}.zinnia a,.zinnia a:link,.zinnia a:visited,.zinnia a:focus,.zinnia a:active,.zinnia a:hover{text-decoration:none;color:#06a}#sidebar,.top-navigation,.comment-form{display:none}#header h1{margin-bottom:0}#header h1 a{font-size:2em;font-weight:bold}
  1 +.zinnia{line-height:1.5;font-family:Arial, Helvetica, sans-serif;color:black;background:none;font-size:10pt}.zinnia a,.zinnia a:link,.zinnia a:visited,.zinnia a:focus,.zinnia a:active,.zinnia a:hover{text-decoration:none;color:#06a}#sidebar,.top-navigation,.comment-form{display:none}#header h1{margin-bottom:0}#header h1 a{font-size:2em;font-weight:bold}
68 zinnia/static/zinnia/sass/ie.scss
... ... @@ -1,8 +1,70 @@
1   -@import "blueprint";
2   -
3 1 .zinnia {
4   - @include blueprint-ie(true);
  2 + text-align: center;
  3 + * html & {
  4 + legend {
  5 + margin: 0px -8px 16px 0;
  6 + padding: 0;
  7 + }
  8 + }
  9 +
  10 + html>& {
  11 + p code {
  12 + *white-space: normal;
  13 + }
  14 + }
  15 +
5 16 .container {
6 17 text-align: left
7 18 }
  19 +
  20 + sup {
  21 + vertical-align: text-top; }
  22 + sub {
  23 + vertical-align: text-bottom; }
  24 + hr {
  25 + margin: -8px auto 11px; }
  26 + img {
  27 + -ms-interpolation-mode: bicubic; }
  28 + fieldset {
  29 + padding-top: 0; }
  30 + legend {
  31 + margin-top: -0.2em;
  32 + margin-bottom: 1em;
  33 + margin-left: -0.5em; }
  34 + fieldset, #IE8#HACK {padding-top:1.4em;}
  35 + legend, #IE8#HACK {margin-top:0;margin-bottom:0;}
  36 + textarea {
  37 + overflow: auto; }
  38 + label {
  39 + position: relative;
  40 + top: -0.25em; }
  41 + input {
  42 + &.text {
  43 + margin: 0.5em 0;
  44 + background-color: white;
  45 + border: 1px solid #bbbbbb;
  46 + &:focus {
  47 + border: 1px solid #666666; } }
  48 + &.title {
  49 + margin: 0.5em 0;
  50 + background-color: white;
  51 + border: 1px solid #bbbbbb;
  52 + &:focus {
  53 + border: 1px solid #666666; } }
  54 + &.checkbox {
  55 + position: relative;
  56 + top: 0.25em; }
  57 + &.radio {
  58 + position: relative;
  59 + top: 0.25em; }
  60 + &.button {
  61 + position: relative;
  62 + top: 0.25em; } }
  63 + textarea {
  64 + margin: 0.5em 0; }
  65 + select {
  66 + margin: 0.5em 0; }
  67 + button {
  68 + position: relative;
  69 + top: 0.25em; }
8 70 }
9 zinnia/static/zinnia/sass/print.scss
... ... @@ -1,9 +1,12 @@
1 1 @import "config/base";
2   -@import "blueprint";
3 2
4 3 .zinnia {
5   - @include blueprint-print(true);
6   - font-size: 2em;
  4 + line-height: 1.5;
  5 + font-family: $font-family;
  6 + color: black;
  7 + background: none;
  8 + font-size: 10pt;
  9 +
7 10 a, a:link, a:visited, a:focus, a:active, a:hover {
8 11 text-decoration: none;
9 12 color: $link-color;

0 comments on commit 14905f9

Please sign in to comment.
Something went wrong with that request. Please try again.