aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/composition/graph/canvas-search/canvas-search.component.less
blob: 247f2a3913552e05d78f117d7887c35af697d58c (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
.canvas-search-component {

  .canvas-search-bar-container {
    display:flex;
    border-radius: 4px;
    align-items: center;
    box-shadow: 0px 2px 3.88px 0.12px rgba(0, 0, 0, 0.29);

    /deep/.sdc-search-bar .search-bar-container .search-button {
      border: solid 1px #d2d2d2;
    }

    /deep/.sdc-input__input {
      width: 250px;
      transition: all 0.4s;
    }

    .canvas-clear-search {
      position: absolute;
      right: 45px;
    }
  }

  &:not(:hover):not(.canvas-search-visible):not(.active) {
    border-radius: 0;
    box-shadow: none;

    /deep/.sdc-input__input:not(:focus) {
      border: none;
      padding: 0px;
      width: 0px;
    }
    .canvas-clear-search {
      display: none;
    }
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}