Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4103637
EditCheck.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
7 KB
Referenced Files
None
Subscribers
None
EditCheck.less
View Options
@
import
'../../lib/codex-design-tokens/theme-wikimedia-ui.less'
;
@
media
(
max-width
:
1492px
)
{
/* Hides the Vector sidebar while an editcheck-enabled editing session is occurring. See T379443. */
/* stylelint-disable selector-class-pattern */
.
ve-editcheck-available
{
.mw-body
.vector-column-end,
.vector-pinnable-header-pin-button
{
display
:
none
!important
;
/* stylelint-disable-line declaration-no-important */
}
}
/* stylelint-enable selector-class-pattern */
}
/* Toolbar */
.
ve-ui-editCheck-toolbar
{
font-size
:
0.875
rem
;
//
ignore
content
scaling
.mw-mf
&
{
font-size
:
inherit
;
}
.
oo-ui-toolbar-bar
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.
oo-ui-toolbar-tools
{
flex
:
1
;
display
:
flex
;
}
.
oo-ui-toolbar-tools
.
oo-ui-toolbar-after
{
flex
:
0
;
}
.
oo-ui-toolbar-actions
+
div
{
//
There's
a
clear
div
that
we
need
to
enhance
slightly
flex-basis
:
100
%
;
height
:
0
;
}
&
.
ve-init-mw-mobileArticleTarget-toolbar
.
oo-ui-toolbar-tools
.
oo-ui-toolbar-after
{
display
:
none
;
}
}
.
ve-ui-toolbar-group-title
{
font-weight
:
bold
;
flex
:
5
!important
;
/* stylelint-disable-line declaration-no-important */
line-height
:
3
em
;
text-align
:
center
;
}
/* Actions */
.
ve-ui-editCheckDialog
{
font-size
:
0.875
rem
;
//
ignore
content
scaling
&-title
{
display
:
block
;
font-weight
:
bold
;
padding
:
@
spacing-50
0
;
margin-bottom
:
@
spacing-50
;
border-bottom
:
1
px
solid
@
border-color
-
base
;
}
&
-footer
{
display
:
flex
;
justify-content
:
flex-end
;
>
.oo-ui-labelWidget
{
align-content
:
center
;
}
}
.
ve-ui-editCheckActionWidget
{
box-sizing
:
border-box
;
white-space
:
normal
;
//
Minerva
needs
this
margin
:
@
spacing-50
0
;
padding
:
@
spacing-50
@
spacing-75
;
cursor
:
pointer
;
overflow
:
hidden
;
>
.oo-ui-iconElement-icon
{
//
Fixes
icon
placement
in
WMUI
theme
top
:
-@
spacing-50
;
}
>
.
oo-ui-labelElement-label
{
font-weight
:
@
font-weight
-
semi-bold
;
}
&
-body
{
cursor
:
auto
;
background-color
:
@
background-color
-
base
;
margin
:
@
spacing-50
-@
spacing-75
-@
spacing-50
-@
spacing-75
;
padding
:
@
spacing-50
@
spacing-75
@
spacing-100
;
}
&
-actions
{
margin-top
:
@
spacing-100
;
}
&
.
ve-ui-editCheckActionWidget-collapsed
{
filter
:
grayscale
(
1
);
>
.ve-ui-editCheckActionWidget-body
{
display
:
none
;
}
}
&
.
oo-ui-flaggedElement-warning
{
border-color
:
@
border-color
-
warning
;
>
.ve-ui-editCheckActionWidget-head
{
background-color
:
@
background-color
-
warning-subtle
;
}
}
&
.
oo-ui-flaggedElement-error
{
border-color
:
@
border-color
-
error
;
>
.ve-ui-editCheckActionWidget-head
{
background-color
:
@
background-color
-
error-subtle
;
}
}
&
.
oo-ui-flaggedElement-success
{
border-color
:
@
border-color
-
success
;
>
.ve-ui-editCheckActionWidget-head
{
background-color
:
@
background-color
-
success-subtle
;
}
}
&
.
oo-ui-flaggedElement-notice
{
border-color
:
@
border-color
-
notice
;
>
.ve-ui-editCheckActionWidget-head
{
background-color
:
@
background-color
-
notice-subtle
;
}
}
.
ve-ui-editCheckActionWidget-feedback
{
.oo-ui-fieldLayout-header
{
padding-bottom
:
@
spacing-100
;
}
.
oo-ui-labelElement-label
{
font-size
:
inherit
;
}
}
}
&
.
ve-ui-editCheckDialog-singleAction
.
ve-ui-editCheckActionWidget-collapsed
{
display
:
none
;
}
.
mw-mf
&
{
top
:
auto
;
//
See
:
.
ve-ui-mobileContext
,
which
this
is
closely
mimicking
background-color
:
@
background-color
-
interactive-subtle
;
/* Match toolbar border & shadow */
border-top
:
@
border
-
subtle
;
box-shadow
:
0
-1
px
1
px
0
rgba
(
0
,
0
,
0
,
0.1
);
/* Transition out faster, as keyboard may be coming up */
transition
:
transform
100
ms
;
transform
:
translateY
(
0
%
);
max-width
:
995
px
;
margin
:
0
auto
;
&-title
{
padding
:
@
spacing-75
@
spacing-100
;
margin-bottom
:
0
;
}
&
-close
{
position
:
absolute
;
right
:
0
;
top
:
2
px
;
}
&
-footer
{
margin
:
0
@
spacing-100
@
spacing-50
;
}
&
.
ve-ui-editCheckDialog-collapsed
{
display
:
block
;
transition
:
transform
250
ms
;
transform
:
translateY
(
calc
(
100
%
-
2.5
em
)
);
}
.
oo-ui-window-body
{
padding
:
0
;
}
.
ve-ui-editCheckActionWidget
{
margin
:
0
;
border-width
:
0
;
background-color
:
transparent
!important
;
/* stylelint-disable-line declaration-no-important */
&-body
{
background-color
:
transparent
;
padding-left
:
2
em
;
margin-left
:
0
;
}
}
}
}
.
mw-mf
.
ve-ce-surface-reviewMode
.
ve-ce-surface-deactivated
{
//
Otherwise
the
content
will
be
covered
by
the
mobile
context
at
the
end
//
of
the
document.
(Upstream
this?)
margin-bottom
:
100
%
;
}
/* Mobile sidebar */
.
ve-ui-editCheck-gutter-active
{
div.ve-ui-editCheckGutterSidebarDialog
{
background-color
:
@
background-color
-
interactive-subtle
;
.ve-ui-editCheck-gutter-action
{
position
:
absolute
;
width
:
42
px
;
text-align
:
center
;
margin-top
:
-3
px
;
min-height
:
24
px
;
>
.oo-ui-iconElement-icon
{
width
:
20
px
;
height
:
20
px
;
margin-top
:
-4
px
;
}
label
{
position
:
absolute
;
top
:
16
px
;
right
:
5
px
;
display
:
block
;
border-radius
:
3
px
;
background-color
:
@
accent-color
-
base
;
color
:
@
color
-
inverted
;
font-size
:
@
font-size
-
x-small
;
line-height
:
0.9
;
padding
:
3
px
;
}
&
-error
{
border-left
:
2
px
solid
@
color
-
error
;
}
&
-warning
{
border-left
:
2
px
solid
@
color
-
warning
;
}
&
-notice
{
border-left
:
2
px
solid
@
color
-
notice
;
}
&
-success
{
border-left
:
2
px
solid
@
color
-
success
;
}
&
-inactive
{
border-left
:
2
px
solid
@
border-color
-
base
;
}
}
}
}
.
ve-editcheck-available
.
mw-mf
.
ve-ce-surface
{
margin-right
:
16
px
;
}
@
media
all
and
(
max-width
:
993
.
4px
)
{
.
ve-editcheck-available
.
mw-mf
{
.ve-init-mw-target-surface
{
margin
:
0
0
1
em
;
}
.
ve-ce-surface
{
//
Stop
reflow
during
the
transition
max-width
:
calc
(
100
%
-
(
44
px
+
16
px
+
16
px
)
);
margin
:
0
16
px
0
32
px
;
}
.
ve-ui-editCheck-sidebar-active
.
ve-ce-surface
{
margin-left
:
16
px
;
}
.
ve-ui-editCheck-sidebar-active
.
ve-init-mw-target-surface
{
margin
:
0
;
}
}
}
@
media
all
and
(
min-width
:
993
.
4px
)
and
(
max-width
:
@
min-width-breakpoint-desktop
)
{
.
mw-mf
.
ve-ui-editCheck-sidebar-active
.
ve-ui-sidebarDialogWindowManager
{
margin-right
:
-44
px
;
}
}
@
media
all
and
(
min-width
:
@
min-width-breakpoint-desktop
)
{
/* stylelint-disable-next-line selector-class-pattern */
.
mw-mf
.
ve-ui-editCheck-sidebar-active
.
overlay-content
{
width
:
auto
;
}
}
/* Selections */
.
ve-ce-surface-reviewMode
+
.
ve-ui-overlay
.
ve-ce-surface-selections-editCheck
.
ve-ce-surface-selection
{
opacity
:
0
.
2
;
pointer-events
:
auto
;
}
.
ve-ce-surface-selections-editCheck
.
ve-ce-surface-selection
>
div
{
mix-blend-mode
:
darken
;
//
Adjust
target
colours
to
account
for
50
%
opacity
background
:
(
(
#
fce7fe
-
0
.
8
*
(
#
fff
)
)
/
0
.
2
);
//
border
:
1px
solid
(
(
#
d02aac
-
0
.
8
*
(
#
fff
)
)
/
0
.
2
);
border-radius
:
2px
;
padding
:
2px
;
margin
:
-2px
0
0
-2px
;
}
.
ve-ce-surface-selections-editCheckWarning
.
ve-ce-surface-selection
{
opacity
:
0.2
;
>
div
{
mix-blend-mode
:
darken
;
//
Adjust
target
colours
to
account
for
50%
opacity
background
:
(
(
#fef6e7
-
0.8
*
(
#fff
)
)
/
0.2
);
//
border
:
1
px
solid
(
(
#a66200
-
0.8
*
(
#fff
)
)
/
0.2
);
border-radius
:
2
px
;
padding
:
2
px
;
margin
:
-2
px
0
0
-2
px
;
}
}
.
ve-ui-editCheck-gutter-highlight
{
position
:
absolute
;
left
:
0
;
width
:
2
px
;
overflow
:
hidden
;
background-color
:
@
color
-
base
;
&-error
{
background-color
:
@
color
-
error
;
}
&
-warning
{
background-color
:
@
color
-
warning
;
}
&
-notice
{
background-color
:
@
color
-
notice
;
}
&
-success
{
background-color
:
@
color
-
success
;
}
&
-inactive
{
background-color
:
@
border-color
-
base
;
}
.
mw-mf
&
{
left
:
-10
px
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 18:05 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/e6/c7058821c616ccf4d173d922f4c8
Default Alt Text
EditCheck.less (7 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment