summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/service-consumption-editor/service-consumption-editor.component.less
blob: 83481c1d748f58a03d461fa725be9972aa772915 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
@import './../../../../assets/styles/variables.less';
@import './../../../../assets/styles/variables-old.less';
@import './../../../../assets/styles/sprite.less';
@import './../../../../assets/styles/mixins_old.less';

.service-consumption-editor {
  .sdc-modal-top-bar {
    display: flex;
    justify-content: space-between;
    .operation-name {
      text-transform: capitalize;
      font-family: @font-opensans-bold;
      font-size: 18px;
    }
  }
  .expand-collapse-all {
    display: flex;
    .expand-all, .collapse-all {
      color: @main_color_a;
      border-bottom: solid 1px @main_color_a;
      font-size: 12px;
      font-family: @font-opensans-regular;
      cursor: pointer;
      width: max-content;
      line-height: 24px;
    }
    .separator-line {
      border-left: 1px solid @main_color_o;
      margin: 0 7px;
    }
  }

  .i-sdc-form-content-operation-inputs-content {
    margin-top: 6px;
    padding-top: 10px;
    height: 390px;
    overflow: auto;
    &.no-inputs {
      border: 1px solid @main_color_o;
    }
    .no-inputs-text {
      text-align: center;
      padding: 30px;
      opacity: 0.7;
    }
    .i-sdc-form-content-operation-input-box {
      border: solid 1px @main_color_o;
      &:not(:last-of-type) {
        margin-bottom: 17px;
      }

      .i-sdc-form-content-operation-input-box-title {
        .hand;
        display: flex;
        align-items: center;
        padding-left: 10px;
        height: 38px;
        font-size: 14px;
        .expand-collapse-icon {
          .sprite-new;
          .expand-collapse-plus-icon;
          vertical-align: middle;
          &.expanded {
            .expand-collapse-minus-icon;
          }
        }
        .operation-input-name {
          margin-left: 10px;
          margin-right: 7px;
          font-family: @font-opensans-bold
        }
        .operation-input-type {
          .type-text {
            font-family: @font-opensans-bold;
          }
          .type-val {
            font-family: @font-opensans-regular;
          }
        }
      }

      .operation-input-section-row {
        &.with-top-border, .separator {
          border-top: 1px solid @main_color_o;
        }
        background-color: @tlv_color_t;
        display: flex;
        padding: 19px 20px 12px 19px;
        .operation-input-section-col {
          flex: 45%;
          &:not(:last-of-type) {
            margin-right: 38px;
          }
          .i-sdc-form-label {
            font-size: 12px;
            font-family: @font-opensans-bold;
          }

          &.assigned-value {
          display: flex;
          flex-direction: column;
            .i-sdc-form-label {
              margin-bottom: 0;
            }
          }

          /deep/ ui-element-dropdown select, select,
          /deep/ dynamic-element input {
            height: 30px;
          }

          select {
            margin-top: 2px;
            border: solid 1px @main_color_o;
          }
        }
      }

      //for complex types
      /deep/ .operation-input-complex-type-section {
        background-color: @tlv_color_t;
        padding: 0 20px 12px 19px;
        .separator {
          border-top: 1px solid @main_color_o;
          padding-bottom: 19px;
        }
        .static-values-title-for-complex-type {
          font-size: 14px;
          font-family: @font-opensans-bold;
          margin-bottom: 10px;
        }
        .flat-children-container {
          border: solid 1px @main_color_o;
        }
        .dynamic-property {
          .dynamic-property-row {
            background-color: @tlv_color_t;
          }
        }
      }
    }
  }
}