pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 1 | .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; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 16 | |
| 17 | border-radius: 32px; |
| 18 | transition: 0.5s ease-in-out; |
| 19 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 20 | .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 Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 27 | backdrop-filter: blur(7px), brightness(0.1); |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 28 | 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 Shuert | 604e31d | 2021-09-02 16:06:20 -0500 | [diff] [blame] | 41 | |
| 42 | cursor: pointer; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | .icon { |
| 46 | height: 50px; |
| 47 | width: 50px; |
| 48 | margin-bottom: 5px; |
| 49 | } |
| 50 | |
| 51 | .containerOpen { |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame^] | 52 | max-height: 460px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 53 | } |
| 54 | |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame^] | 55 | .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) { |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 73 | .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 Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 97 | padding-left: 3px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 98 | } |
| 99 | .headerIcon { |
| 100 | height: 64px; |
| 101 | width: 64px; |
| 102 | margin-top: 12px; |
Samuel Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 103 | margin-left: -3px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 104 | } |
| 105 | .containerOpen { |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame^] | 106 | max-width: 460px; |
| 107 | max-height: 64px; |
| 108 | } |
| 109 | .containerDesktop:hover { |
| 110 | max-width: 460px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 111 | max-height: 64px; |
| 112 | } |
| 113 | .icon { |
| 114 | height: 50px; |
| 115 | width: 50px; |
| 116 | margin-left: 5px; |
| 117 | } |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame^] | 118 | @keyframes containerCloseOnStart { |
| 119 | from { max-width: 460px; } |
| 120 | to { max-width: 64px ; } |
| 121 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 122 | } |