dc07be0a1e7858daab1f20ef66d54f2a2ca52961
[aai/sparky-fe.git] / resources / scss / tier-support / _splitPane.scss
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017 Amdocs
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  *
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  */
23
24 .SplitPane {
25   min-width: $minimum-application-width;
26   height: calc(100% - #{$total-header-height}) !important;
27 }
28
29 .Resizer {
30   background: $border-color1;
31   opacity: .2;
32   z-index: 1;
33   -moz-box-sizing: border-box;
34   -webkit-box-sizing: border-box;
35   box-sizing: border-box;
36   -moz-background-clip: padding;
37   -webkit-background-clip: padding;
38   background-clip: padding-box;
39 }
40
41 .Resizer:hover {
42   -webkit-transition: all 2s ease;
43   transition: all 2s ease;
44 }
45
46 .Resizer.horizontal {
47   height: 11px;
48   margin: -5px 0;
49   border-top: 5px solid transparent;
50   border-bottom: 5px solid transparent;
51   cursor: row-resize;
52   width: 100%;
53 }
54
55 .Resizer.horizontal:hover {
56   border-top: 5px solid $border-color2;
57   border-bottom: 5px solid $border-color2;
58 }
59
60 .Resizer.vertical {
61   width: 11px;
62   margin: 0 -5px;
63   border-left: 5px solid transparent;
64   border-right: 5px solid transparent;
65   cursor: col-resize;
66 }
67
68 .Resizer.vertical:hover {
69   border-left: 5px solid $border-color2;
70   border-right: $border-color2;
71 }
72 Resizer.disabled {
73   cursor: not-allowed;
74 }
75 Resizer.disabled:hover {
76   border-color: transparent;
77 }
78
79 .Pane2 {
80   background-color: $background-color4;
81   border-left: solid 2px $border-color5;
82   overflow: auto;
83 }