mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 09:42:11 +00:00
Merge "RealtimePreview: Use LESS nesting in ResizingDragBar"
This commit is contained in:
commit
f31fc338ed
|
@ -16,34 +16,34 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ext-WikiEditor-ResizingDragBar-ns {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
&-ns {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
|
||||
.ext-WikiEditor-ResizingDragBar-ew {
|
||||
cursor: ew-resize;
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-ew;
|
||||
}
|
||||
span {
|
||||
width: @affordance-length;
|
||||
height: @affordance-width;
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-drag;
|
||||
border-radius: @border-radius-base;
|
||||
display: block;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.ext-WikiEditor-ResizingDragBar span {
|
||||
width: @affordance-length;
|
||||
height: @affordance-width;
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-drag;
|
||||
border-radius: @border-radius-base;
|
||||
display: block;
|
||||
margin: 2px;
|
||||
}
|
||||
&:hover span {
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-drag--hover;
|
||||
}
|
||||
|
||||
.ext-WikiEditor-ResizingDragBar:hover span {
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-drag--hover;
|
||||
}
|
||||
&-ew {
|
||||
cursor: ew-resize;
|
||||
background-color: @background-color-wikieditor-resizing-dragbar-ew;
|
||||
|
||||
.ext-WikiEditor-ResizingDragBar-ew span {
|
||||
height: @affordance-length;
|
||||
width: @affordance-width;
|
||||
border-width: 0 @border-width-base;
|
||||
span {
|
||||
height: @affordance-length;
|
||||
width: @affordance-width;
|
||||
border-width: 0 @border-width-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This is needed to make the CodeMirror editor height constrained to .wikiEditor-ui-text
|
||||
|
|
Loading…
Reference in a new issue