Consolidate duplicate CSS properties
I really should not have merged I30e0642d3cb93c4d9a8b2bdfb7f04912d8ca8649 without getting this fixed first. Bug: T56919 Change-Id: I870591e63b89f05d7e3714081340c76dcf9f55ac
This commit is contained in:
parent
765a143a60
commit
e70a1d38b9
|
@ -15,28 +15,24 @@
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-position: 5px 60%;
|
background-position: 5px 60%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
#ca-unwatch.icon a {
|
#ca-unwatch.icon a {
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-image-svg( 'images/unwatch-icon.svg', 'images/unwatch-icon.png' );
|
.background-image-svg( 'images/unwatch-icon.svg', 'images/unwatch-icon.png' );
|
||||||
}
|
}
|
||||||
#ca-watch.icon a {
|
#ca-watch.icon a {
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-image-svg( 'images/watch-icon.svg', 'images/watch-icon.png' );
|
.background-image-svg( 'images/watch-icon.svg', 'images/watch-icon.png' );
|
||||||
}
|
}
|
||||||
#ca-unwatch.icon a:hover,
|
#ca-unwatch.icon a:hover,
|
||||||
#ca-unwatch.icon a:focus {
|
#ca-unwatch.icon a:focus {
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-image-svg( 'images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png' );
|
.background-image-svg( 'images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png' );
|
||||||
}
|
}
|
||||||
#ca-watch.icon a:hover,
|
#ca-watch.icon a:hover,
|
||||||
#ca-watch.icon a:focus {
|
#ca-watch.icon a:focus {
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-image-svg( 'images/watch-icon-hl.svg', 'images/watch-icon-hl.png' );
|
.background-image-svg( 'images/watch-icon-hl.svg', 'images/watch-icon-hl.png' );
|
||||||
}
|
}
|
||||||
#ca-unwatch.icon a.loading,
|
#ca-unwatch.icon a.loading,
|
||||||
#ca-watch.icon a.loading {
|
#ca-watch.icon a.loading {
|
||||||
background-repeat: no-repeat;
|
|
||||||
.background-image-svg( 'images/watch-icon-loading.svg', 'images/watch-icon-loading.png' );
|
.background-image-svg( 'images/watch-icon-loading.svg', 'images/watch-icon-loading.png' );
|
||||||
.rotation( 700ms );
|
.rotation( 700ms );
|
||||||
/* Suppress the hilarious rotating focus outline on Firefox */
|
/* Suppress the hilarious rotating focus outline on Firefox */
|
||||||
|
|
Loading…
Reference in New Issue