From 925f7afe0fa802f333410e3cad8c6805be139c4b Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 24 Jan 2020 23:52:15 +0300 Subject: [PATCH] feat(admin-plugin): fine tune components layout #211 --- .../assets/src/components/navigations.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/site/plugins/admin/assets/src/components/navigations.css b/site/plugins/admin/assets/src/components/navigations.css index 9817ddab..4b07165a 100644 --- a/site/plugins/admin/assets/src/components/navigations.css +++ b/site/plugins/admin/assets/src/components/navigations.css @@ -23,13 +23,13 @@ height: 100%; padding: 15px; - @apply w-full h-full relative flex items-center justify-center cursor-pointer; + @apply w-full h-full relative flex items-center justify-center cursor-pointer opacity-75; } .navigation__item--active, .navigation__item:hover { - @apply bg-dark-muted; + @apply bg-dark-muted opacity-100; } .navigation__item--logo @@ -55,13 +55,13 @@ .navigation-top-primary__item { padding: 11.5px 20px; - @apply table-cell; + @apply table-cell opacity-75; } .navigation-top-primary__item--active, .navigation-top-primary__item:hover { - @apply bg-dark-muted; + @apply bg-dark-muted opacity-100; } .navigation-top-secondary @@ -72,6 +72,17 @@ @apply flex bg-dark-muted text-white; } +.navigation-top-secondary__item +{ + @apply ml-2 opacity-75; +} + +.navigation-top-secondary__item--active, +.navigation-top-secondary__item:hover +{ + @apply opacity-100; +} + .navigation-top-secondary__icon { width: 24px;