|  | 
| 1 | 1 | aside { | 
| 2 |  | -    order: -1; | 
|  | 2 | +  order: -1; | 
| 3 | 3 | 
 | 
| 4 |  | -    width: 100vw; | 
| 5 |  | -    display: flex; | 
| 6 |  | -    flex-direction: row; | 
| 7 |  | -    justify-content: center; | 
| 8 |  | -    align-items: center; | 
| 9 |  | -    gap: 16px; | 
| 10 |  | -    padding: 16px; | 
| 11 |  | -    background: #f2f1fe; | 
| 12 |  | -    color: #152a62; | 
|  | 4 | +  width: 100vw; | 
|  | 5 | +  display: flex; | 
|  | 6 | +  flex-direction: row; | 
|  | 7 | +  justify-content: space-between; | 
|  | 8 | +  align-items: center; | 
|  | 9 | +  padding: 16px; | 
|  | 10 | +  gap: 16px; | 
|  | 11 | +  color: #152a62; | 
|  | 12 | +} | 
|  | 13 | + | 
|  | 14 | +aside:has(.text) { | 
|  | 15 | +  background: #f2f1fe; | 
| 13 | 16 | } | 
| 14 | 17 | 
 | 
| 15 | 18 | @media screen and (min-width: 500px) { | 
| 16 |  | -    aside { | 
| 17 |  | -        padding: 8px 24px; | 
| 18 |  | -    } | 
|  | 19 | +  aside { | 
|  | 20 | +    padding: 8px 24px 8px 94px; /* 24 + 16 + 54 */ | 
|  | 21 | +  } | 
| 19 | 22 | } | 
| 20 | 23 | 
 | 
| 21 | 24 | aside b { | 
| 22 |  | -    font-weight: 700; | 
|  | 25 | +  font-weight: 700; | 
| 23 | 26 | } | 
| 24 | 27 | 
 | 
| 25 | 28 | aside a { | 
| 26 |  | -    color: #383ede; | 
|  | 29 | +  color: #383ede; | 
| 27 | 30 | } | 
| 28 | 31 | 
 | 
| 29 | 32 | aside a:hover { | 
| 30 |  | -    color: #3237c4; | 
| 31 |  | -    text-decoration: none; | 
|  | 33 | +  color: #3237c4; | 
|  | 34 | +  text-decoration: none; | 
|  | 35 | +} | 
|  | 36 | + | 
|  | 37 | +aside .demo-bar { | 
|  | 38 | +  flex-grow: 0; | 
|  | 39 | +  display: flex; | 
|  | 40 | +  justify-content: center; | 
|  | 41 | +  align-items: center; | 
|  | 42 | +  gap: 16px; | 
| 32 | 43 | } | 
| 33 | 44 | 
 | 
| 34 |  | -aside::before { | 
| 35 |  | -    content: " "; | 
| 36 |  | -    background: url("../non-free/images/nl-wallet.svg") no-repeat center center / cover; | 
| 37 |  | -    width: 40px; | 
| 38 |  | -    height: 40px; | 
|  | 45 | +aside .demo-bar::before { | 
|  | 46 | +  content: " "; | 
|  | 47 | +  background: url("../non-free/images/nl-wallet.svg") no-repeat center center / cover; | 
|  | 48 | +  width: 40px; | 
|  | 49 | +  height: 40px; | 
| 39 | 50 | } | 
| 40 | 51 | 
 | 
| 41 | 52 | aside .text { | 
| 42 |  | -    display: flex; | 
| 43 |  | -    flex-direction: column; | 
| 44 |  | -    justify-content: center; | 
|  | 53 | +  display: flex; | 
|  | 54 | +  flex-direction: column; | 
|  | 55 | +  justify-content: center; | 
| 45 | 56 | } | 
| 46 | 57 | 
 | 
| 47 | 58 | @media screen and (min-width: 500px) { | 
| 48 |  | -    aside .text { | 
| 49 |  | -        flex-direction: row; | 
| 50 |  | -        align-items: center; | 
| 51 |  | -        gap: 8px; | 
| 52 |  | -    } | 
|  | 59 | +  aside { | 
|  | 60 | +    justify-content: right; | 
|  | 61 | +  } | 
|  | 62 | + | 
|  | 63 | +  aside .demo-bar { | 
|  | 64 | +    flex-grow: 1; | 
|  | 65 | +  } | 
|  | 66 | + | 
|  | 67 | +  aside .text { | 
|  | 68 | +    flex-direction: row; | 
|  | 69 | +    align-items: center; | 
|  | 70 | +    gap: 8px; | 
|  | 71 | +  } | 
|  | 72 | +} | 
|  | 73 | + | 
|  | 74 | +.lang-selector { | 
|  | 75 | +  position: relative; | 
|  | 76 | +} | 
|  | 77 | + | 
|  | 78 | +.lang-selector label[for="lang_toggle"] { | 
|  | 79 | +  display: flex; | 
|  | 80 | +  align-items: center; | 
|  | 81 | + | 
|  | 82 | +  padding: 4px 8px; | 
|  | 83 | +  gap: 4px; | 
|  | 84 | +  border-radius: 2px; | 
|  | 85 | + | 
|  | 86 | +  background: #fcfcfc; | 
|  | 87 | +  color: #383ede; | 
|  | 88 | +  font-weight: 700; | 
|  | 89 | +  text-transform: uppercase; | 
|  | 90 | +  line-height: 1.25; | 
|  | 91 | + | 
|  | 92 | +  user-select: none; | 
|  | 93 | +} | 
|  | 94 | + | 
|  | 95 | +.lang-selector label[for="lang_toggle"]:hover { | 
|  | 96 | +  background-color: #f1f1f1; | 
|  | 97 | +  cursor: pointer; | 
|  | 98 | +} | 
|  | 99 | + | 
|  | 100 | +.lang-selector label[for="lang_toggle"]::after { | 
|  | 101 | +  content: " "; | 
|  | 102 | +  background: url("../non-free/images/down.svg") no-repeat center center / contain; | 
|  | 103 | + | 
|  | 104 | +  width: 16px; | 
|  | 105 | +  height: 16px; | 
|  | 106 | +} | 
|  | 107 | + | 
|  | 108 | +#lang_toggle { | 
|  | 109 | +  display: none; | 
|  | 110 | +} | 
|  | 111 | + | 
|  | 112 | +#lang_toggle:checked + .lang-modal { | 
|  | 113 | +  display: block; | 
|  | 114 | +} | 
|  | 115 | + | 
|  | 116 | +.lang-selector .lang-modal { | 
|  | 117 | +  position: absolute; | 
|  | 118 | +  right: 0; | 
|  | 119 | +  z-index: 1; | 
|  | 120 | + | 
|  | 121 | +  margin-top: 2px; | 
|  | 122 | + | 
|  | 123 | +  background: #fcfcfc; | 
|  | 124 | +  box-shadow: 0px 4px 40px 0px #00000029; | 
|  | 125 | +  border-radius: 2px; | 
|  | 126 | + | 
|  | 127 | +  overflow: hidden; | 
|  | 128 | + | 
|  | 129 | +  display: none; | 
|  | 130 | +} | 
|  | 131 | + | 
|  | 132 | +.lang-selector .lang-modal button { | 
|  | 133 | +  display: flex; | 
|  | 134 | +  padding: 12px 24px 12px 12px; | 
|  | 135 | +  gap: 12px; | 
|  | 136 | +  color: #152a62; | 
|  | 137 | +  width: 100%; | 
|  | 138 | +} | 
|  | 139 | + | 
|  | 140 | +.lang-selector .lang-modal button:not(:disabled):hover { | 
|  | 141 | +  background-color: #f1f1f1; | 
|  | 142 | +  cursor: pointer; | 
|  | 143 | +} | 
|  | 144 | + | 
|  | 145 | +.lang-selector .lang-modal button::before { | 
|  | 146 | +  content: " "; | 
|  | 147 | +  width: 24px; | 
|  | 148 | +  height: 24px; | 
|  | 149 | +} | 
|  | 150 | + | 
|  | 151 | +.lang-selector .lang-modal button:disabled::before { | 
|  | 152 | +  content: " "; | 
|  | 153 | +  background-color: #152a62; | 
|  | 154 | +  mask: url("../non-free/images/checkmark.svg") no-repeat center center / contain; | 
|  | 155 | +  width: 24px; | 
|  | 156 | +  height: 24px; | 
| 53 | 157 | } | 
0 commit comments