mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Move menu border style to legacy
Bug: T309398 Change-Id: Idfd88d98cb51ee35a359eef90ed54bc0a9feea87
This commit is contained in:
parent
d91c921daa
commit
d6e1dbd843
|
@ -51,7 +51,6 @@
|
|||
left: -@border-width-base;
|
||||
margin: 0;
|
||||
border: @border-width-base @border-style-base @border-color-base;
|
||||
border-top-width: 0;
|
||||
padding: 0;
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
text-align: left;
|
||||
|
|
|
@ -23,13 +23,17 @@
|
|||
padding: unit( ( 8.125px / @font-size-browser ), em );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.vector-menu-dropdown .vector-menu-heading {
|
||||
background-image: linear-gradient( to bottom, rgba( 167, 215, 249, 0 ) 0, @border-color-content 100% );
|
||||
background-repeat: no-repeat;
|
||||
// Contain gradient to 1px × 100% size and draw from top to bottom-left or -right corner.
|
||||
background-size: @border-width-base 100%;
|
||||
background-position: right bottom;
|
||||
height: 100%;
|
||||
.vector-menu-heading {
|
||||
background-image: linear-gradient( to bottom, rgba( 167, 215, 249, 0 ) 0, @border-color-content 100% );
|
||||
background-repeat: no-repeat;
|
||||
// Contain gradient to 1px × 100% size and draw from top to bottom-left or -right corner.
|
||||
background-size: @border-width-base 100%;
|
||||
background-position: right bottom;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.vector-menu-content {
|
||||
border-top-width: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
box-sizing: border-box;
|
||||
max-height: 65vh;
|
||||
overflow: auto;
|
||||
border-top-width: 1px;
|
||||
|
||||
// Adds to the show/hide technique in MenuDropdown.less with
|
||||
// display to prevent rendering and long scrolling on Main page
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
||||
left: unset;
|
||||
right: 0;
|
||||
border-top-width: 1px;
|
||||
border-radius: 2px;
|
||||
// T285786: Box shadow per design spec
|
||||
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
|
||||
|
|
Loading…
Reference in a new issue