Explorar o código

added padding

lindhork %!s(int64=4) %!d(string=hai) anos
pai
achega
019520a793
Modificáronse 2 ficheiros con 8 adicións e 2 borrados
  1. 2 2
      client/components/main/header.jade
  2. 6 0
      client/components/main/header.styl

+ 2 - 2
client/components/main/header.jade

@@ -37,7 +37,7 @@ template(name="header")
               img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="{{#if currentSetting.customTopLeftCornerLogoHeight}}#{currentSetting.customTopLeftCornerLogoHeight}{{else}}27{{/if}}" width="auto" margin="0" padding="0")
           unless currentSetting.customTopLeftCornerLogoImageUrl
             img(src="{{pathFor '/logo-header.png'}}" alt="")
-        span
+        span.allBoards
           a(href="{{pathFor 'home'}}")
             span.fa.fa-home
             | {{_ 'all-boards'}}
@@ -51,7 +51,7 @@ template(name="header")
               a(href="{{pathFor 'board' id=_id slug=slug}}")
                 = title
           else
-            li.current {{_ 'quick-access-description'}}
+            li.current.empty {{_ 'quick-access-description'}}
 
       // Next line is used only for spacing at header,
       // there is no visible clickable icon.

+ 6 - 0
client/components/main/header.styl

@@ -102,6 +102,9 @@
   z-index: 21
   padding: 10px 0px
 
+  .allBoards
+      padding: 0 0 0 10px
+
   #header-user-bar,
   #header-new-board-icon,
   ul li
@@ -135,6 +138,9 @@
       &.current
         color: darken(white, 5%)
 
+      &.current.empty
+        padding: 12px 10px 12px 10px
+
       &:first-child .fa-home,&:nth-child(3) .fa-globe
         margin-right: 5px