Commit f194b9c4 by Brian Talbot Committed by cahrens

Studio: addressing outline UI PR feedback:

* correcting visual display of outline UI without content
* temporarily resolving page actions that should be hidden by default
parent 6d82cf09
...@@ -94,3 +94,19 @@ body b { ...@@ -94,3 +94,19 @@ body b {
div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler{ div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler{
display: none; display: none;
} }
// ====================
// masthead button hidden states
.mast.has-actions .nav-actions .button.is-hidden {
@extend .is-hidden;
}
// ====================
// TODOs:
// * font-weight syncing
// * divorce display: inline-block from base button definitions/placeholders
// * canned typography class syncing
...@@ -69,21 +69,8 @@ ...@@ -69,21 +69,8 @@
width: flex-grid(9, 12); width: flex-grid(9, 12);
margin-right: flex-gutter(); margin-right: flex-gutter();
.no-outline-content { .no-content {
@extend %ui-well; @extend %no-content;
padding: ($baseline*2);
background-color: $gray-l4;
text-align: center;
color: $gray;
.new-button {
@include font-size(14);
margin-left: $baseline;
[class^="icon-"] {
margin-right: ($baseline/2);
}
}
} }
} }
......
...@@ -101,7 +101,7 @@ if (statusType === 'warning') { ...@@ -101,7 +101,7 @@ if (statusType === 'warning') {
<p><%= gettext("You haven't added any content to this course yet.") %> <p><%= gettext("You haven't added any content to this course yet.") %>
<a href="#" class="button button-new" data-category="<%= childCategory %>" <a href="#" class="button button-new" data-category="<%= childCategory %>"
data-parent="<%= xblockInfo.get('id') %>" data-default-name="<%= defaultNewChildName %>"> data-parent="<%= xblockInfo.get('id') %>" data-default-name="<%= defaultNewChildName %>">
<i class="icon icon-plus"></i><%= addChildLabel %> <i class="icon-plus"></i><%= addChildLabel %>
</a> </a>
</p> </p>
</div> </div>
......
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