Getting rid of duplicating code

This commit is contained in:
Oleksandr Zhurbenko 2015-11-04 15:34:54 -08:00
parent cb610535bb
commit 12a00553d2
3 changed files with 2 additions and 16 deletions

View File

@ -330,7 +330,7 @@ Handlebars.registerHelper "getPollQuestions", ->
$('.shield').removeClass('animatedShield')
@removeFullscreenStyles = ->
$('#whiteboard-paper').removeClass('verticallyCentered')
$('#whiteboard-paper').removeClass('vertically-centered')
$('#chat').removeClass('invisible')
$('#users').removeClass('invisible')
$('#navbar').removeClass('invisible')
@ -358,7 +358,7 @@ Handlebars.registerHelper "getPollQuestions", ->
$('.fullscreenButton').addClass('exitFullscreenButton')
$('.fullscreenButton i').removeClass('ion-arrow-expand')
$('.fullscreenButton i').addClass('ion-arrow-shrink')
$('#whiteboard-paper').addClass('verticallyCentered')
$('#whiteboard-paper').addClass('vertically-centered')
$('#whiteboard').bind 'webkitfullscreenchange', (e) ->
if document.webkitFullscreenElement is null
$('#whiteboard').unbind('webkitfullscreenchange')

View File

@ -10,9 +10,3 @@
background: -webkit-linear-gradient(@color1, @color2); /* For Safari 5.1 to 6.0 */
background: linear-gradient(@color1, @color2); /* Standard syntax (must be last) */
}
.vertically-centered {
position: relative;
top: 50%;
transform: translateY(-50%);
}

View File

@ -736,12 +736,6 @@ body {
}
}
.verticallyCentered {
position: relative;
top: 50%;
transform: translateY(-50%);
}
/* Sliding Menu */
@media @desktop-portrait {
@ -980,8 +974,6 @@ body {
-moz-animation-delay:0.845s;
}
@keyframes f_fadeG{
0%{
background-color:rgb(0,0,0);