Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7403252
ve.ui.Toolbar.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
ve.ui.Toolbar.less
View Options
/*!
* VisualEditor Toolbar styles.
*
* @copyright See AUTHORS.txt
*/
@
import
'../../../lib/codex-design-tokens/theme-wikimedia-ui.less'
;
/* stylelint-disable no-descending-specificity */
.
ve-ui-toolbar
{
/* Used by mobile context position hack */
position
:
relative
;
>
.oo-ui-toolbar-bar
{
/* Make sure the toolbar is shown on top of surface contents even when not floating,
for correct rendering of dropdowns, popups etc. */
z-index
:
2
;
}
&
.
ve-ui-toolbar-empty
>
.
oo-ui-toolbar-bar
{
border
:
0
;
box-shadow
:
none
;
}
}
/* PositionedTargetToolbar */
.
ve-ui-toolbar-floating
>
.
oo-ui-toolbar-bar
{
position
:
fixed
;
top
:
0
;
border-top
:
0
;
}
.
ve-ui-toolbar
.
oo-ui-toolbar-position-bottom
>
.
oo-ui-toolbar-bar
{
/* For bottom toolbars though (e.g. Flow), we apparently want the toolbar to be below the surface
overlay, but its dropdowns, popups etc. to be above it - this seems to work… (T169076) */
z-index
:
auto
;
}
.
ve-ui-toolbar
>
.
oo-ui-toolbar-bar
.
oo-ui-toolbar-bar
{
/* Dumb broken nested toolbars ruin everything again (T169617) */
z-index
:
auto
;
}
/* Mobile toolbar */
.
ve-ui-targetToolbar-mobile
.
oo-ui-toolbar-tools
{
display
:
flex
;
.oo-ui-barToolGroup
.oo-ui-tool-link
{
min-height
:
3
em
;
}
>
.
oo-ui-toolGroup
{
flex
:
1
;
}
>
.
ve-ui-toolbar-group-back
{
border-right
:
@
border
-
subtle
;
}
>
.
oo-ui-toolGroup-empty
{
display
:
none
;
}
>
.
oo-ui-indicatorElement
>
.
oo-ui-popupToolGroup-handle
{
/* stylelint-disable-next-line declaration-no-important */
padding
:
3
em
0
0
0
!important
;
}
>
.
oo-ui-popupToolGroup
{
>
.oo-ui-popupToolGroup-handle
{
>
.oo-ui-iconElement-icon,
>
.oo-ui-indicatorElement-indicator
{
left
:
50
%
;
}
>
.
oo-ui-iconElement-icon
{
/* No indicator */
margin-left
:
-0.714285
em
;
}
}
&
.
oo-ui-indicatorElement
{
/* Indicator uses up whitespace, so increase width to make spacing look even */
flex
:
1.2
;
>
.oo-ui-popupToolGroup-handle
>
.oo-ui-iconElement-icon
{
margin-left
:
-1
em
;
}
}
>
.
oo-ui-popupToolGroup-handle
>
.
oo-ui-indicatorElement-indicator
{
margin-left
:
0.375
em
;
width
:
0.5625
em
;
min-width
:
0.5625
em
;
}
}
>
.
oo-ui-barToolGroup
{
text-align
:
center
;
>
.oo-ui-toolGroup-tools
>
.oo-ui-tool
{
width
:
100
%
;
>
.oo-ui-tool-link
{
padding
:
0.875
em
0
;
>
.
oo-ui-iconElement-icon
:
not
(
.
oo
-ui-tool-checkIcon
)
{
position
:
static
;
display
:
inline-block
;
vertical-align
:
middle
;
}
>
.
oo-ui-tool-title
{
vertical-align
:
middle
;
margin-left
:
0.3
em
;
/* T260368 */
line-height
:
1
em
;
@media
screen
and
(
max-width
:
767
px
)
{
/* stylelint-disable-next-line declaration-no-important */
display
:
none
!important
;
}
}
}
}
}
}
/* Hide keyboard shortcut hints on mobile. Screen space is limited, and it's unlikely that the user
has a keyboard with modifier keys. */
.
ve-ui-targetToolbar-mobile
.
oo-ui-popupToolGroup-tools
.
oo-ui-tool-link
.
oo-ui-tool-accel
,
.
ve-ui-overlay-global-mobile
.
oo-ui-popupToolGroup-tools
.
oo-ui-tool-link
.
oo-ui-tool-accel
{
display
:
none
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 18:31 (20 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/2a/301ca38eba69897c211af40f8d91
Default Alt Text
ve.ui.Toolbar.less (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment