Compressed images and change calendar text color

This commit is contained in:
Kenneth Jao 2016-10-01 17:26:39 -04:00
parent 2797423008
commit d5ef3f4881
8 changed files with 6 additions and 8 deletions

View File

@ -849,6 +849,7 @@ input, textarea {
} }
#calendar { #calendar {
color: #000;
width: 90%; width: 90%;
height: 94vh; height: 94vh;
margin: auto; margin: auto;

View File

@ -129,7 +129,7 @@
{{/if}} {{/if}}
{{#if currMode 'calendar'}} {{#if currMode 'calendar'}}
<div id="calendar" style="{{calColor}}"> <div id="calendar">
{{> fullcalendar calendarOptions}} {{> fullcalendar calendarOptions}}
</div> </div>
{{/if}} {{/if}}

View File

@ -403,9 +403,6 @@ Template.main.helpers({
var width = window.innerWidth * 0.85; var width = window.innerWidth * 0.85;
return "width:" + width.toString() + "px;margin-left:" + (0.5 * window.innerWidth - 0.5 * width).toString() + "px;"; return "width:" + width.toString() + "px;margin-left:" + (0.5 * window.innerWidth - 0.5 * width).toString() + "px;";
}, },
calColor() { // Sets the color of the calendar according to theme
return "color:" + Session.get("user").preferences.theme.calendar;
},
calCreWork() { // Display instructions for creating a work. calCreWork() { // Display instructions for creating a work.
if (Session.get("calCreWork")) return true; if (Session.get("calCreWork")) return true;
return false; return false;

View File

@ -22,7 +22,7 @@ themeColors = {
"textColor": "#F6F6F6" "textColor": "#F6F6F6"
},*/ },*/
/*"dark": { /*"dark": {
"background": "RedBlack.png", "background": "RedBlack.jpg",
"mainColor": "#302c36", "mainColor": "#302c36",
"secondaryColor": "#151313", "secondaryColor": "#151313",
"sidebarColor": "#327c5a", "sidebarColor": "#327c5a",
@ -33,7 +33,7 @@ themeColors = {
"textColor": "#fcf0f0" "textColor": "#fcf0f0"
},*/ },*/
/*"dark": { /*"dark": {
"background": "Sea.png", "background": "Sea.jpg",
"mainColor": "#1e926c", "mainColor": "#1e926c",
"secondaryColor": "#1c564f", "secondaryColor": "#1c564f",
"sidebarColor": "#3cb08a", "sidebarColor": "#3cb08a",
@ -44,7 +44,7 @@ themeColors = {
"textColor": "#fcf0f0" "textColor": "#fcf0f0"
},*/ },*/
/*"dark": { /*"dark": {
"background": "Earth.png", "background": "Earth.jpg",
"mainColor": "#dea743", "mainColor": "#dea743",
"secondaryColor": "#496234", "secondaryColor": "#496234",
"sidebarColor": "#6d9957", "sidebarColor": "#6d9957",
@ -55,7 +55,7 @@ themeColors = {
"textColor": "#fcf0f0" "textColor": "#fcf0f0"
},*/ },*/
"dark": { "dark": {
"background": "NeonBlue.png", "background": "NeonBlue.jpg",
"mainColor": "#1d1c23", "mainColor": "#1d1c23",
"secondaryColor": "#1f212f", "secondaryColor": "#1f212f",
"sidebarColor": "#312e32", "sidebarColor": "#312e32",

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB