aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_validationForm.scss
blob: 93444c2e8848f2d42a90c8e255432e52147f424e (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
form {
  .validation-form-content {
    .validation-input-wrapper {
      position: relative;
      flex: 1;
    }
    .nav-tabs {
      .invalid-tab:not(.active) {
        a {
          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: ' ';
        }
        &.add-line-break {
          .control-label {
            &:after {
              content: "\00a0";
              display: block;
            }
          }
        }
      }
    }
  }

  .validation-buttons {
    padding: 20px 0;
    text-align: right;
    button:first-child {
      margin-right: 15px;
    }
  }
}

.modal-body {
  .validation-buttons {
    padding: 20px 15px;
    background-color: $tlv-gray;
  }
}