Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7396442
ve.ui.MWGalleryDialog.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.ui.MWGalleryDialog.less
View Options
/*!
* VisualEditor MediaWiki UserInterface MWGalleryDialog styles.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
@
import
'mediawiki.skin.variables.less'
;
.
ve-ui-mwGalleryDialog
{
&-image-container
{
height
:
100
px
;
background-repeat
:
no-repeat
;
background-position
:
50
%
50
%
;
border
:
@
border
-
subtle
;
cursor
:
pointer
;
background-size
:
contain
;
transition
:
border
200
ms
cubic-bezier
(
0.39
,
0.575
,
0.565
,
1
),
box-shadow
200
ms
cubic-bezier
(
0.39
,
0.575
,
0.565
,
1
);
/* Override default padding of DraggableElement */
/* TODO: Remove once T168745 is resolved */
padding
:
0
;
&-desktop
{
width
:
100
%
;
margin-bottom
:
0.5
em
;
}
&
-mobile
{
width
:
100
px
;
margin-right
:
0.5
em
;
}
&
-highlighted
{
border-color
:
@
border-color
-
progressive
;
box-shadow
:
inset
0
0
0
0.1
em
@
color
-
progressive
;
&-image
{
background-color
:
@
background-color
-
neutral-subtle
;
width
:
100
%
;
/* Matches default height in GalleryImageInfoCache */
height
:
200
px
;
background-repeat
:
no-repeat
;
background-position
:
50
%
50
%
;
background-size
:
contain
;
}
}
}
.
oo-ui-fieldsetLayout
+
.
oo-ui-fieldsetLayout
,
&
-remove-button
{
margin-top
:
1
em
;
}
&
-menuLayout-desktop
{
>
.oo-ui-menuLayout-menu
{
width
:
14
em
;
border-right
:
1
px
solid
@
border-color
-
subtle
;
}
>
.
oo-ui-menuLayout-content
{
left
:
14
em
;
right
:
14
em
;
}
}
&
-menuLayout-mobile
{
>
.oo-ui-menuLayout-menu
{
height
:
calc
(
102
px
+
2
em
);
border-bottom
:
1
px
solid
@
border-color
-
subtle
;
}
>
.
oo-ui-menuLayout-content
{
top
:
calc
(
102
px
+
2
em
);
}
}
&
-imageListMenuLayout
{
>
.oo-ui-menuLayout-menu
{
text-align
:
center
;
}
.
oo-ui-draggableGroupElement-horizontal
{
white-space
:
nowrap
;
line-height
:
0
;
}
&
-desktop
{
>
.oo-ui-menuLayout-content
{
bottom
:
5
em
;
}
>
.
oo-ui-menuLayout-menu
{
box-shadow
:
0
-1
px
0
0
rgba
(
0
,
0
,
0
,
0.05
);
height
:
5
em
;
border-top
:
1
px
solid
@
background-color
-
neutral
;
.oo-ui-panelLayout-padded
{
/* Center the button vertically */
padding
:
0
12
px
;
line-height
:
5
em
;
.oo-ui-buttonElement-button
{
white-space
:
normal
;
}
}
}
}
&
-mobile
{
>
.oo-ui-menuLayout-content
{
right
:
4
em
;
border-right
:
1
px
solid
@
border-color
-
muted
;
>
.oo-ui-panelLayout-scrollable
{
overflow-y
:
hidden
;
}
}
>
.
oo-ui-menuLayout-menu
{
box-shadow
:
-1
px
0
0
0
rgba
(
0
,
0
,
0
,
0.05
);
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
line-height
:
102
px
;
width
:
4
em
;
>
.oo-ui-panelLayout-padded
{
padding
:
1
em
0
;
}
.
oo-ui-buttonElement-frameless
.
oo-ui-iconElement
:
first-child
{
margin-left
:
0
;
}
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 14:10 (13 h, 39 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
39/a9/4cc9c585e8830e57472099797e2f
Default Alt Text
ve.ui.MWGalleryDialog.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment