open #95 IN-PROGRESS!; Mostly buttons and menus classes (s-btn and s-menu); Removed unused templates and .css files; Normalized some button containers;
90 lines
2.8 KiB
SCSS
90 lines
2.8 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.
|
|
*****************************************************************************/
|
|
.overlay {
|
|
.blocker {
|
|
background: $colorOvrBlocker;
|
|
z-index: 100;
|
|
}
|
|
.clk-icon.close {
|
|
position: absolute;
|
|
top: $interiorMarginLg; right: $interiorMarginLg; bottom: auto; left: auto;
|
|
z-index: 100;
|
|
}
|
|
>.holder {
|
|
$i: 15%;
|
|
@include containerSubtle();
|
|
@include border-radius($basicCr * 3);
|
|
color: $colorOvrFg;
|
|
top: $i; right: $i; bottom: $i; left: $i;
|
|
z-index: 101;
|
|
>.contents {
|
|
$m: $overlayMargin;
|
|
top: $m; right: $m; bottom: $m; left: $m;
|
|
}
|
|
}
|
|
.title {
|
|
@include ellipsize();
|
|
font-size: 1.2em;
|
|
margin-bottom: $interiorMargin;
|
|
}
|
|
|
|
.top-bar {
|
|
height: $ovrTopBarH;
|
|
}
|
|
|
|
.editor {
|
|
top: $ovrTopBarH + ($interiorMargin * 2);
|
|
bottom: $ovrFooterH + $interiorMargin * 2;
|
|
left: 0; right: 0;
|
|
}
|
|
|
|
.bottom-bar {
|
|
top: auto; right: 0; bottom: 0; left: 0;
|
|
overflow: visible;
|
|
//font-size: 1em;
|
|
height: $ovrFooterH;
|
|
text-align: right;
|
|
.s-btn {
|
|
$l: 15%;
|
|
@include containerSubtle(lighten($colorBodyBg, $l), lighten($colorBodyFg, $l), true);
|
|
font-size: 95%;
|
|
height: $ovrFooterH;
|
|
line-height: $ovrFooterH;
|
|
margin-left: $interiorMargin;
|
|
padding: 0 $interiorMargin * 3;
|
|
&.major {
|
|
@extend .s-btn.major;
|
|
&:hover {
|
|
@extend .s-btn.major:hover;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.contents.l-dialog {
|
|
$myM: $interiorMargin;
|
|
top: $myM;
|
|
right: $myM;
|
|
bottom: $myM;
|
|
left: $myM;
|
|
overflow: auto;
|
|
}
|
|
} |