diff --git a/core/static/style/layout.less b/core/static/style/layout.less index df830ea..25207d9 100644 --- a/core/static/style/layout.less +++ b/core/static/style/layout.less @@ -1,5 +1,5 @@ body { - padding-top: 70px; + padding-top: 50px; font-family: "WenQuanYi Micro Hei", "WenQuanYi Zen Hei", "Microsoft YaHei", arial, sans-serif; font-size: 16px; @@ -27,6 +27,8 @@ body { } #content { + margin: 20px auto; + header { margin-bottom: 10px; padding-bottom: 10px; @@ -52,8 +54,7 @@ body { padding-left: 15px; .row { - margin-left: 0; - margin-bottom: 20px; + margin: 0 0 20px; header { font-size: 22px; diff --git a/core/static/style/panel.less b/core/static/style/panel.less index 9099f9c..ce91a3d 100644 --- a/core/static/style/panel.less +++ b/core/static/style/panel.less @@ -4,11 +4,13 @@ } } -.btn { - margin-right: 5px; -} - .table.plan-list tr :last-child { text-align: right; margin-right: 50px; } + +#sidebar { + a.btn { + width: 90px; + } +} \ No newline at end of file diff --git a/core/static/style/ticket.less b/core/static/style/ticket.less index 348fc97..ea53d06 100644 --- a/core/static/style/ticket.less +++ b/core/static/style/ticket.less @@ -19,8 +19,4 @@ margin-right: 5px; } } -} - -.btn { - margin-right: 5px; -} +} \ No newline at end of file diff --git a/plugin/rpvhost/static/style/index.less b/plugin/rpvhost/static/style/index.less index 425229b..c9fe7e2 100644 --- a/plugin/rpvhost/static/style/index.less +++ b/plugin/rpvhost/static/style/index.less @@ -1,8 +1,5 @@ #page-title { - margin-top: -20px; - margin-bottom: 20px; - padding-top: 60px; - padding-bottom: 60px; + padding: 60px 0; font-size: 22px; color: #e1d3f7; text-shadow: 0 1px 0 rgba(0,0,0,.1); @@ -11,12 +8,40 @@ h1 { color: #fff; font-size: 60px; + line-height: 60px; + } +} + +#content { + .row { + margin: 45px 0 65px; + } + + .col-md-6 { + padding-right: 80px; + font-size: 18px; + + header { + padding-left: 15px; + } + + li { + line-height: 2em; + } + } + + .col-md-offset-6 { + padding-left: 120px; + + header { + text-align: right; + padding-right: 15px; + } } } #page-footer { - padding-top: 60px; - padding-bottom: 60px; + padding: 60px 0; font-size: 18px; color: #ececf7; background: #a17ac3 linear-gradient(to bottom, #a17ac3 0, #563d7c 100%) repeat-x; @@ -30,33 +55,4 @@ color: #e1d3f7; } } -} - -body #content { - .row { - margin-top: 45px; - margin-bottom: 65px; - } -} - -.col-md-6 { - padding-right: 80px; - font-size: 18px; - - header { - padding-left: 15px; - } - - li { - line-height: 2em; - } -} - -.col-md-6.col-md-offset-6 { - padding-left: 120px; - - header { - text-align: right; - padding-right: 15px; - } } \ No newline at end of file