From 6dc21236a74442b1d198cde48e66cba3bdba2de7 Mon Sep 17 00:00:00 2001 From: fefa4ka Date: Thu, 6 Aug 2015 04:16:22 +0300 Subject: [PATCH] fix --- zsite/static/less/header.less | 19 +++++++++++---- zsite/static/less/service.less | 44 ++++++++++++++++++++++++++++++---- 2 files changed, 54 insertions(+), 9 deletions(-) diff --git a/zsite/static/less/header.less b/zsite/static/less/header.less index bd510ae..694a4df 100644 --- a/zsite/static/less/header.less +++ b/zsite/static/less/header.less @@ -82,6 +82,14 @@ +.header-menu.main { + li { + @media (min-width: 1200px) { + margin-right: initial; + width: 155px; + } + } +} .header-menu { font-size: 16px; @@ -101,10 +109,10 @@ @media (min-width: @screen-md-min) { margin-right: 22px; } - + @media (min-width: 1200px) { - margin-right: initial; - width: 13.9%; + margin-right: 50px; + } @@ -131,7 +139,7 @@ } .header-menu-description { - font-size: 12px; + @media (min-width: 0) { display: none; @@ -143,7 +151,8 @@ li { vertical-align: top; - width: 13.9%; + font-size: 12px; + width: 155px; } } diff --git a/zsite/static/less/service.less b/zsite/static/less/service.less index eab06fd..727b556 100644 --- a/zsite/static/less/service.less +++ b/zsite/static/less/service.less @@ -103,6 +103,10 @@ margin-bottom: 30px; } +.service-main-row { + margin-top: 50px; +} + .service-row { margin-bottom: 30px; @@ -124,6 +128,15 @@ h4 { margin-bottom: 2px; } + + p.desc { + font-size: 13px; + margin-bottom: 2px; + } + + li { + margin-bottom: 15px; + } } .service-s { @@ -191,7 +204,7 @@ font-size: 15px; margin-bottom: 5px; } - ul.menu { + ul.tabs-list { margin-left: 0; padding-left: 0; @@ -201,7 +214,7 @@ } } - #patents-example-lamp { + .tab-body { background: url('/static/imgs/blueprint_bg.png') no-repeat; background-size: cover; @@ -222,7 +235,7 @@ .row { margin: 15px 0; - padding: 0 20px; + padding: 0 15px; } @@ -233,9 +246,32 @@ } +#patents-example-phone { + .patent-visual { + width: 100%; + float: none; + text-align: center; + img { + width: 60%; + } + } + + .patent-description { + margin-top: 20px; + + ul { + margin-bottom: -10px; + + padding: 0; + li { + width: 49%; + } + } + } +} - #patents-example-lamp { +.tab-body { .patent-visual { width: 30%;