Add and use LESS variable for personal menu top offset
Going into the header work, we'll need this variable available so that we can align the header with the personal tools menu. Per Volker's request we change the value to `px` from `em`s. Previously it was 5.28333px. It will now be 6px. Bug: T246170 Change-Id: Ic1514e8592db8ef168fc846b8f8e485fdd465e49
This commit is contained in:
parent
2939100fff
commit
e326517213
|
@ -4,7 +4,7 @@
|
|||
/* Personal */
|
||||
#p-personal {
|
||||
position: absolute;
|
||||
top: 0.33em;
|
||||
top: @top-personal-tools;
|
||||
right: 0.75em;
|
||||
z-index: @z-index-personal;
|
||||
|
||||
|
|
|
@ -94,6 +94,7 @@
|
|||
// Navigation: Personal tools
|
||||
@background-position-nav-personal-icon: left ( 4 / @font-size-browser / @font-size-nav-personal );
|
||||
@background-size-nav-personal-icon: 14 / @font-size-browser / @font-size-nav-personal;
|
||||
@top-personal-tools: 6px;
|
||||
@font-size-nav-personal: 0.75em;
|
||||
// Using `unit()` without second parameter to achieve a unitless output for `line-height`.
|
||||
@line-height-nav-personal: unit( 14 / @font-size-browser / @font-size-nav-personal ); // Equals `1.667`.
|
||||
|
|
Loading…
Reference in New Issue