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