blob: 09d3389d69e6998ef116186bfbffe1d970e1786a [file] [log] [blame]
pineafana5ce9102021-09-02 17:21:31 +01001.container {
2 display: flex;
3 flex-direction: column;
4 justify-content: top;
5 align-items: center;
6
7 position: fixed;
8 top: 0;
9 left: 0;
10 overflow: hidden;
11 margin: 20px;
12
13 width: 64px;
14 max-height: 64px;
15 height: auto;
pineafana5ce9102021-09-02 17:21:31 +010016
17 border-radius: 32px;
18 transition: 0.5s ease-in-out;
19}
pineafana5ce9102021-09-02 17:21:31 +010020.group {
21 display: flex;
22 flex-direction: column;
23 justify-content: top;
24 align-items: center;
25
26 background-color: var(--card-background-color);
Samuel Shuert52f37772021-09-02 12:29:40 -050027 backdrop-filter: blur(7px), brightness(0.1);
pineafana5ce9102021-09-02 17:21:31 +010028 border-radius: 32px;
29
30 width: 64px;
31 margin-bottom: 20px;
32 padding-top: 7px;
33}
34
35.headerIcon {
36 height: 64px;
37 width: 64px;
38 margin-bottom: 20px;
39 margin-right: 0;
40 margin-top: -7px;
Samuel Shuert604e31d2021-09-02 16:06:20 -050041
42 cursor: pointer;
pineafana5ce9102021-09-02 17:21:31 +010043}
44
45.icon {
46 height: 50px;
47 width: 50px;
48 margin-bottom: 5px;
49}
50
51.containerOpen {
pineafand494b852021-09-03 19:49:49 +010052 max-height: 460px;
pineafana5ce9102021-09-02 17:21:31 +010053}
54
pineafand494b852021-09-03 19:49:49 +010055.containerDesktop {
56 animation-name: containerCloseOnStart;
57 animation-duration: 0.5s;
58 animation-direction: forwards;
59 animation-timing-function: ease-in-out;
60}
61
62@keyframes containerCloseOnStart {
63 from { max-height: 460px; }
64 to { max-height: 64px ; }
65}
66
67.containerDesktop:hover {
68 max-height: 460px;
69 animation-name: none;
70}
71
72@media screen and (min-width: 450px) {
pineafana5ce9102021-09-02 17:21:31 +010073 .container {
74 flex-direction: row;
75 justify-content: left;
76
77 margin: 20px;
78
79 height: 64px;
80 max-width: 64px;
81 width: auto;
82 border-radius: 32px;
83
84 border-radius: 32px;
85 transition: 0.5s ease-in-out;
86 }
87 .group {
88 flex-direction: row;
89 justify-content: left;
90
91 height: 64px;
92 width: auto;
93 padding-right: 7px;
94 margin-bottom: 0;
95 padding-top: 7px;
96 margin-right: 20px;
Samuel Shuert52f37772021-09-02 12:29:40 -050097 padding-left: 3px;
pineafana5ce9102021-09-02 17:21:31 +010098 }
99 .headerIcon {
100 height: 64px;
101 width: 64px;
102 margin-top: 12px;
Samuel Shuert52f37772021-09-02 12:29:40 -0500103 margin-left: -3px;
pineafana5ce9102021-09-02 17:21:31 +0100104 }
105 .containerOpen {
pineafand494b852021-09-03 19:49:49 +0100106 max-width: 460px;
107 max-height: 64px;
108 }
109 .containerDesktop:hover {
110 max-width: 460px;
pineafana5ce9102021-09-02 17:21:31 +0100111 max-height: 64px;
112 }
113 .icon {
114 height: 50px;
115 width: 50px;
116 margin-left: 5px;
117 }
pineafand494b852021-09-03 19:49:49 +0100118 @keyframes containerCloseOnStart {
119 from { max-width: 460px; }
120 to { max-width: 64px ; }
121 }
pineafana5ce9102021-09-02 17:21:31 +0100122}