Naming changes, css fixes, small bugs

This commit is contained in:
Kenneth Jao 2016-10-18 14:14:59 -04:00
parent 98e5575e3d
commit 4e5e7bb14a
7 changed files with 39 additions and 46 deletions

View File

@ -589,7 +589,7 @@ input.clickModify, textarea.clickModify {
input.clickModify:hover, textarea.clickModify:hover { input.clickModify:hover, textarea.clickModify:hover {
background-color: rgba(0,0,0,0.1); background-color: rgba(0,0,0,0.1);
border-color: rgba(0,0,0,0.1);;
} }
textarea.clickModify { textarea.clickModify {
@ -608,12 +608,15 @@ textarea.clickModify {
#editWorkCont { #editWorkCont {
width: 100%; width: 100%;
height: 100%; height: 100%;
min-height: 68vh;
position: relative; position: relative;
display: table; display: table;
} }
#workInfoContainer {
min-height: 68vh;
}
#workTypeBar { #workTypeBar {
background-color: rgba(0,0,0,0.1); background-color: rgba(0,0,0,0.1);
height: 2%; height: 2%;

View File

@ -151,8 +151,8 @@
{{else}} {{else}}
{{> workDisplay}} {{> workDisplay}}
{{/if}} {{/if}}
<div id="workInfo2"> {{#unless newWork}}
{{#unless newWork}} <div id="workInfo2">
<div id="workComments"> <div id="workComments">
<h3>Comments</h3> <h3>Comments</h3>
<div> <div>
@ -168,8 +168,8 @@
{{/each}} {{/each}}
</div> </div>
</div> </div>
{{/unless}} </div>
</div> {{/unless}}
</div> </div>
{{#unless newWork}} {{#unless newWork}}
<div id="workToggle"> <div id="workToggle">

View File

@ -706,6 +706,7 @@ Template.main.events({
} }
}, },
'keydown .dropdown' (event) { 'keydown .dropdown' (event) {
event.preventDefault();
var first = $("#"+modifyingInput).next().children("p:first-child"); var first = $("#"+modifyingInput).next().children("p:first-child");
var last = $("#"+modifyingInput).next().children("p:last-child"); var last = $("#"+modifyingInput).next().children("p:last-child");
var next = $(".selectedOption").next(); var next = $(".selectedOption").next();

View File

@ -80,30 +80,14 @@
width: 50% !important; width: 50% !important;
} }
#description:hover {
background-color: rgba(255,255,255,0.1);
}
.username { .username {
margin-left: 20% !important; margin-left: 20% !important;
} }
#motdrestrict {
margin-right: 1% !important;
float: right;
}
.profOptions {
box-shadow: 2px 2px 5px 3px #666;
position: absolute;
display: none;
z-index: 5;
opacity: 0;
-webkit-transition: opacity 0.4s ease;
-moz-transition: opacity 0.4s ease;
-ms-transition: opacity 0.4s ease;
transition: opacity 0.4s ease;
}
#profCards { #profCards {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -37,7 +37,7 @@
</div> </div>
<br> <br>
<div class="prefWrapper"> <div class="prefWrapper">
<p class="profTitle">Grade:</p> <p class="profTitle">Graduation Year:</p>
<div id="grade" class="clickModify dropdown" tabindex="2"> <div id="grade" class="clickModify dropdown" tabindex="2">
<span>{{grade}}</span> <span>{{grade}}</span>
<i class="fa fa-caret-down" aria-hidden="true"></i> <i class="fa fa-caret-down" aria-hidden="true"></i>

View File

@ -470,6 +470,7 @@ Template.profile.events({
} }
}, },
'keydown .dropdown' (event) { 'keydown .dropdown' (event) {
event.preventDefault();
var first = $("#"+modifyingInput).next().children("p:first-child"); var first = $("#"+modifyingInput).next().children("p:first-child");
var last = $("#"+modifyingInput).next().children("p:last-child"); var last = $("#"+modifyingInput).next().children("p:last-child");
var next = $(".selectedOption").next(); var next = $(".selectedOption").next();

View File

@ -1,5 +1,5 @@
themeColors = { themeColors = {
"light": { "lux": {
"background": "White.jpg", "background": "White.jpg",
"mainColor": "#D9D9D9", "mainColor": "#D9D9D9",
"secondaryColor": "#E8E8E8", "secondaryColor": "#E8E8E8",
@ -10,7 +10,7 @@ themeColors = {
"classCardColor":"#EBEBEB", "classCardColor":"#EBEBEB",
"textColor": "#000" "textColor": "#000"
}, },
/*"dark": { "nox": {
"background": "Black.jpg", "background": "Black.jpg",
"mainColor": "#373A56", "mainColor": "#373A56",
"secondaryColor": "#151A2B", "secondaryColor": "#151A2B",
@ -20,19 +20,19 @@ themeColors = {
"modeHighlight": "#FF1A1A", "modeHighlight": "#FF1A1A",
"classCardColor":"#46396E", "classCardColor":"#46396E",
"textColor": "#F6F6F6" "textColor": "#F6F6F6"
},*/ },
/*"dark": { "requox": {
"background": "RedBlack.jpg", "background": "RedBlack.jpg",
"mainColor": "#302c36", "mainColor": "#302c36",
"secondaryColor": "#151313", "secondaryColor": "#C51313",
"sidebarColor": "#327c5a", "sidebarColor": "#327C5A",
"userDropdownColor": "#cc3333", "userDropdownColor": "#CC3333",
"iconHighlight": "#327c5a", "iconHighlight": "#327C5A",
"modeHighlight": "#c9fe62", "modeHighlight": "#C9fE62",
"classCardColor":"#302c36", "classCardColor":"#302c36",
"textColor": "#fcf0f0" "textColor": "#FCF0F0"
},*/ },
/*"dark": { "aequor": {
"background": "Sea.jpg", "background": "Sea.jpg",
"mainColor": "#1e926c", "mainColor": "#1e926c",
"secondaryColor": "#1c564f", "secondaryColor": "#1c564f",
@ -42,8 +42,8 @@ themeColors = {
"modeHighlight": "#c9fe62", "modeHighlight": "#c9fe62",
"classCardColor":"#2567a1", "classCardColor":"#2567a1",
"textColor": "#fcf0f0" "textColor": "#fcf0f0"
},*/ },
/*"dark": { "fresva": {
"background": "Earth.jpg", "background": "Earth.jpg",
"mainColor": "#dea743", "mainColor": "#dea743",
"secondaryColor": "#496234", "secondaryColor": "#496234",
@ -53,8 +53,8 @@ themeColors = {
"modeHighlight": "#b9f643", "modeHighlight": "#b9f643",
"classCardColor":"#c18311", "classCardColor":"#c18311",
"textColor": "#fcf0f0" "textColor": "#fcf0f0"
},*/ },
"dark": { "atlaneon": {
"background": "NeonBlue.jpg", "background": "NeonBlue.jpg",
"mainColor": "#1d1c23", "mainColor": "#1d1c23",
"secondaryColor": "#1f212f", "secondaryColor": "#1f212f",
@ -69,8 +69,12 @@ themeColors = {
options = { options = {
"theme": [ "theme": [
{"val": "light", "alias": "Light"}, {"val": "lux", "alias": "Lux"},
{"val": "dark", "alias": "Dark"} {"val": "nox", "alias": "Nox"},
{"val": "requox", "alias": "Recoum"},
{"val": "aequor", "alias": "Aequor"},
{"val": "fresva", "alias": "Fresva"},
{"val": "atlaneon", "alias": "Atlaneon"}
], ],
"mode": [ "mode": [
{"val": "classes", "alias": "Classes"}, {"val": "classes", "alias": "Classes"},