100 lines
3.0 KiB
SCSS
100 lines
3.0 KiB
SCSS
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/* Styles for the Inspector pane */
|
|
|
|
.l-inspect,
|
|
.l-inspect table tr td {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.l-inspect {
|
|
color: $colorInspectorFg;
|
|
.pane-header {
|
|
color: pushBack($colorInspectorFg, 20%);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
ul li,
|
|
em {
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
|
|
ul li {
|
|
margin-bottom: $interiorMarginLg * 2;
|
|
}
|
|
|
|
em {
|
|
@include border-radius($basicCr);
|
|
background-color: $colorInspectorSectionHeaderBg;
|
|
color: $colorInspectorSectionHeaderFg;
|
|
margin-bottom: $interiorMargin;
|
|
padding: $formTBPad $formLRPad;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
table tr {
|
|
td {
|
|
border: none;
|
|
border-top: 1px solid $colorInteriorBorder !important;
|
|
padding: 2px 0;
|
|
vertical-align: top;
|
|
&.label {
|
|
color: $colorInspectorPropName !important;
|
|
padding-right: $interiorMargin !important;
|
|
white-space: nowrap;
|
|
}
|
|
&.value {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
&:first-child td {
|
|
border-top: none !important;
|
|
}
|
|
}
|
|
|
|
.inspector-location {
|
|
line-height: 180%;
|
|
.location-item {
|
|
cursor: pointer;
|
|
display: inline;
|
|
position: relative;
|
|
padding: 2px 4px;
|
|
&:hover {
|
|
background: $colorItemTreeHoverBg;
|
|
color: $colorItemTreeHoverFg;
|
|
.icon {
|
|
color: $colorItemTreeIconHover;
|
|
}
|
|
}
|
|
}
|
|
&:not(.first):before {
|
|
color: pushBack($colorInspectorFg, 15%);
|
|
content: '\3e';
|
|
display: inline-block;
|
|
font-family: symbolsfont;
|
|
font-size:7px;
|
|
width: 4px;
|
|
}
|
|
}
|
|
} |