mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Visual enhancements next: Fix alignments of icons
This reverts commit d1ef0d3aaf
.
Reason for revert: Applying again without the impact on styles in
master.
Bug: T319070
Change-Id: I751168e1dc0f6235fd5ba881dc884941edbf4b77
This commit is contained in:
parent
daaa5667a4
commit
1bb0a0e8fa
|
@ -8,6 +8,8 @@
|
||||||
background: url( ../common/images/arrow-down.svg ) 100% 50% no-repeat;
|
background: url( ../common/images/arrow-down.svg ) 100% 50% no-repeat;
|
||||||
width: unit( 16 / @font-size-tabs / @font-size-browser, em );
|
width: unit( 16 / @font-size-tabs / @font-size-browser, em );
|
||||||
height: unit( 16 / @font-size-tabs / @font-size-browser, em );
|
height: unit( 16 / @font-size-tabs / @font-size-browser, em );
|
||||||
|
// https://phabricator.wikimedia.org/T319070#8284272
|
||||||
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mixin-vector-dropdown-menu-item() {
|
.mixin-vector-dropdown-menu-item() {
|
||||||
|
|
|
@ -93,9 +93,9 @@
|
||||||
.mw-list-item {
|
.mw-list-item {
|
||||||
.mw-ui-icon {
|
.mw-ui-icon {
|
||||||
// Align small icons with the bottom of the tabs.
|
// Align small icons with the bottom of the tabs.
|
||||||
// Height of tab is 41px, and small icon is 36px,
|
// Height of tab is 38px, and small icon is 32px,
|
||||||
// With 1px border, 41 - 36 + 1;
|
// With 2px border, 38 - 32 + 2
|
||||||
margin: 4px 0 0 0;
|
margin: 8px 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,10 @@
|
||||||
&-context-bar {
|
&-context-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
.vector-feature-visual-enhancement-next-enabled & {
|
||||||
|
column-gap: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-start {
|
&-start {
|
||||||
|
|
|
@ -66,12 +66,18 @@
|
||||||
/**
|
/**
|
||||||
* Horizontal links menu - logged in and logged out.
|
* Horizontal links menu - logged in and logged out.
|
||||||
*/
|
*/
|
||||||
// TODO: Remove vector-user-menu-more after I371bb11903d8cdd8f0da89266fcf549050c0da8c has been in prod for a week
|
|
||||||
.vector-user-menu-more,
|
|
||||||
.vector-user-menu-overflow {
|
.vector-user-menu-overflow {
|
||||||
|
.vector-feature-visual-enhancement-next-enabled & {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.vector-menu-content-list {
|
.vector-menu-content-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
.vector-feature-visual-enhancement-next-enabled & {
|
||||||
|
column-gap: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add margin to links that don't have the .mw-ui-button or related icon classes.
|
// Add margin to links that don't have the .mw-ui-button or related icon classes.
|
||||||
|
|
Loading…
Reference in a new issue