summaryrefslogtreecommitdiffstats
path: root/public/src/app/rule-engine/condition/condition.component.scss
blob: 8c0e9e0e653abc9c3e66033762d3a9637c16eb64 (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
.condition-tree {
  tree-viewport {
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .angular-tree-component,
  .tree-node-leaf {
    margin: 0;
    padding: 0;
  }
  .angular-tree-component {
    padding-left: 1em;
    overflow-y: hidden;
  }
  .tree-node-leaf.container {
    border-bottom: 0px;
  }
  .tree-node-leaf.empty {
    font-style: italic;
    color: #fafafa;
    border-color: #fafafa;
  }
  .tree-node-leaf div {
    margin: 0;
    top: 0.5em;
  }
  .node-wrapper {
    background: white;
  }
  .tree-children {
    border-left: 2px solid #f2f2f2;
    // border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
  }
  tree-node-expander {
    display: none;
  }
  .node-content-wrapper {
    padding-left: 0;
    width: 100%;
    .show-delete {
      opacity: 0;
    }
  }
  .tree-node-content {
    width: 100%;
  }
  .node-content-wrapper-active,
  .node-content-wrapper.node-content-wrapper-active:hover,
  .node-content-wrapper-active.node-content-wrapper-focused {
    background: white;
  }
  *:focus {
    outline: none;
  }

  .node-content-wrapper-active,
  .node-content-wrapper-focused,
  .node-content-wrapper:hover {
    box-shadow: none;
    .show-delete {
      opacity: 1;
      display: flex;
      align-items: center;
      padding: 0 5px;
    }
  }
}

.from-conatiner {
  display: flex;
  align-items: center;
  .input-text {
    border: none;
    flex: 1;
    // width: 250px;
    padding: 5px 0 5px 5px;
    margin: 0;
  }
  .label {
    border: 1px solid #d2d2d2;
    height: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: default;
  }
}

.btn-label {
  display: flex;
  justify-content: center;
  padding-left: 5px;
  color: #009fdb;
}

.button-label {
  color: #a7a7a7;
  display: flex;
  justify-content: center;
  padding-left: 5px;
  &:hover {
    color: #009fdb;
  }
}

.button-remove {
  display: flex;
  justify-content: center;
  color: #a7a7a7;
  &:hover {
    color: #009fdb;
  }
}