Merge "Tabs (Read / View Source / Search) collapsed under more in resolution < 700px"

This commit is contained in:
jenkins-bot 2017-09-21 20:21:01 +00:00 committed by Gerrit Code Review
commit 765a143a60
2 changed files with 6 additions and 3 deletions

View File

@ -540,9 +540,7 @@ class VectorTemplate extends BaseTemplate {
// Add CSS class 'collapsible' to links which are not marked as "primary"
if (
isset( $options['vector-collapsible'] ) && $options['vector-collapsible']
&& !( isset( $item['primary'] ) && $item['primary'] )
) {
isset( $options['vector-collapsible'] ) && $options['vector-collapsible'] ) {
$item['class'] = rtrim( 'collapsible ' . $item['class'], ' ' );
}

View File

@ -17,21 +17,26 @@
background-position: 5px 60%;
}
#ca-unwatch.icon a {
background-repeat: no-repeat;
.background-image-svg( 'images/unwatch-icon.svg', 'images/unwatch-icon.png' );
}
#ca-watch.icon a {
background-repeat: no-repeat;
.background-image-svg( 'images/watch-icon.svg', 'images/watch-icon.png' );
}
#ca-unwatch.icon a:hover,
#ca-unwatch.icon a:focus {
background-repeat: no-repeat;
.background-image-svg( 'images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png' );
}
#ca-watch.icon a:hover,
#ca-watch.icon a:focus {
background-repeat: no-repeat;
.background-image-svg( 'images/watch-icon-hl.svg', 'images/watch-icon-hl.png' );
}
#ca-unwatch.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' );
.rotation( 700ms );
/* Suppress the hilarious rotating focus outline on Firefox */