aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/frontend/src/main/components/search/search.scss
blob: 24ad509fb559ecd344d505ee5e3cf2b3d0c29c7c (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
$font-color: hsla(0, 0%, 100%, 0.8);
$secondary-font-color: hsla(0, 0%, 100%, 0.6);

.search {
  button {
    margin-top: 10px;

    cursor: pointer;

    border: none;
    background: var(--color-dark);
    fill: #fff;
    fill: var(--dark-mode-and-search-icon-color);

    &:focus {
      outline: none;
    }
  }
}

.popup-wrapper {
  min-width: calc(100% - 322px) !important;

  border: 1px solid hsla(0, 0%, 100%, 0.2) !important;

  background-color: #27282c !important;

  [class^="filterWrapper"] {
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  }

  input {
    color: $font-color !important;

    font-weight: normal !important;
  }

  span[data-test-custom="ring-select-popup-filter-icon"] {
    color: #fff;
  }

  button[data-test="ring-input-clear"] {
    color: #fff !important;
  }
}

@media screen and (max-width: 759px) {
  .popup-wrapper {
    min-width: 100% !important;
  }
}

.template-wrapper {
  display: grid;

  height: 32px;
  grid-template-columns: auto auto;

  strong {
    color: $font-color;
  }

  span {
    color: $font-color;

    line-height: 32px;

    &.template-description {
      color: $secondary-font-color;
      justify-self: end;
    }
  }
}

@media screen and (max-width: 759px) {
  .template-wrapper {
    display: flex;
    flex-direction: column;

    height: auto;

    span {
      line-height: unset;
    }
  }
}

.template-name {
  justify-self: start;
}

/* remove fade at the bottom */
[class^="fade"] {
  display: none;
}

[class*="hover"] {
  background-color: hsla(0, 0%, 100%, 0.1) !important;
}