2 * ============LICENSE_START=======================================================
3 * SPARKY (AAI UI service)
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property.
6 * Copyright © 2017 Amdocs
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
22 * ECOMP and OpenECOMP are trademarks
23 * and service marks of AT&T Intellectual Property.
26 .toggle-input-wrapper {
30 .toggle-switch, .toggle-input-label {
32 vertical-align: middle;
48 input.toggle-round-flat + label {
51 height: $toggle-height;
52 background-color: $dark-gray;
53 border-radius: $toggle-height;
54 transition: background 0.4s;
56 input.toggle-round-flat + label:before,
57 input.toggle-round-flat + label:after {
62 input.toggle-round-flat + label:before {
67 background-color: $white;
68 border-radius: $toggle-height;
69 transition: background 0.4s;
71 input.toggle-round-flat + label:after {
75 width: $toggle-height - 8;
76 background-color: $dark-gray;
77 border-radius: $toggle-height - 8;
78 transition: margin 0.4s, background 0.4s;
80 input.toggle-round-flat:checked + label {
81 background-color: $link-blue;
83 input.toggle-round-flat:checked + label:after {
84 margin-left: $toggle-height;
85 background-color: $link-blue;