Adrià Vilanova Martínez | 7a2e466 | 2022-12-10 22:19:53 +0100 | [diff] [blame] | 1 | .header-container { |
| 2 | display: flex; |
| 3 | flex-direction: row; |
| 4 | align-items: center; |
| 5 | margin-bottom: 20px; |
| 6 | } |
| 7 | |
| 8 | @media (max-width: 470px) { |
| 9 | .header-container { |
| 10 | flex-direction: column; |
| 11 | } |
Adrià Vilanova Martínez | 1cb5bc3 | 2022-12-11 16:03:51 +0100 | [diff] [blame] | 12 | |
| 13 | header { |
| 14 | text-align: center; |
| 15 | } |
Adrià Vilanova Martínez | 7a2e466 | 2022-12-10 22:19:53 +0100 | [diff] [blame] | 16 | } |
| 17 | |
Andreu | 03d030d | 2019-09-25 21:52:01 +0200 | [diff] [blame] | 18 | header h2 { |
| 19 | line-height: 50%; |
| 20 | } |
| 21 | |
| 22 | header h3 { |
| 23 | font-size: 14px; |
| 24 | color: rgb(20,20,20); |
| 25 | } |
| 26 | |
| 27 | header { |
Adrià Vilanova Martínez | 7a2e466 | 2022-12-10 22:19:53 +0100 | [diff] [blame] | 28 | flex-grow: 1; |
| 29 | } |
| 30 | |
| 31 | .logo { |
| 32 | max-width: 82px; |
| 33 | border-radius: 10%; |
Andreu | 03d030d | 2019-09-25 21:52:01 +0200 | [diff] [blame] | 34 | } |
| 35 | |
Andreu | 4b2fbd9 | 2019-09-22 22:30:25 +0200 | [diff] [blame] | 36 | #password { |
Andreu | 0d0f9fd | 2019-09-23 03:56:08 +0200 | [diff] [blame] | 37 | font-size: 14px; |
| 38 | line-height: 1.75em; |
| 39 | font-family: 'Open Sans'; |
| 40 | text-indent: 10px; |
Andreu Huguet | feeba52 | 2019-09-16 13:43:16 +0200 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | input[type="submit"] { |
avm99963 | db383ed | 2019-09-22 02:14:42 +0200 | [diff] [blame] | 44 | font-size: 18px; |
Andreu Huguet | feeba52 | 2019-09-16 13:43:16 +0200 | [diff] [blame] | 45 | height: 2em; |
avm99963 | db383ed | 2019-09-22 02:14:42 +0200 | [diff] [blame] | 46 | } |
Andreu | dd6cfb4 | 2019-09-22 19:52:39 +0200 | [diff] [blame] | 47 | |
| 48 | .md-google-search__metacontainer { |
| 49 | position: relative; |
| 50 | height: 48px; |
| 51 | width: 100%; |
| 52 | margin-bottom: 16px; |
| 53 | } |
| 54 | |
| 55 | .md-google-search__container { |
| 56 | display: block; |
| 57 | height: 48px; |
| 58 | width: 100%; |
| 59 | max-width: 720px; |
| 60 | white-space: nowrap; |
| 61 | } |
| 62 | |
| 63 | .md-google-search { |
| 64 | height: 48px; |
| 65 | background-color: rgba(245, 245, 245, 1); |
| 66 | border: 1px solid rgba(0, 0, 0, 0.2); |
| 67 | -webkit-border-radius: 4px; |
| 68 | border-radius: 4px; |
| 69 | max-width: 600px; |
| 70 | position: relative; |
| 71 | -webkit-transition: background-color 100ms ease-in, width 100ms ease-out; |
| 72 | transition: background-color 100ms ease-in, width 100ms ease-out; |
| 73 | } |
| 74 | |
| 75 | .md-google-search:focus-within { |
| 76 | border: 1px solid rgba(0, 0, 0, 0.45); |
| 77 | background-color: rgba(255, 255, 255, 1); |
| 78 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2); |
| 79 | box-shadow: 0 1px 1px rgba(0, 0, 0, .2); |
| 80 | } |
| 81 | |
| 82 | .md-google-search__search-btn { |
| 83 | float: left; |
| 84 | background: none; |
| 85 | border: none; |
| 86 | opacity: .54; |
| 87 | outline: none; |
| 88 | padding: 0 4px; |
| 89 | line-height: 0; |
| 90 | color: #212121; |
| 91 | } |
| 92 | |
| 93 | .md-google-search__search-btn svg, .md-google-search__empty-btn svg { |
| 94 | padding: 7px; |
| 95 | margin: 4px; |
| 96 | } |
| 97 | |
| 98 | .md-google-search__field-container { |
| 99 | height: 46px; |
| 100 | padding: 0 11px; |
| 101 | margin-right: 48px; |
| 102 | } |
| 103 | |
| 104 | .md-google-search__field { |
| 105 | border: none; |
| 106 | font: normal 16px Roboto, sans-serif; |
| 107 | height: 24px; |
| 108 | outline: none; |
| 109 | padding: 11px 0 11px 16px; |
| 110 | width: 100%; |
| 111 | background: transparent; |
| 112 | box-sizing: unset; |
| 113 | } |
| 114 | |
| 115 | .md-google-search__empty-btn { |
| 116 | position: absolute; |
| 117 | right: 0; |
| 118 | top: 0; |
| 119 | background: none; |
| 120 | border: none; |
| 121 | opacity: .54; |
| 122 | outline: none; |
| 123 | padding: 0 4px; |
| 124 | line-height: 0; |
| 125 | color: #212121; |
| 126 | cursor: pointer; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Search Box Autocomplete |
| 131 | */ |
| 132 | .autocomplete-container { |
| 133 | z-index: 110; |
| 134 | position: absolute; |
| 135 | top: Calc(100% + 2px); |
| 136 | left: 0; |
| 137 | width: 100%; |
| 138 | } |
| 139 | |
| 140 | .autocomplete-items { |
| 141 | display: block; |
| 142 | width: 100%; |
| 143 | max-width: 600px; |
| 144 | background-color: white; |
| 145 | color: black; |
| 146 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.258824), 0 2px 10px 0 |
| 147 | rgba(0, 0, 0, 0.156863) !important; |
| 148 | max-height: 510px; |
| 149 | overflow-y: auto; |
| 150 | } |
| 151 | |
| 152 | .autocomplete-item { |
| 153 | font-size: 16px; |
| 154 | padding: 12px 14px; |
| 155 | cursor: pointer; |
| 156 | } |
| 157 | |
| 158 | .autocomplete-item:hover, .autocomplete-active { |
| 159 | background: #eee; |
| 160 | } |
| 161 | |
| 162 | .autocomplete-grau-curs { |
| 163 | position: relative; |
| 164 | z-index: 120; |
| 165 | color: #222; |
| 166 | } |