From 53543b83ff5f24e7febd46223705f30dd25a2d82 Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 25 Mar 2020 22:18:15 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E4=BF=AE=E6=94=B9=20valine=20?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E7=B3=BB=E7=BB=9F=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E5=85=B6=E8=B7=9F=E7=BD=91=E7=AB=99=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E8=89=B2=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/css/layout/common/site-info.styl | 2 +- source/css/layout/common/valine.styl | 66 ++++++++++++++++++++++--- source/css/layout/variables.styl | 2 +- 3 files changed, 60 insertions(+), 10 deletions(-) diff --git a/source/css/layout/common/site-info.styl b/source/css/layout/common/site-info.styl index ab2d736..d543e6b 100644 --- a/source/css/layout/common/site-info.styl +++ b/source/css/layout/common/site-info.styl @@ -31,7 +31,7 @@ $description-font-size = 16px .description { - padding: 5px; + padding: 10px; font-size: $description-font-size; } diff --git a/source/css/layout/common/valine.styl b/source/css/layout/common/valine.styl index 4c171d9..eff264b 100644 --- a/source/css/layout/common/valine.styl +++ b/source/css/layout/common/valine.styl @@ -1,13 +1,63 @@ +@require '../variables.styl' .valine-container { - .vcontrol { - .col-20 a { - display: none; + + #valine { + + .vheader { + + .vinput { + + &:focus { + border-bottom: 1px solid $a-hover-color !important; + } + } + } + + + .vcontrol { + .col-20 a { + display: none; + } + + .col-80 { + button.vsubmit { + background: transparent !important; + color: $default-font-color !important; + border: 1px solid $default-font-color !important; + + + &:hover { + color: $a-hover-color !important; + border: 1px solid $a-hover-color !important; + } + } + + } + + + } + + + .vlist { + .vcard { + .vhead { + .vnick { + + &::before { + background: $a-hover-color !important; + } + color: $a-hover-color; + } + } + } + } + + .info { + .txt-right { + display none + } } } - .info { - .txt-right { - display none - } - } + } \ No newline at end of file diff --git a/source/css/layout/variables.styl b/source/css/layout/variables.styl index b8118df..11bc267 100644 --- a/source/css/layout/variables.styl +++ b/source/css/layout/variables.styl @@ -53,7 +53,7 @@ $nav-selected-color = #4a4a4a $a-color = #666 // 超链接a标签悬浮颜色 -$a-hover-color = #2273d8 +$a-hover-color = #135bce // 按钮颜色 $button-color = $default-font-color