summaryrefslogtreecommitdiffstats
path: root/client/src/admin/scss/_mainScreen.scss
blob: 051a037476a4bbc610f3f8ae2b783b411b0b2a72 (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
.main-screen {
  text-align: center;

  @keyframes shine {
    0% {background-size: 220% 100%;}
    10% {background-position: 0 100%;}
    100% {background-position: 0 100%;}
  }

  &__header {
    display: block;
    margin-top: 10vh;
    margin-bottom: 20vh;
    font-size: 2.5em;
    font-weight: bold;
    color: $text;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, $text 50%, $text-selected 55%, $text 60%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 110%;
    animation: shine 15s ease-out;
    background-size: 220% 100%;
    animation-iteration-count: infinite;
    animation-delay: 8s;
  }

  &__list {
    display: inline-block;
  }

  &__item {
    font-size: 1.5em;
    color: white;
    transition: color .3s;
    cursor: pointer;
    margin-top: 5vh;
    margin-bottom: 5vh;
    outline-width: 0;

    &:hover {
      color: $text-selected;
    }

    &:focus {
      border-bottom: 2px solid $text-selected;
    }
  }

}