Merge "Tabs (Read / View Source / Search) collapsed under more in resolution < 700px"
This commit is contained in:
commit
765a143a60
|
@ -540,9 +540,7 @@ class VectorTemplate extends BaseTemplate {
|
||||||
|
|
||||||
// Add CSS class 'collapsible' to links which are not marked as "primary"
|
// Add CSS class 'collapsible' to links which are not marked as "primary"
|
||||||
if (
|
if (
|
||||||
isset( $options['vector-collapsible'] ) && $options['vector-collapsible']
|
isset( $options['vector-collapsible'] ) && $options['vector-collapsible'] ) {
|
||||||
&& !( isset( $item['primary'] ) && $item['primary'] )
|
|
||||||
) {
|
|
||||||
$item['class'] = rtrim( 'collapsible ' . $item['class'], ' ' );
|
$item['class'] = rtrim( 'collapsible ' . $item['class'], ' ' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,21 +17,26 @@
|
||||||
background-position: 5px 60%;
|
background-position: 5px 60%;
|
||||||
}
|
}
|
||||||
#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