Javier López-Contreras | 6d1d72d | 2018-12-27 23:17:18 +0100 | [diff] [blame] | 1 | /* ********** HERE STARTS search-bar.css ****** */
|
Javier López-Contreras | 6dc18a3 | 2018-12-26 12:40:04 +0100 | [diff] [blame] | 2 | .md-google-search__metacontainer {
|
| 3 | position: absolute;
|
| 4 | top: 10px;
|
| 5 | height: 48px;
|
| 6 | width: 100%;
|
| 7 | z-index: 100;
|
| 8 | }
|
| 9 |
|
| 10 | .md-google-search__container {
|
| 11 | display: block;
|
| 12 | margin-left: auto;
|
| 13 | margin-right: auto;
|
| 14 | height: 48px;
|
| 15 | width: Calc(100% - 66px);
|
| 16 | max-width: 720px;
|
| 17 | white-space: nowrap;
|
| 18 | }
|
| 19 |
|
| 20 | .md-google-search {
|
| 21 | height: 48px;
|
| 22 | background-color: rgba(245, 245, 245, 1);
|
| 23 | border: 1px solid rgba(0, 0, 0, 0);
|
| 24 | -webkit-border-radius: 4px;
|
| 25 | border-radius: 4px;
|
| 26 | max-width: 720px;
|
| 27 | position: relative;
|
| 28 | -webkit-transition: background-color 100ms ease-in, width 100ms ease-out;
|
| 29 | transition: background-color 100ms ease-in, width 100ms ease-out;
|
| 30 | }
|
| 31 |
|
| 32 | .md-google-search:focus-within {
|
| 33 | border: 1px solid rgba(0, 0, 0, 0.45);
|
| 34 | background-color: rgba(255, 255, 255, 1);
|
| 35 | -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
|
| 36 | box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
|
| 37 | }
|
| 38 |
|
| 39 | .md-google-search__search-btn {
|
| 40 | float: left;
|
| 41 | background: none;
|
| 42 | border: none;
|
| 43 | opacity: .54;
|
| 44 | outline: none;
|
| 45 | padding: 0 4px;
|
| 46 | line-height: 0;
|
| 47 | color: #212121;
|
| 48 | }
|
| 49 |
|
| 50 | .md-google-search__search-btn svg, .md-google-search__empty-btn svg {
|
| 51 | padding: 7px;
|
| 52 | margin: 4px;
|
| 53 | }
|
| 54 |
|
| 55 | .md-google-search__field-container {
|
| 56 | height: 46px;
|
| 57 | padding: 0 11px;
|
| 58 | margin-right: 48px;
|
| 59 | }
|
| 60 |
|
| 61 | .md-google-search__field {
|
| 62 | border: none;
|
| 63 | font: normal 16px Roboto, sans-serif;
|
| 64 | height: 24px;
|
| 65 | outline: none;
|
| 66 | padding: 11px 0 11px 16px;
|
| 67 | width: 100%;
|
| 68 | background: transparent;
|
| 69 | }
|
| 70 |
|
| 71 | .md-google-search__empty-btn {
|
| 72 | position: absolute;
|
| 73 | right: 0;
|
| 74 | top: 0;
|
| 75 | background: none;
|
| 76 | border: none;
|
| 77 | opacity: .54;
|
| 78 | outline: none;
|
| 79 | padding: 0 4px;
|
| 80 | line-height: 0;
|
| 81 | color: #212121;
|
| 82 | cursor: pointer;
|
| 83 | }
|
| 84 |
|
| 85 | /**
|
| 86 | * Search Box Autocomplete
|
| 87 | */
|
| 88 | .autocomplete-container {
|
| 89 | z-index: 110;
|
| 90 | position: absolute;
|
| 91 | top: 60px;
|
| 92 | width: 100%;
|
| 93 | }
|
| 94 |
|
| 95 | .autocomplete-items {
|
| 96 | display: block;
|
| 97 | margin-left: auto;
|
| 98 | margin-right: auto;
|
| 99 | width: Calc(100% - 66px);
|
| 100 | max-width: 720px;
|
| 101 | background-color: white;
|
| 102 | color: black;
|
| 103 | box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.258824), 0 2px 10px 0
|
| 104 | rgba(255, 255, 255, 0.156863) !important;
|
avm99963 | 027b5b0 | 2018-12-28 02:31:46 +0100 | [diff] [blame] | 105 | max-height: 510px;
|
| 106 | overflow-y: auto;
|
Javier López-Contreras | 6dc18a3 | 2018-12-26 12:40:04 +0100 | [diff] [blame] | 107 | }
|
| 108 |
|
| 109 | .autocomplete-item {
|
| 110 | font-size: 16px;
|
| 111 | padding: 12px 14px;
|
| 112 | cursor: pointer;
|
| 113 | }
|
| 114 |
|
| 115 | .autocomplete-item:hover, .autocomplete-active {
|
| 116 | background: #eee;
|
| 117 | }
|
| 118 |
|
| 119 | .autocomplete-year {
|
| 120 | position: relative;
|
| 121 | z-index: 120;
|
avm99963 | 027b5b0 | 2018-12-28 02:31:46 +0100 | [diff] [blame] | 122 |
|
Javier López-Contreras | 6dc18a3 | 2018-12-26 12:40:04 +0100 | [diff] [blame] | 123 | color: #222;
|
| 124 | }
|
| 125 |
|
| 126 | @media ( max-width : 700px) {
|
| 127 | #dialog {
|
| 128 | width: Calc(100% - 32px) !important;
|
| 129 | height: Calc(100% - 32px) !important;
|
| 130 | margin: 16px;
|
| 131 | }
|
| 132 | #backdrop {
|
| 133 | display: block;
|
| 134 | }
|
| 135 | #min-dialog {
|
| 136 | display: block !important;
|
| 137 | }
|
avm99963 | 027b5b0 | 2018-12-28 02:31:46 +0100 | [diff] [blame] | 138 | }
|