From c92873bf6807f8c36727a93d91911110951105aa Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 14 May 2017 17:48:06 +0800 Subject: [PATCH] code refactor --- src/styles/core/core.css | 15 ++++++++++++++- src/styles/theme/default.css | 10 ---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/styles/core/core.css b/src/styles/core/core.css index 3cb614b..3af2492 100644 --- a/src/styles/core/core.css +++ b/src/styles/core/core.css @@ -30,10 +30,23 @@ td { z-index: 2000; } +.main-header .navbar .nav > li { + display: inline-block; +} + +.main-header .navbar .nav > li > a { + padding-left: 10px; + padding-right: 10px; +} + .main-header .navbar .nav > li.disabled > a { pointer-events: none !important; } +.main-header .navbar .navbar-nav { + margin-left: 5px; +} + .main-header .navbar .navbar-searchbar { padding-top: 8px; padding-right: 20px; @@ -49,7 +62,7 @@ td { } .content-wrapper, .right-side { - background-color: #fff; + background-color: #fff; } .content-wrapper > .content-body { diff --git a/src/styles/theme/default.css b/src/styles/theme/default.css index 07771b3..2bdaf20 100644 --- a/src/styles/theme/default.css +++ b/src/styles/theme/default.css @@ -12,19 +12,9 @@ border-bottom: 1px solid #ddd; } -.skin-aria-ng .main-header .navbar .navbar-nav { - margin-left: 5px; -} - -.skin-aria-ng .main-header .navbar .nav > li { - display: inline-block; -} - .skin-aria-ng .main-header .navbar .nav > li > a { color: #707070; font-size: 16px; - padding-left: 10px; - padding-right: 10px; } .skin-aria-ng .main-header .navbar .nav > li > a:hover,