Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7417757
ve.ce.Surface.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
ve.ce.Surface.less
View Options
/*!
* VisualEditor ContentEditable Surface styles.
*
* @copyright See AUTHORS.txt
*/
.
ve-ce-surface
{
/* Create a new stacking context for elements inside the surface */
position
:
relative
;
z-index
:
0
;
/*
Remember, don't set font-size here.
Should be inherited from the VE target container.
*/
flex
:
1
;
/*
* Override the flex box default which expands min-width to the content size:
* https://developer.mozilla.org/en-US/docs/Web/CSS/min-width#auto
*
* Without this the surface won't let itself be narrower than its
* widest content, causing issues with long lines of text,
* tables, floated elements, etc.
*/
min-width
:
0
;
&-selections
{
position
:
absolute
;
pointer-events
:
none
;
/* @noflip */
left
:
0
;
top
:
0
;
.ve-ce-surface-selection
{
>
div
{
position
:
absolute
;
}
>
.
ve-ce-surface-selection-label
{
position
:
absolute
;
font-size
:
0.8
em
;
font-weight
:
bold
;
color
:
#fff
;
text-shadow
:
0
0
1
px
#000
;
padding
:
0.2
em
;
margin-top
:
-1.4
em
;
height
:
1
em
;
line-height
:
1
;
white-space
:
nowrap
;
max-width
:
10
em
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
/* Deactivated selections */
&
-deactivated
{
opacity
:
0.5
;
.ve-ce-surface-selection
>
div
{
background
:
#6da9f7
;
/* Increase vertical height to look more like a system selection */
margin-top
:
-0.15
em
;
padding
:
0.15
em
0
;
}
&
-showAsDeactivated
{
opacity
:
0.15
;
.ve-ce-surface-selection
>
div
{
background
:
#000
;
}
}
&
-collapsed
{
opacity
:
1
;
/* Color is matched to font in ve.ce.Surface.js */
}
}
&
-otherUserSelection
{
opacity
:
0.5
;
&-inactive
{
opacity
:
0.25
;
}
}
&
-otherUserCursor
{
.ve-ce-surface-selection
>
div
:
not
(
.
ve
-ce-surface-selection-label
)
{
width
:
2
px
!important
;
/* stylelint-disable-line declaration-no-important */
}
&
-inactive
{
opacity
:
0.5
;
}
}
}
&
-dropMarker
{
height
:
1
px
;
background
:
#72777d
;
pointer-events
:
none
;
position
:
absolute
;
}
/* Review mode */
&
-reviewMode
{
pointer-events
:
none
;
&-highlightNodes
.ve-ce-attachedRootNode
>
:not(
.ve-ce-surface-reviewMode-highlightNode
)
{
opacity
:
0.5
;
}
}
&
-paused
{
opacity
:
0.5
;
}
&
-clipboardHandler
{
position
:
fixed
;
/* FIXME T126024: Stop the viewport scrolling when the clipboard handler is typed into */
top
:
3
em
;
left
:
0
;
/* Try to avoid wrapping by not setting a width because of https://code.google.com/p/chromium/issues/detail?id=318925 */
height
:
1
px
;
opacity
:
0
;
overflow
:
hidden
;
*
{
height
:
1
px
!important
;
/* stylelint-disable-line declaration-no-important */
}
}
}
.
ve-ce-cursorHolder
{
position
:
absolute
;
width
:
0
;
height
:
0
;
&-img
{
width
:
0
;
height
:
0
;
}
&
-debug
{
width
:
2
px
;
height
:
1
em
;
border
:
1
px
solid
#b32424
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 03:32 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d1/25/f3b73de0d57afc7e4d5a24ecc5f6
Default Alt Text
ve.ce.Surface.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment