parent
15c3abe48b
commit
6b9afaa8b7
6 changed files with 12 additions and 4 deletions
|
@ -173,6 +173,10 @@
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
|
&.is--visible {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -27,7 +27,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
// Follow menu drop down
|
// Follow menu drop down
|
||||||
$(".author__urls-wrapper button").on("click", function() {
|
$(".author__urls-wrapper button").on("click", function() {
|
||||||
$(".author__urls").fadeToggle("fast", function() {});
|
$(".author__urls").toggleClass("is--visible");
|
||||||
$(".author__urls-wrapper button").toggleClass("open");
|
$(".author__urls-wrapper button").toggleClass("open");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -173,6 +173,10 @@
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
|
&.is--visible {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -27,7 +27,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
// Follow menu drop down
|
// Follow menu drop down
|
||||||
$(".author__urls-wrapper button").on("click", function() {
|
$(".author__urls-wrapper button").on("click", function() {
|
||||||
$(".author__urls").fadeToggle("fast", function() {});
|
$(".author__urls").toggleClass("is--visible");
|
||||||
$(".author__urls-wrapper button").toggleClass("open");
|
$(".author__urls-wrapper button").toggleClass("open");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
2
docs/assets/js/main.min.js
vendored
2
docs/assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue