Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13960821
D14124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D14124.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Oct 16 2024, 1:42 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715357
Default Alt Text
D14124.diff (3 KB)
Attached To
Mode
D14124: Usability updates to ActionPanel
Attached
Detach File
Event Timeline
Log In to Comment