From cd25b3f459568238ed1247bdc5f8c05dae92d76c Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Fri, 10 Aug 2018 19:09:23 +0200 Subject: [PATCH] Revert "Removed header less" This reverts commit fbb34a87b18f199da66164a77c66fc3789842216. --- src/styles/base.less | 10 ++++++++++ src/styles/header.less | 37 +++++++++++++++++++++++++++++++++++++ src/styles/index.less | 1 + 3 files changed, 48 insertions(+) create mode 100644 src/styles/header.less diff --git a/src/styles/base.less b/src/styles/base.less index 48d40a03..c19d86d0 100644 --- a/src/styles/base.less +++ b/src/styles/base.less @@ -1,3 +1,13 @@ +html, body { + width: 100%; + height: 100%; + position: relative; + background-color: @color_body; + font-family: @font-default; + font-weight: 400; + font-size: 14px; +} + .app { position: relative; min-height: 100vh; diff --git a/src/styles/header.less b/src/styles/header.less new file mode 100644 index 00000000..b3a680e9 --- /dev/null +++ b/src/styles/header.less @@ -0,0 +1,37 @@ +header { + width: 100%; + height: 52px; + background: @color_header; + + svg { + fill: @color_white; + height: 28px; + width: 100px; + flex: 1; + } + + .layout-wrapper { + width: 100%; + height: 100%; + max-width: 1170px; + margin: 0 auto; + padding: 0 32px; + display: flex; + align-items: center; + } + + a, a:visited { + color: @color_white; + margin-left: 24px; + .hover(); + + &:first-child { + margin: 0px; + } + + &:hover, + &:active { + color: @color_text_secondary; + } + } +} diff --git a/src/styles/index.less b/src/styles/index.less index 56948856..23b95022 100644 --- a/src/styles/index.less +++ b/src/styles/index.less @@ -2,6 +2,7 @@ @import './colors.less'; @import './mixins.less'; @import './base.less'; +@import './header.less'; @import './aside.less'; @import './content.less'; @import './modal.less';