Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4099716
button.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
button.less
View Options
@
import
'mediawiki.skin.variables.less'
;
@
import
'mediawiki.mixins.less'
;
/* stylelint-disable no-descending-specificity */
//
Used
to
center
the
contents
of
buttons
,
i
.
e
.
section
collapse
buttons
.
cdx-button
{
.mf-icon
+
span
:
not
(
:
empty
)
{
margin-left
:
8
px
;
}
}
.
mf-button-flush-left
{
&.cdx-button
{
.cdx-mixin-button-layout-flush(
'start',
true
)
;
}
&
.
cdx-button--size-large
{
.cdx-mixin-button-layout-flush(
'start',
true,
'large'
)
;
}
}
.
mf-button-flush-right
{
&.cdx-button
{
.cdx-mixin-button-layout-flush(
'end',
true
)
;
}
&
.
cdx-button--size-large
{
.cdx-mixin-button-layout-flush(
'end',
true,
'large'
)
;
}
}
//
TODO
:
Replace
with
Codex
Button
group
//
Extra
specificity
so
that
it
overrides
.
cdx-button--fake-button
rules
.
.
mf-button-block
.
cdx-button--fake-button
{
border-radius
:
0
;
width
:
100
%
;
margin-left
:
auto
;
margin-right
:
auto
;
//
Integer
value
prevents
off-by-1px
vertical
alignment
line-height
:
30
px
;
span
{
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 16:02 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e1/07/6e311aef7189e1020e352d7b263e
Default Alt Text
button.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment