Small interactive and visual fixes
This commit is contained in:
parent
dd9b82749c
commit
b41dc0969b
@ -432,7 +432,7 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.classWrapper {
|
.classWrapper {
|
||||||
width: 15vw;
|
width: 35vh;
|
||||||
height: 95%;
|
height: 95%;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
@ -450,13 +450,13 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.classInfo {
|
.classInfo {
|
||||||
padding: 1vw;
|
padding: 3vh;
|
||||||
background-color: rgba(255,255,255,0.3); /* remove when class color */
|
background-color: rgba(255,255,255,0.3); /* remove when class color */
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mainClassName {
|
.mainClassName {
|
||||||
font-size: 1.5vw;
|
font-size: 3.7vh;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
|
||||||
-webkit-filter: none !important;
|
-webkit-filter: none !important;
|
||||||
@ -465,18 +465,18 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mainClassHour {
|
.mainClassHour {
|
||||||
font-size: .8vw;
|
font-size: 1.7vh;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mainClassTeacher {
|
.mainClassTeacher {
|
||||||
font-size: .8vw;
|
font-size: 1.7vh;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.creWork {
|
.creWork {
|
||||||
font-size: .8vw;
|
font-size: 1.7vh;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 0px 5px 5px -2px #666;
|
box-shadow: 0px 5px 5px -2px #666;
|
||||||
|
|
||||||
@ -548,12 +548,12 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cWorkCont {
|
.cWorkCont {
|
||||||
font-size: .8vw;
|
font-size: 1.7vh;
|
||||||
padding: 5%;
|
padding: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cWorkType {
|
.cWorkType {
|
||||||
height: .3vw;
|
height: .8vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cWorkName {
|
.cWorkName {
|
||||||
|
|||||||
@ -7,6 +7,7 @@ Session.set("select", "none");
|
|||||||
Session.set("options", null);
|
Session.set("options", null);
|
||||||
|
|
||||||
var filterOpen = [false, true, true];
|
var filterOpen = [false, true, true];
|
||||||
|
var timeout;
|
||||||
|
|
||||||
Template.registerHelper('optionInfo', (type) => {
|
Template.registerHelper('optionInfo', (type) => {
|
||||||
var op = Session.get("options")
|
var op = Session.get("options")
|
||||||
@ -116,7 +117,7 @@ Template.mobile.rendered = function() {
|
|||||||
|
|
||||||
Template.mobile.events({
|
Template.mobile.events({
|
||||||
'click #mOverlay' () {
|
'click #mOverlay' () {
|
||||||
toggleSidebar(false);
|
if(timeout) toggleSidebar(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -604,6 +605,10 @@ addMobileButton = function(element, lighten, animateType, completeFunction) {
|
|||||||
ele.on('touchend', function(e) {
|
ele.on('touchend', function(e) {
|
||||||
if(!care) return;
|
if(!care) return;
|
||||||
ele.velocity("stop");
|
ele.velocity("stop");
|
||||||
|
timeout = false;
|
||||||
|
setTimeout(function() {
|
||||||
|
timeout = true;
|
||||||
|
}, 100);
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case "color":
|
case "color":
|
||||||
ele.velocity(
|
ele.velocity(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user