changed the header and license
[aai/sparky-fe.git] / resources / scss / components / _buttons.scss
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017-2018 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 $plus-circle-icon-size: 18px;
22 .plus-icon-button {
23   background: url($plus-circle-icon) no-repeat;
24   background-size: $plus-circle-icon-size;
25   width: $plus-circle-icon-size;
26   height: $plus-circle-icon-size;
27   cursor: pointer;
28   &.small {
29     background-size: $plus-circle-icon-size - 6;
30     width: $plus-circle-icon-size - 6;
31     height: $plus-circle-icon-size - 6;
32   }
33 }
34
35 .primary-btn{
36   border: 1px solid;
37   border-color: $border-color3;
38   color: $text-color4;
39   font-weight: bolder;
40   @extend .body-1;
41   text-align: center;
42   padding: 7px;
43   border-radius: 5px;
44   cursor: pointer;
45   align-self: center;
46   background-color: $primary-background-color;
47   .primary-btn-text {
48     width: 100%;
49   }
50   &:hover {
51     color: $background-color5;
52     border-color: $border-color3;
53     background-color: $background-color12;
54     &:active {
55       color: $background-color5;
56       border-color: $border-color3;
57     }
58   }
59
60   &:focus:not(:hover) {
61     color: $background-color5;
62     border-color: $border-color3;
63     background-color: $primary-background-color;
64   }
65 }