Sfoglia il codice sorgente

adjust logo layout

Yuki Takei 6 anni fa
parent
commit
4a9c386983

+ 4 - 2
src/client/styles/scss/_layout.scss

@@ -13,17 +13,19 @@
 .logo {
   .logo-mark {
     svg {
-      width: $grw-logomark-width;
+      width: $grw-logo-width;
       height: $grw-navbar-height;
-      padding: 12px;
+      padding: ($grw-logo-width - $grw-logomark-width) / 2;
     }
   }
+  /*
   .logo-text {
     svg {
       width: 156px;
       height: $grw-navbar-height;
     }
   }
+  */
 }
 
 .confidential {

+ 2 - 1
src/client/styles/scss/_variables.scss

@@ -1,8 +1,9 @@
 $font-family-monospace-not-strictly: Monaco, Menlo, Consolas, 'Courier New', MeiryoKe_Gothic, monospace;
 
 // Layout
-$grw-logomark-width: 60px;
 $grw-navbar-height: 50px;
+$grw-logo-width: 60px;
+$grw-logomark-width: 32px;
 
 // fix tab width to 95 pixels
 // see also '_on-edit.scss'