main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Rev | Line | |
---|
[d565449] | 1 | .wrapper {
|
---|
| 2 | display: flex;
|
---|
| 3 | justify-content: center;
|
---|
| 4 | margin: 0px auto;
|
---|
| 5 | max-width: 600px;
|
---|
| 6 | width: 100%;
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | .searchBar,
|
---|
| 10 | .directionsContainer {
|
---|
| 11 | display: flex;
|
---|
| 12 | align-items: end; /* Ensure all items remain aligned in the center */
|
---|
| 13 | width: 100%;
|
---|
| 14 | background-color: white;
|
---|
| 15 | padding: 10px;
|
---|
| 16 | border: 1px solid #ddd;
|
---|
| 17 | border-radius: 30px;
|
---|
| 18 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
---|
| 19 | flex-wrap: nowrap; /* Prevent items from wrapping to the next line */
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | .inputField {
|
---|
| 23 | flex-grow: 1;
|
---|
| 24 | padding: 10px 15px;
|
---|
| 25 | font-size: 16px;
|
---|
| 26 | border: 1px solid #ddd;
|
---|
| 27 | border-radius: 30px;
|
---|
| 28 | outline: none;
|
---|
| 29 | margin-right: 10px;
|
---|
| 30 | min-width: 0; /* Ensure the input field remains flexible */
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | .buttons {
|
---|
| 34 | display: flex;
|
---|
| 35 | justify-content: flex-end;
|
---|
| 36 | gap: 10px;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | .iconButton {
|
---|
| 40 | display: flex;
|
---|
| 41 | align-items: center;
|
---|
| 42 | justify-content: center;
|
---|
| 43 | background-color: transparent;
|
---|
| 44 | border: none;
|
---|
| 45 | padding: 12px 20px;
|
---|
| 46 | border-radius: 10px;
|
---|
| 47 | background-color: #f0f0f0;
|
---|
| 48 | color: black;
|
---|
| 49 | cursor: pointer;
|
---|
| 50 | font-size: 16px;
|
---|
| 51 | transition: background-color 0.3s ease;
|
---|
| 52 | width: auto;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | .iconButton:hover {
|
---|
| 56 | background-color: #e0e0e0;
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 | .iconButton img {
|
---|
| 60 | width: 20px;
|
---|
| 61 | height: 20px;
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | /* Expanded view for the direction inputs */
|
---|
| 65 | .directionsContainer {
|
---|
| 66 | flex-direction: column;
|
---|
| 67 | gap: 10px;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | .directionsInputs {
|
---|
| 71 | display: flex;
|
---|
| 72 | width: 100%;
|
---|
| 73 | gap: 10px;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | .directionsInputs .inputField {
|
---|
| 77 | flex: 1;
|
---|
| 78 | }
|
---|
| 79 |
|
---|
| 80 | /* Media query for responsive design */
|
---|
| 81 | @media (max-width: 768px) {
|
---|
| 82 | .wrapper {
|
---|
| 83 | max-width: 100%;
|
---|
| 84 | padding: 10px;
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | /* Keep buttons and input fields inline */
|
---|
| 88 | .searchBar,
|
---|
| 89 | .directionsContainer {
|
---|
| 90 | flex-direction: row; /* Keep items in a row */
|
---|
| 91 | align-items: center; /* Keep buttons and inputs on the same line */
|
---|
| 92 | flex-wrap: nowrap; /* Prevent items from wrapping */
|
---|
| 93 | padding: 8px;
|
---|
| 94 | }
|
---|
| 95 |
|
---|
| 96 | .inputField {
|
---|
| 97 | width: 100%;
|
---|
| 98 | flex-grow: 1;
|
---|
| 99 | margin-right: 10px;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | .buttons {
|
---|
| 103 | width: auto;
|
---|
| 104 | gap: 5px;
|
---|
| 105 | }
|
---|
| 106 |
|
---|
| 107 | .iconButton {
|
---|
| 108 | width: auto;
|
---|
| 109 | padding: 10px;
|
---|
| 110 | }
|
---|
| 111 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.