summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/search-bar/search-bar.component.less
blob: c09951a28407fecf9bfed32cfa311e7032a1927c (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
.sdc-search-bar-container {
    display:flex;
    border-radius: 4px;
    box-shadow: 0px 2px 3.88px 0.12px rgba(0, 0, 0, 0.29);

    .sdc-search-bar-input {
        border: 1px solid #cdcdcd;
        border-radius: 4px;
        border-right:none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        outline:none;
        padding:2px 50px 2px 10px;
        color:  #5a5a5a;
        font-size: 1em;
        font-style: italic;


    }

    .sdc-clear-search-x {
        position:absolute;
        right:40px;
        top:5px;
        padding: 0 5px;
        
        &:hover {
            border-radius:2px;
            background-color: #ebebeb;
            cursor:pointer;
        }
    }

    .sdc-search-bar-button {
        background: url('../../../../../assets/styles/images/sprites/sprite-global.png') no-repeat -206px -1275px;
        background-color:  rgba(234, 234, 234, 0.88);
        width: 30px;
        height: 30px;
        padding: 0;
        cursor:pointer;
        border:solid 1px #cdcdcd;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;

        &:hover {
            background-position:-126px -1275px;
        }

        &:active {
            background-color:  rgba(31, 171, 223, 0.88);
            background-position:-45px -1275px;
            border-left:none;
        }
        &:focus {
            outline:none;
        }

    }
}