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