Browse Source

HUE-7354 [frontend] Reverted the counter to orange, made it more round and changed icon for the mini JB

Enrico Berti 8 years ago
parent
commit
869311e

File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 3 - 2
desktop/core/src/desktop/static/desktop/less/hue.less

@@ -205,10 +205,11 @@ body {
 
 .jobs-badge {
   color: @cui-white;
-  background-color: @cui-purple-300;
+  background-color: @cui-orange-300;
   display: inline-block;
   padding: 1px 6px;
-  border-radius: 4px;
+  border-radius: 12px;
+  min-width: 10px;
   margin-left: 2px;
   font-size: 12px;
   .hue-ease-transition(~"background-color, color");

+ 3 - 3
desktop/core/src/desktop/templates/ko_components.mako

@@ -453,12 +453,12 @@ from desktop.views import _ko
 
   <script type="text/html" id="hue-job-browser-links-template">
     <div class="btn-group pull-right">
-      <a class="btn btn-flat" style="padding-right: 2px" title="${_('Job browser')}" data-bind="hueLink: '/jobbrowser#!jobs', click: function(){ huePubSub.publish('hide.jobs.panel'); }">
+      <a class="btn btn-flat" style="padding-right: 4px" title="${_('Job browser')}" data-bind="hueLink: '/jobbrowser#!jobs', click: function(){ huePubSub.publish('hide.jobs.panel'); }">
         <span>${ _('Jobs') }</span>
       </a>
-      <button class="btn btn-flat btn-toggle-jobs-panel" title="${_('Mini job browser')}" data-bind="click: function() { huePubSub.publish('toggle.jobs.panel'); }, style: {'paddingLeft': jobCount() > 0 ? '0': '4px'}">
+      <button class="btn btn-flat btn-toggle-jobs-panel" title="${_('Jobs quick look')}" data-bind="click: function() { huePubSub.publish('toggle.jobs.panel'); }, style: {'paddingLeft': jobCount() > 0 ? '0': '4px'}">
         <span class="jobs-badge" data-bind="visible: jobCount() > 0, text: jobCount"></span>
-        <i class="fa fa-sliders"></i>
+        <i class="fa fa-th"></i>
       </button>
     </div>
   </script>

Some files were not shown because too many files changed in this diff