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);
|
||||
|
||||
// Rotate Arrow Icon
|
||||
$('.arrowIcon').toggleClass("arrowIconRotate");
|
||||
$('.arrowIcon').css( {'transform': 'rotate(180deg)'});
|
||||
|
||||
// Set panel content opacity
|
||||
$(".hidingPanelContent").toggleClass("hidingPanelContentOpaque");
|
||||
$(".hidingPanelContent").css("opacity", "1");
|
||||
}
|
||||
},
|
||||
|
||||
@ -31,10 +31,10 @@ Template.hidingPanel.events({
|
||||
template.hidingPanelOpen.set(false);
|
||||
|
||||
// Rotate Arrow Icon
|
||||
$('.arrowIcon').toggleClass("arrowIconRotate");
|
||||
$('.arrowIcon').css( {'transform': 'rotate(0deg)'});
|
||||
|
||||
// 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
|
||||
-ms-transition: all 0.3s ease-out
|
||||
@ -77,7 +77,4 @@
|
||||
color: #FFFFFF
|
||||
|
||||
.pinInactive
|
||||
color: #424242
|
||||
|
||||
.hidingPanelContentOpaque
|
||||
opacity: 1;
|
||||
color: #424242
|
||||
Loading…
Reference in New Issue
Block a user