Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F36276549
main-menu-view.css
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
8 KB
Subscribers
None
main-menu-view.css
View Options
/**
* @provides phabricator-main-menu-view
*/
/* - 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
{
background
:
#2d3236
;
background-image
:
url
(
/rsrc/image/main_texture.png
);
background-repeat
:
repeat-x
;
position
:
relative
;
box-shadow
:
0
px
1
px
1
px
rgba
(
0
,
0
,
0
,
0.25
);
min-height
:
44
px
;
}
.
device-desktop
.
phabricator-main-menu
{
height
:
44
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-logo
{
display
:
inline-block
;
width
:
139
px
;
height
:
44
px
;
float
:
left
;
margin-right
:
6
px
;
padding-right
:
6
px
;
padding-left
:
6
px
;
}
.
device-desktop
.
phabricator-main-menu-logo
:
hover
{
background-color
:
#1e2225
;
}
.
phabricator-main-menu-logo-image
{
position
:
absolute
;
width
:
139
px
;
height
:
25
px
;
top
:
9
px
;
}
.
device-phone
.
phabricator-main-menu-logo
{
margin-left
:
-45
px
;
}
.
device
.
phabricator-main-menu-logo
:
hover
{
background-color
:
transparent
;
}
/* - 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
:
24
px
;
height
:
24
px
;
float
:
left
;
margin
:
10
px
10
px
0
5
px
;
}
.
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
:
220
px
;
}
.
phabricator-main-menu-search-container
{
padding
:
10
px
0
;
position
:
relative
;
height
:
24
px
;
margin
:
0
8
px
;
}
.
phabricator-main-menu-search-target
{
position
:
absolute
;
top
:
46
px
;
}
.
device-desktop
.
phabricator-main-menu-search-target
{
width
:
320
px
;
margin-left
:
-150
px
;
}
.
device
.
phabricator-main-menu-search-target
{
width
:
100
%
;
margin-left
:
-25
px
;
}
.
device
.
phabricator-main-menu-search-container
{
padding
:
0
;
}
.
phabricator-main-menu
.
phabricator-main-menu-search
input
{
outline
:
0
;
margin
:
0
;
box-shadow
:
none
;
transition
:
none
;
color
:
#999
;
width
:
100
%
;
right
:
0
;
position
:
absolute
;
font-size
:
13
px
;
border
:
1
px
solid
#333
;
border-radius
:
12
px
;
background-color
:
#555
;
height
:
26
px
;
line-height
:
12
px
;
box-shadow
:
0
px
1
px
1
px
rgba
(
128
,
128
,
128
,
0.25
);
padding
:
6
px
32
px
6
px
10
px
;
}
.
device
.
phabricator-main-menu-search
input
{
height
:
30
px
;
font-size
:
15
px
;
border-radius
:
15
px
;
}
.
phabricator-main-menu
.
phabricator-main-menu-search
input
:
focus
{
background
:
#fff
;
color
:
#333
;
border-color
:
#e7e7e7
;
box-shadow
:
none
;
-webkit-
box-shadow
:
none
;
-moz-
box-shadow
:
none
;
}
.
phabricator-main-menu-search
input
.
jx-typeahead-placeholder
{
color
:
#999
;
}
.
phabricator-main-menu-search
button
{
position
:
absolute
;
color
:
transparent
;
background
:
transparent
5
px
6
px
url
(
/rsrc/image/search.png
)
no-repeat
;
border
:
none
;
outline
:
none
;
box-shadow
:
none
;
text-shadow
:
none
;
min-width
:
0
;
height
:
20
px
;
width
:
20
px
;
top
:
11
px
;
right
:
6
px
;
}
.
device
.
phabricator-main-menu-search
button
{
top
:
3
px
;
}
.
phabricator-main-menu-search-target
div
.
jx-typeahead-results
{
background
:
#ffffff
;
word-wrap
:
break-word
;
overflow-y
:
auto
;
box-shadow
:
0
px
2
px
6
px
rgba
(
0
,
0
,
0
,
0.5
);
border
:
2
px
solid
#33393d
;
border-radius
:
3
px
;
margin-left
:
40
px
;
}
.
phabricator-main-search-typeahead-result
{
display
:
block
;
padding
:
1
px
4
px
1
px
38
px
;
background-position
:
4
px
4
px
;
background-size
:
25
px
25
px
;
background-repeat
:
no-repeat
;
}
.
phabricator-main-search-typeahead-result
.
result-name
{
display
:
block
;
font-size
:
12
px
;
font-weight
:
bold
;
color
:
#333
;
}
.
phabricator-main-search-typeahead-result
.
result-type
{
color
:
#888
;
font-size
:
11
px
;
font-weight
:
normal
;
}
/* - Alert ---------------------------------------------------------------------
Alert menus are like icon menus but don't obey collapse rules.
*/
.
phabricator-main-menu-alerts
{
display
:
inline-block
;
border-radius
:
15
px
;
float
:
left
;
background
:
rgba
(
0
,
0
,
0
,
.2
);
height
:
20
px
;
padding
:
2
px
10
px
3
px
8
px
;
margin-top
:
9
px
;
}
.
phabricator-main-menu-alert-icon
,
.
phabricator-main-menu-message-icon
{
width
:
18
px
;
height
:
18
px
;
display
:
block
;
float
:
left
;
margin
:
2
px
0
0
0
;
}
.
alert-notifications
.
phabricator-main-menu-message-icon
{
margin
:
2
px
0
0
6
px
;
}
.
phabricator-main-menu-alert-count
,
.
phabricator-main-menu-message-count
{
font-weight
:
bold
;
line-height
:
20
px
;
color
:
#ffffff
;
text-align
:
center
;
display
:
none
;
float
:
left
;
margin-left
:
3
px
;
}
.
alert-unread
.
phabricator-main-menu-alert-count
,
.
message-unread
.
phabricator-main-menu-message-count
{
display
:
block
;
}
/* - 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.
*/
.
device
.
phabricator-dark-menu
,
.
device
.
phabricator-dark-menu
a
.
phabricator-menu-item-type-link
{
color
:
#fff
;
}
.
device
.
phabricator-dark-menu
.
phabricator-menu-item-type-label
{
text-transform
:
uppercase
;
font-size
:
12
px
;
background-color
:
#151719
;
padding
:
0
0
0
12
px
;
height
:
25
px
;
font-weight
:
bold
;
}
.
device
.
phabricator-dark-menu
.
phabricator-menu-item-type-label
.
phabricator-menu-item-name
{
display
:
block
;
padding
:
6
px
0
0
;
}
.
device
.
phabricator-dark-menu
.
phabricator-menu-item-type-link
{
border-width
:
1
px
0
;
border-style
:
solid
;
border-color
:
#34373b
transparent
#282c2d
;
background-image
:
url
(
/rsrc/image/texture/dark-menu.png
);
padding
:
4
px
0
;
display
:
block
;
}
/* - Core Menu -----------------------------------------------------------------
Styles unique to the core menu (left button on mobile).
*/
.
phabricator-core-menu-profile-image
{
background-size
:
28
px
28
px
;
}
.
device
.
phabricator-search-menu
{
display
:
none
;
}
.
device-desktop
.
phabricator-search-menu
{
float
:
right
;
margin-right
:
116
px
;
}
.
device
.
phabricator-search-menu-expanded
.
phabricator-search-menu
{
display
:
block
;
padding-top
:
44
px
;
}
.
device
.
phabricator-dark-menu
.
phabricator-menu-item-type-link
{
font-size
:
15
px
;
min-height
:
30
px
;
line-height
:
28
px
;
}
.
device
.
phabricator-menu-item-type-link
.
phabricator-core-menu-icon
+
.
phabricator-menu-item-name
{
margin-left
:
36
px
;
}
.
device-desktop
.
phabricator-application-menu
{
position
:
absolute
;
right
:
0
;
top
:
0
;
vertical-align
:
top
;
}
.
device-desktop
.
phabricator-application-menu
a
.
phabricator-menu-item-view
,
.
device-desktop
.
phabricator-application-menu
.
phabricator-menu-item-name
{
display
:
none
;
}
.
device-desktop
.
phabricator-application-menu
a
.
phabricator-menu-item-view
.
phabricator-core-menu-item
{
display
:
block
;
}
.
device-desktop
.
phabricator-application-menu
a
.
phabricator-menu-item-view
.
phabricator-core-menu-item
:
hover
{
background-color
:
#1e2225
;
}
.
device-desktop
.
phabricator-application-menu
.
phabricator-menu-item-view
{
display
:
block
;
float
:
left
;
position
:
relative
;
min-width
:
40
px
;
height
:
44
px
;
}
.
device-desktop
.
phabricator-application-menu
.
phabricator-core-item-device
{
display
:
none
;
}
.
device-desktop
.
phabricator-core-menu-icon
{
top
:
9
px
;
left
:
6
px
;
}
.
device
.
phabricator-core-menu-icon
{
left
:
6
px
;
}
.
phabricator-core-menu-icon
{
position
:
absolute
;
display
:
block
;
width
:
28
px
;
height
:
28
px
;
}
/* - Application Menu ----------------------------------------------------------
Styles unique to the application menu (right button on mobile).
*/
.
device
.
phabricator-application-menu-expanded
.
phabricator-application-menu
{
display
:
block
;
padding-top
:
44
px
;
}
.
device
.
phabricator-application-menu
,
.
device-desktop
.
phabricator-dark-menu
.
phabricator-menu-item-type-label
{
display
:
none
;
}
.
phabricator-application-menu
.
phabricator-menu-item-name
{
padding-left
:
12
px
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 22, 6:46 PM (10 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
53/df/8e8481ef25f24ed7444314d04add
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment