Commit d55527b6 by marco

changes with aria

parent e697e495
...@@ -13,6 +13,10 @@ body.course.unit { ...@@ -13,6 +13,10 @@ body.course.unit {
} }
//end problem selector reqs //end problem selector reqs
// Unit Page Main Column
// ====================
.main-column { .main-column {
clear: both; clear: both;
float: left; float: left;
...@@ -31,6 +35,9 @@ body.course.unit { ...@@ -31,6 +35,9 @@ body.course.unit {
.unit-body { .unit-body {
// Unit Page Name
// ====================
.unit-name-input { .unit-name-input {
padding: 20px 40px; padding: 20px 40px;
...@@ -73,6 +80,10 @@ body.course.unit { ...@@ -73,6 +80,10 @@ body.course.unit {
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase; text-transform: uppercase;
} }
// Component List Meta
// ====================
// TODO: clean up organization of this page, to many levels/duplication
.components { .components {
...@@ -81,8 +92,6 @@ body.course.unit { ...@@ -81,8 +92,6 @@ body.course.unit {
z-index: 10; z-index: 10;
margin: 20px 40px; margin: 20px 40px;
.title { .title {
margin: 0 0 15px 0; margin: 0 0 15px 0;
color: $mediumGrey; color: $mediumGrey;
...@@ -91,6 +100,9 @@ body.course.unit { ...@@ -91,6 +100,9 @@ body.course.unit {
} }
} }
// New Components
// ====================
&.new-component-item { &.new-component-item {
margin: 20px 0px; margin: 20px 0px;
border-top: 1px solid $mediumGrey; border-top: 1px solid $mediumGrey;
...@@ -355,6 +367,9 @@ body.course.unit { ...@@ -355,6 +367,9 @@ body.course.unit {
} }
} }
// Component Drag and Drop, Non-Edit Module Rendering, Styling
// ====================
.component { .component {
border: 1px solid $lightBluishGrey2; border: 1px solid $lightBluishGrey2;
border-radius: 3px; border-radius: 3px;
...@@ -410,6 +425,9 @@ body.course.unit { ...@@ -410,6 +425,9 @@ body.course.unit {
} }
} }
// Component Editing
// ====================
.wrapper-component-editor { .wrapper-component-editor {
z-index: 9999; z-index: 9999;
position: relative; position: relative;
...@@ -423,9 +441,11 @@ body.course.unit { ...@@ -423,9 +441,11 @@ body.course.unit {
padding: 20px; padding: 20px;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
.component-edit-modes {
// Edit Menu (Component Name, Mode-Editor, Mode-Settings)
.component-edit-menu {
@include box-sizing(border-box); @include box-sizing(border-box);
list-style: none;
position: absolute; position: absolute;
width: 100%; width: 100%;
padding: 15px; padding: 15px;
...@@ -434,8 +454,33 @@ body.course.unit { ...@@ -434,8 +454,33 @@ body.course.unit {
border-bottom: 1px solid $lightBluishGrey2; border-bottom: 1px solid $lightBluishGrey2;
background: $lightGrey; background: $lightGrey;
//Component Name
h3 {
//TO-DO ?
}
//Nav-Edit Modes
.nav-edit-modes {
//TODO
.tab {
display: inline;
}
}
}
// Module Editors
.editor-wrapper{
//TO-DO ?
} }
// Module Settings
.settings-wrapper{
//TO-DO ?
}
//OLD Meta-data Styling
//TO-DO port over old styling
.metadata_edit { .metadata_edit {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 13px; font-size: 13px;
...@@ -469,6 +514,9 @@ body.course.unit { ...@@ -469,6 +514,9 @@ body.course.unit {
} }
} }
// Unit Page Sidebar
// ====================
.unit-settings { .unit-settings {
.window-contents { .window-contents {
padding: 10px 20px; padding: 10px 20px;
...@@ -669,7 +717,9 @@ body.course.unit { ...@@ -669,7 +717,9 @@ body.course.unit {
} }
} }
// editing units from courseware // Editing Units from Courseware
// ====================
body.unit { body.unit {
.component { .component {
......
<div class="wrapper wrapper-component-editor"> <div class="wrapper wrapper-component-editor">
<div class="component-editor"> <div class="component-editor">
<div id="component-edit-menu"> <div id="component-edit-menu">
<ul class="edit-modes-list"> <h3 class="component-name">Name of Component</h3>
<li id="edit-modes-tab1" class="tab" aria-controls="panel1" aria-selected="true" role="tab" tabindex="0"> <!--should this be a menu instead of OL -->
<a href="#" class="button cancel-button">Editor</a> <ol class="nav-edit-modes">
</li> <li id="editor-mode" class="tab" aria-controls="editor-tab" aria-selected="true" role="tab" tabindex="0">
<li id="edit-modes-tab2" class="tab" aria-controls="panel2" aria-selected="false" role="tab" tabindex="-1"> <a href="#" class="button cancel-button">Editor</a>
<a href="#" class="button cancel-button">Settings </a> </li>
</li> <li id="settings-mode" class="tab" aria-controls="settings-tab" aria-selected="false" role="tab" tabindex="-1">
</ul> <a href="#" class="button cancel-button">Settings </a>
</div> </li>
<div class="" </ol>
<div class="module-editor"> </div> <!-- Editor Header -->
${editor}
</div> <div class="component-edit-modes">
<div class="row module-actions"> <div class="editor-wrapper" id="editor-tab">
<a href="#" class="save-button">Save</a> ${editor}
<a href="#" class="cancel-button">Cancel</a> </div> <!-- Editor Wrapper-->
</div>
</div> <table class="settings-wrapper" id="settings-tab">
<!-- eventually, import settings from separate file -->
<tr class="settings-row settings-header">
<th class="settings-label">Setting Label</th>
<th class="settings-input">Setting Input</th>
<th class="settings-help">Setting Help</th>
</tr>
<tr class="settings-row settings-header">
<td class="settings-label">Example Dropdown</td>
<td class="settings-input">Input/Form stuff to be children here. </td>
<td class="settings-help">Example Numerical Input</td>
</tr>
</div> <!-- Settings Wrapper-->
</div>
<div class="row module-actions">
<a href="#" class="save-button">Save</a>
<a href="#" class="cancel-button">Cancel</a>
</div> <!-- Module Actions-->
</div>
</div> </div>
<div class="component-actions"> <div class="component-actions">
......
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