mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Correct the user icon padding
Addresses topic 3 from Alex's feedback in: T191021#7228591 Bug: T191021 Change-Id: I12e5fea3f1893b94e520bcec91d52af9596a2fd4
This commit is contained in:
parent
b621b3836f
commit
628c436f15
|
@ -129,21 +129,20 @@
|
|||
}
|
||||
|
||||
.vector-user-menu-logged-in h3 {
|
||||
@offset-icon-down-arrow: 4px;
|
||||
@bg-height: unit( 12px / @font-size-browser, em );
|
||||
// FIXME: Ideally this variable should be accessible from mediawiki.skin.variables
|
||||
// Remove it when we can.
|
||||
@icon-padding-md: unit( 12 / @font-size-browser, em );
|
||||
@icon-arrow-size: unit( 12px / @font-size-browser, em );
|
||||
padding-right: @icon-padding-md + @icon-arrow-size;
|
||||
|
||||
&:before {
|
||||
color: #54595d;
|
||||
margin-left: -@offset-icon-down-arrow;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background-position: 100% 0%;
|
||||
// FIXME: Ideally this variable should be accessible from mediawiki.skin.variables
|
||||
// Remove it when we can.
|
||||
@icon-padding-md: unit( 12 / @font-size-browser, em );
|
||||
top: @icon-padding-md + ( @bg-height / 2 );
|
||||
right: @offset-icon-down-arrow;
|
||||
top: @icon-padding-md + ( @icon-arrow-size / 2 );
|
||||
right: @icon-arrow-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue