studio - revises plus icon treatment throughout new-button actions
This commit is contained in:
committed by
David Baumgold
parent
a861e01536
commit
414c9d38b6
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
.button {
|
||||
margin-left: $baseline;
|
||||
@include font-size(14);
|
||||
|
||||
[class^="icon-"] {
|
||||
margin-right: ($baseline/2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user