Skip to content

Commit

Permalink
Merge pull request #287 from digitalnatives/develop
Browse files Browse the repository at this point in the history
Updates master with the new features
  • Loading branch information
ghatighorias committed Mar 8, 2018
2 parents 0b164b0 + a6ef19f commit 8f1168d
Show file tree
Hide file tree
Showing 212 changed files with 11,829 additions and 1,979 deletions.
3 changes: 3 additions & 0 deletions .envrc.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#The following keys are provided by google to always get a "No Recaptcha"
export RECAPTCHA_SECRET_KEY="6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe",
export RECAPTCHA_SITE_KEY="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ erl_crash.dump
# Docker
scripts/docker-compose-up.sh
docker-compose.yml

#Environment variable file
.envrc
2 changes: 2 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
@import "./card.scss";
@import "./modal.scss";
@import "./user-bubble.scss";
@import "./bubble-clickable.scss";
@import "./user-list.scss";
@import "./attendance.scss";
@import "./calendar.scss";

@import "./list-mixin.scss";
@import "./class-list.scss";
@import "./course-list.scss";
@import "./term-list.scss";
@import "./task-list.scss";
@import "./holiday-list.scss";

Expand Down
14 changes: 14 additions & 0 deletions assets/css/bubble-clickable.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

.bubble-clickable {
transition: box-shadow 300ms ease,
background-color 300ms ease;

background-color: transparent;
box-shadow: none;

&:hover {
background-color: white;
@extend .mdl-shadow--2dp;
}

}
32 changes: 31 additions & 1 deletion assets/css/calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
text-align: center;
}

&__slot {
&__class_color{
background-color: rgba($primary, 0.5);
}
&__event_color{
background-color: rgba(175, 78, 86, 0.5);
}
}

&__time {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -70,6 +79,28 @@

}

&__day_full {
display: flex;
flex-direction: column;

width: 100%;

box-sizing: border-box;
border-left: $calendar-border;

&-header {
padding-top: 15px;
box-sizing: border-box;
height: 50px;
text-align: center;

background-color: $secondary;
color: white;

}

}

&__classes {
position: relative;
overflow: hidden;
Expand Down Expand Up @@ -101,7 +132,6 @@
position: absolute;
padding: 4px;

background-color: rgba($primary, 0.5);
border: $calendar-border;
box-sizing: border-box;

Expand Down
4 changes: 4 additions & 0 deletions assets/css/term-list.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

.term-list {
@include list-mixin();
}
11 changes: 0 additions & 11 deletions assets/css/user-bubble.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,4 @@
text-align: center;
color: $grey-500;
}

transition: box-shadow 300ms ease,
background-color 300ms ease;

background-color: transparent;
box-shadow: none;

&:hover {
background-color: white;
@extend .mdl-shadow--2dp;
}
}
Loading

0 comments on commit 8f1168d

Please sign in to comment.