mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
Theme refactoring (#2234)
* Theme refactoring - New hero, header and body font mixins added to theme files; - Mods to body, griditem, frames, browsebar, etc. to use new font mixins; - Moved symbolsfont definition into _constants.scss; * Tweak - make SubobjectView use header font; * Add new theme 'maelstrom'; * Add comment * Remove deprecated .svg and .eot symbol font files
This commit is contained in:
committed by
Pete Richards
parent
c748569433
commit
5928a102a6
@ -23,7 +23,7 @@
|
||||
<div class="u-contents">
|
||||
<div class="c-so-view__header">
|
||||
<div class="c-so-view__header__start">
|
||||
<div class="c-so-view__name"
|
||||
<div class="c-so-view__header__name"
|
||||
:class="cssClass">
|
||||
{{ item.domainObject.name }}
|
||||
</div>
|
||||
@ -48,42 +48,40 @@
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
margin-bottom: $interiorMargin;
|
||||
|
||||
> [class*="__"] {
|
||||
&__start,
|
||||
&__end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-left: $interiorMargin;
|
||||
}
|
||||
|
||||
[class*="__start"] {
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
[class*="__end"] {
|
||||
//justify-content: flex-end;
|
||||
flex: 0 0 auto;
|
||||
&__end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
[class*="button"] {
|
||||
font-size: 0.7em;
|
||||
&__name {
|
||||
@include headerFont(1em);
|
||||
display: flex;
|
||||
&:before {
|
||||
margin-right: $interiorMarginSm;
|
||||
}
|
||||
}
|
||||
|
||||
.no-frame & {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__name {
|
||||
@include ellipsize();
|
||||
@include headerFont(1.2em);
|
||||
flex: 0 1 auto;
|
||||
font-size: 1.2em;
|
||||
|
||||
&:before {
|
||||
// Object type icon
|
||||
flex: 0 0 auto;
|
||||
margin-right: $interiorMarginSm;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user