2015-05-13 23:42:35 +00:00
|
|
|
/*****************************************************************************
|
|
|
|
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
|
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
|
|
* Administration. All rights reserved.
|
|
|
|
*
|
|
|
|
* Open MCT Web is licensed under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*
|
|
|
|
* Open MCT Web includes source code licensed under additional open source
|
|
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
|
|
* this source code distribution or the Licensing information page available
|
|
|
|
* at runtime from the About dialog for additional information.
|
|
|
|
*****************************************************************************/
|
2014-12-31 18:43:01 +00:00
|
|
|
.autoflow {
|
|
|
|
$headerH: $formInputH;
|
2015-01-16 00:12:09 +00:00
|
|
|
$colMargin: $interiorMargin;
|
|
|
|
$colW: 225px;
|
|
|
|
$valW: 70px;
|
2015-06-25 01:45:34 +00:00
|
|
|
$valPad: 5px;
|
2014-12-31 18:43:01 +00:00
|
|
|
$rowH: 15px;
|
|
|
|
font-size: 0.75rem;
|
2015-06-30 22:51:22 +00:00
|
|
|
|
|
|
|
&:hover {
|
2015-09-03 01:02:58 +00:00
|
|
|
.l-autoflow-header .s-btn.change-column-width {
|
2015-06-30 22:51:22 +00:00
|
|
|
@include trans-prop-nice-fade(50ms);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-31 18:43:01 +00:00
|
|
|
.l-autoflow-header {
|
|
|
|
bottom: auto;
|
|
|
|
height: $headerH;
|
2015-01-16 00:12:09 +00:00
|
|
|
line-height: $headerH;
|
2015-12-14 21:55:06 +00:00
|
|
|
min-width: $colW;
|
|
|
|
.t-last-update {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2015-09-03 01:02:58 +00:00
|
|
|
.s-btn.change-column-width {
|
2015-06-30 22:51:22 +00:00
|
|
|
@include trans-prop-nice-fade(500ms);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2014-12-31 18:43:01 +00:00
|
|
|
.l-filter {
|
2015-12-14 21:55:06 +00:00
|
|
|
display: block;
|
|
|
|
margin-right: $interiorMargin;
|
2015-06-23 01:41:04 +00:00
|
|
|
input.t-filter-input {
|
2015-12-14 21:55:06 +00:00
|
|
|
width: 150px;
|
2015-06-23 01:41:04 +00:00
|
|
|
}
|
2014-12-31 18:43:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.l-autoflow-items {
|
2015-01-16 00:12:09 +00:00
|
|
|
// @include test(green);
|
2014-12-31 18:43:01 +00:00
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
top: $headerH + $interiorMargin * 2;
|
|
|
|
white-space: nowrap;
|
|
|
|
.l-autoflow-col {
|
|
|
|
// @include test();
|
2015-01-16 00:12:09 +00:00
|
|
|
@include box-sizing(border-box);
|
|
|
|
border-left: 1px solid $colorInteriorBorder;
|
2014-12-31 18:43:01 +00:00
|
|
|
display: inline-block;
|
2015-01-16 00:12:09 +00:00
|
|
|
// height: 100%;
|
|
|
|
padding-left: $colMargin;
|
|
|
|
padding-right: $colMargin;
|
|
|
|
vertical-align: top;
|
|
|
|
width: $colW;
|
2014-12-31 18:43:01 +00:00
|
|
|
.l-autoflow-row {
|
2015-01-16 00:12:09 +00:00
|
|
|
// @include test(red);
|
2014-12-31 18:43:01 +00:00
|
|
|
@include box-sizing(border-box);
|
2015-01-16 00:12:09 +00:00
|
|
|
border-bottom: 1px solid rgba(#fff,0.05);
|
2014-12-31 18:43:01 +00:00
|
|
|
display: block;
|
|
|
|
height: $rowH;
|
|
|
|
line-height: $rowH;
|
|
|
|
margin-bottom: 1px; margin-top: 1px;
|
|
|
|
position: relative;
|
|
|
|
&:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2015-01-16 00:12:09 +00:00
|
|
|
&:hover {
|
|
|
|
background: rgba(#fff, 0.1);
|
|
|
|
}
|
2015-06-02 23:12:19 +00:00
|
|
|
&.s-stale {
|
|
|
|
//color: darken($colorBodyFg, 20%);
|
|
|
|
.l-autoflow-item.l { @include s-stale(0.3); };
|
|
|
|
.l-autoflow-item.r { @include s-stale(); };
|
2015-01-16 00:12:09 +00:00
|
|
|
}
|
2015-06-02 23:12:19 +00:00
|
|
|
&:not(.s-stale) {
|
2015-01-16 00:12:09 +00:00
|
|
|
.l-autoflow-item.r {
|
2015-06-02 23:12:19 +00:00
|
|
|
color: lighten($colorBodyFg, 10%);
|
2015-01-16 00:12:09 +00:00
|
|
|
}
|
|
|
|
}
|
2014-12-31 18:43:01 +00:00
|
|
|
&.first-in-group {
|
|
|
|
border-top: 1px solid lighten($colorInteriorBorder, 20%);
|
|
|
|
}
|
|
|
|
.l-autoflow-item {
|
2015-01-16 00:12:09 +00:00
|
|
|
display: block;
|
2014-12-31 18:43:01 +00:00
|
|
|
&.l {
|
2015-01-16 00:12:09 +00:00
|
|
|
float: none;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: auto;
|
2014-12-31 18:43:01 +00:00
|
|
|
}
|
|
|
|
&.r {
|
2015-06-02 23:12:19 +00:00
|
|
|
@include border-radius($smallCr);
|
2015-01-16 00:12:09 +00:00
|
|
|
float: right;
|
|
|
|
margin-left: $interiorMargin;
|
|
|
|
padding-left: $valPad;
|
|
|
|
padding-right: $valPad;
|
2014-12-31 18:43:01 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-16 00:12:09 +00:00
|
|
|
&:first-child {
|
|
|
|
border-left: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2014-12-31 18:43:01 +00:00
|
|
|
}
|
|
|
|
}
|
2015-12-17 22:10:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.frame {
|
|
|
|
&.child-frame.panel {
|
|
|
|
.autoflow .l-autoflow-header .l-filter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2014-12-31 18:43:01 +00:00
|
|
|
}
|