Bläddra i källkod

orange grafana.com seemed too much. making it gray

Trent White 8 år sedan
förälder
incheckning
5ed7d65b0e

+ 1 - 1
public/app/core/components/search/search.html

@@ -69,7 +69,7 @@
 		</a>
 
 		<a class="pull-right search-button-row-explore-link" target="_blank" href="https://grafana.com/dashboards?utm_source=grafana_search">
-      		Find <img src="public/img/icn-dashboard-tiny.svg" /> dashboards on <span>Grafana.com</span>
+      		Find <img src="public/img/icn-dashboard-tiny.svg" width="14" /> dashboards on Grafana.com
 		</a>
 
  		<div class="clearfix"></div>

+ 1 - 1
public/app/features/plugins/partials/plugin_list.html

@@ -27,7 +27,7 @@
 			</ul>
 
       <a class="get-more-plugins-link" href="https://grafana.com/plugins?utm_source=grafana_plugin_list" target="_blank">
-        Find more <img src="public/img/icn-plugins-tiny.svg" />plugins on <span>Grafana.com</span>
+        Find more <img src="public/img/icn-plugins-tiny.svg" />plugins on Grafana.com
       </a>
     </div>
   </div>

+ 17 - 13
public/img/icn-dashboard-tiny.svg

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
+	 width="16px" height="17px" viewBox="0 0 16 17" style="enable-background:new 0 0 16 17;" xml:space="preserve">
 <style type="text/css">
 	.st0{fill:url(#SVGID_1_);}
 	.st1{fill:url(#SVGID_2_);}
@@ -10,36 +10,40 @@
 </style>
 <g>
 	<g>
-		<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="3.8684" y1="23.9248" x2="3.8684" y2="-0.5685">
+		
+			<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="3.9" y1="-5.2803" x2="3.9" y2="19.213" gradientTransform="matrix(1 0 0 -1 0 18.289)">
 			<stop  offset="0" style="stop-color:#FFF200"/>
 			<stop  offset="1" style="stop-color:#F15A29"/>
 		</linearGradient>
-		<path class="st0" d="M5.9,7.4H1.8C1,7.4,0.4,6.8,0.4,6V1.9c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4V6
-			C7.3,6.8,6.7,7.4,5.9,7.4z"/>
+		<path class="st0" d="M5.9,7H1.8C1,7,0.4,6.4,0.4,5.6V1.5c0-0.8,0.6-1.4,1.4-1.4H6c0.8,0,1.4,0.6,1.4,1.4v4.1C7.3,6.4,6.7,7,5.9,7z
+			"/>
 	</g>
 	<g>
-		<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="12.1316" y1="23.9248" x2="12.1316" y2="-0.5685">
+		
+			<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="12.2" y1="-5.2803" x2="12.2" y2="19.213" gradientTransform="matrix(1 0 0 -1 0 18.289)">
 			<stop  offset="0" style="stop-color:#FFF200"/>
 			<stop  offset="1" style="stop-color:#F15A29"/>
 		</linearGradient>
-		<path class="st1" d="M14.2,7.4h-4.2C9.3,7.4,8.7,6.8,8.7,6V1.9c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4V6
-			C15.6,6.8,15,7.4,14.2,7.4z"/>
+		<path class="st1" d="M14.2,7H10C9.3,7,8.7,6.4,8.7,5.6V1.5c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4v4.1
+			C15.6,6.4,15,7,14.2,7z"/>
 	</g>
 	<g>
-		<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="3.8684" y1="23.9248" x2="3.8684" y2="-0.5685">
+		
+			<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="3.9" y1="-5.2803" x2="3.9" y2="19.213" gradientTransform="matrix(1 0 0 -1 0 18.289)">
 			<stop  offset="0" style="stop-color:#FFF200"/>
 			<stop  offset="1" style="stop-color:#F15A29"/>
 		</linearGradient>
-		<path class="st2" d="M5.9,15.5H1.8c-0.8,0-1.4-0.6-1.4-1.4V10c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4v4.2
-			C7.3,14.9,6.7,15.5,5.9,15.5z"/>
+		<path class="st2" d="M5.9,15.1H1.8c-0.8,0-1.4-0.6-1.4-1.4V9.6c0-0.8,0.6-1.4,1.4-1.4H6c0.8,0,1.4,0.6,1.4,1.4v4.2
+			C7.3,14.5,6.7,15.1,5.9,15.1z"/>
 	</g>
 	<g>
-		<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="12.1316" y1="23.9248" x2="12.1316" y2="-0.5685">
+		
+			<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="12.1" y1="-5.2803" x2="12.1" y2="19.213" gradientTransform="matrix(1 0 0 -1 0 18.289)">
 			<stop  offset="0" style="stop-color:#FFF200"/>
 			<stop  offset="1" style="stop-color:#F15A29"/>
 		</linearGradient>
-		<path class="st3" d="M14.2,15.5h-4.2c-0.8,0-1.4-0.6-1.4-1.4V10c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4v4.2
-			C15.6,14.9,15,15.5,14.2,15.5z"/>
+		<path class="st3" d="M14.2,15.1H10c-0.8,0-1.4-0.6-1.4-1.4V9.6c0-0.8,0.6-1.4,1.4-1.4h4.2c0.8,0,1.4,0.6,1.4,1.4v4.2
+			C15.6,14.5,15,15.1,14.2,15.1z"/>
 	</g>
 </g>
 </svg>

+ 3 - 6
public/sass/components/_search.scss

@@ -107,18 +107,15 @@
   }
 
   .search-button-row-explore-link {
-    color: $text-muted;
+    color: $gray-3;
     font-size: $font-size-sm;
     position: relative;
-    top: 0;
+    top: 1.0rem;
     &:hover {
       color: $link-hover-color;
     }
-    span {
-      color: $brand-primary;
-    }
     img {
-      vertical-align: top;
+      vertical-align: text-bottom;
     }
   }
 }

+ 1 - 4
public/sass/pages/_plugins.scss

@@ -38,16 +38,13 @@
 }
 
 .get-more-plugins-link {
-  color: $text-muted;
+  color: $gray-3;
   font-size: $font-size-sm;
   position: relative;
   top: 1.2rem;
   &:hover {
     color: $link-hover-color;
   }
-  span {
-    color: $brand-primary;
-  }
   img {
     vertical-align: top;
   }