mirror of
https://github.com/nasa/openmct.git
synced 2025-04-16 07:26:53 +00:00
[Frontend] CSS and markup tweaks
Fixes #1166 New control-bar height constant Removed font-size definition in .l-view-section
This commit is contained in:
parent
55603b927f
commit
39dcb937d5
@ -126,6 +126,7 @@ $menuLineH: 1.5rem;
|
||||
$menuLineHPx: 24px;
|
||||
$btnStdH: 25px;
|
||||
$btnToolbarH: $btnStdH;
|
||||
$controlBarH: $btnStdH;
|
||||
$btnFrameH: 16px;
|
||||
|
||||
/************************** PATHS */
|
||||
|
@ -1,16 +1,11 @@
|
||||
/* Styles for sub-dividing views generically */
|
||||
$cbH: 25px;
|
||||
|
||||
.l-control-bar {
|
||||
// Element that can be placed above l-view-section
|
||||
height: $cbH;
|
||||
|
||||
// Element that can be placed above l-view-section, holds controls, buttons, etc.
|
||||
height: $controlBarH;
|
||||
}
|
||||
|
||||
|
||||
.l-view-section {
|
||||
@include absPosDefault(0);
|
||||
font-size: 0.8rem;
|
||||
h2 {
|
||||
color: #fff;
|
||||
margin-bottom: $interiorMargin;
|
||||
@ -27,7 +22,7 @@ $cbH: 25px;
|
||||
|
||||
.has-control-bar {
|
||||
.l-view-section {
|
||||
top: $cbH + $interiorMargin;
|
||||
top: $controlBarH + $interiorMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user