adjust ui detail

Change-Id: Id8be8f5890a9505673ab169fee4bc5823d9c10b2
This commit is contained in:
石博文 2016-09-01 17:25:01 +08:00
parent 223fe260c2
commit 6e05d60590
Notes: Deepin Code Review 2016-09-01 09:32:31 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Thu, 01 Sep 2016 09:32:31 +0000
Reviewed-on: https://cr.deepin.io/15790
Project: dde/dde-dock
Branch: refs/heads/master
2 changed files with 5 additions and 1 deletions

View File

@ -68,6 +68,7 @@ DiskControlItem::DiskControlItem(const DiskInfo &info, QWidget *parent)
setObjectName("DiskItem");
setStyleSheet("QFrame #DiskItem:hover {"
"background-color:rgba(255, 255, 255, .1);"
"border-radius:4px;"
"}");
connect(m_unmountButton, &DImageButton::clicked, [this] {emit requestUnmount(m_info.m_id);});

View File

@ -68,10 +68,13 @@ AccessPointWidget::AccessPointWidget(const AccessPoint &ap)
"text-align:left;"
"}"
"AccessPointWidget {"
"border-top:1px solid rgba(255, 255, 255, .1);"
"border-radius:4px;"
"margin:0 2px;"
"border-top:1px solid rgba(255, 255, 255, .05);"
"}"
"AccessPointWidget:hover {"
"border:none;"
"margin:0;"
"background-color:rgba(255, 255, 255, .1);"
"}"
"AccessPointWidget[active=true] #Ssid {"