Skip to content

Commit

Permalink
Fix grid, complete and clean up merge of scss-refactor and gui branch…
Browse files Browse the repository at this point in the history
…, complete login, registration, edit profile, profile view, beginning course view
  • Loading branch information
Ethan Bond committed Oct 27, 2013
1 parent 5bc4444 commit d469ddb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 33 deletions.
42 changes: 16 additions & 26 deletions main/c2g/static/css/common.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "core/foundation";
@import "datepicker";

/**** UTILITIES ****/
/** Variables **/
Expand Down Expand Up @@ -148,58 +147,53 @@ nav.subpage-navbar {
@extend .sans;
@extend .light;
}
/**
general link bar styles
**/
nav.top-bar{
}

/** general link bar styles **/
nav.top-bar{
color: #fff;

@include grid-row;

header > span{
text-shadow: 1px -1px #000;margin-right:15px;
text-shadow: 1px -1px #000;
margin-right:15px;
}

a{
a {
display:inline-block;
padding:0em 1em 0em 1em;
color:#fff;
&.active{
color:#fff;pointer-events:none; cursor:default;
color:#fff;
pointer-events:none;
cursor:default;
}
}
}

div.red-bar-container, nav.red-bar{
background-color:#5B0000;
background-color: #5B0000;
}
nav.red-bar{

a{
a {
color:#ddd;

&:hover{
background-color: #761E1E;
}

&.active{
border-bottom: 6px solid #666;background-color:#470000;
border-bottom: 6px solid #666;
background-color:#470000;
}

}
}

div.grey-bar-container, nav.grey-bar{
background-color: #222;
}
nav.grey-bar{

a{
a {
&:hover{
background-color: #444;
}
}

}

#logged-in {
Expand Down Expand Up @@ -455,12 +449,10 @@ nav.grey-bar{
}

footer {

background-color: $brand-secondary;
padding-top: 2em;
padding-bottom: 2em;
font-size: 1em;

.brand {
@include grid-row();
}
Expand Down Expand Up @@ -649,6 +641,4 @@ footer {
@extend .dashboard-module-content;
a {margin-bottom: 0;}
}
}

@import "forms";
}
7 changes: 1 addition & 6 deletions main/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel='shortcut icon' type='image/x-icon' href='{{ STATIC_URL }}graphics/sites/{{ SITE_NAME_SHORT }}/favicon.ico' />
{% block top_scripts %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/core/analogclock.css" />
{% load compress %}
{% compress css %}
<link type="text/x-scss" rel="stylesheet" href="{{ STATIC_URL }}css/common.scss" />
Expand Down Expand Up @@ -144,11 +143,7 @@ <h1>Current courses available for signup</h1>
{% endfor %}
{% endblock %}

<div class="row">
<div class="large-12 main-column">
{% block m_column_content %}{% endblock %}
</div>
</div>
{% block m_column_content %}{% endblock %}

{% block r_column_content %}{% endblock %}
{% endblock content %}
Expand Down
1 change: 0 additions & 1 deletion main/templates/course_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ <h2 id="main-nav-heading" class="hidden-accessible">{% trans 'Course Sections' %
{% endif %}
{% endif %}
</ul>
<!-- <div id="PacTime" class="pull-right">{% now "jS M, Y - g:i A T" %}</div>-->
</div>
</div>
</div>
Expand Down

0 comments on commit d469ddb

Please sign in to comment.