Cog size adjustments
SVG and PNG versions have been modified to be of the same dimensions. The sprite now is a 14x14px cog with an additional transparent pixel above and below. resulting in two 14x16px areas. The added margin solves the problem of image being cropped when zooming. Bug: 50742 Change-Id: Iab4f578bdb1ea55c51eb528527fc38ce44c7be69
This commit is contained in:
committed by
Niklas Laxström
parent
8df7b1ea02
commit
d8c1f40f66
@@ -13,8 +13,7 @@
|
||||
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
|
||||
background-image: -moz-linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
|
||||
background-image: linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
|
||||
background-size: 14px auto;
|
||||
height: 14px;
|
||||
height: 16px;
|
||||
width: 14px;
|
||||
float: right;
|
||||
cursor: pointer;
|
||||
@@ -22,11 +21,11 @@
|
||||
|
||||
.skin-vector #p-lang .uls-settings-trigger {
|
||||
/* Put it in the middle of the first row of the section title */
|
||||
margin-top: 4px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#p-lang .uls-settings-trigger:hover {
|
||||
background-position: right -18px;
|
||||
background-position: right -16px;
|
||||
}
|
||||
|
||||
/* Opera for some inexplicable reason confuses right and left padding with */
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 633 B |
@@ -19,11 +19,11 @@
|
||||
id="defs6" />
|
||||
|
||||
<path
|
||||
d="m 6.032,18 c -0.231,0 -0.418,0.187 -0.418,0.418 v 1.064 c -0.541,0.134 -1.062,0.35 -1.551,0.645 l -0.75,-0.75 c -0.164,-0.164 -0.429,-0.164 -0.593,0 l -1.36,1.36 c -0.164,0.164 -0.164,0.429 0,0.593 l 0.75,0.75 C 1.818,22.568 1.615,23.095 1.483,23.631 H 0.418 C 0.187,23.631 0,23.818 0,24.05 v 1.918 c 0,0.231 0.187,0.419 0.418,0.419 h 1.046 c 0.134,0.541 0.351,1.061 0.645,1.551 l -0.75,0.75 c -0.164,0.164 -0.164,0.429 0,0.593 l 1.36,1.36 c 0.164,0.164 0.429,0.164 0.593,0 l 0.75,-0.75 c 0.491,0.297 1.01,0.493 1.551,0.627 v 1.064 C 5.614,31.813 5.801,32 6.032,32 H 7.95 c 0.231,0 0.419,-0.187 0.419,-0.418 V 30.518 C 8.911,30.385 9.43,30.185 9.92,29.891 l 0.75,0.75 c 0.164,0.164 0.429,0.164 0.593,0 l 1.36,-1.36 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -0.75,-0.75 c 0.295,-0.488 0.51,-1.014 0.645,-1.551 h 1.064 C 13.813,26.387 14,26.199 14,25.968 V 24.05 c 0,-0.231 -0.187,-0.419 -0.418,-0.419 H 12.518 C 12.385,23.094 12.164,22.567 11.873,22.08 l 0.75,-0.75 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -1.36,-1.36 c -0.164,-0.164 -0.429,-0.164 -0.593,0 l -0.75,0.75 C 9.43,19.833 8.908,19.615 8.369,19.482 V 18.418 C 8.369,18.187 8.182,18 7.95,18 H 6.032 z m 0.889,4.358 c 0.678,-0.018 1.37,0.212 1.901,0.715 1.062,1.007 1.111,2.687 0.104,3.749 -1.005,1.059 -2.686,1.105 -3.749,0.104 -1.062,-1.007 -1.112,-2.687 -0.105,-3.749 0.505,-0.531 1.172,-0.8 1.849,-0.819 z"
|
||||
d="m 6.032,17 c -0.231,0 -0.418,0.187 -0.418,0.418 v 1.064 c -0.541,0.134 -1.062,0.35 -1.551,0.645 l -0.75,-0.75 c -0.164,-0.164 -0.429,-0.164 -0.593,0 l -1.36,1.36 c -0.164,0.164 -0.164,0.429 0,0.593 l 0.75,0.75 C 1.818,21.568 1.615,22.095 1.483,22.631 H 0.418 C 0.187,22.631 0,22.818 0,23.05 v 1.918 c 0,0.231 0.187,0.419 0.418,0.419 h 1.046 c 0.134,0.541 0.351,1.061 0.645,1.551 l -0.75,0.75 c -0.164,0.164 -0.164,0.429 0,0.593 l 1.36,1.36 c 0.164,0.164 0.429,0.164 0.593,0 l 0.75,-0.75 c 0.491,0.297 1.01,0.493 1.551,0.627 v 1.064 C 5.614,30.813 5.801,31 6.032,31 H 7.95 c 0.231,0 0.419,-0.187 0.419,-0.418 V 29.518 C 8.911,29.385 9.43,29.185 9.92,28.891 l 0.75,0.75 c 0.164,0.164 0.429,0.164 0.593,0 l 1.36,-1.36 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -0.75,-0.75 c 0.295,-0.488 0.51,-1.014 0.645,-1.551 h 1.064 C 13.813,25.387 14,25.199 14,24.968 V 23.05 c 0,-0.231 -0.187,-0.419 -0.418,-0.419 H 12.518 C 12.385,22.094 12.164,21.567 11.873,21.08 l 0.75,-0.75 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -1.36,-1.36 c -0.164,-0.164 -0.429,-0.164 -0.593,0 l -0.75,0.75 C 9.43,18.833 8.908,18.615 8.369,18.482 V 17.418 C 8.369,17.187 8.182,17 7.95,17 H 6.032 z m 0.889,4.358 c 0.678,-0.018 1.37,0.212 1.901,0.715 1.062,1.007 1.111,2.687 0.104,3.749 -1.005,1.059 -2.686,1.105 -3.749,0.104 -1.062,-1.007 -1.112,-2.687 -0.105,-3.749 0.505,-0.531 1.172,-0.8 1.849,-0.819 z"
|
||||
id="rect3381-0"
|
||||
style="fill:#555555" />
|
||||
<path
|
||||
d="M 6.032,0 C 5.801,0 5.614,0.187 5.614,0.418 V 1.481 C 5.073,1.616 4.552,1.833 4.062,2.127 L 3.312,1.377 C 3.148,1.213 2.883,1.213 2.719,1.377 l -1.36,1.36 c -0.164,0.164 -0.164,0.429 0,0.593 l 0.75,0.75 C 1.817,4.568 1.615,5.095 1.482,5.631 H 0.418 C 0.187,5.631 0,5.818 0,6.05 v 1.918 c 0,0.231 0.187,0.418 0.418,0.418 h 1.046 c 0.134,0.542 0.351,1.062 0.645,1.551 l -0.75,0.75 c -0.164,0.164 -0.164,0.429 0,0.593 l 1.36,1.36 c 0.164,0.164 0.429,0.164 0.593,0 l 0.75,-0.75 c 0.491,0.296 1.01,0.493 1.551,0.627 V 13.58 C 5.614,13.813 5.801,14 6.032,14 H 7.95 c 0.231,0 0.419,-0.187 0.419,-0.418 V 12.519 C 8.911,12.385 9.43,12.186 9.92,11.892 l 0.75,0.75 c 0.164,0.164 0.429,0.164 0.593,0 l 1.36,-1.36 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -0.75,-0.75 c 0.295,-0.489 0.51,-1.013 0.645,-1.551 h 1.064 C 13.813,8.386 14,8.199 14,7.968 V 6.05 C 14,5.818 13.813,5.632 13.582,5.632 H 12.518 C 12.385,5.094 12.164,4.567 11.873,4.08 l 0.75,-0.75 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -1.36,-1.36 c -0.164,-0.164 -0.429,-0.164 -0.593,0 L 9.92,2.127 C 9.43,1.833 8.908,1.615 8.369,1.482 V 0.418 C 8.369,0.187 8.182,0 7.95,0 H 6.032 z M 6.921,4.358 C 7.6,4.341 8.291,4.57 8.822,5.073 9.884,6.081 9.934,7.76 8.927,8.822 7.922,9.882 6.241,9.927 5.178,8.927 4.116,7.919 4.066,6.24 5.073,5.178 5.577,4.647 6.244,4.376 6.921,4.358 z"
|
||||
d="M 6.032,1 C 5.801,1 5.614,1.187 5.614,1.418 V 2.481 C 5.073,2.616 4.552,2.833 4.062,3.127 L 3.312,2.377 C 3.148,2.213 2.883,2.213 2.719,2.377 l -1.36,1.36 c -0.164,0.164 -0.164,0.429 0,0.593 l 0.75,0.75 C 1.817,5.568 1.615,6.095 1.482,6.631 H 0.418 C 0.187,6.631 0,6.818 0,7.05 v 1.918 c 0,0.231 0.187,0.418 0.418,0.418 h 1.046 c 0.134,0.542 0.351,1.062 0.645,1.551 l -0.75,0.75 c -0.164,0.164 -0.164,0.429 0,0.593 l 1.36,1.36 c 0.164,0.164 0.429,0.164 0.593,0 l 0.75,-0.75 c 0.491,0.296 1.01,0.493 1.551,0.627 V 14.58 C 5.614,14.813 5.801,15 6.032,15 H 7.95 c 0.231,0 0.419,-0.187 0.419,-0.418 V 13.519 C 8.911,13.385 9.43,13.186 9.92,12.892 l 0.75,0.75 c 0.164,0.164 0.429,0.164 0.593,0 l 1.36,-1.36 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -0.75,-0.75 c 0.295,-0.489 0.51,-1.013 0.645,-1.551 h 1.064 C 13.813,9.386 14,9.199 14,8.968 V 7.05 C 14,6.818 13.813,6.632 13.582,6.632 H 12.518 C 12.385,6.094 12.164,5.567 11.873,5.08 l 0.75,-0.75 c 0.164,-0.164 0.164,-0.429 0,-0.593 l -1.36,-1.36 c -0.164,-0.164 -0.429,-0.164 -0.593,0 L 9.92,3.127 C 9.43,2.833 8.908,2.615 8.369,2.482 V 1.418 C 8.369,1.187 8.182,1 7.95,1 H 6.032 z M 6.921,5.358 C 7.6,5.341 8.291,5.57 8.822,6.073 9.884,7.081 9.934,8.76 8.927,9.822 7.922,10.882 6.241,10.927 5.178,9.927 4.116,8.919 4.066,7.24 5.073,6.178 5.577,5.647 6.244,5.376 6.921,5.358 z"
|
||||
id="path3059"
|
||||
style="fill:#808080" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user