Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4137226
editor.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
editor.less
View Options
@
import
'mediawiki.skin.variables.less'
;
//
We
want
these
transitions
to
only
occur
when
entering
the
editor
,
but
not
when
leaving
it
.
//
Leaving
uses
browser
back
navigation
and
we
shouldn
'
t
"delay"
it
.
.
ve-loading
{
//
Intentionally
slower
than
most
UI
animations
to
make
the
transition
obvious
to
the
user
//
(and
loading
the
editor
is
probably
going
to
take
>500ms
anyway).
@
timing
:
400
ms
100
ms
;
.content
.section-heading
.indicator
{
transition
:
width
@
timing
,
min-width
@
timing
,
margin
@
timing
,
opacity
@
timing
;
flex-basis
:
0
;
min-width
:
0
;
margin-right
:
0
;
opacity
:
0
;
}
.
mw-editsection
{
transition
:
opacity
@
timing
;
opacity
:
0
;
}
.
page-actions-menu
{
transition
:
border-bottom-color
@
timing
;
border-bottom-color
:
transparent
;
}
.
mw-body
{
transition
:
padding-bottom
@
timing
,
margin-bottom
@
timing
,
transform
@
timing
;
//
Values
set
dynamically
in
JS
code
}
}
.
ve-loadbasiceditor
{
text-align
:
center
;
position
:
absolute
;
left
:
0
;
top
:
3
em
;
width
:
100
%
;
padding
:
1
em
;
box-sizing
:
border-box
;
background
:
@
background-color
-
base
;
border-bottom
:
1
px
solid
@
border-color
-
subtle
;
box-shadow
:
0
1
px
1
px
rgba
(
0
,
0
,
0
,
0.1
);
visibility
:
hidden
;
transform
:
translateY
(
-100
%
);
transition
:
transform
400
ms
ease
;
pointer-events
:
none
;
>
p
{
text-align
:
left
;
font-weight
:
bold
;
margin-bottom
:
1
em
;
}
}
.
toolbar-shown-done
+
.
ve-loadbasiceditor
{
visibility
:
visible
;
}
.
ve-loadbasiceditor-shown
{
transform
:
translateY
(
0
);
pointer-events
:
auto
;
}
//
Note
that
these
classes
are
also
used
by
VisualEditor
code
for
the
real
toolbar
:
.
toolbar-hidden
{
transform
:
translateY
(
-100
%
);
}
.
toolbar-shown
{
transition
:
transform
250
ms
ease
;
transform
:
translateY
(
0
);
opacity
:
1
;
}
.
toolbar-shown-done
{
/* Turn off transforms when done to avoid Safari rendering bugs (T202935) */
transform
:
none
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 14:03 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
77/b0/7f5c5aaacdb4a50eff478bc23d59
Default Alt Text
editor.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment