mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-28 02:00:34 +00:00
b49e0a9d6c
Set both drag element lengths to 52px (@affordance-length) Set the margin on (.ext-WikiEditor-ResizingDragBar span) to 2px Set (.ext-WikiEditor-ResizingDragBar-ew) background-color to @colorGray15 (i.e. #F8F9FA) Remove legacy comment. Bug: T307105 Change-Id: If0087398920c7ad92e5a2cd1ee5c178644f8d95b
41 lines
843 B
Plaintext
41 lines
843 B
Plaintext
@import 'mediawiki.ui/variables.less';
|
|
|
|
// The dimensions of the UI affordance (the little line in the draggable area).
|
|
@affordance-width: 4px;
|
|
@affordance-length: 52px;
|
|
|
|
.ext-WikiEditor-ResizingDragBar {
|
|
background-color: @colorGray14;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ns {
|
|
cursor: ns-resize;
|
|
}
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ew {
|
|
cursor: ew-resize;
|
|
background-color: @colorGray15;
|
|
}
|
|
|
|
.ext-WikiEditor-ResizingDragBar span {
|
|
width: @affordance-length;
|
|
height: @affordance-width;
|
|
background-color: @colorGray12;
|
|
border-radius: 2px;
|
|
display: block;
|
|
margin: 2px;
|
|
}
|
|
|
|
.ext-WikiEditor-ResizingDragBar:hover span {
|
|
background-color: @colorGray5;
|
|
}
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ew span {
|
|
height: @affordance-length;
|
|
width: @affordance-width;
|
|
border-width: 0 1px;
|
|
}
|