diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index d0367a8c1..0862f5a0b 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -44,26 +44,34 @@ $sidebar-active: #f4fcd0; background: #000; } + .admin-top-bar { + background: #fff; + } + .top-bar { background: #fff !important; border-bottom: 1px solid #eee; - box-shadow: 0 2px 2px #eee; color: #000; height: auto; + @include breakpoint(medium) { + box-shadow: 0 2px 2px #eee; + } + [class^="icon-"]:not(.icon-circle) { font-size: $base-font-size; } } - .top-bar-title { + .menu .menu-text { h1 { - margin-bottom: 0; margin-top: $line-height / 2; + margin-bottom: 0; @include breakpoint(medium) { margin-left: $line-height / 2; + margin-top: 0; } small { @@ -94,12 +102,17 @@ $sidebar-active: #f4fcd0; } } - .menu-icon.dark { + .title-bar { + color: #000; + position: absolute; + right: 12px; + } - &::after, - &:hover::after { - background: #000 !important; - box-shadow: 0 7px 0 #000, 0 14px 0 #000 !important; + .menu-icon { + + &::after { + background: #000; + box-shadow: 0 7px 0 #000, 0 14px 0 #000; } } diff --git a/app/views/layouts/_admin_header.html.erb b/app/views/layouts/_admin_header.html.erb index 1e677045f..b3d8c3e5c 100644 --- a/app/views/layouts/_admin_header.html.erb +++ b/app/views/layouts/_admin_header.html.erb @@ -1,38 +1,39 @@
-
+
+
+ +
<%= t("application.menu")%>
+
+
+
+ +
- - - <%= t("application.menu")%> - - - -
-

- <%= link_to admin_root_path do %> - <%= setting['org_name'] %> -
<%= namespaced_header_title %> - <% end %> -

-
-
- +
-
-