removed symbolset, replaced with fontawesome for alerts, notifications, and all references in js files
This commit is contained in:
committed by
David Baumgold
parent
9a61663dce
commit
4e79d064a0
@@ -16,7 +16,7 @@ CMS.Views.Settings.Details = CMS.Views.ValidatingView.extend({
|
||||
|
||||
},
|
||||
initialize : function() {
|
||||
this.fileAnchorTemplate = _.template('<a href="<%= fullpath %>"> <i class="ss-icon ss-standard">📄</i><%= filename %></a>');
|
||||
this.fileAnchorTemplate = _.template('<a href="<%= fullpath %>"> <i class="icon-file"></i><%= filename %></a>');
|
||||
// fill in fields
|
||||
this.$el.find("#course-name").val(this.model.get('location').get('name'));
|
||||
this.$el.find("#course-organization").val(this.model.get('location').get('org'));
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
padding: ($baseline/2) ($baseline*0.75);
|
||||
background: transparent;
|
||||
|
||||
.ss-icon {
|
||||
[class^="icon-"] {
|
||||
@include transition(top .25s ease-in-out .25s);
|
||||
@include font-size(15);
|
||||
display: inline-block;
|
||||
@@ -60,7 +60,7 @@
|
||||
&:hover, &:active {
|
||||
color: $gray-d2;
|
||||
|
||||
.ss-icon {
|
||||
[class^="icon-"] {
|
||||
color: $gray-d2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
}
|
||||
|
||||
.ss-icon {
|
||||
|
||||
[class^="icon-"] {
|
||||
|
||||
}
|
||||
|
||||
.icon-inline {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: ($baseline/4);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -272,9 +272,9 @@ body.signup, body.signin {
|
||||
background: $yellow-d1;
|
||||
color: $white;
|
||||
|
||||
.ss-icon {
|
||||
[class^="icon-"] {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
top: 1px;
|
||||
@include font-size(16);
|
||||
display: inline-block;
|
||||
margin-right: ($baseline/2);
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
>
|
||||
<div class="<%= type %> <%= intent %> <% if(obj.actions) { %>has-actions<% } %>">
|
||||
<% if(obj.icon) { %>
|
||||
<% var iconText = {"warning": "⚠", "confirmation": "✓", "error": "⚠", "announcement": "📢", "step-required": "", "help": "❓", "saving": "⚙"} %>
|
||||
<i class="ss-icon ss-symbolicons-block icon icon-<%= intent %>"><%= iconText[intent] %></i>
|
||||
<% var iconClass = {"warning": "warning-sign", "confirmation": "ok", "error": "warning-sign", "announcement": "bullhorn", "step-required": "exclamation-sign", "help": "question-sign", "saving": "cog"} %>
|
||||
<i class="icon-<%= iconClass[intent] %>"></i>
|
||||
<% } %>
|
||||
|
||||
<div class="copy">
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<% if(obj.closeIcon) { %>
|
||||
<a href="#" rel="view" class="action action-close action-<%= type %>-close">
|
||||
<i class="ss-icon ss-symbolicons-block icon icon-close">␡</i>
|
||||
<i class="icon-remove-sign"></i>
|
||||
<span class="label">close <%= type %></span>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
@@ -110,7 +110,7 @@ editor.render();
|
||||
<!-- notification: change has been made and a save is needed -->
|
||||
<div class="wrapper wrapper-notification wrapper-notification-warning" aria-hidden="true" role="dialog" aria-labelledby="notification-changesMade-title" aria-describedby="notification-changesMade-description">
|
||||
<div class="notification warning has-actions">
|
||||
<i class="ss-icon ss-symbolicons-block icon icon-warning">⚠</i>
|
||||
<i class="icon-warning-sign"></i>
|
||||
|
||||
<div class="copy">
|
||||
<h2 class="title title-3" id="notification-changesMade-title">You've Made Some Changes</h2>
|
||||
@@ -136,7 +136,7 @@ editor.render();
|
||||
<!-- alert: save confirmed with close -->
|
||||
<div class="wrapper wrapper-alert wrapper-alert-confirmation" role="status">
|
||||
<div class="alert confirmation">
|
||||
<i class="ss-icon ss-symbolicons-standard icon icon-confirmation">✓</i>
|
||||
<i class="icon-ok"></i>
|
||||
|
||||
<div class="copy">
|
||||
<h2 class="title title-3">Your policy changes have been saved.</h2>
|
||||
@@ -144,7 +144,7 @@ editor.render();
|
||||
</div>
|
||||
|
||||
<a href="" rel="view" class="action action-alert-close">
|
||||
<i class="ss-icon ss-symbolicons-block icon icon-close">␡</i>
|
||||
<i class="icon-remove-sign"></i>
|
||||
<span class="label">close alert</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -153,7 +153,7 @@ editor.render();
|
||||
<!-- alert: error -->
|
||||
<div class="wrapper wrapper-alert wrapper-alert-error" role="status">
|
||||
<div class="alert error">
|
||||
<i class="ss-icon ss-symbolicons-block icon icon-error">⚠</i>
|
||||
<i class="icon-warning-sign"></i>
|
||||
|
||||
<div class="copy">
|
||||
<h2 class="title title-3">There was an error saving your information</h2>
|
||||
|
||||
Reference in New Issue
Block a user