Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4134263
Header.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Header.less
View Options
.
mw-header
{
//
Vertical
centering
of
header
elements
(IE>=11),
requires
Flexbox.
.flex-display()
;
flex-wrap
:
nowrap
;
//
https
:
//
caniuse
.
com
/
#search
=
align-items
align-items
:
center
;
padding-top
:
8
px
;
padding-bottom
:
8
px
;
.vector-header-start,
.vector-header-end
{
display
:
flex
;
align-items
:
center
;
}
.
vector-header-end
{
flex-grow
:
1
;
}
.
search-toggle
{
//
At
lower
resolutions
the
search
input
is
hidden
and
a
toggle
is
shown
display
:
inline-flex
;
//
Ensures
the
button
has
a
font
size
of
16px
font-size
:
unit
(
16
/
@
font
-size-browser
,
rem
);
@media
(
min-width
:
@
min-width
-
breakpoint-mobile
)
{
float
:
right
;
}
@
media
(
min-width
:
@
min-width-breakpoint-desktop
)
{
//
Override
.
cdx-button
styles
display
:
none
!
important
;
/* stylelint-disable-line declaration-no-important */
}
}
.
vector-typeahead-search-container
{
display
:
none
;
@
media
(
min-width
:
@
min-width-breakpoint-desktop
)
{
display
:
block
;
}
}
@
media
(
max-width
:
@
max-width-breakpoint-mobile
)
{
#
p-search
,
.
vector-header-end
{
.cdx-mixin-button-layout-flush(
'start',
true
)
;
}
}
@
media
(
max-width
:
@
max-width-breakpoint-tablet
)
{
/**
* Toggles the visibility of the search box at lower resolutions.
*/
&
.
vector-header-search-toggled
{
.vector-header-start,
.search-toggle
{
display
:
none
;
}
.
vector-typeahead-search-container
{
display
:
block
;
//
Override
default
max
width
at
lower
resolutions
max-width
:
none
;
}
.
vector-search-box
{
//
T284242#7206507:
Widen
the
suggestion
results
to
the
edge
of
the
search
//
button
at
small
resolutions.
position
:
relative
;
}
//
Since
the
end
button
's corner is now right above the menu'
s
corner
,
don
'
t
use
a
//
rounded
corner
here
(
T310525
)
.
cdx-typeahead-search--expanded
.
cdx-search-input__end-button
{
border-bottom-right-radius
:
0
;
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 12:33 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
95/bc/5045814fc0abe4b139c2358f4add
Default Alt Text
Header.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment