2012-12-07 13:43:11 -08:00
|
|
|
/**
|
2012-07-30 16:09:14 -07:00
|
|
|
* @provides phabricator-main-menu-view
|
2015-06-03 20:21:12 -07:00
|
|
|
* @requires phui-theme-css
|
2012-07-30 16:09:14 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* - Main Menu -----------------------------------------------------------------
|
|
|
|
|
|
|
|
Main menu at the top of every page that has chrome. It reacts to resolution
|
|
|
|
changes in order to behave reasonably on tablets and phones.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phabricator-main-menu {
|
|
|
|
position: relative;
|
2015-05-16 07:53:03 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-menu-background {
|
2016-01-18 20:59:06 -08:00
|
|
|
min-height: 44px;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2012-12-07 13:49:39 -08:00
|
|
|
.device-desktop .phabricator-main-menu {
|
2016-01-18 20:59:06 -08:00
|
|
|
height: 44px;
|
2014-01-31 09:10:32 -08:00
|
|
|
padding-right: 4px;
|
2012-12-07 13:49:39 -08:00
|
|
|
}
|
|
|
|
|
2012-07-30 16:09:14 -07:00
|
|
|
.phabricator-main-menu a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* - Logo ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
The "Phabricator" logo group in the main menu. On tablet and phone devices,
|
|
|
|
this shows a "reveal" button to expand/collapse the rest of the menu.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2012-07-31 17:58:21 -07:00
|
|
|
.device-desktop .phabricator-main-menu-group-logo {
|
2012-07-30 16:09:14 -07:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2014-11-06 09:23:17 -08:00
|
|
|
.phabricator-main-menu-brand {
|
2012-07-30 16:09:14 -07:00
|
|
|
display: inline-block;
|
2014-11-06 09:23:17 -08:00
|
|
|
width: 148px;
|
2013-01-28 15:43:15 -08:00
|
|
|
height: 44px;
|
|
|
|
float: left;
|
2014-12-08 13:53:29 -08:00
|
|
|
margin-right: 4px;
|
2012-12-08 16:58:19 -08:00
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
|
2014-11-06 09:23:17 -08:00
|
|
|
.phabricator-main-menu-logo {
|
2012-12-07 14:29:09 -08:00
|
|
|
position: absolute;
|
2014-11-06 09:23:17 -08:00
|
|
|
width: 96px;
|
2015-02-19 14:43:33 -08:00
|
|
|
height: 40px;
|
2014-11-06 09:23:17 -08:00
|
|
|
left: 52px;
|
2015-02-19 14:43:33 -08:00
|
|
|
top: 2px;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2014-11-06 09:23:17 -08:00
|
|
|
.phabricator-main-menu-eye {
|
|
|
|
position: absolute;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
top: 2px;
|
2013-03-22 11:50:30 -07:00
|
|
|
}
|
|
|
|
|
2014-11-06 14:31:30 -08:00
|
|
|
.device-desktop .phabricator-main-menu-brand:hover {
|
2016-02-14 21:29:56 -08:00
|
|
|
background-color: rgba({$alphagrey},.2);
|
2014-11-06 09:23:17 -08:00
|
|
|
cursor: hand;
|
2012-12-07 13:37:10 -08:00
|
|
|
}
|
|
|
|
|
2012-07-30 16:09:14 -07:00
|
|
|
/* - Expand/Collapse Button ----------------------------------------------------
|
|
|
|
|
|
|
|
On phones, the menu switches to a vertical layout and uses a button to expand
|
|
|
|
or collapse the items.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2012-12-07 13:36:35 -08:00
|
|
|
.phabricator-menu-button-icon {
|
2014-12-05 15:06:06 -08:00
|
|
|
width: 20px;
|
|
|
|
height: 32px;
|
2013-03-22 11:50:30 -07:00
|
|
|
float: left;
|
2014-12-05 15:06:06 -08:00
|
|
|
margin: 10px 8px 0 8px;
|
2012-12-07 13:34:44 -08:00
|
|
|
}
|
|
|
|
|
2014-12-04 13:01:23 -08:00
|
|
|
.phabricator-menu-button-icon.phui-icon-view {
|
2015-04-14 09:45:58 -07:00
|
|
|
font-size: 20px;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2015-06-03 20:21:12 -07:00
|
|
|
color: {$hoverwhite};
|
2015-04-14 09:45:58 -07:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 24px;
|
2014-12-04 13:01:23 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.phabricator-expand-application-menu,
|
|
|
|
.phabricator-expand-search-menu {
|
|
|
|
float: right;
|
2012-12-07 13:34:44 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.device-desktop .phabricator-main-menu-search-button,
|
2012-07-30 16:09:14 -07:00
|
|
|
.device-desktop .phabricator-main-menu-expand-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-12-07 13:34:44 -08:00
|
|
|
|
2012-07-30 16:09:14 -07:00
|
|
|
/* - Search --------------------------------------------------------------------
|
|
|
|
|
|
|
|
The main search input in the menu bar.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.device-desktop .phabricator-main-menu-search {
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
|
2013-06-09 09:11:32 -07:00
|
|
|
.device .phabricator-main-menu-search {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
2012-07-30 16:09:14 -07:00
|
|
|
.phabricator-main-menu-search-container {
|
2015-04-07 12:03:40 -07:00
|
|
|
padding: 8px 0;
|
2012-07-30 16:09:14 -07:00
|
|
|
position: relative;
|
|
|
|
height: 24px;
|
2013-05-16 13:10:06 -07:00
|
|
|
margin: 0 8px;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2012-07-31 17:58:21 -07:00
|
|
|
.phabricator-main-menu-search-target {
|
|
|
|
position: absolute;
|
2015-07-01 15:17:44 -07:00
|
|
|
top: 42px;
|
2012-07-31 17:58:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-main-menu-search-target {
|
|
|
|
width: 320px;
|
|
|
|
margin-left: -150px;
|
|
|
|
}
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-main-menu-search-target {
|
2012-07-31 17:58:21 -07:00
|
|
|
width: 100%;
|
|
|
|
margin-left: -25px;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-main-menu-search-container {
|
2013-06-09 09:11:32 -07:00
|
|
|
padding: 4px 0;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
Update form styles, implement in many places
Summary:
This creates a common form look and feel across the site. I spent a bit of time working out a number of kinks in our various renderings. Some things:
- Font Styles are correctly applied for form elements now.
- Everything lines up!
- Selects are larger, easier to read, interact.
- Inputs have been squared.
- Consistant CSS applied glow (try it!)
- Improved Mobile Responsiveness
- CSS applied to all form elements, not just Aphront
- Many other minor tweaks.
I tried to hit as many high profile forms as possible in an effort to increase consistency. Stopped for now and will follow up after this lands. I know Evan is not a super fan of the glow, but after working with it for a week, it's way cleaner and responsive than the OS controls. Give it a try.
Test Plan: Tested many applications, forms, mobile and tablet.
Reviewers: epriestley, btrahan
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5860
2013-05-07 14:07:06 -07:00
|
|
|
.phabricator-main-menu .phabricator-main-menu-search input {
|
2012-07-30 16:09:14 -07:00
|
|
|
outline: 0;
|
|
|
|
margin: 0;
|
Update form styles, implement in many places
Summary:
This creates a common form look and feel across the site. I spent a bit of time working out a number of kinks in our various renderings. Some things:
- Font Styles are correctly applied for form elements now.
- Everything lines up!
- Selects are larger, easier to read, interact.
- Inputs have been squared.
- Consistant CSS applied glow (try it!)
- Improved Mobile Responsiveness
- CSS applied to all form elements, not just Aphront
- Many other minor tweaks.
I tried to hit as many high profile forms as possible in an effort to increase consistency. Stopped for now and will follow up after this lands. I know Evan is not a super fan of the glow, but after working with it for a week, it's way cleaner and responsive than the OS controls. Give it a try.
Test Plan: Tested many applications, forms, mobile and tablet.
Reviewers: epriestley, btrahan
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5860
2013-05-07 14:07:06 -07:00
|
|
|
box-shadow: none;
|
|
|
|
transition: none;
|
2012-07-30 16:09:14 -07:00
|
|
|
|
2015-05-06 20:52:22 -07:00
|
|
|
color: {$bluetext};
|
2012-07-30 16:09:14 -07:00
|
|
|
width: 100%;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$normalfontsize};
|
2015-05-06 20:52:22 -07:00
|
|
|
border-width: 1px;
|
2015-06-28 17:59:48 -07:00
|
|
|
border-color: {$lightblueborder};
|
2015-04-11 21:26:25 -07:00
|
|
|
border-radius: 3px;
|
2015-07-01 15:17:44 -07:00
|
|
|
border-style: solid;
|
2015-05-06 20:52:22 -07:00
|
|
|
background-color: #fff;
|
2015-04-07 12:03:40 -07:00
|
|
|
height: 28px;
|
2015-04-29 14:05:21 -07:00
|
|
|
padding: 3px 30px 3px 6px;
|
2015-04-07 12:03:40 -07:00
|
|
|
float: left;
|
2015-04-11 21:26:25 -07:00
|
|
|
width: 205px;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2013-01-27 07:59:05 -08:00
|
|
|
.device .phabricator-main-menu-search input {
|
2015-04-07 12:03:40 -07:00
|
|
|
height: 32px;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$biggestfontsize};
|
2015-04-07 12:03:40 -07:00
|
|
|
width: 100%;
|
2015-04-22 17:56:47 -07:00
|
|
|
padding-left: 50px;
|
2013-01-27 07:59:05 -08:00
|
|
|
}
|
|
|
|
|
Update form styles, implement in many places
Summary:
This creates a common form look and feel across the site. I spent a bit of time working out a number of kinks in our various renderings. Some things:
- Font Styles are correctly applied for form elements now.
- Everything lines up!
- Selects are larger, easier to read, interact.
- Inputs have been squared.
- Consistant CSS applied glow (try it!)
- Improved Mobile Responsiveness
- CSS applied to all form elements, not just Aphront
- Many other minor tweaks.
I tried to hit as many high profile forms as possible in an effort to increase consistency. Stopped for now and will follow up after this lands. I know Evan is not a super fan of the glow, but after working with it for a week, it's way cleaner and responsive than the OS controls. Give it a try.
Test Plan: Tested many applications, forms, mobile and tablet.
Reviewers: epriestley, btrahan
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5860
2013-05-07 14:07:06 -07:00
|
|
|
.phabricator-main-menu .phabricator-main-menu-search input:focus {
|
2013-05-16 13:10:06 -07:00
|
|
|
background: #fff;
|
2013-12-06 12:08:11 -08:00
|
|
|
opacity: 1;
|
2015-06-28 17:59:48 -07:00
|
|
|
color: {$darkbluetext};
|
2015-04-07 12:03:40 -07:00
|
|
|
border-color: {$sky};
|
2013-05-16 13:10:06 -07:00
|
|
|
box-shadow: none;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2012-08-05 15:07:12 -07:00
|
|
|
.phabricator-main-menu-search input.jx-typeahead-placeholder {
|
2015-05-06 20:52:22 -07:00
|
|
|
color: {$bluetext};
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-menu-search button {
|
2015-05-06 20:52:22 -07:00
|
|
|
color: {$bluetext};
|
2012-07-30 16:09:14 -07:00
|
|
|
position: absolute;
|
2015-06-03 20:21:12 -07:00
|
|
|
background: {$greybackground};
|
2012-07-30 16:09:14 -07:00
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
2012-11-08 15:47:11 -08:00
|
|
|
text-shadow: none;
|
|
|
|
min-width: 0;
|
2015-04-11 21:26:25 -07:00
|
|
|
height: 24px;
|
|
|
|
width: 28px;
|
|
|
|
top: 10px;
|
2015-04-22 17:56:47 -07:00
|
|
|
right: -6px;
|
2015-04-07 12:03:40 -07:00
|
|
|
margin: 0 8px 0 0;
|
2015-03-31 09:59:09 -07:00
|
|
|
padding: 0;
|
2015-04-11 21:26:25 -07:00
|
|
|
border-radius: 0;
|
2015-04-07 12:03:40 -07:00
|
|
|
}
|
|
|
|
|
Implement a scope selector for the global search
Summary:
See M1433. Fixes T7266. Fixes T4475. Ref T7314.
Future work/notes/etc:
- Write the User Guide (see TODO).
- This might needs some design tweaks -- I think it's functionally almost-equivalent to the mock, but the UI isn't quite the same.
- (Mobile design is a touch off-looking I think?)
- When you use a custom query, the duplicate "magnifying glass" icons are a little weird. Maybe change one or the other.
- Maybe worth adding an "Open Documents in Current Application" option? Planning to wait for feedback on that.
- Need a Quicksand integration to change the current application at some point.
- Searching in "Current Application" from, e.g., the 404 page just searches all documents. Current plan is to just document this behavior, since the icon is a pretty good callout and it seems plausible that this is intuitive enough that users won't have a hard time with it.
Test Plan:
New dropdown:
{F379150}
Device-ish:
{F379151}
Normal search (current application, from maniphest, selects tasks):
{F379153}
Application search from non-application:
{F379154}
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: johnny-bit, epriestley
Maniphest Tasks: T7266, T7314, T4475
Differential Revision: https://secure.phabricator.com/D12509
2015-04-22 14:31:36 -07:00
|
|
|
.phabricator-main-menu-search button.phabricator-main-menu-search-dropdown {
|
|
|
|
position: absolute;
|
|
|
|
right: auto;
|
2015-04-22 17:56:47 -07:00
|
|
|
left: -45px;
|
Implement a scope selector for the global search
Summary:
See M1433. Fixes T7266. Fixes T4475. Ref T7314.
Future work/notes/etc:
- Write the User Guide (see TODO).
- This might needs some design tweaks -- I think it's functionally almost-equivalent to the mock, but the UI isn't quite the same.
- (Mobile design is a touch off-looking I think?)
- When you use a custom query, the duplicate "magnifying glass" icons are a little weird. Maybe change one or the other.
- Maybe worth adding an "Open Documents in Current Application" option? Planning to wait for feedback on that.
- Need a Quicksand integration to change the current application at some point.
- Searching in "Current Application" from, e.g., the 404 page just searches all documents. Current plan is to just document this behavior, since the icon is a pretty good callout and it seems plausible that this is intuitive enough that users won't have a hard time with it.
Test Plan:
New dropdown:
{F379150}
Device-ish:
{F379151}
Normal search (current application, from maniphest, selects tasks):
{F379153}
Application search from non-application:
{F379154}
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: johnny-bit, epriestley
Maniphest Tasks: T7266, T7314, T4475
Differential Revision: https://secure.phabricator.com/D12509
2015-04-22 14:31:36 -07:00
|
|
|
width: 40px;
|
2015-04-22 17:56:47 -07:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2015-05-20 15:29:41 -07:00
|
|
|
.device-desktop .phabricator-main-menu-search
|
|
|
|
button.phabricator-main-menu-search-dropdown {
|
|
|
|
height: 28px;
|
|
|
|
top: 8px;
|
|
|
|
}
|
|
|
|
|
2015-04-22 17:56:47 -07:00
|
|
|
.device-desktop .phabricator-main-menu-search
|
|
|
|
button.phabricator-main-menu-search-dropdown:hover .phui-icon-view {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2015-04-22 17:56:47 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-main-menu-search
|
2015-05-20 15:29:41 -07:00
|
|
|
button.phabricator-main-menu-search-dropdown {
|
|
|
|
left: 2px;
|
2015-06-03 20:21:12 -07:00
|
|
|
background: {$greybackground};
|
2015-04-22 20:30:51 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
button.phabricator-main-menu-search-dropdown .caret:before {
|
|
|
|
content: "\f107";
|
|
|
|
font-family: FontAwesome;
|
2015-06-03 20:21:12 -07:00
|
|
|
color: {$hoverwhite};
|
Implement a scope selector for the global search
Summary:
See M1433. Fixes T7266. Fixes T4475. Ref T7314.
Future work/notes/etc:
- Write the User Guide (see TODO).
- This might needs some design tweaks -- I think it's functionally almost-equivalent to the mock, but the UI isn't quite the same.
- (Mobile design is a touch off-looking I think?)
- When you use a custom query, the duplicate "magnifying glass" icons are a little weird. Maybe change one or the other.
- Maybe worth adding an "Open Documents in Current Application" option? Planning to wait for feedback on that.
- Need a Quicksand integration to change the current application at some point.
- Searching in "Current Application" from, e.g., the 404 page just searches all documents. Current plan is to just document this behavior, since the icon is a pretty good callout and it seems plausible that this is intuitive enough that users won't have a hard time with it.
Test Plan:
New dropdown:
{F379150}
Device-ish:
{F379151}
Normal search (current application, from maniphest, selects tasks):
{F379153}
Application search from non-application:
{F379154}
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: johnny-bit, epriestley
Maniphest Tasks: T7266, T7314, T4475
Differential Revision: https://secure.phabricator.com/D12509
2015-04-22 14:31:36 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-menu-search button.phabricator-main-menu-search-dropdown
|
|
|
|
.phui-icon-view {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: {$hoverwhite};
|
2015-05-20 15:29:41 -07:00
|
|
|
font-size: 15px;
|
|
|
|
top: 6px;
|
|
|
|
left: 8px;
|
2015-06-03 20:21:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device
|
|
|
|
.phabricator-main-menu-search button.phabricator-main-menu-search-dropdown
|
|
|
|
.phui-icon-view {
|
|
|
|
color: {$bluetext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.device button.phabricator-main-menu-search-dropdown .caret:before {
|
|
|
|
color: {$bluetext};
|
Implement a scope selector for the global search
Summary:
See M1433. Fixes T7266. Fixes T4475. Ref T7314.
Future work/notes/etc:
- Write the User Guide (see TODO).
- This might needs some design tweaks -- I think it's functionally almost-equivalent to the mock, but the UI isn't quite the same.
- (Mobile design is a touch off-looking I think?)
- When you use a custom query, the duplicate "magnifying glass" icons are a little weird. Maybe change one or the other.
- Maybe worth adding an "Open Documents in Current Application" option? Planning to wait for feedback on that.
- Need a Quicksand integration to change the current application at some point.
- Searching in "Current Application" from, e.g., the 404 page just searches all documents. Current plan is to just document this behavior, since the icon is a pretty good callout and it seems plausible that this is intuitive enough that users won't have a hard time with it.
Test Plan:
New dropdown:
{F379150}
Device-ish:
{F379151}
Normal search (current application, from maniphest, selects tasks):
{F379153}
Application search from non-application:
{F379154}
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: johnny-bit, epriestley
Maniphest Tasks: T7266, T7314, T4475
Differential Revision: https://secure.phabricator.com/D12509
2015-04-22 14:31:36 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-menu-search-dropdown .caret {
|
|
|
|
position: absolute;
|
2015-05-20 15:29:41 -07:00
|
|
|
right: 15px;
|
|
|
|
top: 5px;
|
2015-04-22 20:30:51 -07:00
|
|
|
border: none;
|
|
|
|
margin-top: 1px;
|
Implement a scope selector for the global search
Summary:
See M1433. Fixes T7266. Fixes T4475. Ref T7314.
Future work/notes/etc:
- Write the User Guide (see TODO).
- This might needs some design tweaks -- I think it's functionally almost-equivalent to the mock, but the UI isn't quite the same.
- (Mobile design is a touch off-looking I think?)
- When you use a custom query, the duplicate "magnifying glass" icons are a little weird. Maybe change one or the other.
- Maybe worth adding an "Open Documents in Current Application" option? Planning to wait for feedback on that.
- Need a Quicksand integration to change the current application at some point.
- Searching in "Current Application" from, e.g., the 404 page just searches all documents. Current plan is to just document this behavior, since the icon is a pretty good callout and it seems plausible that this is intuitive enough that users won't have a hard time with it.
Test Plan:
New dropdown:
{F379150}
Device-ish:
{F379151}
Normal search (current application, from maniphest, selects tasks):
{F379153}
Application search from non-application:
{F379154}
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: johnny-bit, epriestley
Maniphest Tasks: T7266, T7314, T4475
Differential Revision: https://secure.phabricator.com/D12509
2015-04-22 14:31:36 -07:00
|
|
|
}
|
|
|
|
|
2015-04-07 12:03:40 -07:00
|
|
|
.phabricator-main-menu-search button:hover {
|
2015-05-06 20:52:22 -07:00
|
|
|
color: {$sky};
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2013-01-27 07:59:05 -08:00
|
|
|
.device .phabricator-main-menu-search button {
|
2015-04-07 12:03:40 -07:00
|
|
|
top: 6px;
|
|
|
|
border-radius: 0;
|
2015-04-11 21:26:25 -07:00
|
|
|
height: 28px;
|
|
|
|
right: -6px;
|
2013-01-27 07:59:05 -08:00
|
|
|
}
|
|
|
|
|
2012-07-31 17:58:21 -07:00
|
|
|
.phabricator-main-menu-search-target div.jx-typeahead-results {
|
2015-04-22 17:56:47 -07:00
|
|
|
background: #fff;
|
2013-05-16 13:10:06 -07:00
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-y: auto;
|
2015-04-14 09:48:59 -07:00
|
|
|
box-shadow: {$dropshadow};
|
2015-07-01 15:17:44 -07:00
|
|
|
border: 1px solid {$blueborder};
|
2013-05-16 13:10:06 -07:00
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 40px;
|
2012-07-31 17:58:21 -07:00
|
|
|
}
|
|
|
|
|
2014-06-22 12:34:08 -07:00
|
|
|
.device .phabricator-main-menu-search-target div.jx-typeahead-results {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
|
2014-06-14 11:03:31 -07:00
|
|
|
.phabricator-main-search-typeahead-result .phabricator-search-icon {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
position: absolute;
|
2015-01-26 08:19:22 -08:00
|
|
|
top: 8px;
|
|
|
|
left: 8px;
|
|
|
|
font-size: 24px;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: bottom;
|
2014-06-14 11:03:31 -07:00
|
|
|
}
|
|
|
|
|
2012-07-31 17:58:21 -07:00
|
|
|
.phabricator-main-search-typeahead-result {
|
|
|
|
display: block;
|
2014-05-27 15:26:16 -07:00
|
|
|
padding: 6px 8px 8px 44px;
|
|
|
|
background-position: 8px;
|
|
|
|
background-size: 30px 30px;
|
2012-07-31 17:58:21 -07:00
|
|
|
background-repeat: no-repeat;
|
2014-06-14 11:03:31 -07:00
|
|
|
position: relative;
|
2012-07-31 17:58:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-search-typeahead-result .result-name {
|
|
|
|
display: block;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$normalfontsize};
|
2012-07-31 17:58:21 -07:00
|
|
|
font-weight: bold;
|
2014-05-27 15:26:16 -07:00
|
|
|
color: {$darkgreytext};
|
2012-07-31 17:58:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-search-typeahead-result .result-type {
|
2013-09-02 08:12:18 -07:00
|
|
|
color: {$lightgreytext};
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$smallestfontsize};
|
2013-05-16 13:10:06 -07:00
|
|
|
font-weight: normal;
|
2012-07-31 17:58:21 -07:00
|
|
|
}
|
|
|
|
|
2013-06-09 09:11:32 -07:00
|
|
|
.device .phabricator-application-menu-expanded.phabricator-search-menu-expanded
|
|
|
|
.phabricator-search-menu {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-06-22 12:34:08 -07:00
|
|
|
.device-phone .phabricator-main-search-typeahead-result .result-name {
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$biggestfontsize};
|
2014-06-22 12:34:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .phabricator-main-search-typeahead-result .result-type {
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$normalfontsize};
|
2014-06-22 12:34:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-dark-menu .phui-list-item-type-link
|
|
|
|
.phabricator-main-search-typeahead-result {
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-07-31 17:58:21 -07:00
|
|
|
|
2015-06-03 20:21:12 -07:00
|
|
|
|
|
|
|
|
2012-07-30 16:09:14 -07:00
|
|
|
/* - Alert ---------------------------------------------------------------------
|
|
|
|
|
|
|
|
Alert menus are like icon menus but don't obey collapse rules.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-01-26 17:04:18 -08:00
|
|
|
.phabricator-main-menu-alerts {
|
2012-07-30 16:09:14 -07:00
|
|
|
display: inline-block;
|
2013-01-28 15:43:15 -08:00
|
|
|
float: left;
|
2014-12-08 13:53:29 -08:00
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-notifications {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-02-20 10:47:33 -08:00
|
|
|
.alert-notifications .phui-icon-view {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: {$hoverwhite};
|
2015-02-20 10:47:33 -08:00
|
|
|
}
|
|
|
|
|
2015-02-20 12:57:57 -08:00
|
|
|
.device-desktop .alert-notifications:hover {
|
|
|
|
margin-top: -2px;
|
|
|
|
transition-duration: .2s;
|
2014-12-08 13:53:29 -08:00
|
|
|
}
|
|
|
|
|
2015-02-20 12:57:57 -08:00
|
|
|
.device-desktop .alert-notifications:hover .phui-icon-view {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
|
|
|
|
2013-01-26 17:04:18 -08:00
|
|
|
.phabricator-main-menu-alert-icon,
|
|
|
|
.phabricator-main-menu-message-icon {
|
2013-02-26 14:56:25 -08:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2013-01-26 17:04:18 -08:00
|
|
|
float: left;
|
2014-12-08 21:04:24 -08:00
|
|
|
padding: 8px 6px 8px 4px;
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2014-12-08 13:53:29 -08:00
|
|
|
font-size: 18px;
|
|
|
|
line-height: 20px;
|
|
|
|
text-align: right;
|
2012-11-27 14:03:25 -08:00
|
|
|
}
|
2012-07-30 16:09:14 -07:00
|
|
|
|
2015-06-03 20:21:12 -07:00
|
|
|
.phui-icon-view.menu-icon-selected {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2014-12-08 13:53:29 -08:00
|
|
|
.phabricator-main-menu-alert-icon {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-top: 2px;
|
2013-01-26 17:04:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-main-menu-alert-count,
|
|
|
|
.phabricator-main-menu-message-count {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2012-11-27 14:03:25 -08:00
|
|
|
text-align: center;
|
|
|
|
display: none;
|
2013-01-26 17:04:18 -08:00
|
|
|
float: left;
|
2014-12-08 13:53:29 -08:00
|
|
|
margin: 11px 6px 0 -2px;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$smallerfontsize};
|
2014-12-08 13:53:29 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .alert-unread .phabricator-main-menu-alert-count,
|
|
|
|
.device-phone .message-unread .phabricator-main-menu-message-count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-unread .phabricator-main-menu-alert-icon,
|
|
|
|
.message-unread .phabricator-main-menu-message-icon {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2012-11-27 14:03:25 -08:00
|
|
|
}
|
|
|
|
|
2013-01-26 17:04:18 -08:00
|
|
|
.alert-unread .phabricator-main-menu-alert-count,
|
|
|
|
.message-unread .phabricator-main-menu-message-count {
|
2012-11-27 14:03:25 -08:00
|
|
|
display: block;
|
2012-07-30 16:09:14 -07:00
|
|
|
}
|
2012-12-07 13:33:03 -08:00
|
|
|
|
2012-12-07 13:34:44 -08:00
|
|
|
/* - Dark Menu -----------------------------------------------------------------
|
|
|
|
|
|
|
|
Styles shared between the "core" menu (left button on mobile) and
|
|
|
|
"application" menu (right button on mobile). These styles give the menu a
|
|
|
|
white-on-black appearance.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-dark-menu,
|
2013-06-05 08:41:43 -07:00
|
|
|
.device .phabricator-dark-menu a.phui-list-item-href {
|
2015-05-20 15:29:41 -07:00
|
|
|
color: {$darkbluetext};
|
2014-05-28 20:56:20 -07:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2012-12-07 13:34:44 -08:00
|
|
|
}
|
|
|
|
|
2013-06-05 08:41:43 -07:00
|
|
|
.device .phabricator-dark-menu .phui-list-item-type-label {
|
2012-12-07 13:34:44 -08:00
|
|
|
text-transform: uppercase;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$normalfontsize};
|
2015-05-20 15:29:41 -07:00
|
|
|
background-color: #fff;
|
|
|
|
padding: 6px 0 6px 12px;
|
2012-12-07 13:36:35 -08:00
|
|
|
display: block;
|
2013-06-05 08:41:43 -07:00
|
|
|
font-weight: bold;
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #000;
|
2012-12-07 13:36:35 -08:00
|
|
|
}
|
|
|
|
|
2013-06-05 08:41:43 -07:00
|
|
|
.device .phabricator-dark-menu .phui-list-item-href {
|
2015-05-20 15:29:41 -07:00
|
|
|
background-color: #fff;
|
2014-12-05 15:06:06 -08:00
|
|
|
padding: 4px 0 4px 20px;
|
2013-01-27 07:59:05 -08:00
|
|
|
display: block;
|
2012-12-07 13:36:35 -08:00
|
|
|
}
|
|
|
|
|
2012-12-07 13:34:44 -08:00
|
|
|
|
2012-12-07 13:33:03 -08:00
|
|
|
/* - Core Menu -----------------------------------------------------------------
|
|
|
|
|
2012-12-07 13:34:44 -08:00
|
|
|
Styles unique to the core menu (left button on mobile).
|
|
|
|
|
2012-12-07 13:33:03 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.phabricator-core-menu-profile-image {
|
Use application icons for "Eye" menu and Crumbs
Summary:
Issues here:
- Need an application-sized "eye", or a "home" icon for "Phabricator Home".
- Some of the "apps_lb_2x" sliced images are the "_dark_" versions, not the light versions.
- If you slice an application-sized "logout" (power off) icon and application-sized "help" (questionmark in circle) icon I can replace the current menu icons and nearly get rid of "autosprite".
- To replace the icons on /applications/, the non-retina size is "4x", so we'd need "8x" for retina. Alternatively I can reduce the icon sizes by 50%.
- The "Help", "Settings" and "Logout" items currently have a "glowing" hover state, which needs a variant (or we can drop it).
- The /applications/ icons have a white hover state (or we can drop it).
- The 1x application (14x14) icons aren't used anywhere right now, should they be? Maybe in the feed in the future, etc?
- The "apps-2x" and "apps-large" sheets are the same image, but getting them to actually use the same file is a bit tricky, so I just left them separate for now.
Test Plan:
{F26698}
{F26699}
Reviewers: chad
Reviewed By: chad
CC: aran
Maniphest Tasks: T1960
Differential Revision: https://secure.phabricator.com/D4108
2012-12-07 13:37:28 -08:00
|
|
|
background-size: 28px 28px;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.device .phabricator-search-menu {
|
2012-12-07 13:33:03 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.device-desktop .phabricator-search-menu {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-search-menu-expanded .phabricator-search-menu {
|
2012-12-07 13:33:03 -08:00
|
|
|
display: block;
|
2015-06-03 20:21:12 -07:00
|
|
|
position: absolute;
|
|
|
|
top: 38px;
|
|
|
|
left: 8px;
|
|
|
|
right: 8px;
|
|
|
|
border: 1px solid {$lightblueborder};
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: {$dropshadow};
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2013-06-05 08:41:43 -07:00
|
|
|
.device .phabricator-dark-menu .phui-list-item-type-link {
|
2015-06-03 20:21:12 -07:00
|
|
|
min-height: 24px;
|
|
|
|
line-height: 20px;
|
2015-05-20 15:29:41 -07:00
|
|
|
background: #fff;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.device-desktop .phabricator-application-menu {
|
2013-06-09 09:11:32 -07:00
|
|
|
float: right;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2013-06-09 09:11:32 -07:00
|
|
|
.device-desktop .phabricator-application-menu .phui-list-item-view,
|
|
|
|
.device-desktop .phabricator-application-menu .phui-list-item-name {
|
2012-12-07 13:33:03 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-12-04 13:01:23 -08:00
|
|
|
.phabricator-application-menu .phui-list-item-href {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-application-menu .phui-list-item-icon.phui-font-fa {
|
|
|
|
font-size: 20px;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2015-06-03 20:21:12 -07:00
|
|
|
color: {$hoverwhite};
|
2014-12-04 13:01:23 -08:00
|
|
|
margin: 8px;
|
|
|
|
text-align: center;
|
2014-12-04 17:36:15 -08:00
|
|
|
vertical-align: middle;
|
2015-06-03 20:21:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-dark-menu.phabricator-application-menu
|
|
|
|
.phui-list-item-icon.phui-font-fa,
|
|
|
|
.device .phabricator-dark-menu .phabricator-core-menu-icon {
|
|
|
|
display: none;
|
2014-12-04 17:36:15 -08:00
|
|
|
}
|
|
|
|
|
2014-12-05 15:06:06 -08:00
|
|
|
.device .phabricator-application-menu .phui-list-item-icon.phui-font-fa {
|
|
|
|
margin: 4px 12px 4px 0;
|
|
|
|
}
|
|
|
|
|
2014-12-04 17:36:15 -08:00
|
|
|
.phabricator-application-menu .phui-list-item-icon.fa-plus {
|
|
|
|
line-height: 22px;
|
2014-05-12 20:11:45 -07:00
|
|
|
}
|
|
|
|
|
2014-12-05 15:06:06 -08:00
|
|
|
.device-desktop .phabricator-application-menu
|
|
|
|
.core-menu-item.phui-list-item-view:hover
|
|
|
|
.phui-list-item-icon.phui-font-fa {
|
2015-06-03 20:21:12 -07:00
|
|
|
color: #fff;
|
2014-12-05 15:06:06 -08:00
|
|
|
}
|
|
|
|
|
2014-12-30 02:48:26 -08:00
|
|
|
.device-desktop .phabricator-application-menu
|
|
|
|
.phui-list-item-view.core-menu-item {
|
2013-04-03 08:26:36 -07:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-06-05 08:41:43 -07:00
|
|
|
.device-desktop .phabricator-application-menu .phui-list-item-view {
|
2012-12-07 13:33:03 -08:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
2014-01-31 09:10:32 -08:00
|
|
|
min-width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
margin-top: 4px;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phabricator-core-menu-icon {
|
2015-04-07 12:03:40 -07:00
|
|
|
top: 4px;
|
2014-01-31 09:10:32 -08:00
|
|
|
left: 4px;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-core-menu-icon {
|
2014-12-05 15:06:06 -08:00
|
|
|
left: 16px;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
background-size: 24px;
|
|
|
|
margin: 2px;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.phabricator-core-menu-icon {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
2012-12-07 13:33:03 -08:00
|
|
|
}
|
2012-12-07 13:34:44 -08:00
|
|
|
|
2014-01-28 20:19:20 -08:00
|
|
|
.phabricator-main-menu-dropdown {
|
|
|
|
position: absolute;
|
2014-01-31 15:19:39 -08:00
|
|
|
background: #fff;
|
2015-07-01 15:17:44 -07:00
|
|
|
top: 42px;
|
2014-01-28 20:19:20 -08:00
|
|
|
padding: 2px;
|
2015-04-14 09:48:59 -07:00
|
|
|
box-shadow: {$dropshadow};
|
2015-07-01 15:17:44 -07:00
|
|
|
border: 1px solid {$blueborder};
|
2014-05-28 20:56:20 -07:00
|
|
|
border-radius: 3px;
|
2014-01-28 20:19:20 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-12-07 13:34:44 -08:00
|
|
|
/* - Application Menu ----------------------------------------------------------
|
|
|
|
|
|
|
|
Styles unique to the application menu (right button on mobile).
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2012-12-07 13:37:10 -08:00
|
|
|
.device .phabricator-application-menu-expanded .phabricator-application-menu {
|
2012-12-07 13:34:44 -08:00
|
|
|
display: block;
|
2015-06-03 20:21:12 -07:00
|
|
|
position: absolute;
|
2015-07-01 15:17:44 -07:00
|
|
|
border: 1px solid {$blueborder};
|
2015-06-03 20:21:12 -07:00
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: {$dropshadow};
|
2015-07-01 15:17:44 -07:00
|
|
|
top: 42px;
|
2015-06-03 20:21:12 -07:00
|
|
|
right: 8px;
|
|
|
|
width: 240px;
|
2012-12-07 13:34:44 -08:00
|
|
|
}
|
|
|
|
|
2013-03-22 11:50:30 -07:00
|
|
|
.device .phabricator-application-menu,
|
2013-06-05 08:41:43 -07:00
|
|
|
.device-desktop .phabricator-dark-menu .phui-list-item-type-label {
|
2012-12-07 13:34:44 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-10-19 14:23:19 -07:00
|
|
|
|
|
|
|
/* - Print ---------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
!print .phabricator-main-menu {
|
|
|
|
display: none;
|
|
|
|
}
|