summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_validationForm.scss
blob: 9f708c4c2ad077aa94669ef11b6bc3b410b0a3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
form {
    .validation-form-content {
        .validation-input-wrapper {
            position: relative;
            flex: 1;
        }
        .validation-radio-wrapper {
            position: relative;
        }
        .sdc-tabs {
            position: relative;
            .invalid-tab:not(.sdc-tab-active) {
                color: $red;
            }
        }
        .validation-error-message {
            &.bottom {
                .tooltip-arrow {
                    border-bottom-color: $red;
                }
            }
            &.right {
                .tooltip-arrow {
                    border-right-color: $red;
                }
            }
            &.left {
                .tooltip-arrow {
                    border-left-color: $red;
                }
            }
            .tooltip-inner {
                background-color: $red;
            }
        }
        .input-row {
            padding-bottom: 32px;
            &:only-child {
                padding-bottom: 0;
            }
            &:last-child {
                padding-bottom: 0;
            }
            .form-group {
                margin-bottom: 0;
            }
        }

        .rows-section {
            .row-flex-components {
                display: flex;
            }
            .validation-input-wrapper {
                flex: 1;
            }
            .empty-col {
                flex: 1.2;
                content: ' ';
            }
            .empty-two-col {
                flex: 2.4;
                content: ' ';
            }

            .two-col {
                flex: 2.2;
            }
            .three-col {
                flex: 3.4;
            }
            .single-col {
                flex: 1.2;
                display: flex;
                &:after {
                    flex: 0.2;
                    content: ' ';
                }
                @media (min-width: 1389px) {
                    &.add-line-break {
                        .control-label {
                            &:after {
                                content: '\00a0';
                                display: block;
                            }
                        }
                    }
                }
            }
        }
    }

    .validation-buttons {
        padding: 20px 0;
        text-align: right;
        button:first-child {
            margin-right: 15px;
            min-width: 120px;
        }
        .svg-icon {
            height: 14px;
            width: 14px;
        }
        .svg-icon.check {
            fill: $white;
        }
        .svg-icon.close {
            fill: $blue;
        }
    }
}