From ce1a9b27324309930f3fc2e9ac4d5a3eaaed24d4 Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 4 May 2016 14:28:56 +0800 Subject: [PATCH] * ajust style of module labels. --- www/theme/default/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/theme/default/style.css b/www/theme/default/style.css index dc64b60110..4765d3665e 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -62,9 +62,9 @@ a,a:focus,a:active {text-decoration: none; outline:none;} /* Label */ .label-badge {padding: 2px 6px} -.label-angle {background-color: #d3dff7; line-height: 24px; padding: 0 5px; position: relative; top: 2px; border: 1px solid #c6d2eb; margin-right: 18px; font-size: 13px; transition: all .2s; color: #114f8e} +.label-angle {background-color: #d3dff7; line-height: 24px; padding: 0 5px; position: relative; top: 2px; border: 1px solid #c6d2eb; margin-right: 18px; font-size: 13px; transition: margin .2s, padding .2s; color: #114f8e} .label-angle > a {position: absolute; right: 0; top: 0; filter: alpha(opacity=0); opacity: 0} -.label-angle.with-close:hover {padding-right: 18px;} +.label-angle.with-close:hover {padding-right: 18px; margin-right: 5px} .label-angle:hover > a {filter: alpha(opacity=100); opacity: 1} .label-angle:before, .label-angle:after {content: ' '; display: block; width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 13px; border-color: transparent transparent transparent #c6d2eb; position: absolute; right: -13px; top: -1px; z-index: 1} .label-angle:after {border-width: 12px 0 12px 12px; top: 0px; z-index: 2; right: -11px; border-color: transparent transparent transparent #d3dff7;}