Commit 80579860 by Calen Pennington

Clean up display of templates

parent 8ca10a83
...@@ -610,7 +610,7 @@ input.courseware-unit-search-input { ...@@ -610,7 +610,7 @@ input.courseware-unit-search-input {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
} }
.new-component-type { .new-component-type, .new-component-template {
@include clearfix; @include clearfix;
a { a {
...@@ -619,6 +619,7 @@ input.courseware-unit-search-input { ...@@ -619,6 +619,7 @@ input.courseware-unit-search-input {
width: 100px; width: 100px;
height: 100px; height: 100px;
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px;
border-radius: 8px; border-radius: 8px;
font-size: 13px; font-size: 13px;
line-height: 14px; line-height: 14px;
...@@ -642,16 +643,26 @@ input.courseware-unit-search-input { ...@@ -642,16 +643,26 @@ input.courseware-unit-search-input {
} }
} }
.new-component-template {
a {
height: 60px;
}
}
.new-component, .new-component,
.new-component-templates { .new-component-templates {
display: none; display: none;
padding: 20px; padding: 20px;
.cancel-button {
@include blue-button;
border-color: #30649c;
}
} }
} }
} }
.component-editor, .component-editor {
.new-component-step-2 {
display: none; display: none;
padding: 20px; padding: 20px;
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .1)) $blue; background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .1)) $blue;
...@@ -885,51 +896,26 @@ input.courseware-unit-search-input { ...@@ -885,51 +896,26 @@ input.courseware-unit-search-input {
background: url(../img/slides-icon.png) no-repeat; background: url(../img/slides-icon.png) no-repeat;
} }
.large-slide-icon { .large-template-icon {
display: inline-block;
width: 100px;
height: 60px;
margin-right: 5px;
background: url(../img/large-slide-icon.png) center no-repeat;
}
.large-textbook-icon {
display: inline-block; display: inline-block;
width: 100px; width: 100px;
height: 60px; height: 60px;
margin-right: 5px; margin-right: 5px;
background: url(../img/large-textbook-icon.png) center no-repeat;
} }
.large-discussion-icon { .large-discussion-icon {
display: inline-block;
width: 100px;
height: 60px;
margin-right: 5px;
background: url(../img/large-discussion-icon.png) center no-repeat; background: url(../img/large-discussion-icon.png) center no-repeat;
} }
.large-freeform-icon { .large-html-icon {
display: inline-block;
width: 100px;
height: 60px;
margin-right: 5px;
background: url(../img/large-freeform-icon.png) center no-repeat; background: url(../img/large-freeform-icon.png) center no-repeat;
} }
.large-problem-icon { .large-problem-icon {
display: inline-block;
width: 100px;
height: 60px;
margin-right: 5px;
background: url(../img/large-problem-icon.png) center no-repeat; background: url(../img/large-problem-icon.png) center no-repeat;
} }
.large-video-icon { .large-video-icon {
display: inline-block;
width: 100px;
height: 60px;
margin-right: 5px;
background: url(../img/large-video-icon.png) center no-repeat; background: url(../img/large-video-icon.png) center no-repeat;
} }
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
</li> </li>
% endfor % endfor
</ul> </ul>
<a href="#" class="cancel-button">Cancel</a>
</div> </div>
% for type, templates in sorted(component_templates.items()): % for type, templates in sorted(component_templates.items()):
<div class="new-component-templates new-component-${type}"> <div class="new-component-templates new-component-${type}">
...@@ -44,6 +45,7 @@ ...@@ -44,6 +45,7 @@
</li> </li>
% endfor % endfor
</ul> </ul>
<a href="#" class="cancel-button">Cancel</a>
</div> </div>
% endfor % endfor
</li> </li>
......
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