2012-08-15 19:45:06 +02:00
|
|
|
/**
|
2013-09-09 23:14:34 +02:00
|
|
|
* @provides phui-object-item-list-view-css
|
2012-08-15 19:45:06 +02:00
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-view {
|
2012-12-13 19:59:29 +01:00
|
|
|
padding: 8px 6px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-item-list-view {
|
2014-01-21 23:23:36 +01:00
|
|
|
padding: 16px;
|
2013-01-19 03:08:06 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-view + .phui-object-item-list-view {
|
Use ApplicationSearch in Differential
Summary:
Ref T603. Ref T2625. Fixes T3241. Depends on D5451. Depends on D6346.
@wez, this changes the Differential revision list UI substantially and may generate a lot of bikeshedding / who-moved-my-cheese churn. See T3417 for context, for example. The motivations for this change are:
- The list now works on devices, like phones and tablets. This is a requirement to make the rest of Differential work on devices.
- Although ApplicationSearch intentionally presents a simpler interface initially and some options which were one click away before aren't now, it is much more powerful than the search it replaces and allows users to build, save, share, fork, edit, and customize a much wider range of queries. Users who used the old filters frequently can use Advanced Search -> Save Custom Query to create new versions of them, and of any other query. "Edit Queries.." allows users to remove and reorder queries, including builtin queries. Basically, there are like three things which have gone from "1-click" to "a few clicks", and ten trillion things which have gone from "hard/impossible" to "relatively easy".
The local screenshots look a bit iffy, but I think a lot of this is the fakenesss of my test data. If they still feel iffy in production we can tweak them until they feel good, like we did for Maniphest.
Test Plan:
{F48477}
{F48478}
Reviewers: btrahan, chad, wez
Reviewed By: btrahan
CC: aran, s
Maniphest Tasks: T603, T2625, T3241
Differential Revision: https://secure.phabricator.com/D6347
2013-07-03 15:11:07 +02:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-view.phui-object-list-flush {
|
2013-03-23 22:37:18 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-01-01 01:28:35 +01:00
|
|
|
.phui-object-box .phui-object-item-list-view.phui-object-list-flush {
|
2014-01-13 19:00:40 +01:00
|
|
|
padding: 8px 12px 4px 12px;
|
2014-01-01 01:28:35 +01:00
|
|
|
background-color: #E5E8EE;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .phui-object-box
|
|
|
|
.phui-object-item-list-view.phui-object-list-flush {
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-view .aphront-error-view {
|
2014-02-28 20:16:11 +01:00
|
|
|
margin: 4px 0 8px 0;
|
|
|
|
color: {$bluetext};
|
[Rough Sketch] Differential ObjectItemView Smexyness
Summary:
Tried out `PhabricatorObjectItemView` for Differential. It looks smexy and smooth.
Refs T2014
- Title and Date as Maniphest
- Author in the handle icon
- Bar color reflects revision status (Needs Review, Accepted, Abandoned etc.) @chad looking for non-blue is faster than keeping watch for everything that's not "Closed" in old table form
- Some status information are in footer icons; currently only stale/old status display as well as saved drafts, maybe more in future; these come into my mind:
- No reviewer warning
- Push Blocking Priority (T2730)
- Trivial, fast review guaranteed
- Sketch / Just looking for advice/help
- Arcanist Project (T2614)
- Denote "Public Send-in" (T1476)
{F37662}
{F37663}
{F37664}
{F37665}
Some flaws:
- Date and reviewers on every entry the same?
- No respect for Differential fields (for some reason, every entry appeared the same, so broke it to parts)
- Plenty of (potential) increase in height - advise reducing paging length from 100 to 50 - or just ignore me
Suggestions for the future:
- Expand the meta information regarding revisions; e.g. the various status displays above
- Uh... T2543, T1279, T793, T731 and what else I want for Differential, because they are awesome!
- T793 should be in particular easy appearance-wise, just copy-paste from Maniphest
Test Plan: By looking at it, of course. Verified there are no errors or crashed
Reviewers: epriestley, chad, btrahan, liguobig
Reviewed By: chad
CC: aran, Korvin, edward, nh
Maniphest Tasks: T2014
Differential Revision: https://secure.phabricator.com/D5451
Conflicts:
src/__celerity_resource_map__.php
2013-07-02 21:14:33 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item {
|
2012-12-13 19:59:29 +01:00
|
|
|
background: #ffffff;
|
|
|
|
border-style: solid;
|
2013-09-02 17:10:47 +02:00
|
|
|
border-color: {$lightgreyborder};
|
2013-06-19 17:37:56 +02:00
|
|
|
border-width: 0 0 0 4px;
|
2013-01-25 06:00:47 +01:00
|
|
|
margin: 5px 0;
|
2012-08-15 19:45:06 +02:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item .phui-icon-view {
|
2013-07-03 17:53:01 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-frame {
|
2013-03-23 22:37:18 +01:00
|
|
|
border-style: solid;
|
2013-09-02 17:10:47 +02:00
|
|
|
border-color: {$lightgreyborder};
|
|
|
|
border-bottom-color: {$greyborder};
|
2013-03-23 22:37:18 +01:00
|
|
|
border-width: 1px 1px 1px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2013-04-03 17:28:22 +02:00
|
|
|
min-height: 29px;
|
2013-03-25 20:20:49 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards .phui-object-item-frame {
|
2013-03-24 03:50:26 +01:00
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-item {
|
2013-01-19 03:08:06 +01:00
|
|
|
margin: 0 0 5px 0;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-name {
|
2013-03-23 22:38:01 +01:00
|
|
|
display: inline-block;
|
2012-08-15 19:45:06 +02:00
|
|
|
font-weight: bold;
|
2013-04-06 20:38:43 +02:00
|
|
|
padding: 6px 8px 0;
|
|
|
|
white-space: nowrap;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-link {
|
2013-03-23 22:37:18 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-objname {
|
2013-09-02 17:10:47 +02:00
|
|
|
color: {$darkgreytext};
|
2013-03-23 22:38:01 +01:00
|
|
|
cursor: text;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-content {
|
2013-05-31 17:40:03 +02:00
|
|
|
margin-top: 4px;
|
2012-12-17 17:26:44 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-grippable {
|
2013-03-23 22:37:18 +01:00
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-grip {
|
2013-03-23 22:37:18 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2013-04-06 20:38:43 +02:00
|
|
|
width: 17px;
|
2013-09-09 23:14:34 +02:00
|
|
|
background: url('/rsrc/image/texture/grip.png') center center no-repeat;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-grippable .phui-object-item-frame {
|
2013-04-06 20:38:43 +02:00
|
|
|
padding-left: 11px;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-header {
|
Use ApplicationSearch in Differential
Summary:
Ref T603. Ref T2625. Fixes T3241. Depends on D5451. Depends on D6346.
@wez, this changes the Differential revision list UI substantially and may generate a lot of bikeshedding / who-moved-my-cheese churn. See T3417 for context, for example. The motivations for this change are:
- The list now works on devices, like phones and tablets. This is a requirement to make the rest of Differential work on devices.
- Although ApplicationSearch intentionally presents a simpler interface initially and some options which were one click away before aren't now, it is much more powerful than the search it replaces and allows users to build, save, share, fork, edit, and customize a much wider range of queries. Users who used the old filters frequently can use Advanced Search -> Save Custom Query to create new versions of them, and of any other query. "Edit Queries.." allows users to remove and reorder queries, including builtin queries. Basically, there are like three things which have gone from "1-click" to "a few clicks", and ten trillion things which have gone from "hard/impossible" to "relatively easy".
The local screenshots look a bit iffy, but I think a lot of this is the fakenesss of my test data. If they still feel iffy in production we can tweak them until they feel good, like we did for Maniphest.
Test Plan:
{F48477}
{F48478}
Reviewers: btrahan, chad, wez
Reviewed By: btrahan
CC: aran, s
Maniphest Tasks: T603, T2625, T3241
Differential Revision: https://secure.phabricator.com/D6347
2013-07-03 15:11:07 +02:00
|
|
|
padding: 0 0 8px 0;
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
Use ApplicationSearch in Differential
Summary:
Ref T603. Ref T2625. Fixes T3241. Depends on D5451. Depends on D6346.
@wez, this changes the Differential revision list UI substantially and may generate a lot of bikeshedding / who-moved-my-cheese churn. See T3417 for context, for example. The motivations for this change are:
- The list now works on devices, like phones and tablets. This is a requirement to make the rest of Differential work on devices.
- Although ApplicationSearch intentionally presents a simpler interface initially and some options which were one click away before aren't now, it is much more powerful than the search it replaces and allows users to build, save, share, fork, edit, and customize a much wider range of queries. Users who used the old filters frequently can use Advanced Search -> Save Custom Query to create new versions of them, and of any other query. "Edit Queries.." allows users to remove and reorder queries, including builtin queries. Basically, there are like three things which have gone from "1-click" to "a few clicks", and ten trillion things which have gone from "hard/impossible" to "relatively easy".
The local screenshots look a bit iffy, but I think a lot of this is the fakenesss of my test data. If they still feel iffy in production we can tweak them until they feel good, like we did for Maniphest.
Test Plan:
{F48477}
{F48478}
Reviewers: btrahan, chad, wez
Reviewed By: btrahan
CC: aran, s
Maniphest Tasks: T603, T2625, T3241
Differential Revision: https://secure.phabricator.com/D6347
2013-07-03 15:11:07 +02:00
|
|
|
}
|
|
|
|
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
/* - Item Actions --------------------------------------------------------------
|
|
|
|
|
|
|
|
Action buttons, like "Edit" and "Delete".
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: right;
|
2013-09-02 17:10:47 +02:00
|
|
|
border-left: 1px solid {$lightgreyborder};
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-view {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
float: right;
|
|
|
|
height: 100%;
|
|
|
|
width: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-view +
|
2013-06-05 17:41:43 +02:00
|
|
|
.phui-list-item-view {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
border-right: 1px solid #d6d6e9;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-href {
|
2013-06-05 17:41:43 +02:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: 24px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-href:hover {
|
2013-05-31 17:40:03 +02:00
|
|
|
background: #e9e9f9;
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-icon {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -7px;
|
|
|
|
left: 5px;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-actions .phui-list-item-name {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-with-1-actions .phui-object-item-content-box {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
margin-right: 24px;
|
2013-10-08 23:35:56 +02:00
|
|
|
overflow: hidden;
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-with-2-actions .phui-object-item-content-box {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
margin-right: 48px;
|
2013-10-08 23:35:56 +02:00
|
|
|
overflow: hidden;
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-with-3-actions .phui-object-item-content-box {
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
margin-right: 72px;
|
2013-10-08 23:35:56 +02:00
|
|
|
overflow: hidden;
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
}
|
|
|
|
|
2013-03-10 02:55:01 +01:00
|
|
|
|
|
|
|
/* - Stackable List ------------------------------------------------------------
|
|
|
|
|
|
|
|
Tighter, stacking list.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-list-view.phui-object-list-stackable
|
|
|
|
.phui-object-item {
|
2013-03-10 02:55:01 +01:00
|
|
|
margin: -1px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-stackable .phui-object-item {
|
2013-03-23 22:37:18 +01:00
|
|
|
border-left-width: 1px;
|
2013-03-10 02:55:01 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-list-stackable
|
|
|
|
.phui-object-item:hover {
|
2013-03-10 02:55:01 +01:00
|
|
|
background: #e9ecf5;
|
|
|
|
}
|
|
|
|
|
2013-05-06 23:01:57 +02:00
|
|
|
/* - Subhead -------------------------------------------------------------------
|
|
|
|
|
|
|
|
Descriptive Text or Links under the main header, before attributes.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-subhead {
|
2013-09-02 17:10:47 +02:00
|
|
|
color: {$greytext};
|
2013-05-06 23:01:57 +02:00
|
|
|
padding: 0 8px 6px;
|
|
|
|
}
|
|
|
|
|
2013-03-10 02:55:01 +01:00
|
|
|
|
2012-12-17 17:26:44 +01:00
|
|
|
/* - Attribute List ------------------------------------------------------------
|
2012-12-13 19:59:29 +01:00
|
|
|
|
|
|
|
Object attributes, commonly used to render created date, etc.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-attributes {
|
2013-04-03 17:28:22 +02:00
|
|
|
padding: 0 8px 6px;
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-attribute {
|
2012-12-13 19:59:29 +01:00
|
|
|
display: inline;
|
2013-09-02 17:10:47 +02:00
|
|
|
color: {$greytext};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
2012-08-15 19:45:06 +02:00
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-attribute-spacer {
|
2012-12-13 19:59:29 +01:00
|
|
|
padding: 0 4px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-12-17 17:26:44 +01:00
|
|
|
/* - Icons ---------------------------------------------------------------------
|
2012-12-13 19:59:29 +01:00
|
|
|
|
2012-12-17 17:26:44 +01:00
|
|
|
Icons, which show object state. On mobile, they are rendered without labels
|
|
|
|
to save space.
|
2012-08-15 19:45:06 +02:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-icon-pane {
|
2013-03-23 22:37:18 +01:00
|
|
|
float: right;
|
2013-05-31 17:40:03 +02:00
|
|
|
margin-top: 6px;
|
2013-04-06 20:38:43 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device .phui-object-item-no-icon-images .phui-object-icon-pane {
|
2013-04-06 20:38:43 +02:00
|
|
|
display: none;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-with-handle-icons .phui-object-item-icons {
|
2013-03-25 20:20:49 +01:00
|
|
|
padding-bottom: 30px;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-icons {
|
2012-12-13 19:59:29 +01:00
|
|
|
float: right;
|
2013-04-06 20:38:43 +02:00
|
|
|
padding: 0 10px;
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
2012-08-15 19:45:06 +02:00
|
|
|
|
2012-12-17 17:26:44 +01:00
|
|
|
/* NOTE: The main content is an "overflow: hidden" div which we give a right
|
|
|
|
margin so it doesn't overlap the icons. The margin is slightly larger than
|
|
|
|
the width + padding of the icon div, so the icons have some space even if
|
|
|
|
the content is wider than available space. */
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-icon-pane {
|
2012-12-13 19:59:29 +01:00
|
|
|
width: 120px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2014-04-10 20:23:38 +02:00
|
|
|
.device-phone .phui-object-icon-pane {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
2014-05-02 23:25:58 +02:00
|
|
|
.device-phone .phui-object-item-with-1-actions .phui-object-icon-pane {
|
|
|
|
right: 25px;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-item-with-icons
|
|
|
|
.phui-object-item-content,
|
|
|
|
.device-desktop .phui-object-item-with-handle-icons
|
|
|
|
.phui-object-item-content {
|
2012-12-17 17:26:44 +01:00
|
|
|
margin-right: 132px;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device .phui-object-item-icons {
|
2012-12-13 19:59:29 +01:00
|
|
|
width: 18px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device .phui-object-item-with-icons .phui-object-item-content,
|
|
|
|
.device .phui-object-item-with-handle-icons
|
|
|
|
.phui-object-item-content {
|
2012-12-17 17:26:44 +01:00
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
|
2013-10-08 23:35:56 +02:00
|
|
|
.device .phui-object-item-icon-label,
|
|
|
|
.device .phui-object-item-icon-none {
|
2012-12-13 19:59:29 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-icon {
|
2013-03-23 22:37:18 +01:00
|
|
|
vertical-align: middle;
|
2012-12-13 19:59:29 +01:00
|
|
|
position: relative;
|
2014-04-10 20:23:38 +02:00
|
|
|
font-size: 12px;
|
2013-09-02 17:08:54 +02:00
|
|
|
color: {$greytext};
|
2012-08-15 19:45:06 +02:00
|
|
|
text-align: right;
|
2012-12-13 19:59:29 +01:00
|
|
|
white-space: nowrap;
|
2012-08-15 19:45:06 +02:00
|
|
|
overflow: hidden;
|
2012-12-13 19:59:29 +01:00
|
|
|
|
|
|
|
min-height: 18px;
|
|
|
|
line-height: 18px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
[Rough Sketch] Differential ObjectItemView Smexyness
Summary:
Tried out `PhabricatorObjectItemView` for Differential. It looks smexy and smooth.
Refs T2014
- Title and Date as Maniphest
- Author in the handle icon
- Bar color reflects revision status (Needs Review, Accepted, Abandoned etc.) @chad looking for non-blue is faster than keeping watch for everything that's not "Closed" in old table form
- Some status information are in footer icons; currently only stale/old status display as well as saved drafts, maybe more in future; these come into my mind:
- No reviewer warning
- Push Blocking Priority (T2730)
- Trivial, fast review guaranteed
- Sketch / Just looking for advice/help
- Arcanist Project (T2614)
- Denote "Public Send-in" (T1476)
{F37662}
{F37663}
{F37664}
{F37665}
Some flaws:
- Date and reviewers on every entry the same?
- No respect for Differential fields (for some reason, every entry appeared the same, so broke it to parts)
- Plenty of (potential) increase in height - advise reducing paging length from 100 to 50 - or just ignore me
Suggestions for the future:
- Expand the meta information regarding revisions; e.g. the various status displays above
- Uh... T2543, T1279, T793, T731 and what else I want for Differential, because they are awesome!
- T793 should be in particular easy appearance-wise, just copy-paste from Maniphest
Test Plan: By looking at it, of course. Verified there are no errors or crashed
Reviewers: epriestley, chad, btrahan, liguobig
Reviewed By: chad
CC: aran, Korvin, edward, nh
Maniphest Tasks: T2014
Differential Revision: https://secure.phabricator.com/D5451
Conflicts:
src/__celerity_resource_map__.php
2013-07-02 21:14:33 +02:00
|
|
|
/*
|
|
|
|
* Items with icon 'none' still have on mobile, thus creating a weird vertical
|
|
|
|
* margin for elements which follow
|
|
|
|
*/
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-phone .phui-object-item-icon-none {
|
[Rough Sketch] Differential ObjectItemView Smexyness
Summary:
Tried out `PhabricatorObjectItemView` for Differential. It looks smexy and smooth.
Refs T2014
- Title and Date as Maniphest
- Author in the handle icon
- Bar color reflects revision status (Needs Review, Accepted, Abandoned etc.) @chad looking for non-blue is faster than keeping watch for everything that's not "Closed" in old table form
- Some status information are in footer icons; currently only stale/old status display as well as saved drafts, maybe more in future; these come into my mind:
- No reviewer warning
- Push Blocking Priority (T2730)
- Trivial, fast review guaranteed
- Sketch / Just looking for advice/help
- Arcanist Project (T2614)
- Denote "Public Send-in" (T1476)
{F37662}
{F37663}
{F37664}
{F37665}
Some flaws:
- Date and reviewers on every entry the same?
- No respect for Differential fields (for some reason, every entry appeared the same, so broke it to parts)
- Plenty of (potential) increase in height - advise reducing paging length from 100 to 50 - or just ignore me
Suggestions for the future:
- Expand the meta information regarding revisions; e.g. the various status displays above
- Uh... T2543, T1279, T793, T731 and what else I want for Differential, because they are awesome!
- T793 should be in particular easy appearance-wise, just copy-paste from Maniphest
Test Plan: By looking at it, of course. Verified there are no errors or crashed
Reviewers: epriestley, chad, btrahan, liguobig
Reviewed By: chad
CC: aran, Korvin, edward, nh
Maniphest Tasks: T2014
Differential Revision: https://secure.phabricator.com/D5451
Conflicts:
src/__celerity_resource_map__.php
2013-07-02 21:14:33 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-item-icon {
|
2013-09-03 17:24:41 +02:00
|
|
|
padding-right: 18px;
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
2012-08-15 19:45:06 +02:00
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.device-desktop .phui-object-item-icon-none {
|
2013-03-23 22:37:18 +01:00
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-icon-image {
|
2012-12-13 19:59:29 +01:00
|
|
|
position: absolute;
|
2013-09-03 17:24:41 +02:00
|
|
|
right: 0;
|
2012-12-13 19:59:29 +01:00
|
|
|
top: 2px;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-12-17 01:33:02 +01:00
|
|
|
/* - Bar Colors ----------------------------------------------------------------
|
2012-08-15 19:45:06 +02:00
|
|
|
|
2012-12-17 01:33:02 +01:00
|
|
|
Colors for the left-hand border bars, used to indicate object status or other
|
|
|
|
attributes.
|
2012-08-15 19:45:06 +02:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-red {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$red};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
2012-08-15 19:45:06 +02:00
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-orange {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$orange};
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-yellow {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$yellow};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-green {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$green};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-sky {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$sky};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-blue {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$blue};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-indigo {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$indigo};
|
2012-12-13 19:59:29 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-violet {
|
2013-06-20 05:25:41 +02:00
|
|
|
border-left-color: {$violet};
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-grey {
|
2013-06-19 17:37:56 +02:00
|
|
|
border-left-color: #bdc3c7;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bar-color-black {
|
2012-12-13 19:59:29 +01:00
|
|
|
border-left-color: #333333;
|
2012-08-15 19:45:06 +02:00
|
|
|
}
|
2012-12-17 01:33:02 +01:00
|
|
|
|
2013-07-12 20:31:20 +02:00
|
|
|
/* - Disabled ------------------------------------------------------------------
|
|
|
|
|
|
|
|
Disabled/inactive objects.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-disabled {
|
2013-07-12 20:31:20 +02:00
|
|
|
border-left-color: #d7d7d7;
|
|
|
|
}
|
|
|
|
|
2013-12-05 05:45:23 +01:00
|
|
|
.phui-object-item-disabled .phui-object-item-link,
|
|
|
|
.phui-object-item-disabled .phui-object-item-link a {
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-disabled .phui-object-item-frame {
|
2013-07-12 20:31:20 +02:00
|
|
|
border-color: #d7d7d7;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-disabled .phui-object-item-objname {
|
2013-09-02 17:10:47 +02:00
|
|
|
color: {$greytext};
|
2013-12-05 05:45:23 +01:00
|
|
|
text-decoration: line-through;
|
2013-07-12 20:31:20 +02:00
|
|
|
}
|
|
|
|
|
2012-12-17 01:33:02 +01:00
|
|
|
|
|
|
|
/* - Effects -------------------------------------------------------------------
|
|
|
|
|
|
|
|
Effects like highlighted items.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-highlighted {
|
2013-06-20 05:25:41 +02:00
|
|
|
background: {$lightyellow};
|
2013-06-12 05:53:55 +02:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards
|
|
|
|
.phui-object-item.phui-object-item-highlighted {
|
2013-06-12 05:53:55 +02:00
|
|
|
background-image: linear-gradient(to bottom, rgb(253, 255, 221), rgb(243, 245, 206));
|
|
|
|
background-image: -webkit-linear-gradient(top, rgb(253, 255, 221), rgb(243, 245, 206));
|
2013-03-10 02:55:01 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-selected {
|
2013-06-20 05:25:41 +02:00
|
|
|
background: {$lightblue};
|
2013-03-10 02:55:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* - Foot Icons ----------------------------------------------------------------
|
|
|
|
|
|
|
|
Object counts shown in the footer.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-foot-icons {
|
2013-03-10 02:55:01 +01:00
|
|
|
margin-left: 10px;
|
2013-03-23 22:37:18 +01:00
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-with-foot-icons .phui-object-item-content {
|
2013-03-23 22:37:18 +01:00
|
|
|
padding-bottom: 22px;
|
2013-03-10 02:55:01 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-foot-icon {
|
2013-03-10 02:55:01 +01:00
|
|
|
display: inline-block;
|
|
|
|
background: #909090;
|
|
|
|
color: #ffffff;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 3px;
|
|
|
|
padding: 1px 4px 0 22px;
|
|
|
|
height: 19px;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-foot-icon .sprite-icons {
|
2013-03-10 02:55:01 +01:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
position: absolute;
|
|
|
|
left: 4px;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* - Handle Icons --------------------------------------------------------------
|
|
|
|
|
2013-04-06 20:38:43 +02:00
|
|
|
Shows owners, reviewers, etc., using profile picture icons.
|
2013-03-10 02:55:01 +01:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-handle-icons {
|
2013-03-10 02:55:01 +01:00
|
|
|
height: 28px;
|
|
|
|
margin-right: 10px;
|
2013-03-23 22:37:18 +01:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
text-align: right;
|
|
|
|
position: absolute;
|
2013-03-10 02:55:01 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-handle-icon {
|
2013-05-31 17:40:03 +02:00
|
|
|
margin: 1px;
|
2013-03-10 02:55:01 +01:00
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
display: inline-block;
|
|
|
|
background-size: 28px 28px;
|
|
|
|
background-repeat: no-repeat;
|
2012-12-17 01:33:02 +01:00
|
|
|
}
|
2013-03-23 22:37:18 +01:00
|
|
|
|
|
|
|
|
2013-04-06 20:38:43 +02:00
|
|
|
/* - Bylines -------------------------------------------------------------------
|
|
|
|
|
|
|
|
Shows owners, authors, reviewers, etc., in text.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-item-bylines {
|
2013-04-06 20:38:43 +02:00
|
|
|
float: right;
|
|
|
|
clear: right;
|
|
|
|
padding: 0 10px;
|
2014-04-10 20:23:38 +02:00
|
|
|
margin: 4px 0;
|
|
|
|
font-size: 12px;
|
2013-09-02 17:08:54 +02:00
|
|
|
color: {$greytext};
|
2013-04-06 20:38:43 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-04-10 20:23:38 +02:00
|
|
|
.device-phone .phui-object-item-bylines {
|
|
|
|
float: none;
|
|
|
|
text-align: left;
|
|
|
|
padding: 0 8px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2013-03-23 22:37:18 +01:00
|
|
|
/* - Card List -----------------------------------------------------------------
|
|
|
|
|
|
|
|
Rounded card list.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Hard to sprite since we can't have other sprites appearing in tall cells */
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards .phui-object-item {
|
2013-03-23 22:37:18 +01:00
|
|
|
border-radius: 3px;
|
2013-03-24 02:38:03 +01:00
|
|
|
border-left-width: 6px;
|
2013-03-24 03:50:26 +01:00
|
|
|
background: #f0f0f0 url('/rsrc/image/texture/card-gradient.png') repeat-x;
|
2013-04-06 20:38:43 +02:00
|
|
|
margin-bottom: 4px;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards .phui-object-item-frame {
|
2013-05-31 17:40:03 +02:00
|
|
|
min-height: 50px;
|
2013-03-23 22:37:18 +01:00
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards .phui-object-item-selected {
|
2013-03-23 22:37:18 +01:00
|
|
|
background: #bfdcff;
|
|
|
|
}
|
|
|
|
|
2013-09-09 23:14:34 +02:00
|
|
|
.phui-object-list-cards .phui-object-item-selected
|
|
|
|
.phui-object-item-frame {
|
2013-03-23 22:37:18 +01:00
|
|
|
border-color: #99ccff;
|
|
|
|
}
|
2013-06-06 01:22:27 +02:00
|
|
|
|
|
|
|
|
2013-06-06 02:36:33 +02:00
|
|
|
/* - Draggable List ------------------------------------------------------------
|
|
|
|
|
|
|
|
These classes are applied by and/or provided for use with JX.DraggableList.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-06-06 01:22:27 +02:00
|
|
|
.drag-ghost {
|
|
|
|
position: relative;
|
2014-01-21 23:26:05 +01:00
|
|
|
border: 1px dashed #fff;
|
|
|
|
background: rgba(255,255,255,.5);
|
|
|
|
margin-bottom: 4px;
|
|
|
|
border-radius: 3px;
|
2013-06-06 01:22:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.drag-dragging {
|
|
|
|
position: relative;
|
2013-06-06 02:36:33 +02:00
|
|
|
opacity: 0.9;
|
2013-06-06 01:22:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.drag-sending {
|
2013-06-06 02:36:33 +02:00
|
|
|
opacity: 0.75;
|
2013-06-06 01:22:27 +02:00
|
|
|
}
|
2013-09-09 23:14:34 +02:00
|
|
|
|
|
|
|
/* - Plain ---------------------------------------------------------------------
|
|
|
|
|
|
|
|
Remove all border styles, just a list of objects
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phui-object-list-plain .phui-object-item {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-list-plain .phui-object-item,
|
|
|
|
.phui-object-list-plain .phui-object-item-frame {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2013-09-10 00:13:39 +02:00
|
|
|
.phui-object-list-plain .phui-object-item-attributes,
|
|
|
|
.phui-object-list-plain .phui-object-item-name {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2014-03-20 03:26:24 +01:00
|
|
|
|
|
|
|
.phui-object-item-image {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
2014-03-20 03:28:04 +01:00
|
|
|
margin: 4px 4px 4px 4px;
|
2014-03-20 03:26:24 +01:00
|
|
|
position: absolute;
|
|
|
|
background-color: {$lightbluebackground};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-item-with-image .phui-object-item-frame {
|
|
|
|
min-height: 58px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-item-with-image .phui-object-item-content-box {
|
2014-03-20 03:28:04 +01:00
|
|
|
margin-left: 54px;
|
2014-03-20 03:26:24 +01:00
|
|
|
}
|
2014-04-29 19:14:18 +02:00
|
|
|
|
|
|
|
/* - State ---------------------------------------------------------------------
|
|
|
|
|
|
|
|
Provides a list of object status or states, success or fail, etc
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phui-object-item-ficon {
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
2014-05-01 18:35:14 +02:00
|
|
|
margin: 11px 9px 7px 12px;
|
2014-04-29 19:14:18 +02:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2014-05-01 18:35:14 +02:00
|
|
|
.device-desktop .phui-object-list-states .phui-object-item {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-29 19:14:18 +02:00
|
|
|
.phui-object-item-with-ficon .phui-object-item-content-box {
|
2014-05-01 18:35:14 +02:00
|
|
|
margin-left: 38px;
|
2014-04-29 19:14:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-object-list-states {
|
2014-05-01 18:35:14 +02:00
|
|
|
padding: 0;
|
2014-04-29 19:14:18 +02:00
|
|
|
}
|
|
|
|
|
2014-05-02 23:25:58 +02:00
|
|
|
.phui-object-list-states .aphront-error-view {
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2014-04-29 19:14:18 +02:00
|
|
|
.phui-object-box .phui-object-list-states li:last-child .phui-object-item-frame {
|
|
|
|
border: none;
|
2014-05-01 18:35:14 +02:00
|
|
|
padding-bottom: 0;
|
2014-04-29 19:14:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-list-states .phui-object-item-frame {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-list-states .phui-object-item {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-list-states .phui-object-item-frame {
|
|
|
|
min-height: 44px;
|
|
|
|
}
|