mirror of
https://github.com/nasa/openmct.git
synced 2025-05-30 06:04:20 +00:00
[Autoflow] Update CSS files
Update CSS/SCSS for autoflow tabular view with changes to fix alignment of cells for WTD-685 and WTD-674; part of integration task WTD-686.
This commit is contained in:
parent
b98758daf8
commit
86c2cda7a2
@ -2555,89 +2555,87 @@ input[type="text"] {
|
|||||||
/* line 1, ../sass/_autoflow.scss */
|
/* line 1, ../sass/_autoflow.scss */
|
||||||
.autoflow {
|
.autoflow {
|
||||||
font-size: 0.75rem; }
|
font-size: 0.75rem; }
|
||||||
/* line 6, ../sass/_autoflow.scss */
|
/* line 9, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-header {
|
.autoflow .l-autoflow-header {
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
line-height: 22px; }
|
line-height: 22px; }
|
||||||
/* line 10, ../sass/_autoflow.scss */
|
/* line 13, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-header span {
|
.autoflow .l-autoflow-header span {
|
||||||
vertical-align: middle; }
|
vertical-align: middle; }
|
||||||
/* line 13, ../sass/_autoflow.scss */
|
/* line 16, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-header .l-filter {
|
.autoflow .l-autoflow-header .l-filter {
|
||||||
margin-left: 5px; }
|
margin-left: 5px; }
|
||||||
/* line 18, ../sass/_autoflow.scss */
|
/* line 21, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items {
|
.autoflow .l-autoflow-items {
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
white-space: nowrap; }
|
white-space: nowrap; }
|
||||||
/* line 25, ../sass/_autoflow.scss */
|
/* line 27, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col {
|
.autoflow .l-autoflow-items .l-autoflow-col {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-left: 1px solid #4d4d4d;
|
border-left: 1px solid #4d4d4d;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 100%;
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
width: 150px; }
|
vertical-align: top;
|
||||||
/* line 34, ../sass/_autoflow.scss */
|
width: 225px; }
|
||||||
|
/* line 37, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
display: block;
|
display: block;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
margin-bottom: 1px;
|
margin-bottom: 1px;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
/* line 42, ../sass/_autoflow.scss */
|
/* line 46, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:first-child {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:first-child {
|
||||||
border-top: none; }
|
border-top: none; }
|
||||||
/* line 45, ../sass/_autoflow.scss */
|
/* line 49, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:hover {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:hover {
|
||||||
background: rgba(255, 255, 255, 0.1); }
|
background: rgba(255, 255, 255, 0.1); }
|
||||||
/* line 48, ../sass/_autoflow.scss */
|
/* line 52, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.stale {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.stale {
|
||||||
color: #666666; }
|
color: #666666; }
|
||||||
/* line 52, ../sass/_autoflow.scss */
|
/* line 56, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:not(.stale) .l-autoflow-item.r {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row:not(.stale) .l-autoflow-item.r {
|
||||||
color: #cccccc; }
|
color: #cccccc; }
|
||||||
/* line 57, ../sass/_autoflow.scss */
|
/* line 61, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.alert .l-autoflow-item.r {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.alert .l-autoflow-item.r {
|
||||||
background: #cc0000;
|
background: #cc0000; }
|
||||||
padding-right: 2px; }
|
/* line 65, ../sass/_autoflow.scss */
|
||||||
/* line 62, ../sass/_autoflow.scss */
|
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.first-in-group {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row.first-in-group {
|
||||||
border-top: 1px solid gray; }
|
border-top: 1px solid gray; }
|
||||||
/* line 65, ../sass/_autoflow.scss */
|
/* line 68, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item {
|
||||||
bottom: auto;
|
display: block; }
|
||||||
white-space: nowrap;
|
/* line 70, ../sass/_autoflow.scss */
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
top: 1px;
|
|
||||||
bottom: 1px; }
|
|
||||||
/* line 71, ../sass/_autoflow.scss */
|
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item.l {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item.l {
|
||||||
width: 60%;
|
float: none;
|
||||||
right: auto; }
|
overflow: hidden;
|
||||||
/* line 76, ../sass/_autoflow.scss */
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: auto; }
|
||||||
|
/* line 78, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item.r {
|
.autoflow .l-autoflow-items .l-autoflow-col .l-autoflow-row .l-autoflow-item.r {
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
-ms-border-radius: 3px;
|
-ms-border-radius: 3px;
|
||||||
-o-border-radius: 3px;
|
-o-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
left: 60%;
|
float: right;
|
||||||
|
margin-left: 5px;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 2px;
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
/* line 86, ../sass/_autoflow.scss */
|
/* line 90, ../sass/_autoflow.scss */
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col:first-child {
|
.autoflow .l-autoflow-items .l-autoflow-col:first-child {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
padding-left: 0; }
|
padding-left: 0; }
|
||||||
/* line 89, ../sass/_autoflow.scss */
|
|
||||||
.autoflow .l-autoflow-items .l-autoflow-col:first-child .l-autoflow-item.l {
|
|
||||||
left: 0; }
|
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
.autoflow {
|
.autoflow {
|
||||||
$headerH: $formInputH;
|
$headerH: $formInputH;
|
||||||
$colMargin: $interiorMargin;
|
$colMargin: $interiorMargin;
|
||||||
|
$colW: 225px;
|
||||||
|
$valW: 70px;
|
||||||
|
$valPad: 2px;
|
||||||
$rowH: 15px;
|
$rowH: 15px;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
.l-autoflow-header {
|
.l-autoflow-header {
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
height: $headerH;
|
height: $headerH;
|
||||||
line-height: $headerH;
|
line-height: $headerH;
|
||||||
span {
|
span {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
@ -16,24 +19,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.l-autoflow-items {
|
.l-autoflow-items {
|
||||||
// @include test(green);
|
// @include test(green);
|
||||||
// right: auto; width: 100; // TEMP!
|
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: $headerH + $interiorMargin * 2;
|
top: $headerH + $interiorMargin * 2;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
.l-autoflow-col {
|
.l-autoflow-col {
|
||||||
// @include test();
|
// @include test();
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
border-left: 1px solid $colorInteriorBorder;
|
border-left: 1px solid $colorInteriorBorder;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
padding-left: $colMargin;
|
padding-left: $colMargin;
|
||||||
padding-right: $colMargin;
|
padding-right: $colMargin;
|
||||||
width: 150px;
|
vertical-align: top;
|
||||||
|
width: $colW;
|
||||||
.l-autoflow-row {
|
.l-autoflow-row {
|
||||||
// @include test(red);
|
// @include test(red);
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
|
border-bottom: 1px solid rgba(#fff,0.05);
|
||||||
display: block;
|
display: block;
|
||||||
height: $rowH;
|
height: $rowH;
|
||||||
line-height: $rowH;
|
line-height: $rowH;
|
||||||
@ -42,54 +46,51 @@
|
|||||||
&:first-child {
|
&:first-child {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(#fff, 0.1);
|
background: rgba(#fff, 0.1);
|
||||||
}
|
}
|
||||||
&.stale {
|
&.stale {
|
||||||
color: darken($colorBodyFg, 20%);
|
color: darken($colorBodyFg, 20%);
|
||||||
}
|
}
|
||||||
&:not(.stale) {
|
&:not(.stale) {
|
||||||
.l-autoflow-item.r {
|
.l-autoflow-item.r {
|
||||||
color: lighten($colorBodyFg, 20%);
|
color: lighten($colorBodyFg, 20%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.alert {
|
&.alert {
|
||||||
.l-autoflow-item.r {
|
.l-autoflow-item.r {
|
||||||
background: $colorFormError;
|
background: $colorFormError;
|
||||||
padding-right: 2px;
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
&.first-in-group {
|
&.first-in-group {
|
||||||
border-top: 1px solid lighten($colorInteriorBorder, 20%);
|
border-top: 1px solid lighten($colorInteriorBorder, 20%);
|
||||||
}
|
}
|
||||||
.l-autoflow-item {
|
.l-autoflow-item {
|
||||||
bottom: auto;
|
display: block;
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
top: 1px; bottom: 1px;
|
|
||||||
&.l {
|
&.l {
|
||||||
// @include test(orange);
|
// @include test(orange);
|
||||||
width: 60%; right: auto;
|
float: none;
|
||||||
// left: $interiorMarginSm;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
&.r {
|
&.r {
|
||||||
// @include test(blue);
|
// @include test(blue);
|
||||||
@include border-radius($controlCr);
|
@include border-radius($controlCr);
|
||||||
left: 60%;
|
float: right;
|
||||||
// right: $interiorMarginSm;
|
margin-left: $interiorMargin;
|
||||||
|
padding-left: $valPad;
|
||||||
|
padding-right: $valPad;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
.l-autoflow-item.l {
|
}
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user