Browse Source

Use the `fa-pulse` spinner built in with Font Awesome

Akinori MUSHA 10 years ago
parent
commit
914bbb4123
2 changed files with 1 additions and 26 deletions
  1. 0 25
      app/assets/stylesheets/application.css.scss.erb
  2. 1 1
      app/views/agents/show.html.erb

+ 0 - 25
app/assets/stylesheets/application.css.scss.erb

@@ -292,28 +292,3 @@ $service-colors:      #55acee     #8fc857     #444444     #2c4762     #007EE5;
 .label-service {
   @include services;
 }
-
-// Font Awesome Spinner
-
-.fa-spin-custom {
-  @include animation(spin 1000ms infinite linear);
-}
-
-@mixin keyframes($name)
-{
-  @-webkit-keyframes $name {
-    @content;
-  }
-  @keyframes $name {
-    @content;
-  }
-}
-
-@include keyframes(spin) {
-  0% {
-    @include rotate(0deg);
-  }
-  100% {
-    @include rotate(359deg);
-  }
-}

+ 1 - 1
app/views/agents/show.html.erb

@@ -165,7 +165,7 @@
             <p id="memory" data-agent-id="<%= @agent.id %>">
               <b>Memory:</b>
               <% if @agent.memory.present? %>
-                <i class="fa fa-spinner fa-spin spinner"></i>
+                <i class="fa fa-spinner fa-pulse spinner"></i>
                 <i class="fa fa-trash action-icon clear"></i>
               <% end %>
               <pre class="memory"><%= Utils.pretty_jsonify @agent.memory || {} %></pre>