Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4127979
ext.translate.editor.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
10 KB
Referenced Files
None
Subscribers
None
ext.translate.editor.less
View Options
@
import
'mediawiki.skin.variables.less'
;
@
import
'mediawiki.mixins'
;
.
tux-message-editor
{
position
:
relative
;
border
:
@
border-width
-
base
@
border-style
-
base
@
border-color
-
interactive
;
background-color
:
@
background-color
-
base
;
cursor
:
default
;
box-shadow
:
@
box-shadow
-
drop-medium
;
.grid
&
.close
{
.cdx-mixin-css-icon(
@cdx-icon-close
)
;
padding
:
16
px
;
cursor
:
@
cursor
-
base--hover
;
float
:
right
;
}
.
grid
&
.
editor-info-toggle
{
padding
:
16
px
;
cursor
:
@
cursor
-
base--hover
;
float
:
right
;
}
.
editor-contract
{
.cdx-mixin-css-icon(
@cdx-icon-double-chevron-start
)
;
}
.
editor-expand
{
.cdx-mixin-css-icon(
@cdx-icon-double-chevron-end
)
;
}
.
editcolumn
{
border-right
:
@
border
-
base
;
transition
:
width
0.5
s
;
background-color
:
@
background-color
-
base
;
z-index
:
@
z-index
-
above
-
content
;
/* Padding to have space for the arrow indicating split section */
padding-right
:
40
px
;
}
.
grid
&
.
tux-editor-titletools
{
/* Ignore the padding added for the arrow */
margin-right
:
-40
px
;
}
.
grid
&
.
tux-editor-sourcemessage-container
{
position
:
relative
;
.tux-editor-copy-original-button
{
.cdx-mixin-css-icon(
@cdx-icon-copy
)
;
position
:
absolute
;
top
:
3
px
;
right
:
-30
px
;
padding
:
16
px
;
cursor
:
@
cursor
-
base--hover
;
border
:
0
;
opacity
:
0
;
&.copied
{
.cdx-mixin-css-icon(
@cdx-icon-check
)
;
cursor
:
@
cursor
-
base
;
opacity
:
1
;
}
}
&
:
hover
.
tux-editor-copy-original-button
,
.
tux-editor-copy-original-button
:
focus
{
opacity
:
1
;
}
}
&
__caret
{
&::before,
&::after
{
border-top
:
20
px
solid
transparent
;
border-right
:
20
px
solid
@
border-color
-
base
;
border-bottom
:
20
px
solid
transparent
;
content
:
''
;
display
:
inline-block
;
left
:
-21
px
;
position
:
absolute
;
bottom
:
50
%
;
z-index
:
@
z-index
-
toolbar
;
transition
:
visibility
0
s
0.5
s
;
}
&
::
after
{
//
This
border
color
must
match
the
background
color
of
.infocolumn-block
border-right
:
20
px
solid
@
background-color
-
neutral-subtle
;
left
:
-20
px
;
}
}
&
--expanded
{
.grid
&
.editcolumn
{
width
:
100
%
;
padding-right
:
5
px
;
}
.
grid
&
.
tux-editor-titletools
{
margin-right
:
-5
px
;
}
.
grid
&
.
tux-editor-sourcemessage-container
.
tux-editor-copy-original-button
{
right
:
6
px
;
}
.
tux-message-editor__caret
{
&::before,
&::after
{
visibility
:
hidden
;
transition
:
visibility
0
s
0
s
;
}
}
}
textarea
{
border
:
@
border-width
-
base
@
border-style
-
base
@
border-color
-
interactive
;
font-size
:
16
px
;
/* The (30px + 5px paddings) 40px for bottom is for the insertables */
padding
:
5
px
5
px
40
px
5
px
;
/* Normalize margin across skins (esp. Timeless) */
margin
:
0
;
height
:
100
px
;
min-height
:
150
px
;
overflow-y
:
auto
;
position
:
relative
;
z-index
:
100
;
/* We have automatic resizing for height, and horizontal makes no sense */
resize
:
none
;
/* Avoid weird extra space appearing at the bottom of enclosing div when
* the default value inline-block is used in Chrome.
* https://stackoverflow.com/questions/5196424/inconsistent-textarea-handling-in-browsers */
display
:
block
;
}
.
editarea
{
position
:
relative
;
}
.
grid
&
.
messagekey
{
color
:
@
color
-
base
;
font-size
:
13
px
;
font-weight
:
bold
;
padding
:
5
px
0
5
px
10
px
;
cursor
:
@
cursor
-
base--hover
;
.caret
{
border-top
:
4
px
solid
@
color
-
base
;
border-left
:
4
px
solid
transparent
;
border-right
:
4
px
solid
transparent
;
display
:
inline-block
;
vertical-align
:
middle
;
margin
:
0
4
px
;
}
}
.
sourcemessage
{
font-size
:
18
px
;
line-height
:
1.6
em
;
padding
:
5
px
0
10
px
10
px
;
word-wrap
:
break-word
;
&.long
{
font-size
:
16
px
;
}
&
.
longer
{
font-size
:
14
px
;
}
}
.
shortcutinfo
{
color
:
@
color
-
subtle
;
font-size
:
13
px
;
padding
:
0
5
px
5
px
10
px
;
display
:
none
;
@media
screen
and
(
min-width
:
980
px
)
{
display
:
block
;
}
}
.
grid
&
.
infocolumn-block
{
font-size
:
12
pt
;
background
:
@
background-color
-
neutral-subtle
;
position
:
absolute
;
top
:
0
;
right
:
0
;
bottom
:
0
;
padding
:
0
;
transition
:
width
0.5
s
;
.infocolumn
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
0
;
left
:
10
px
;
padding
:
0
5
px
;
overflow
:
auto
;
.message-desc
{
font-size
:
16
px
;
padding
:
5
px
0
;
margin-right
:
5
px
;
&-editor
{
padding
:
5
px
0
;
margin-right
:
5
px
;
}
&
.
long
{
font-size
:
14
px
;
border-bottom
:
@
border
-
subtle
;
}
&
.
compact
{
max-height
:
100
px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
&
-control
{
font-size
:
14
px
;
padding
:
3
px
0
5
px
0
;
.read-more
{
font-size
:
14
px
;
color
:
@
color
-
progressive
;
cursor
:
@
cursor
-
base--hover
;
margin-right
:
5
px
;
}
}
&
-edit
::
before
{
content
:
''
;
.cdx-mixin-css-icon(
@cdx-icon-edit,
currentColor,
@size-icon-small,
@
param-vertical-align
:
middle
);
margin-right
:
@
spacing-25
;
}
}
}
}
.
help
{
font-size
:
16
px
;
padding
:
10
px
5
px
;
a
{
font-size
:
14
px
;
padding
:
0
0
0
5
px
;
}
}
.
tux-translation-aid-disabled
:
hover
{
cursor
:
@
cursor
-
not-allowed
;
}
}
.
grid
.
row
{
.tm-suggestion,
.in-other-language
{
margin
:
0
5
px
3
px
-5
px
;
}
}
.
tux-editor-editsummary-block
{
padding
:
0
5
px
;
input
{
border
:
@
border
-
subtle
;
font-size
:
14
px
;
width
:
100
%
;
height
:
30
px
;
margin
:
5
px
0
0
;
padding
:
1
px
4
px
;
&:disabled
{
background-color
:
@
background-color
-
disabled
;
}
}
}
.
tux-textarea-documentation
{
height
:
100
px
;
overflow
:
auto
;
}
.
tm-suggestions-title
,
.
edit-summaries-title
,
.
in-other-languages-title
{
font-size
:
16
px
;
font-weight
:
bold
;
padding
:
10
px
0
;
}
.
edit-summaries
{
&-title
{
display
:
flex
;
span
{
flex
:
1
;
}
a
{
margin-right
:
10
px
;
font-size
:
0.75
em
;
&::before
{
content
:
''
;
.cdx-mixin-css-icon(
@cdx-icon-history,
currentColor,
@size-icon-small,
@
param-vertical-align
:
middle
);
margin-right
:
@
spacing-25
;
}
}
}
ul
{
margin
:
0
0.2
em
0.3
em
0.4
em
;
}
li
>
span
{
display
:
flex
;
white-space
:
nowrap
;
font-size
:
13
px
;
}
}
.
edit-summary-message
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.
edit-summary-spacer
{
font-weight
:
bold
;
padding
:
0
3
px
;
}
.
update-without-summary
{
color
:
@
color
-
subtle
;
font-size
:
13
px
;
}
.
tm-suggestion
,
.
in-other-language
{
font-size
:
14
px
;
border
:
@
border
-
subtle
;
border-left
:
@
border-width
-
thick
@
border-style
-
base
@
border-color
-
progressive
;
padding
:
5
px
5
px
5
px
10
px
;
background-color
:
@
background-color
-
interactive
;
&:hover
{
cursor
:
@
cursor
-
base--hover
;
background-color
:
@
background-color
-
interactive--hover
;
border-left-color
:
@
border-color
-
progressive--hover
;
}
&
:
active
{
background-color
:
@
background-color
-
interactive--active
;
border-left-color
:
@
border-color
-
progressive--active
;
}
}
.
tux-tm-suggestion-source
,
.
tux-translation-aid-error
{
font-size
:
13
px
;
margin-bottom
:
15
px
;
}
.
tux-translation-aid-error
{
margin-top
:
15
px
;
margin-right
:
15
px
;
}
.
in-other-language
.
language
{
color
:
@
color
-
subtle
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.
editarea
{
.tux-notices-block
{
position
:
relative
;
}
.
tux-more-notices
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
cursor
:
@
cursor
-
base--hover
;
z-index
:
@
z-index
-
above
-
content
;
&::after
{
content
:
''
;
.cdx-mixin-css-icon(
@cdx-icon-expand
)
;
}
&
.
open
::
after
{
.cdx-mixin-css-icon(
@cdx-icon-collapse
)
;
}
}
}
.
tux-notice
{
background-color
:
@
background-color
-
warning-subtle
;
&-message
{
position
:
relative
;
font-size
:
14
px
;
padding
:
2
px
13
%
2
px
5
px
;
padding-left
:
@
size-150
;
/* Needs to match width of icons below */
&::before
{
content
:
''
;
position
:
absolute
;
top
:
0
;
left
:
0
;
}
&
.
warning
::
before
{
.cdx-mixin-css-icon(
@cdx-icon-flag,
@color-warning,
@size-icon-small
)
;
height
:
@
size-full
;
width
:
@
size-150
;
}
&
.
error
,
&
.
translation-saving
{
background-color
:
@
background-color
-
error-subtle
;
color
:
@
color
-
error
;
&::before
{
.cdx-mixin-css-icon(
@cdx-icon-error,
@color-error,
@size-icon-small
)
;
height
:
@
size-full
;
width
:
@
size-150
;
}
}
&
.
diff
{
&::before
{
.cdx-mixin-css-icon(
@cdx-icon-clock,
@color-subtle,
@size-icon-small
)
;
height
:
@
size-full
;
width
:
@
size-150
;
}
td
.
diff-marker
{
font-size
:
1.2
em
;
padding
:
0
;
}
}
.
show-diff-link
{
color
:
@
color
-
progressive
;
cursor
:
pointer
;
padding-left
:
5
px
;
}
}
.
diff
{
background-size
:
14
px
;
background-position
:
left
5
px
center
;
&-deletedline,
&-addedline
{
font-size
:
0.75
em
;
font-family
:
monospace
;
}
}
}
.
tux-highlight
{
background-color
:
@
background-color
-
destructive
;
color
:
@
color
-
inverted-fixed
;
}
.
tux-editor-request-right
{
font-size
:
13
px
;
padding
:
0
5
px
;
color
:
@
color
-
subtle
;
}
.
tux-editor-ask-permission
{
padding
:
0
5
px
;
}
.
tux-editor-editarea-block
{
padding
:
0
5
px
;
}
.
tux-editor-actions-block
{
position
:
relative
;
.grid
&
.tux-editor-insert-buttons
{
position
:
absolute
;
/* 30px + 5px padding on bottom */
top
:
-35
px
;
margin-left
:
10
px
;
padding-right
:
20
px
;
z-index
:
110
;
}
}
.
tux-editor-insert-buttons
{
button
{
padding
:
0
5
px
;
min-width
:
30
px
;
margin-right
:
5
px
;
margin-bottom
:
5
px
;
border
:
@
border
-
subtle
;
border-radius
:
@
border-radius
-
base
;
background
:
@
background-color
-
interactive-subtle
;
color
:
@
color
-
base
;
font-size
:
13
px
;
line-height
:
30
px
;
overflow-wrap
:
anywhere
;
&:hover
{
cursor
:
@
cursor
-
base--hover
;
background
:
@
background-color
-
interactive-subtle--hover
;
}
&
:
active
{
background
:
@
background-color
-
interactive-subtle--active
;
}
}
.
tux-editor-paste-original-button
::
before
{
content
:
''
;
.cdx-mixin-css-icon(
@cdx-icon-paste,
currentColor,
@size-icon-small,
@
param-vertical-align
:
middle
);
margin-right
:
@
spacing-25
;
}
}
.
message-desc-editor
.
mw-ui-button
,
.
tux-editor-control-buttons
.
mw-ui-button
{
margin
:
10
px
5
px
;
}
.
sourcemessage
,
.
suggestiontext
{
white-space
:
pre-wrap
;
}
.
infocolumn
.
loading
{
color
:
@
color
-
subtle
;
padding
:
10
px
;
font-size
:
14
px
;
}
.
tux-message-tools-menu
li
{
a
{
color
:
@
color
-
subtle
;
display
:
block
;
font-size
:
14
px
;
padding
:
0
2
px
;
text-decoration
:
none
;
&:hover
{
cursor
:
pointer
;
background-color
:
@
background-color
-
interactive
;
color
:
@
color
-
base
;
}
}
&
.
selected
{
color
:
@
color
-
base
;
&
a
:
:
after
{
content
:
''
;
.cdx-mixin-css-icon(
@cdx-icon-check,
currentColor,
@size-icon-small
)
;
margin-left
:
@
spacing-25
;
float
:
right
;
}
}
}
/* Hide the cancel button by default, but show it in the last message. */
.
tux-editor-cancel-button
{
display
:
none
;
}
.
last-message
{
.tux-editor-cancel-button
{
display
:
inline-block
;
}
.
tux-editor-skip-button
{
display
:
none
;
}
}
.
shortcut-popup
{
width
:
18
px
;
height
:
18
px
;
line-height
:
18
px
;
overflow
:
hidden
;
font-size
:
13
px
;
text-align
:
center
;
border
:
@
border-width
-
base
@
border-style
-
dashed
@
border-color
-
interactive
;
border-radius
:
@
border-radius
-
circle
;
z-index
:
110
;
background-color
:
@
background-color
-
base
;
padding
:
3
px
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 08:59 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
05/10/69b765b28b36ab1e2371ce7c747d
Default Alt Text
ext.translate.editor.less (10 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment