Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893624
main-menu-view.css
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
13 KB
Referenced Files
None
Subscribers
None
main-menu-view.css
View Options
/**
* @provides phabricator-main-menu-view
* @requires phui-theme-css
*/
/* - 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
;
}
.
phabricator-main-menu-background
{
min-height
:
44
px
;
}
.
device-desktop
.
phabricator-main-menu
{
height
:
44
px
;
padding-right
:
4
px
;
}
.
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.
*/
.
device-desktop
.
phabricator-main-menu-group-logo
{
float
:
left
;
}
.
phabricator-main-menu-brand
{
height
:
44
px
;
float
:
left
;
margin-right
:
6
px
;
padding-left
:
6
px
;
}
.
phabricator-main-menu-project-logo
{
margin
:
2
px
0
;
width
:
40
px
;
height
:
40
px
;
float
:
left
;
display
:
block
;
background-image
:
url
(
/rsrc/image/logo/project-logo.png
);
background-size
:
40
px
40
px
;
}
.
device-desktop
.
phabricator-main-menu-brand
:
hover
{
background-color
:
rgba
(
{$
alphagrey
}
,
.2
);
cursor
:
hand
;
}
.
device-phone
.
phabricator-wordmark
{
display
:
none
;
}
.
phabricator-wordmark
{
float
:
left
;
color
:
#fff
;
font-size
:
18
px
;
line-height
:
22
px
;
margin
:
11
px
4
px
11
px
6
px
;
padding-right
:
8
px
;
max-width
:
175
px
;
overflow
:
hidden
;
white-space
:
nowrap
;
}
/* - Expand/Collapse Button ----------------------------------------------------
On phones, the menu switches to a vertical layout and uses a button to expand
or collapse the items.
*/
.
phabricator-menu-button-icon
{
width
:
20
px
;
height
:
32
px
;
float
:
left
;
margin
:
10
px
8
px
0
8
px
;
}
.
phabricator-menu-button-icon
.
phui-icon-view
{
font-size
:
20
px
;
height
:
20
px
;
width
:
20
px
;
color
:
{$
hoverwhite
}
;
text-align
:
center
;
vertical-align
:
middle
;
line-height
:
24px
;
}
.
phabricator-expand-application-menu
,
.
phabricator-expand-search-menu
{
float
:
right
;
}
.
device-desktop
.
phabricator-main-menu-search-button
,
.
device-desktop
.
phabricator-main-menu-expand-button
{
display
:
none
;
}
/* - Search --------------------------------------------------------------------
The main search input in the menu bar.
*/
.
device-desktop
.
phabricator-main-menu-search
{
width
:
298
px
;
}
.
device
.
phabricator-main-menu-search
{
height
:
40
px
;
}
.
phabricator-main-menu-search-container
{
padding
:
8
px
0
;
position
:
relative
;
height
:
24
px
;
margin
:
0
8
px
0
0
;
}
.
phabricator-main-menu-search-target
{
position
:
absolute
;
top
:
42
px
;
}
.
device-desktop
.
phabricator-main-menu-search-target
{
width
:
360
px
;
}
.
device
.
phabricator-main-menu-search-target
{
width
:
100
%
;
margin-left
:
-25
px
;
}
.
device
.
phabricator-main-menu-search-container
{
padding
:
4
px
0
;
margin
:
0
4
px
;
}
.
phabricator-main-menu
.
phabricator-main-menu-search
input
{
outline
:
0
;
margin
:
0
;
box-shadow
:
none
;
transition
:
none
;
color
:
{$
bluetext
}
;
width
:
100
%;
right
:
0
;
position
:
absolute
;
font-size
:
{
$normalfontsize
}
;
border
:
none
;
background-color
:
{
$page.content
}
;
height
:
28px
;
padding
:
3px
28px
3px
48px
;
float
:
left
;
width
:
280px
;
}
.
device
.
phabricator-main-menu-search
input
{
height
:
32
px
;
font-size
:
{$
biggestfontsize
}
;
width
:
100
%;
padding-left
:
50px
;
border
:
1px
solid
{
$lightblueborder
}
;
}
.
phabricator-main-menu
.
phabricator-main-menu-search
input
:
focus
{
background
:
{$
page
.
content
}
;
opacity
:
1
;
color
:
{
$darkbluetext
}
;
box-shadow
:
none
;
}
.
phabricator-main-menu-search
input
.
jx-typeahead-placeholder
{
color
:
{$
bluetext
}
;
}
.
phabricator-main-menu-search
button
{
color
:
{$
bluetext
}
;
position
:
absolute
;
background
:
transparent
;
border
:
none
;
outline
:
none
;
box-shadow
:
none
;
text-shadow
:
none
;
min-width
:
0
;
height
:
24px
;
width
:
28px
;
top
:
9px
;
right
:
-6px
;
margin
:
0
8px
0
0
;
padding
:
0
;
border-radius
:
0
;
}
.
phabricator-main-menu-search
button
.
phabricator-main-menu-search-dropdown
{
position
:
absolute
;
right
:
auto
;
left
:
12
px
;
width
:
40
px
;
background
:
{$
greybackground
}
;
z-index
:
1
;
}
.
device-desktop
.
phabricator-main-menu-search
button
.
phabricator-main-menu-search-dropdown
{
height
:
24
px
;
top
:
10
px
;
border-radius
:
3
px
;
}
.
device-desktop
.
phabricator-main-menu-search
button
.
phabricator-main-menu-search-dropdown
:
hover
.
phui-icon-view
{
color
:
{$
sky
}
;
}
.
device
.
phabricator-main-menu-search
button
.
phabricator-main-menu-search-dropdown
{
left
:
2
px
;
background
:
{$
greybackground
}
;
}
button
.
phabricator-main-menu-search-dropdown
.
caret
:
before
,
a
.
phabricator-core-user-menu
.
caret
:
before
{
content
:
"\f107"
;
font-family
:
FontAwesome
;
}
.
phabricator-main-menu-search
button
.
phabricator-main-menu-search-dropdown
.
phui-icon-view
{
color
:
{$
bluetext
}
;
font-size
:
15px
;
top
:
4px
;
left
:
8px
;
position
:
absolute
;
}
.
phabricator-main-menu-search-dropdown
.
caret
{
position
:
absolute
;
right
:
20
px
;
top
:
2
px
;
border
:
none
;
margin-top
:
1
px
;
}
.
phabricator-main-menu-search
button
:
hover
{
color
:
{$
sky
}
;
}
.
device
.
phabricator-main-menu-search
button
{
top
:
6
px
;
border-radius
:
0
;
height
:
28
px
;
right
:
-6
px
;
}
.
phabricator-main-menu-search-target
div
.
jx-typeahead-results
{
background
:
{$
page
.
content
}
;
word-wrap
:
break-word
;
overflow-y
:
auto
;
box-shadow
:
{
$dropshadow
}
;
border
:
1px
solid
{
$lightgreyborder
}
;
border-radius
:
3px
;
margin-left
:
-64px
;
}
.
device
.
phabricator-main-menu-search-target
div
.
jx-typeahead-results
{
margin-left
:
28
px
;
}
.
phabricator-main-search-typeahead-result
.
phabricator-search-icon
{
width
:
28
px
;
height
:
28
px
;
position
:
absolute
;
top
:
8
px
;
left
:
8
px
;
font-size
:
24
px
;
text-align
:
center
;
vertical-align
:
bottom
;
}
.
phabricator-main-search-typeahead-result
{
display
:
block
;
padding
:
6
px
8
px
8
px
44
px
;
background-position
:
8
px
;
background-size
:
30
px
30
px
;
background-repeat
:
no-repeat
;
position
:
relative
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.
phabricator-main-search-typeahead-result
.
result-name
{
display
:
block
;
font-size
:
{$
normalfontsize
}
;
font-weight
:
bold
;
color
:
{
$darkgreytext
}
;
white-space
:
normal
;
}
.
phabricator-main-search-typeahead-result
.
result-closed
{
opacity
:
.8
;
-webkit-
filter
:
grayscale
(
100
%
);
filter
:
grayscale
(
100
%
);
}
.
phabricator-main-search-typeahead-result
.
result-closed
.
result-name
{
text-decoration
:
line-through
;
color
:
{$
lightgreytext
}
;
}
.
phabricator-main-search-typeahead-result
.
has-image
{
padding-left
:
48
px
;
}
.
phabricator-main-search-typeahead-result
.
result-type
{
color
:
{$
lightgreytext
}
;
font-size
:
{
$smallestfontsize
}
;
font-weight
:
normal
;
}
.
device
.
phabricator-application-menu-expanded
.
phabricator-search-menu-expanded
.
phabricator-search-menu
{
padding
:
0
;
}
.
device-phone
.
phabricator-main-search-typeahead-result
.
result-name
{
font-size
:
{$
biggestfontsize
}
;
}
.
device-phone
.
phabricator-main-search-typeahead-result
.
result-type
{
font-size
:
{$
normalfontsize
}
;
}
/* - Alert ---------------------------------------------------------------------
Alert menus are like icon menus but don't obey collapse rules.
*/
.
phabricator-main-menu-alerts
{
display
:
inline-block
;
float
:
left
;
padding
:
4
px
0
;
}
.
alert-notifications
{
float
:
left
;
}
.
alert-notifications
.
phui-icon-view
{
color
:
{$
hoverwhite
}
;
}
.
device-desktop
.
alert-notifications
:
hover
{
margin-top
:
-2
px
;
transition-duration
:
.2
s
;
/* See T13508. Avoid animation flickering behavior if the user's cursor is
at the very bottom of the element. */
padding-bottom
:
2
px
;
}
.
device-desktop
.
alert-notifications
:
hover
.
phui-icon-view
{
color
:
#fff
;
}
.
phabricator-main-menu-alert-icon
,
.
phabricator-main-menu-message-icon
,
.
phabricator-main-menu-setup-icon
{
width
:
18
px
;
height
:
18
px
;
float
:
left
;
padding
:
8
px
6
px
8
px
4
px
;
color
:
#fff
;
font-size
:
18
px
;
line-height
:
20
px
;
text-align
:
right
;
}
.
phui-icon-view
.
menu-icon-selected
{
color
:
#fff
;
}
.
phabricator-main-menu-alert-icon
{
font-size
:
16
px
;
margin-top
:
2
px
;
}
.
setup-unread
.
phui-icon-view
.
phabricator-main-menu-setup-icon
{
color
:
#ecf36c
;
font-size
:
16
px
;
margin-top
:
2
px
;
width
:
15
px
;
}
.
setup-unread
.
phabricator-main-menu-setup-count
{
color
:
#ecf36c
;
margin-top
:
10
px
;
}
.
device-desktop
.
alert-notifications
.
setup-unread
:
hover
.
phui-icon-view
{
color
:
#ecf36c
;
}
.
phabricator-main-menu-alert-count
,
.
phabricator-main-menu-message-count
,
.
phabricator-main-menu-setup-count
{
color
:
#fff
;
text-align
:
center
;
display
:
none
;
float
:
left
;
margin
:
11
px
6
px
0
-2
px
;
font-size
:
{$
smallerfontsize
}
;
}
.
device-phone
.
alert-unread
.
phabricator-main-menu-alert-count
,
.
device-phone
.
message-unread
.
phabricator-main-menu-message-count
,
.
device-phone
.
setup-unread
.
phabricator-main-menu-setup-count
{
display
:
none
;
}
.
alert-unread
.
phabricator-main-menu-alert-icon
,
.
message-unread
.
phabricator-main-menu-message-icon
,
.
setup-unread
.
phabricator-main-menu-setup-icon
{
color
:
#fff
;
}
.
alert-unread
.
phabricator-main-menu-alert-count
,
.
message-unread
.
phabricator-main-menu-message-count
,
.
setup-unread
.
phabricator-main-menu-setup-count
{
display
:
block
;
}
/* - Core Menu -----------------------------------------------------------------
Styles unique to the core menu (left button on mobile).
*/
.
device
.
phabricator-search-menu
{
display
:
none
;
}
.
device-desktop
.
phabricator-search-menu
{
float
:
right
;
}
.
device
.
phabricator-search-menu-expanded
.
phabricator-search-menu
{
display
:
block
;
position
:
absolute
;
top
:
38
px
;
left
:
8
px
;
right
:
8
px
;
border
:
1
px
solid
{$
lightblueborder
}
;
border-radius
:
3px
;
box-shadow
:
{
$dropshadow
}
;
background
:
{
$page.background
}
;
}
.
device-desktop
.
phabricator-application-menu
{
float
:
right
;
}
.
device-desktop
.
phabricator-application-menu
.
phui-list-item-view
,
.
device-desktop
.
phabricator-application-menu
.
phui-list-item-name
{
display
:
none
;
}
.
phabricator-application-menu
.
phui-list-item-href
{
display
:
block
;
}
.
phabricator-application-menu
.
phui-list-item-icon
.
phui-font-fa
{
font-size
:
20
px
;
height
:
20
px
;
width
:
20
px
;
color
:
{$
hoverwhite
}
;
margin
:
8px
;
text-align
:
center
;
vertical-align
:
middle
;
}
.
device
.
phabricator-application-menu
.
phui-list-item-icon
.
phui-font-fa
{
margin
:
4
px
12
px
4
px
0
;
}
.
phabricator-application-menu
.
phui-list-item-icon
.
fa-plus
{
line-height
:
22
px
;
}
.
device-desktop
.
phabricator-application-menu
.
core-menu-item
.
phui-list-item-view
:
hover
.
phui-list-item-icon
.
phui-font-fa
{
color
:
#fff
;
}
.
device-desktop
.
phabricator-application-menu
.
phui-list-item-view
.
core-menu-item
{
display
:
block
;
}
.
device-desktop
.
phabricator-application-menu
.
phui-list-item-view
{
float
:
left
;
position
:
relative
;
min-width
:
36
px
;
height
:
36
px
;
margin-top
:
4
px
;
}
.
device-desktop
.
phabricator-core-menu-icon
{
top
:
4
px
;
left
:
4
px
;
}
.
device
.
phabricator-core-menu-icon
{
left
:
16
px
;
height
:
24
px
;
width
:
24
px
;
background-size
:
24
px
;
margin
:
2
px
;
}
.
phabricator-core-menu-icon
{
position
:
absolute
;
display
:
block
;
width
:
28
px
;
height
:
28
px
;
}
.
phabricator-main-menu-dropdown
.
phui-list-sidenav
{
position
:
absolute
;
background
:
#fff
;
top
:
42
px
;
padding
:
6
px
0
;
margin
:
0
20
px
0
0
;
box-shadow
:
{$
dropshadow
}
;
border
:
1px
solid
{
$lightblueborder
}
;
border-radius
:
3px
;
}
.
phabricator-main-menu-dropdown
.
phui-list-sidenav
.
phui-list-item-has-icon
.
phui-list-item-href
{
padding
:
4
px
40
px
4
px
12
px
;
white-space
:
nowrap
;
}
.
phabricator-main-menu-dropdown
.
phui-list-sidenav
.
phui-list-item-type-label
.
phui-list-item-name
{
padding-left
:
12
px
;
}
/* - User Menu -----------------------------------------------------------------
Styles unique to the user profile menu.
*/
.
phabricator-core-user-menu
{
float
:
right
;
display
:
inline-block
;
padding
:
9
px
24
px
0
8
px
;
height
:
35
px
;
position
:
relative
;
}
.
phabricator-core-user-mobile-menu
{
display
:
none
;
}
.
phabricator-core-user-menu
span
.
phui-icon-view
.
phuihead-small
{
height
:
24
px
;
width
:
24
px
;
background-size
:
24
px
;
border-radius
:
3
px
;
display
:
inline-block
;
margin
:
1
px
0
0
0
;
}
.
phabricator-core-user-menu
.
phui-icon-view
{
color
:
{$
hoverwhite
}
;
font-size
:
18px
;
margin
:
4px
0
0
0
;
}
.
phabricator-core-user-menu
.
caret
{
position
:
absolute
;
right
:
17
px
;
top
:
13
px
;
border
:
none
;
margin
:
1
px
;
color
:
{$
hoverwhite
}
;
}
.
phabricator-core-login-button
{
float
:
right
;
display
:
inline-block
;
padding
:
4
px
12
px
;
border-radius
:
3
px
;
margin
:
8
px
6
px
4
px
;
border
:
1
px
solid
{$
hoverwhite
}
;
color
:
{
$hoverwhite
}
;
}
.
device-desktop
.
phabricator-core-login-button
:
hover
{
border
:
1
px
solid
#fff
;
color
:
#fff
;
}
.
device-desktop
.
phabricator-core-user-menu
:
hover
.
caret
,
.
device-desktop
.
phabricator-core-user-menu
:
hover
.
phui-icon-view
{
color
:
#fff
;
}
.
device
.
phabricator-core-user-menu
.
caret
{
display
:
none
;
}
.
device
.
phabricator-core-user-mobile-menu
{
display
:
block
;
}
.
device
.
phabricator-core-user-menu
{
padding
:
9
px
8
px
0
8
px
;
}
.
device
.
phabricator-core-user-menu
.
phui-icon-view
{
font-size
:
20
px
;
margin
:
3
px
0
0
0
;
}
ul
.
phabricator-core-user-profile-object
.
phui-oi-objname
{
font-size
:
{$
biggestfontsize
}
;
}
ul
.
phabricator-core-user-profile-object
li
.
phui-oi
,
ul
.
phabricator-core-user-profile-object
.
phui-oi-name
,
ul
.
phabricator-core-user-profile-object
.
phui-oi-content
,
ul
.
phabricator-core-user-profile-object
.
phui-oi-subhead
{
padding
:
0
;
margin
:
0
;
background
:
transparent
;
}
ul
.
phabricator-core-user-profile-object
.
phui-oi-list-simple
.
phui-oi-image
{
height
:
36
px
;
width
:
36
px
;
}
ul
.
phabricator-core-user-profile-object
.
phui-oi-list-simple
.
phui-oi-content-box
{
margin-left
:
44
px
;
}
/* - Print ---------------------------------------------------------------------
*/
!
print
.
phabricator-main-menu
{
display
:
none
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jan 19 2025, 18:47 (5 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127545
Default Alt Text
main-menu-view.css (13 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment