Changeset - 0d89044354de
[Not reviewed]
4 1 0
Michal Nazarewicz - 8 years ago 2015-12-21 19:09:02
mina86@mina86.com
[PATCH 2/2] Replace gradient images with CSS gradients.
5 files changed with 30 insertions and 6 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/css/conservancy.css
Show inline comments
...
 
@@ -101,3 +101,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
  font-size: .8em;
 
  background: url(/img/nav-bg-campaign.png) bottom repeat-x;
 
  background: #ffd843;
 
  background: -moz-linear-gradient(top, #fff, #ffd533);
 
  background: -webkit-linear-gradient(top, #fff, #ffd533);
 
  background: linear-gradient(to bottom, #fff, #ffd533);
 
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffd533', GradientType=0);
 
  border-color: #ffffff;
...
 
@@ -111,3 +115,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
  font-size: .8em;
 
  background: #fff url(/img/nav-bg.png) bottom repeat-x;
 
  background: #eaf1f1;
 
  background: -moz-linear-gradient(top, #fff, #eaf1f1);
 
  background: -webkit-linear-gradient(top, #fff, #eaf1f1);
 
  background: linear-gradient(to bottom, #fff, #eaf1f1);
 
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaf1f1', GradientType=0);
 
  border-color: #ffffff;
...
 
@@ -193,3 +201,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
    border: 1px solid #CCC;
 
    background: #fff url(/img/nav-bg.png) bottom repeat-x;
 
    background: #ffd843;
 
    background: -moz-linear-gradient(top, #fff, #ffd533);
 
    background: -webkit-linear-gradient(top, #fff, #ffd533);
 
    background: linear-gradient(to bottom, #fff, #ffd533);
 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffd533', GradientType=0);
 
}
...
 
@@ -216,3 +228,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
    font-weight: bold;
 
    background: #fff url(/img/nav-bg-up.png) top repeat-x;
 
    background: #ffd843;
 
    background: -moz-linear-gradient(bottom, #fff, #ffd533);
 
    background: -webkit-linear-gradient(bottom, #fff, #ffd533);
 
    background: linear-gradient(to top, #fff, #ffd533);
 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd533', endColorstr='#ffffff', GradientType=0);
 
}
...
 
@@ -332,3 +348,7 @@ body.conservancy-sponsors #navbar ul li.sponsors a /* NO COMMA HERE! */
 
    font-weight: bold;
 
    background: #fff url(/img/nav-bg-up.png) top repeat-x;
 
    background: #ffd843;
 
    background: -moz-linear-gradient(bottom, #fff, #ffd533);
 
    background: -webkit-linear-gradient(bottom, #fff, #ffd533);
 
    background: linear-gradient(to top, #fff, #ffd533);
 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd533', endColorstr='#ffffff', GradientType=0);
 
}
...
 
@@ -338,3 +358,7 @@ body.conservancy-supporter #navbar ul li.supporter a
 
    font-weight: bold;
 
    background: url(/img/nav-bg-campaign-up.png) bottom repeat-x;
 
    background: #ffd843;
 
    background: -moz-linear-gradient(bottom, #fff, #ffd533);
 
    background: -webkit-linear-gradient(bottom, #fff, #ffd533);
 
    background: linear-gradient(to top, #fff, #ffd533);
 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd533', endColorstr='#ffffff', GradientType=0);
 
}
www/conservancy/static/img/nav-bg-campaign-up.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
www/conservancy/static/img/nav-bg-campaign.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
www/conservancy/static/img/nav-bg-up.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
www/conservancy/static/img/nav-bg.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
0 comments (0 inline, 0 general)