Page MenuHomePhabricator

D14124.diff
No OneTemporary

D14124.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -121,7 +121,7 @@
'rsrc/css/phui/calendar/phui-calendar-month.css' => '476be7e0',
'rsrc/css/phui/calendar/phui-calendar.css' => 'ccabe893',
'rsrc/css/phui/phui-action-list.css' => 'c5eba19d',
- 'rsrc/css/phui/phui-action-panel.css' => 'bac94b03',
+ 'rsrc/css/phui/phui-action-panel.css' => '91c7b835',
'rsrc/css/phui/phui-badge.css' => 'f25c3476',
'rsrc/css/phui/phui-box.css' => 'a5bb366d',
'rsrc/css/phui/phui-button.css' => '16020a60',
@@ -764,7 +764,7 @@
'phortune-css' => '9149f103',
'phrequent-css' => 'ffc185ad',
'phriction-document-css' => 'd1861e06',
- 'phui-action-panel-css' => 'bac94b03',
+ 'phui-action-panel-css' => '91c7b835',
'phui-badge-view-css' => 'f25c3476',
'phui-box-css' => 'a5bb366d',
'phui-button-css' => '16020a60',
diff --git a/src/view/phui/PHUIActionPanelView.php b/src/view/phui/PHUIActionPanelView.php
--- a/src/view/phui/PHUIActionPanelView.php
+++ b/src/view/phui/PHUIActionPanelView.php
@@ -91,21 +91,12 @@
$header = null;
if ($this->header) {
- $header = $this->header;
- if ($this->href) {
- $header = phutil_tag(
- 'a',
- array(
- 'href' => $this->href,
- ),
- $this->header);
- }
$header = phutil_tag(
- 'div',
+ 'span',
array(
'class' => 'phui-action-panel-header',
),
- $header);
+ $this->header);
}
$subheader = null;
@@ -135,15 +126,13 @@
),
$row);
- $content = phutil_tag(
+ return phutil_tag(
'a',
array(
'href' => $this->href,
'class' => 'phui-action-panel-hitarea',
),
- $table);
-
- return array($header, $content);
+ array($header, $table));
}
diff --git a/webroot/rsrc/css/phui/phui-action-panel.css b/webroot/rsrc/css/phui/phui-action-panel.css
--- a/webroot/rsrc/css/phui/phui-action-panel.css
+++ b/webroot/rsrc/css/phui/phui-action-panel.css
@@ -20,6 +20,16 @@
display: block;
}
+.device-desktop .phui-action-panel-hitarea:hover {
+ text-decoration: none;
+ background-color: rgba(255,255,255,.25);
+}
+
+.device-desktop .phui-action-panel-hitarea:hover .phui-icon-view {
+ margin-top: -4px;
+ transition-duration: .2s;
+}
+
.phui-action-panel-table {
display: table;
height: 80px;
@@ -37,13 +47,6 @@
display: table-cell;
}
-.phui-action-panel-bigtext .phui-action-panel-subheader {
- font-size: 28px;
- color: {$darkbluetext};
- text-align: center;
- padding: 0 8px;
-}
-
.phui-action-panel-icon a {
display: block;
}
@@ -68,10 +71,15 @@
font-weight: bold;
white-space: nowrap;
overflow: hidden;
+ color: {$darkbluetext};
+ display: block;
}
-.phui-action-panel-header a {
+.phui-action-panel-bigtext .phui-action-panel-subheader {
+ font-size: 28px;
color: {$darkbluetext};
+ text-align: center;
+ padding: 0 8px;
}
.phui-action-panel-subheader {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 11:37 PM (1 w, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715357
Default Alt Text
D14124.diff (3 KB)

Event Timeline