| 1 |
:root { |
| 2 |
--e-global-color-primary: #FFD012; |
| 3 |
--e-global-color-secondary: #0B3665; |
| 4 |
} |
| 5 |
|
| 6 |
.eel-domain-search { |
| 7 |
/* Input field styling */ |
| 8 |
/* Button styling */ |
| 9 |
} |
| 10 |
.eel-domain-search form { |
| 11 |
display: flex; |
| 12 |
width: 100%; /* or set a fixed width like 400px */ |
| 13 |
border: none; |
| 14 |
overflow: hidden; |
| 15 |
gap: 16px; |
| 16 |
position: relative; |
| 17 |
} |
| 18 |
@media screen and (max-width: 575px) { |
| 19 |
.eel-domain-search form { |
| 20 |
flex-wrap: wrap; |
| 21 |
justify-content: center; |
| 22 |
} |
| 23 |
} |
| 24 |
.eel-domain-search .unicon-search { |
| 25 |
position: absolute; |
| 26 |
left: 16px; |
| 27 |
top: 50%; |
| 28 |
font-size: 22px; |
| 29 |
transform: translateY(-50%); |
| 30 |
} |
| 31 |
@media screen and (max-width: 575px) { |
| 32 |
.eel-domain-search .unicon-search { |
| 33 |
top: 20%; |
| 34 |
} |
| 35 |
} |
| 36 |
.eel-domain-search form input[type=text] { |
| 37 |
flex: 1; /* take up remaining space */ |
| 38 |
padding: 16px 16px 16px 40px; |
| 39 |
border: none; |
| 40 |
outline: none; |
| 41 |
font-size: 16px; |
| 42 |
border-radius: 16px; |
| 43 |
width: 500px; |
| 44 |
} |
| 45 |
.eel-domain-search form button { |
| 46 |
padding: 18px 32px; |
| 47 |
background-color: var(--e-global-color-primary); |
| 48 |
color: #fff; |
| 49 |
border: none; |
| 50 |
cursor: pointer; |
| 51 |
font-size: 16px; |
| 52 |
transition: background-color 0.3s; |
| 53 |
border-radius: 16px; |
| 54 |
} |
| 55 |
@media screen and (max-width: 575px) { |
| 56 |
.eel-domain-search form button { |
| 57 |
width: 100%; |
| 58 |
} |
| 59 |
} |