Pin/Unpin thumbnail panel styling issue
This commit is contained in:
parent
25fc95e963
commit
6423751291
@ -12,10 +12,10 @@ Template.hidingPanel.events({
|
|||||||
template.hidingPanelOpen.set(true);
|
template.hidingPanelOpen.set(true);
|
||||||
|
|
||||||
// Rotate Arrow Icon
|
// Rotate Arrow Icon
|
||||||
$('.arrowIcon').toggleClass("arrowIconRotate");
|
$('.arrowIcon').css( {'transform': 'rotate(180deg)'});
|
||||||
|
|
||||||
// Set panel content opacity
|
// Set panel content opacity
|
||||||
$(".hidingPanelContent").toggleClass("hidingPanelContentOpaque");
|
$(".hidingPanelContent").css("opacity", "1");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -31,10 +31,10 @@ Template.hidingPanel.events({
|
|||||||
template.hidingPanelOpen.set(false);
|
template.hidingPanelOpen.set(false);
|
||||||
|
|
||||||
// Rotate Arrow Icon
|
// Rotate Arrow Icon
|
||||||
$('.arrowIcon').toggleClass("arrowIconRotate");
|
$('.arrowIcon').css( {'transform': 'rotate(0deg)'});
|
||||||
|
|
||||||
// Set panel content opacity
|
// Set panel content opacity
|
||||||
$(".hidingPanelContent").toggleClass("hidingPanelContentOpaque");
|
$(".hidingPanelContent").css("opacity", "0");
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
.hidingPanel, .hidingPanelContent, .studyBrowserContainer, .arrowIcon, .arrowIconRotate, .hidingPanelContentOpaque
|
.hidingPanel, .hidingPanelContent, .studyBrowserContainer, .arrowIcon, .arrowIconRotate
|
||||||
|
|
||||||
-o-transition: all 0.3s ease-out
|
-o-transition: all 0.3s ease-out
|
||||||
-ms-transition: all 0.3s ease-out
|
-ms-transition: all 0.3s ease-out
|
||||||
@ -78,6 +78,3 @@
|
|||||||
|
|
||||||
.pinInactive
|
.pinInactive
|
||||||
color: #424242
|
color: #424242
|
||||||
|
|
||||||
.hidingPanelContentOpaque
|
|
||||||
opacity: 1;
|
|
||||||
Loading…
Reference in New Issue
Block a user