aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Youtube/styles/_results.scss
blob: 9aba04738589c818019b6b0e7fd8ed5129f5d889 (plain) (blame)
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
.results {
  form {
    padding: .5em;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 4.5em;

    input[type=text] {
      background-color: var(--color-window-content);
      color: var(--color-text-alt);
      margin: 1em .5em 0;
      height: 2.5rem;
      border: none;
      border-radius: .5em;
      padding: 0.5rem;
      font-size: 1rem;
      border: 1px dashed var(--color-window-buttons);
      flex-shrink: 1;
      flex-grow: 1;
      width: 1em;

      &:placeholder {
        font: inherit;
      }
    }
  }

  & > div {
    position: fixed;
    top: 9.5em;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
  }

  ul {
    display: block;

    & > li {
      padding: .5em;
      display: flex;
      position: relative;

      @media(hover: hover) {
        &:hover {
          background-color:  var(--color-button-alt);
        }
      }

      & > p {
        position: absolute;
        font-size: .8em;
        background-color: #000;
        color: #fff;
        border-radius: .5em;
        padding: .25em;
        bottom: 0.25em;
        left: 2em;
      }

      & > div {
        margin-left: 1em;
        display: flex;
        flex-direction: column;
        // justify-content: space-between;

        & > p:nth-of-type(2) {
          margin: .25em 0 .5em;
          font-size: .8em;
          color: var(--color-decor);
        }
      }
    }
  }
}