Commit 414c9d38 by Brian Talbot Committed by David Baumgold

studio - revises plus icon treatment throughout new-button actions

parent a861e015
...@@ -313,11 +313,6 @@ p, ul, ol, dl { ...@@ -313,11 +313,6 @@ p, ul, ol, dl {
.view-button { .view-button {
} }
.upload-button .icon-plus {
@extend .t-action2;
line-height: 0 !important;
}
} }
} }
...@@ -751,9 +746,6 @@ hr.divide { ...@@ -751,9 +746,6 @@ hr.divide {
} }
.icon-plus { .icon-plus {
display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
margin-top: -2px; margin-top: -2px;
line-height: 0; line-height: 0;
} }
......
...@@ -133,7 +133,17 @@ ...@@ -133,7 +133,17 @@
} }
} }
// ====================
// button elements
.button {
[class^="icon-"] {
display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
}
}
// ==================== // ====================
......
...@@ -22,6 +22,10 @@ body.course.textbooks { ...@@ -22,6 +22,10 @@ body.course.textbooks {
.button { .button {
margin-left: $baseline; margin-left: $baseline;
@include font-size(14); @include font-size(14);
[class^="icon-"] {
margin-right: ($baseline/2);
}
} }
} }
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<h3 class="sr">Page Actions</h3> <h3 class="sr">Page Actions</h3>
<ul> <ul>
<li class="nav-item"> <li class="nav-item">
<a href="#" class="button upload-button new-button"><i class="icon-cloud-upload"></i> Upload New File</a> <a href="#" class="button upload-button new-button"><i class="icon-plus"></i> Upload New File</a>
</li> </li>
</ul> </ul>
</nav> </nav>
......
<div class="no-textbook-content"> <div class="no-textbook-content">
<p><%= gettext("You haven't added any textbooks to this course yet.") %><a href="#" class="button upload-button new-button"><i class="icon-plus"></i><%= gettext("Add your first textbook") %></a></p> <p><%= gettext("You haven't added any textbooks to this course yet.") %><a href="#" class="button new-button"><i class="icon-plus"></i><%= gettext("Add your first textbook") %></a></p>
</div> </div>
...@@ -59,7 +59,7 @@ $(function() { ...@@ -59,7 +59,7 @@ $(function() {
<h3 class="sr">${_("Page Actions")}</h3> <h3 class="sr">${_("Page Actions")}</h3>
<ul> <ul>
<li class="nav-item"> <li class="nav-item">
<a href="#" class="button upload-button new-button"><i class="icon-cloud-upload "></i> ${_("New Textbook")}</a> <a href="#" class="button new-button"><i class="icon-plus"></i> ${_("New Textbook")}</a>
</li> </li>
</ul> </ul>
</nav> </nav>
......
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