mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
a840b59044
open #95 Fixed grid icon hover color; Various color normalization;
108 lines
2.7 KiB
SCSS
108 lines
2.7 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.
|
|
*****************************************************************************/
|
|
// General About dialog styling
|
|
|
|
.l-about {
|
|
// Layout
|
|
&.abs {
|
|
// top: 20px;
|
|
overflow: auto;
|
|
}
|
|
$contentH: 200px;
|
|
.l-logo-holder {
|
|
position: relative;
|
|
height: 45%;
|
|
.l-logo {
|
|
$w: 5%;
|
|
position: absolute;
|
|
&.l-logo-app {
|
|
// @include test(blue);
|
|
top: 0; right: 15%; bottom: 0; left: 15%;
|
|
}
|
|
&.s-logo-nasa {
|
|
// @include test(red);
|
|
$m: 10px;
|
|
background-image: url($dirImgs + 'logo-nasa.svg');
|
|
top: $m; right: auto; bottom: auto; left: $m;
|
|
width: $w * 2; height: auto; padding-bottom: $w; padding-top: $w;
|
|
}
|
|
}
|
|
}
|
|
.l-content {
|
|
// @include test();
|
|
position: relative;
|
|
margin-top: $interiorMarginLg;
|
|
}
|
|
}
|
|
|
|
.s-about {
|
|
// Styling
|
|
line-height: 120%;
|
|
|
|
a {
|
|
color: $colorAboutLink;
|
|
}
|
|
.s-description,
|
|
.s-info {
|
|
// font-size: 0.8em;
|
|
}
|
|
.s-logo-holder {
|
|
background: url($dirImgs + "bg-about-openmctweb.jpg") no-repeat center; // For OpenMCT Web.
|
|
background-size: cover;
|
|
}
|
|
.s-logo {
|
|
// @include txtShdwLarge(); // text-shadow doesn't work for svg
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
.s-logo-openmctweb {
|
|
background-image: url($dirImgs + 'logo-openmctweb-shdw.svg');
|
|
}
|
|
.s-btn {
|
|
line-height: 2em;
|
|
}
|
|
.l-licenses-software {
|
|
.l-license-software {
|
|
border-top: 1px solid $colorInteriorBorder;
|
|
padding: 0.5em 0;
|
|
&:first-child {
|
|
border-top: none;
|
|
}
|
|
em {
|
|
color: pushBack($colorBodyFg, 20%);
|
|
// margin-left: 2em;
|
|
&:first-child {
|
|
// margin-left: 0;
|
|
}
|
|
}
|
|
h3 {
|
|
font-size: 1.25em;
|
|
}
|
|
.s-license-text {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|