Commit 3450c728 by Don Mitchell

Merge branch 'feature/btalbot/studio-softlanding' of github.com:MITx/mitx into…

Merge branch 'feature/btalbot/studio-softlanding' of github.com:MITx/mitx into feature/btalbot/studio-softlanding
parents 6f3a954d f1ad0505
...@@ -6,26 +6,26 @@ ...@@ -6,26 +6,26 @@
</div> </div>
<div class="field text" id="field-course-grading-assignment-shortname"> <div class="field text" id="field-course-grading-assignment-shortname">
<label for="course-grading-shortname">Abbreviation:</label> <label for="course-grading-assignment-shortname">Abbreviation:</label>
<input type="text" class="short" id="course-grading-assignment-shortname" value="<%= model.get('short_label') %>" /> <input type="text" class="short" id="course-grading-assignment-shortname" value="<%= model.get('short_label') %>" />
<span class="tip tip-inline">e.g. HW, Midterm</span> <span class="tip tip-inline">e.g. HW, Midterm</span>
</div> </div>
<div class="field text" id="field-course-grading-assignment-gradeweight"> <div class="field text" id="field-course-grading-assignment-gradeweight">
<label for="course-grading-gradeweight">Weight of Total Grade</label> <label for="course-grading-assignment-gradeweight">Weight of Total Grade</label>
<input type="text" class="short" id="course-grading-assignment-gradeweight" value = "<%= model.get('weight') %>" /> <input type="text" class="short" id="course-grading-assignment-gradeweight" value = "<%= model.get('weight') %>" />
<span class="tip tip-inline">e.g. 25%</span> <span class="tip tip-inline">e.g. 25%</span>
</div> </div>
<div class="field text" id="field-course-grading-assignment-totalassignments"> <div class="field text" id="field-course-grading-assignment-totalassignments">
<label for="course-grading-gradeweight">Total <label for="course-grading-assignment-totalassignments">Total
Number</label> Number</label>
<input type="text" class="short" id="course-grading-assignment-totalassignments" value = "<%= model.get('min_count') %>" /> <input type="text" class="short" id="course-grading-assignment-totalassignments" value = "<%= model.get('min_count') %>" />
<span class="tip tip-inline">total exercises assigned</span> <span class="tip tip-inline">total exercises assigned</span>
</div> </div>
<div class="field text" id="field-course-grading-assignment-droppable"> <div class="field text" id="field-course-grading-assignment-droppable">
<label for="course-grading-gradeweight">Number of <label for="course-grading-assignment-droppable">Number of
Droppable</label> Droppable</label>
<input type="text" class="short" id="course-grading-assignment-droppable" value = "<%= model.get('drop_count') %>" /> <input type="text" class="short" id="course-grading-assignment-droppable" value = "<%= model.get('drop_count') %>" />
<span class="tip tip-inline">total exercises that won't be graded</span> <span class="tip tip-inline">total exercises that won't be graded</span>
......
...@@ -145,6 +145,13 @@ body.signup, body.signin { ...@@ -145,6 +145,13 @@ body.signup, body.signin {
:-ms-input-placeholder { :-ms-input-placeholder {
color: $gray-l3; color: $gray-l3;
} }
&:focus {
+ .tip {
color: $gray;
}
}
} }
textarea.long { textarea.long {
...@@ -163,6 +170,7 @@ body.signup, body.signin { ...@@ -163,6 +170,7 @@ body.signup, body.signin {
} }
.tip { .tip {
@include transition(color, 0.15s, ease-in-out);
@include font-size(13); @include font-size(13);
display: block; display: block;
margin-top: ($baseline/4); margin-top: ($baseline/4);
......
...@@ -157,6 +157,22 @@ h1 { ...@@ -157,6 +157,22 @@ h1 {
margin-bottom: 0; margin-bottom: 0;
} }
} }
.nav-related {
.nav-item {
margin-bottom: ($baseline/4);
border-bottom: 1px dotted $gray-l4;
padding-bottom: ($baseline/4);
&:last-child {
margin-bottom: 0;
border: none;
padding-bottom: 0;
}
}
}
} }
} }
...@@ -568,4 +584,14 @@ body.hide-wip { ...@@ -568,4 +584,14 @@ body.hide-wip {
.wip-box { .wip-box {
display: none; display: none;
} }
}
// ====================
// needed fudges for now
body.dashboard {
.my-classes {
margin-top: $baseline;
}
} }
\ No newline at end of file
...@@ -53,9 +53,6 @@ ...@@ -53,9 +53,6 @@
float: right; float: right;
} }
// general nav styles
// ====================
// ==================== // ====================
// specific elements - branding // specific elements - branding
...@@ -66,7 +63,7 @@ ...@@ -66,7 +63,7 @@
.branding { .branding {
position: relative; position: relative;
margin: 0 ($baseline*0.75) 0 0; margin: 0 ($baseline/2) 0 0;
padding-right: ($baseline*0.75); padding-right: ($baseline*0.75);
a { a {
...@@ -123,6 +120,7 @@ ...@@ -123,6 +120,7 @@
width: 100%; width: 100%;
max-width: 220px; max-width: 220px;
overflow: hidden; overflow: hidden;
margin-top: -4px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@include font-size(16); @include font-size(16);
...@@ -205,11 +203,17 @@ ...@@ -205,11 +203,17 @@
.account-username { .account-username {
display: inline-block; display: inline-block;
vertical-align: middle;
width: 80%; width: 80%;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.icon-expand {
display: inline-block;
vertical-align: middle;
}
} }
} }
...@@ -224,6 +228,7 @@ ...@@ -224,6 +228,7 @@
.icon-expand { .icon-expand {
@include font-size(14); @include font-size(14);
@include transition (color 0.5s ease-in-out, opacity 0.5s ease-in-out); @include transition (color 0.5s ease-in-out, opacity 0.5s ease-in-out);
display: inline-block;
margin-left: 2px; margin-left: 2px;
opacity: 0.5; opacity: 0.5;
color: $gray-l2; color: $gray-l2;
...@@ -308,7 +313,7 @@ ...@@ -308,7 +313,7 @@
.wrapper-nav-sub { .wrapper-nav-sub {
top: 27px; top: 27px;
left: auto; left: auto;
right: -($baseline/2); right: -13px;
width: 110px; width: 110px;
} }
...@@ -515,6 +520,7 @@ body.course.export .nav-course-tools-export, ...@@ -515,6 +520,7 @@ body.course.export .nav-course-tools-export,
a { a {
color: $blue; color: $blue;
pointer-events: none;
} }
} }
......
...@@ -240,7 +240,6 @@ ...@@ -240,7 +240,6 @@
margin-right: flex-gutter(); margin-right: flex-gutter();
padding: ($baseline*0.75) $baseline; padding: ($baseline*0.75) $baseline;
color: $gray-l1; color: $gray-l1;
cursor: pointer;
.title { .title {
@include font-size(16); @include font-size(16);
...@@ -254,7 +253,7 @@ ...@@ -254,7 +253,7 @@
background: $blue-l5; background: $blue-l5;
top: -($baseline/5); top: -($baseline/5);
.title, strong { .title {
color: $blue; color: $blue;
} }
} }
......
...@@ -47,6 +47,7 @@ body.course.settings { ...@@ -47,6 +47,7 @@ body.course.settings {
// UI hints/tips/messages // UI hints/tips/messages
.tip { .tip {
@include transition(color, 0.15s, ease-in-out);
@include font-size(13); @include font-size(13);
display: block; display: block;
margin-top: ($baseline/4); margin-top: ($baseline/4);
...@@ -127,6 +128,13 @@ body.course.settings { ...@@ -127,6 +128,13 @@ body.course.settings {
&.error { &.error {
border-color: $red; border-color: $red;
} }
&:focus {
+ .tip {
color: $gray;
}
}
} }
textarea.long { textarea.long {
...@@ -157,10 +165,10 @@ body.course.settings { ...@@ -157,10 +165,10 @@ body.course.settings {
@include box-sizing(border-box); @include box-sizing(border-box);
@include border-radius(3px); @include border-radius(3px);
background: $gray-l5; background: $gray-l5;
padding: ($baseline/2); padding: $baseline;
&:last-child { &:last-child {
padding-bottom: ($baseline/2); padding-bottom: $baseline;
} }
.actions { .actions {
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="bit"> <div class="bit">
<h3 class="title-3">Need Help?</h3> <h3 class="title-3">Need Help?</h3>
<p>Having trouble with your account? Use <a href="" rel="external">our support center</a> to look over self help steps, find solutions others have found to the same problem, or let us know of your issue.</p> <p>Having trouble with your account? Use <a href="http://help.edge.edx.org" rel="external">our support center</a> to look over self help steps, find solutions others have found to the same problem, or let us know of your issue.</p>
</div> </div>
</aside> </aside>
</section> </section>
......
...@@ -152,10 +152,10 @@ from contentstore import utils ...@@ -152,10 +152,10 @@ from contentstore import utils
<hr class="divide" /> <hr class="divide" />
<section class="group-settings marketing"> <section class="group-settings marketing">
<header> <header>
<h2 class="title-2">Introducing Your Course</h2> <h2 class="title-2">Introducing Your Course</h2>
<span class="tip">Information for prospective students</span> <span class="tip">Information for prospective students</span>
</header> </header>
<ol class="list-input"> <ol class="list-input">
<li class="field text" id="field-course-overview"> <li class="field text" id="field-course-overview">
...@@ -219,11 +219,12 @@ from contentstore import utils ...@@ -219,11 +219,12 @@ from contentstore import utils
<nav class="nav-related"> <nav class="nav-related">
<ul> <ul>
<li class="nav-item"><a href="${reverse('contentstore.views.course_config_graders_page', kwargs={'org' : ctx_loc.org, 'course' : ctx_loc.course, 'name': ctx_loc.name})}">Grading</a></li> <li class="nav-item"><a href="${reverse('contentstore.views.course_config_graders_page', kwargs={'org' : ctx_loc.org, 'course' : ctx_loc.course, 'name': ctx_loc.name})}">Grading</a></li>
</ul> <li class="nav-item"><a href="${reverse('manage_users', kwargs=dict(location=ctx_loc))}">Course Team</a></li>
</ul>
</nav> </nav>
% endif % endif
</div> </div>
</aside> </aside>
</section> </section>
</div> </div>
</%block> </%block>
\ No newline at end of file
...@@ -140,6 +140,7 @@ from contentstore import utils ...@@ -140,6 +140,7 @@ from contentstore import utils
<nav class="nav-related"> <nav class="nav-related">
<ul> <ul>
<li class="nav-item"><a href="${reverse('contentstore.views.get_course_settings', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Details &amp; Schedule</a></li> <li class="nav-item"><a href="${reverse('contentstore.views.get_course_settings', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Details &amp; Schedule</a></li>
<li class="nav-item"><a href="${reverse('manage_users', kwargs=dict(location=ctx_loc))}">Course Team</a></li>
</ul> </ul>
</nav> </nav>
% endif % endif
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<a href="http://help.edge.edx.org/" rel="external">edX Studio Help</a> <a href="http://help.edge.edx.org/" rel="external">edX Studio Help</a>
</li> </li>
<li class="nav-item nav-peripheral-contact"> <li class="nav-item nav-peripheral-contact">
<a href="#">Contact edX</a> <a href="https://www.edx.org/contact" rel="external">Contact edX</a>
</li> </li>
% if user.is_authenticated(): % if user.is_authenticated():
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<div class="wrapper wrapper-nav-sub"> <div class="wrapper wrapper-nav-sub">
<div class="nav-sub"> <div class="nav-sub">
<ul> <ul>
<li class="nav-item nav-account-dashboard"><a href="#">My Courses</a></li> <li class="nav-item nav-account-dashboard"><a href="/">My Courses</a></li>
<li class="nav-item nav-account-help"><a href="http://help.edge.edx.org/" rel="external">Studio Help</a></li> <li class="nav-item nav-account-help"><a href="http://help.edge.edx.org/" rel="external">Studio Help</a></li>
<li class="nav-item nav-account-signout"><a class="action action-signout" href="${reverse('logout')}">Sign Out</a></li> <li class="nav-item nav-account-signout"><a class="action action-signout" href="${reverse('logout')}">Sign Out</a></li>
</ul> </ul>
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<h2 class="sr">You're not currently signed in</h2> <h2 class="sr">You're not currently signed in</h2>
<ol> <ol>
<li class="nav-item nav-not-signedin-hiw"> <li class="nav-item nav-not-signedin-hiw">
<a href="#">How Studio Works</a> <a href="/">How Studio Works</a>
</li> </li>
<li class="nav-item nav-not-signedin-help"> <li class="nav-item nav-not-signedin-help">
<a href="http://help.edge.edx.org/" rel="external">Studio Help</a> <a href="http://help.edge.edx.org/" rel="external">Studio Help</a>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
// image-replacement hidden text // image-replacement hidden text
@mixin text-hide() { @mixin text-hide() {
text-indent: -100%; text-indent: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment