Commit f2be01fd by Tom Giannattasio

removed visibility toggles; added private tag

parent e1fbe1e0
...@@ -157,7 +157,8 @@ ...@@ -157,7 +157,8 @@
} }
.draft-item, .draft-item,
.hidden-item { .hidden-item,
.private-item {
color: #a4aab7; color: #a4aab7;
} }
......
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
.draft-tag, .draft-tag,
.hidden-tag, .hidden-tag,
.private-tag,
.has-new-draft-tag { .has-new-draft-tag {
margin-left: 3px; margin-left: 3px;
font-size: 9px; font-size: 9px;
......
...@@ -226,9 +226,20 @@ ...@@ -226,9 +226,20 @@
padding: 20px; padding: 20px;
border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
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;
color: #fff;
.module-editor { .metadata_edit {
background: white; margin-bottom: 20px;
font-size: 13px;
}
.CodeMirror {
border: 1px solid #3c3c3c;
}
h3 {
font-size: 18px;
font-weight: 700;
} }
h5 { h5 {
...@@ -238,7 +249,8 @@ ...@@ -238,7 +249,8 @@
} }
.save-button { .save-button {
margin-right: 8px; margin-top: 10px;
margin: 15px 8px 0 0;
} }
} }
} }
...@@ -266,19 +278,8 @@ ...@@ -266,19 +278,8 @@
} }
} }
.visibility-options .option { input[type="radio"] {
margin-right: 10px;
padding: 3px 13px 6px;
border-radius: 3px;
background: #edf1f5;
&.checked {
background: #d1dae3;
}
input[type="radio"] {
margin-right: 7px; margin-right: 7px;
}
} }
.status { .status {
......
...@@ -49,12 +49,11 @@ ...@@ -49,12 +49,11 @@
% for unit in subsection.get_children(): % for unit in subsection.get_children():
<li class="leaf"> <li class="leaf">
<div class="section-item"> <div class="section-item">
<a href="${reverse('edit_unit', args=[unit.location])}" class="hidden-item"> <a href="${reverse('edit_unit', args=[unit.location])}" class="private-item">
<span class="${unit.category}-icon"></span>${unit.display_name} <span class="hidden-tag">– hidden</span> <span class="${unit.category}-icon"></span>${unit.display_name} <span class="private-tag">– private</span>
</a> </a>
<div class="item-actions"> <div class="item-actions">
<a href="${reverse('delete_unit', args=[unit.location])}" class="edit-button wip"><span class="delete-icon"></span></a> <a href="${reverse('delete_unit', args=[unit.location])}" class="edit-button wip"><span class="delete-icon"></span></a>
<a href="#" class="visibility-toggle hidden wip"><span class="toggle-icon"></span></a>
<a href="#" class="drag-handle wip"></a> <a href="#" class="drag-handle wip"></a>
</div> </div>
</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