studio - revises plus icon treatment throughout new-button actions

This commit is contained in:
Brian Talbot
2013-06-24 12:13:05 -04:00
committed by David Baumgold
parent a861e01536
commit 414c9d38b6
6 changed files with 17 additions and 11 deletions

View File

@@ -313,11 +313,6 @@ p, ul, ol, dl {
.view-button {
}
.upload-button .icon-plus {
@extend .t-action2;
line-height: 0 !important;
}
}
}
@@ -751,9 +746,6 @@ hr.divide {
}
.icon-plus {
display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
margin-top: -2px;
line-height: 0;
}

View File

@@ -133,7 +133,17 @@
}
}
// ====================
// button elements
.button {
[class^="icon-"] {
display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
}
}
// ====================

View File

@@ -22,6 +22,10 @@ body.course.textbooks {
.button {
margin-left: $baseline;
@include font-size(14);
[class^="icon-"] {
margin-right: ($baseline/2);
}
}
}

View File

@@ -48,7 +48,7 @@
<h3 class="sr">Page Actions</h3>
<ul>
<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>
</ul>
</nav>

View File

@@ -1,3 +1,3 @@
<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>

View File

@@ -59,7 +59,7 @@ $(function() {
<h3 class="sr">${_("Page Actions")}</h3>
<ul>
<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>
</ul>
</nav>