Project

General

Profile

Feature #5987 » hightlight_admin.diff

Highlight Admin theme - Daniel Felix, 2013-04-15 15:35

View differences:

app/helpers/application_helper.rb
467 467

  
468 468
    css << 'controller-' + controller_name
469 469
    css << 'action-' + action_name
470
	css << ' admin' if User.current.admin?
470 471
    css.join(' ')
471 472
  end
472 473

  
public/stylesheets/application.css
26 26
#account {float:right;}
27 27

  
28 28
#header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
29
body.admin #header{background-color:#628DB6;background-repeat:repeat;background-size:15px 15px;background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);}
29 30
#header a {color:#f8f8f8;}
30 31
#header h1 a.ancestor { font-size: 80%; }
31 32
#quick-search {float:right;}
(2-2/2)