[Frontend] Bottom bar restyled

WTD-1392
WTD-1362
Fixed font size in botttom bar;
Added font-smoothing to global.scss;
Bottom bar design restyled;
This commit is contained in:
Charles Hacskaylo
2015-06-26 17:12:24 -07:00
parent 83be455b0b
commit e3cb9dae5a
8 changed files with 149 additions and 128 deletions

View File

@@ -289,27 +289,29 @@ a {
/* line 31, ../sass/_global.scss */ /* line 31, ../sass/_global.scss */
body, html { body, html {
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #333; background-color: #333;
color: #999; color: #999;
font-family: Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 100%; font-size: 100%;
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: hidden; } overflow: hidden; }
/* line 41, ../sass/_global.scss */ /* line 44, ../sass/_global.scss */
em { em {
font-style: normal; } font-style: normal; }
/* line 46, ../sass/_global.scss */ /* line 49, ../sass/_global.scss */
input, textarea { input, textarea {
font-family: Helvetica, Arial, sans-serif; } font-family: Helvetica, Arial, sans-serif; }
/* line 50, ../sass/_global.scss */ /* line 53, ../sass/_global.scss */
h1, h2, h3 { h1, h2, h3 {
margin: 0; } margin: 0; }
/* line 54, ../sass/_global.scss */ /* line 57, ../sass/_global.scss */
h1 { h1 {
font-size: 1.7em; font-size: 1.7em;
font-weight: normal !important; font-weight: normal !important;
@@ -317,21 +319,21 @@ h1 {
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 0; } margin-top: 0; }
/* line 62, ../sass/_global.scss */ /* line 65, ../sass/_global.scss */
p { p {
margin-bottom: 10px; } margin-bottom: 10px; }
/* line 66, ../sass/_global.scss */ /* line 69, ../sass/_global.scss */
span { span {
/* 618 DEBUG /* 618 DEBUG
box-sizing: border-box; box-sizing: border-box;
*/ } */ }
/* line 72, ../sass/_global.scss */ /* line 75, ../sass/_global.scss */
mct-container { mct-container {
display: block; } display: block; }
/* line 76, ../sass/_global.scss */ /* line 79, ../sass/_global.scss */
.abs, .btn-menu span.l-click-area { .abs, .btn-menu span.l-click-area {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -341,51 +343,51 @@ mct-container {
height: auto; height: auto;
width: auto; } width: auto; }
/* line 86, ../sass/_global.scss */ /* line 89, ../sass/_global.scss */
.code, .codehilite { .code, .codehilite {
font-family: "Lucida Console", monospace; font-family: "Lucida Console", monospace;
font-size: 0.7em; font-size: 0.7em;
line-height: 150%; line-height: 150%;
white-space: pre; } white-space: pre; }
/* line 93, ../sass/_global.scss */ /* line 96, ../sass/_global.scss */
.codehilite { .codehilite {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
padding: 1em; } padding: 1em; }
/* line 99, ../sass/_global.scss */ /* line 102, ../sass/_global.scss */
.align-right { .align-right {
text-align: right; } text-align: right; }
/* line 103, ../sass/_global.scss */ /* line 106, ../sass/_global.scss */
.centered { .centered {
text-align: center; } text-align: center; }
/* line 107, ../sass/_global.scss */ /* line 110, ../sass/_global.scss */
.no-margin { .no-margin {
margin: 0; } margin: 0; }
/* line 111, ../sass/_global.scss */ /* line 114, ../sass/_global.scss */
.colorKey { .colorKey {
color: #0099cc; } color: #0099cc; }
/* line 115, ../sass/_global.scss */ /* line 118, ../sass/_global.scss */
.ds { .ds {
-moz-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px; -moz-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px; -webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px;
box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px; } box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px; }
/* line 119, ../sass/_global.scss */ /* line 122, ../sass/_global.scss */
.hide, .hide,
.hidden { .hidden {
display: none !important; } display: none !important; }
/* line 125, ../sass/_global.scss */ /* line 128, ../sass/_global.scss */
.paused:not(.s-btn):not(.icon-btn) { .paused:not(.s-btn):not(.icon-btn) {
border-color: #c56f01 !important; border-color: #c56f01 !important;
color: #c56f01 !important; } color: #c56f01 !important; }
/* line 131, ../sass/_global.scss */ /* line 134, ../sass/_global.scss */
.sep { .sep {
color: rgba(255, 255, 255, 0.2); } color: rgba(255, 255, 255, 0.2); }
@@ -446,10 +448,10 @@ mct-container {
*****************************************************************************/ *****************************************************************************/
/* line 32, ../sass/user-environ/_layout.scss */ /* line 32, ../sass/user-environ/_layout.scss */
.holder-all { .holder-all {
top: 3px; top: 0;
right: 3px; right: 0;
bottom: 3px; bottom: 0;
left: 3px; } left: 0; }
/* line 40, ../sass/user-environ/_layout.scss */ /* line 40, ../sass/user-environ/_layout.scss */
.browse-area, .browse-area,
@@ -504,10 +506,10 @@ mct-container {
.user-environ .browse-area, .user-environ .browse-area,
.user-environ .edit-area, .user-environ .edit-area,
.user-environ .editor { .user-environ .editor {
top: 34px; top: 39px;
right: 5px; right: 10px;
bottom: 30px; bottom: 35px;
left: 5px; } left: 10px; }
/* line 102, ../sass/user-environ/_layout.scss */ /* line 102, ../sass/user-environ/_layout.scss */
.user-environ .browse-area > .contents, .user-environ .browse-area > .contents,
.user-environ .edit-area > .contents { .user-environ .edit-area > .contents {
@@ -515,7 +517,7 @@ mct-container {
right: 0; } right: 0; }
/* line 108, ../sass/user-environ/_layout.scss */ /* line 108, ../sass/user-environ/_layout.scss */
.user-environ .edit-area { .user-environ .edit-area {
top: 40px; } top: 45px; }
/* line 111, ../sass/user-environ/_layout.scss */ /* line 111, ../sass/user-environ/_layout.scss */
.user-environ .edit-area .tool-bar { .user-environ .edit-area .tool-bar {
bottom: auto; bottom: auto;
@@ -528,27 +530,28 @@ mct-container {
.user-environ .bottom-bar { .user-environ .bottom-bar {
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
top: 5px; top: 0;
right: 5px; right: 0;
bottom: 5px; bottom: 0;
left: 5px; left: 0;
width: auto; width: auto;
height: auto; height: auto;
top: auto; top: auto;
height: 20px; } height: 25px; }
/* line 125, ../sass/user-environ/_layout.scss */ /* line 126, ../sass/user-environ/_layout.scss */
.user-environ .bottom-bar .status-holder { .user-environ .bottom-bar .status-holder {
right: 110px; } z-index: 1; }
/* line 128, ../sass/user-environ/_layout.scss */ /* line 130, ../sass/user-environ/_layout.scss */
.user-environ .bottom-bar .app-logo { .user-environ .bottom-bar .app-logo {
left: auto; left: auto;
width: 105px; } width: 105px;
z-index: 2; }
/* line 135, ../sass/user-environ/_layout.scss */ /* line 138, ../sass/user-environ/_layout.scss */
.cols { .cols {
overflow: hidden; overflow: hidden;
*zoom: 1; } *zoom: 1; }
/* line 137, ../sass/user-environ/_layout.scss */ /* line 140, ../sass/user-environ/_layout.scss */
.cols .col { .cols .col {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
@@ -559,100 +562,100 @@ mct-container {
margin-left: 1.5%; margin-left: 1.5%;
padding-left: 5px; padding-left: 5px;
position: relative; } position: relative; }
/* line 145, ../sass/user-environ/_layout.scss */ /* line 148, ../sass/user-environ/_layout.scss */
.cols .col:first-child { .cols .col:first-child {
margin-left: 0; margin-left: 0;
padding-left: 0; } padding-left: 0; }
/* line 152, ../sass/user-environ/_layout.scss */ /* line 155, ../sass/user-environ/_layout.scss */
.cols.cols-2 .col-1 { .cols.cols-2 .col-1 {
min-width: 250px; min-width: 250px;
width: 48.5%; } width: 48.5%; }
/* line 158, ../sass/user-environ/_layout.scss */ /* line 161, ../sass/user-environ/_layout.scss */
.cols.cols-2-ff .col-100px { .cols.cols-2-ff .col-100px {
width: 100px; } width: 100px; }
/* line 165, ../sass/user-environ/_layout.scss */ /* line 168, ../sass/user-environ/_layout.scss */
.cols.cols-6 .col-1 { .cols.cols-6 .col-1 {
min-width: 83.33333px; min-width: 83.33333px;
width: 15.16667%; } width: 15.16667%; }
/* line 171, ../sass/user-environ/_layout.scss */ /* line 174, ../sass/user-environ/_layout.scss */
.cols.cols-16 .col-1 { .cols.cols-16 .col-1 {
min-width: 31.25px; min-width: 31.25px;
width: 4.75%; } width: 4.75%; }
/* line 174, ../sass/user-environ/_layout.scss */ /* line 177, ../sass/user-environ/_layout.scss */
.cols.cols-16 .col-2 { .cols.cols-16 .col-2 {
min-width: 62.5px; min-width: 62.5px;
width: 11%; } width: 11%; }
/* line 177, ../sass/user-environ/_layout.scss */ /* line 180, ../sass/user-environ/_layout.scss */
.cols.cols-16 .col-7 { .cols.cols-16 .col-7 {
min-width: 218.75px; min-width: 218.75px;
width: 42.25%; } width: 42.25%; }
/* line 183, ../sass/user-environ/_layout.scss */ /* line 186, ../sass/user-environ/_layout.scss */
.cols.cols-32 .col-2 { .cols.cols-32 .col-2 {
min-width: 31.25px; min-width: 31.25px;
width: 4.75%; } width: 4.75%; }
/* line 186, ../sass/user-environ/_layout.scss */ /* line 189, ../sass/user-environ/_layout.scss */
.cols.cols-32 .col-15 { .cols.cols-32 .col-15 {
min-width: 234.375px; min-width: 234.375px;
width: 45.375%; } width: 45.375%; }
/* line 190, ../sass/user-environ/_layout.scss */ /* line 193, ../sass/user-environ/_layout.scss */
.cols .l-row { .cols .l-row {
overflow: hidden; overflow: hidden;
*zoom: 1; *zoom: 1;
padding: 5px 0; } padding: 5px 0; }
/* line 196, ../sass/user-environ/_layout.scss */ /* line 199, ../sass/user-environ/_layout.scss */
.pane { .pane {
position: absolute; } position: absolute; }
/* line 199, ../sass/user-environ/_layout.scss */ /* line 202, ../sass/user-environ/_layout.scss */
.pane.treeview .create-btn-holder { .pane.treeview .create-btn-holder {
bottom: auto; bottom: auto;
top: 0; top: 0;
height: 24px; } height: 24px; }
/* line 202, ../sass/user-environ/_layout.scss */ /* line 205, ../sass/user-environ/_layout.scss */
.pane.treeview .create-btn-holder .wrapper.menu-element { .pane.treeview .create-btn-holder .wrapper.menu-element {
position: absolute; position: absolute;
bottom: 5px; } bottom: 5px; }
/* line 207, ../sass/user-environ/_layout.scss */ /* line 210, ../sass/user-environ/_layout.scss */
.pane.treeview .tree-holder { .pane.treeview .tree-holder {
overflow: auto; overflow: auto;
top: 34px; } top: 34px; }
/* line 214, ../sass/user-environ/_layout.scss */ /* line 217, ../sass/user-environ/_layout.scss */
.pane.items .object-browse-bar .left.abs, .pane.items .object-browse-bar .btn-menu span.left.l-click-area, .btn-menu .pane.items .object-browse-bar span.left.l-click-area, .pane.items .object-browse-bar .left.abs, .pane.items .object-browse-bar .btn-menu span.left.l-click-area, .btn-menu .pane.items .object-browse-bar span.left.l-click-area,
.pane.items .object-browse-bar .right.abs, .pane.items .object-browse-bar .right.abs,
.pane.items .object-browse-bar .btn-menu span.right.l-click-area, .pane.items .object-browse-bar .btn-menu span.right.l-click-area,
.btn-menu .pane.items .object-browse-bar span.right.l-click-area { .btn-menu .pane.items .object-browse-bar span.right.l-click-area {
top: auto; } top: auto; }
/* line 219, ../sass/user-environ/_layout.scss */ /* line 222, ../sass/user-environ/_layout.scss */
.pane.items .object-holder { .pane.items .object-holder {
top: 34px; } top: 34px; }
/* line 224, ../sass/user-environ/_layout.scss */ /* line 227, ../sass/user-environ/_layout.scss */
.pane.edit-main .object-holder { .pane.edit-main .object-holder {
top: 0; } top: 0; }
/* line 230, ../sass/user-environ/_layout.scss */ /* line 233, ../sass/user-environ/_layout.scss */
.pane .object-holder { .pane .object-holder {
overflow: auto; } overflow: auto; }
/* line 238, ../sass/user-environ/_layout.scss */ /* line 241, ../sass/user-environ/_layout.scss */
.split-layout.horizontal > .pane { .split-layout.horizontal > .pane {
margin-top: 5px; } margin-top: 5px; }
/* line 241, ../sass/user-environ/_layout.scss */ /* line 244, ../sass/user-environ/_layout.scss */
.split-layout.horizontal > .pane:first-child { .split-layout.horizontal > .pane:first-child {
margin-top: 0; } margin-top: 0; }
/* line 248, ../sass/user-environ/_layout.scss */ /* line 251, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane { .split-layout.vertical > .pane {
margin-left: 5px; } margin-left: 5px; }
/* line 250, ../sass/user-environ/_layout.scss */ /* line 253, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane > .holder { .split-layout.vertical > .pane > .holder {
left: 0; left: 0;
right: 0; } right: 0; }
/* line 254, ../sass/user-environ/_layout.scss */ /* line 257, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane:first-child { .split-layout.vertical > .pane:first-child {
margin-left: 0; } margin-left: 0; }
/* line 256, ../sass/user-environ/_layout.scss */ /* line 259, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane:first-child .holder { .split-layout.vertical > .pane:first-child .holder {
right: 5px; } right: 5px; }
/* line 265, ../sass/user-environ/_layout.scss */ /* line 268, ../sass/user-environ/_layout.scss */
.vscroll { .vscroll {
overflow-y: auto; } overflow-y: auto; }
@@ -4041,7 +4044,7 @@ input[type="text"] {
/* line 60, ../sass/overlay/_overlay.scss */ /* line 60, ../sass/overlay/_overlay.scss */
.overlay .editor { .overlay .editor {
top: 70px; top: 70px;
bottom: 50px; bottom: 52px;
left: 0; left: 0;
right: 0; } right: 0; }
/* line 66, ../sass/overlay/_overlay.scss */ /* line 66, ../sass/overlay/_overlay.scss */
@@ -4051,7 +4054,7 @@ input[type="text"] {
bottom: 0; bottom: 0;
left: 0; left: 0;
font-size: 1em; font-size: 1em;
height: 40px; height: 42px;
text-align: right; } text-align: right; }
/* line 71, ../sass/overlay/_overlay.scss */ /* line 71, ../sass/overlay/_overlay.scss */
.overlay .bottom-bar .btn { .overlay .bottom-bar .btn {
@@ -4141,10 +4144,10 @@ input[type="text"] {
/* line 27, ../sass/user-environ/_top-bar.scss */ /* line 27, ../sass/user-environ/_top-bar.scss */
.top-bar.browse, .top-bar.edit { .top-bar.browse, .top-bar.edit {
border-bottom: 1px solid #4d4d4d; border-bottom: 1px solid #4d4d4d;
top: 5px; top: 10px;
right: 5px; right: 10px;
bottom: auto; bottom: auto;
left: 5px; left: 10px;
height: 30px; } height: 30px; }
/* line 37, ../sass/user-environ/_top-bar.scss */ /* line 37, ../sass/user-environ/_top-bar.scss */
.top-bar .title { .top-bar .title {
@@ -4189,54 +4192,60 @@ input[type="text"] {
*****************************************************************************/ *****************************************************************************/
/* line 22, ../sass/user-environ/_bottom-bar.scss */ /* line 22, ../sass/user-environ/_bottom-bar.scss */
.ue-bottom-bar { .ue-bottom-bar {
background: #000;
color: gray; color: gray;
font-size: 0.65rem; font-size: .7rem; }
line-height: 16px; } /* line 28, ../sass/user-environ/_bottom-bar.scss */
/* line 26, ../sass/user-environ/_bottom-bar.scss */
.ue-bottom-bar .status-holder { .ue-bottom-bar .status-holder {
-moz-border-radius: 3.5px;
-webkit-border-radius: 3.5px;
border-radius: 3.5px;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
background: #000; overflow: hidden;
border-bottom: 1px solid #4d4d4d; position: absolute;
padding: 2px 5px; top: 5px;
right: 5px;
bottom: 5px;
left: 5px;
width: auto;
height: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 15px;
right: 120px;
text-transform: uppercase; } text-transform: uppercase; }
/* line 34, ../sass/user-environ/_bottom-bar.scss */ /* line 39, ../sass/user-environ/_bottom-bar.scss */
.ue-bottom-bar .app-logo { .ue-bottom-bar .app-logo {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; overflow: hidden;
font-size: 0.8em; position: absolute;
line-height: 10px; top: 5px;
padding-top: 1px; right: 5px;
text-transform: uppercase; } bottom: 5px;
/* line 41, ../sass/user-environ/_bottom-bar.scss */ left: 5px;
width: auto;
height: auto;
left: auto;
cursor: pointer; }
/* line 48, ../sass/user-environ/_bottom-bar.scss */
.ue-bottom-bar .app-logo.logo-openmctweb { .ue-bottom-bar .app-logo.logo-openmctweb {
background: url("../images/logo-openmctweb.svg") no-repeat center center; } background: url("../images/logo-openmctweb.svg") no-repeat center center; }
/* line 47, ../sass/user-environ/_bottom-bar.scss */ /* line 54, ../sass/user-environ/_bottom-bar.scss */
.status.block { .status.block {
display: inline-block; display: inline;
margin-right: 20px; } margin-right: 10px; }
/* line 50, ../sass/user-environ/_bottom-bar.scss */ /* line 58, ../sass/user-environ/_bottom-bar.scss */
.status.block .status-indicator { .status.block .status-indicator {
-moz-border-radius: 1.8px;
-webkit-border-radius: 1.8px;
border-radius: 1.8px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 0 3px;
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 0 3px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 0 3px;
text-shadow: rgba(0, 0, 0, 0.3) 0 0 2px;
display: inline-block; display: inline-block;
margin-right: 3px; } margin-right: 3px;
/* line 58, ../sass/user-environ/_bottom-bar.scss */ color: #0099cc; }
/* line 65, ../sass/user-environ/_bottom-bar.scss */
.status.block .status-indicator.ok { .status.block .status-indicator.ok {
color: #009900; } color: #009900; }
/* line 61, ../sass/user-environ/_bottom-bar.scss */ /* line 68, ../sass/user-environ/_bottom-bar.scss */
.status.block .status-indicator.caution { .status.block .status-indicator.caution {
color: #ffaa00; } color: #ffaa00; }
@@ -4878,4 +4887,4 @@ input[type="text"] {
display: none; } display: none; }
/* line 32, ../sass/_hide-non-functional.scss */ /* line 32, ../sass/_hide-non-functional.scss */
.browse-mode .browse-area.holder { .browse-mode .browse-area.holder {
top: 5px; } top: 10px; }

View File

@@ -78,7 +78,7 @@ $btnFontSizeToH: 0.45;
$ueTopBarH: 24px; // Change to when breadcrumb is enabled $ueTopBarH: 24px; // Change to when breadcrumb is enabled
$ueTopBarEditH: 30px; $ueTopBarEditH: 30px;
$ueTopBarBtnH: 35px; $ueTopBarBtnH: 35px;
$ueFooterH: 20px; $ueFooterH: 25px;
$ueColMargin: 1.5%; $ueColMargin: 1.5%;
$ueAppLogoW: 105px; $ueAppLogoW: 105px;
//$ueBrowseViewBarH: $ueTopBarH; // was 30px //$ueBrowseViewBarH: $ueTopBarH; // was 30px
@@ -91,7 +91,7 @@ $colorOvrBlocker: rgba(black, 0.7);
$colorOvrBg: $colorBodyBg; $colorOvrBg: $colorBodyBg;
$colorOvrFg: $colorBodyFg; $colorOvrFg: $colorBodyFg;
$ovrTopBarH: 60px; $ovrTopBarH: 60px;
$ovrFooterH: 40px; $ovrFooterH: 42px;
//Items //Items
$ueBrowseGridItemLg: 200px; $ueBrowseGridItemLg: 200px;

View File

@@ -29,10 +29,13 @@ a {
} }
body, html { body, html {
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: $colorBodyBg; background-color: $colorBodyBg;
color: $colorBodyFg; color: $colorBodyFg;
font-family: Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 100%; font-size: 100%;
//font-weight: 500;
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;

View File

@@ -31,7 +31,7 @@
.browse-area.holder { .browse-area.holder {
// When .browse.top-bar is hidden, set the top of the browse-area holder // When .browse.top-bar is hidden, set the top of the browse-area holder
top: $interiorMargin; top: $bodyMargin;
> .contents.split-layout { > .contents.split-layout {
// Don't pad in from top and bottom // Don't pad in from top and bottom
//top: 0; bottom: 0; //top: 0; bottom: 0;

View File

@@ -19,5 +19,4 @@
* this source code distribution or the Licensing information page available * this source code distribution or the Licensing information page available
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/* CONSTANTS */ /* CONSTANTS */
$bodyMargin: 5px;

View File

@@ -20,24 +20,31 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
.ue-bottom-bar { .ue-bottom-bar {
background: $colorFooterBg;
color: lighten($colorBodyBg, 30%); color: lighten($colorBodyBg, 30%);
font-size: 0.65rem; font-size: .7rem;
line-height: $ueFooterH - 4px; //line-height: $ueFooterH - 4px;
//line-height: $ueFooterH; // New status bar design
.status-holder { .status-holder {
@include border-radius($basicCr * 1.75); //@include border-radius($basicCr * 1.75); // New status bar design
@include box-sizing(border-box); @include box-sizing(border-box);
background: $colorFooterBg; //background: $colorFooterBg;
border-bottom: 1px solid lighten($colorBodyBg, 10%); //border-bottom: 1px solid lighten($colorBodyBg, 10%); // New status bar design
padding: 2px 5px; @include absPosDefault($interiorMargin);
@include ellipsize();
line-height: $ueFooterH - ($interiorMargin * 2);
right: 120px;
text-transform: uppercase; text-transform: uppercase;
} }
.app-logo { .app-logo {
@include box-sizing(border-box); @include box-sizing(border-box);
@include absPosDefault($interiorMargin);
left: auto;
cursor: pointer; cursor: pointer;
font-size: 0.8em; //font-size: 0.8em;
line-height: $ueFooterH - 10px; //line-height: $ueFooterH - 10px;
padding-top: 1px; //padding-top: 1px;
text-transform: uppercase; //text-transform: uppercase;
&.logo-openmctweb { &.logo-openmctweb {
background: url($dirImgs + 'logo-openmctweb.svg') no-repeat center center; background: url($dirImgs + 'logo-openmctweb.svg') no-repeat center center;
} }
@@ -45,16 +52,16 @@
} }
.status.block { .status.block {
display: inline-block; //display: inline-block;
margin-right: $interiorMargin * 4; display: inline; // New status bar design. Inline to support ellipsis overflow
margin-right: $interiorMargin * 2;
.status-indicator { .status-indicator {
@include border-radius($controlCr * 0.9); //@include border-radius($controlCr * 0.9);
@include box-shadow(inset rgba(black, 0.5) 0 0 3px); //@include box-shadow(inset rgba(black, 0.5) 0 0 3px);
@include text-shadow(rgba(black, 0.3) 0 0 2px); //@include text-shadow(rgba(black, 0.3) 0 0 2px);
display: inline-block; display: inline-block;
//font-size: 1.25em; // Normalized for new wtdsymbols font v2
//vertical-align: middle; // Normalized for new wtdsymbols font v2
margin-right: $interiorMarginSm; margin-right: $interiorMarginSm;
color: $colorKey;
&.ok { &.ok {
color: #009900; color: #009900;
} }

View File

@@ -30,7 +30,7 @@
} }
.holder-all { .holder-all {
$myM: $interiorMarginSm; $myM: 0; // $interiorMarginSm;
top: $myM; top: $myM;
right: $myM; right: $myM;
bottom: $myM; bottom: $myM;
@@ -93,7 +93,7 @@
.editor { .editor {
top: $bodyMargin + $ueTopBarH + ($interiorMargin); top: $bodyMargin + $ueTopBarH + ($interiorMargin);
right: $bodyMargin; right: $bodyMargin;
bottom: $bodyMargin + $ueFooterH + $interiorMargin; bottom: $ueFooterH + $bodyMargin;
left: $bodyMargin; left: $bodyMargin;
} }
@@ -119,15 +119,18 @@
} }
.bottom-bar { .bottom-bar {
@include absPosDefault($bodyMargin); //@include absPosDefault($bodyMargin);
@include absPosDefault(0);// New status bar design
top: auto; top: auto;
height: $ueFooterH; height: $ueFooterH;
.status-holder { .status-holder {
right: $ueAppLogoW + $bodyMargin; //right: $ueAppLogoW + $bodyMargin; New status bar design
z-index: 1;
} }
.app-logo { .app-logo {
left: auto; left: auto;
width: $ueAppLogoW; width: $ueAppLogoW;
z-index: 2;
} }
} }
} }

View File

@@ -20,7 +20,7 @@
at runtime from the About dialog for additional information. at runtime from the About dialog for additional information.
--> -->
<div class='abs bottom-bar ue-bottom-bar' ng-controller="BottomBarController as bar"> <div class='abs bottom-bar ue-bottom-bar' ng-controller="BottomBarController as bar">
<div id='status' class='status-holder abs'> <div id='status' class='status-holder'>
<mct-include ng-repeat="indicator in bar.getIndicators()" <mct-include ng-repeat="indicator in bar.getIndicators()"
ng-model="indicator.ngModel" ng-model="indicator.ngModel"
key="indicator.template"> key="indicator.template">