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; |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame^] | 15 | padding-bottom: -1px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 16 | height: auto; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 17 | |
| 18 | border-radius: 32px; |
| 19 | transition: 0.5s ease-in-out; |
| 20 | } |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 21 | .group { |
| 22 | display: flex; |
| 23 | flex-direction: column; |
| 24 | justify-content: top; |
| 25 | align-items: center; |
| 26 | |
pineafan | 69adcb8 | 2021-11-03 21:29:03 +0000 | [diff] [blame] | 27 | background-color: var(--theme-ui-colors-cardBackground); |
pineafan | 7872745 | 2021-11-04 21:25:07 +0000 | [diff] [blame] | 28 | transition: background-color 0.3s ease-in-out; |
Samuel Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 29 | backdrop-filter: blur(7px), brightness(0.1); |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 30 | border-radius: 32px; |
| 31 | |
| 32 | width: 64px; |
| 33 | margin-bottom: 20px; |
| 34 | padding-top: 7px; |
| 35 | } |
| 36 | |
| 37 | .headerIcon { |
| 38 | height: 64px; |
| 39 | width: 64px; |
| 40 | margin-bottom: 20px; |
| 41 | margin-right: 0; |
| 42 | margin-top: -7px; |
Samuel Shuert | 604e31d | 2021-09-02 16:06:20 -0500 | [diff] [blame] | 43 | |
| 44 | cursor: pointer; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | .icon { |
| 48 | height: 50px; |
| 49 | width: 50px; |
| 50 | margin-bottom: 5px; |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 51 | cursor: pointer; |
pineafan | 7872745 | 2021-11-04 21:25:07 +0000 | [diff] [blame] | 52 | display: block; |
| 53 | } |
| 54 | |
| 55 | .ThemeChangeButton { |
| 56 | display: flex; |
| 57 | justify-content: center; |
| 58 | align-items: center; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | .containerOpen { |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame] | 62 | max-height: 460px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 63 | } |
| 64 | |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame] | 65 | .containerDesktop { |
| 66 | animation-name: containerCloseOnStart; |
| 67 | animation-duration: 0.5s; |
| 68 | animation-direction: forwards; |
| 69 | animation-timing-function: ease-in-out; |
| 70 | } |
| 71 | |
| 72 | @keyframes containerCloseOnStart { |
| 73 | from { max-height: 460px; } |
| 74 | to { max-height: 64px ; } |
| 75 | } |
| 76 | |
| 77 | .containerDesktop:hover { |
| 78 | max-height: 460px; |
| 79 | animation-name: none; |
| 80 | } |
| 81 | |
| 82 | @media screen and (min-width: 450px) { |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 83 | .container { |
| 84 | flex-direction: row; |
| 85 | justify-content: left; |
| 86 | |
| 87 | margin: 20px; |
| 88 | |
| 89 | height: 64px; |
| 90 | max-width: 64px; |
| 91 | width: auto; |
| 92 | border-radius: 32px; |
| 93 | |
| 94 | border-radius: 32px; |
| 95 | transition: 0.5s ease-in-out; |
| 96 | } |
| 97 | .group { |
| 98 | flex-direction: row; |
| 99 | justify-content: left; |
| 100 | |
| 101 | height: 64px; |
| 102 | width: auto; |
| 103 | padding-right: 7px; |
| 104 | margin-bottom: 0; |
| 105 | padding-top: 7px; |
| 106 | margin-right: 20px; |
Samuel Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 107 | padding-left: 3px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 108 | } |
| 109 | .headerIcon { |
| 110 | height: 64px; |
| 111 | width: 64px; |
| 112 | margin-top: 12px; |
Samuel Shuert | 52f3777 | 2021-09-02 12:29:40 -0500 | [diff] [blame] | 113 | margin-left: -3px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 114 | } |
| 115 | .containerOpen { |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame] | 116 | max-width: 460px; |
| 117 | max-height: 64px; |
| 118 | } |
| 119 | .containerDesktop:hover { |
| 120 | max-width: 460px; |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 121 | max-height: 64px; |
| 122 | } |
| 123 | .icon { |
| 124 | height: 50px; |
| 125 | width: 50px; |
| 126 | margin-left: 5px; |
| 127 | } |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame] | 128 | @keyframes containerCloseOnStart { |
| 129 | from { max-width: 460px; } |
| 130 | to { max-width: 64px ; } |
| 131 | } |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 132 | } |