diff --git a/src/components/City/City.css b/src/components/City/City.css index 62ceb0e..908d5d0 100644 --- a/src/components/City/City.css +++ b/src/components/City/City.css @@ -1,32 +1,46 @@ -.button-container { - display: flex; - flex-direction: column; - gap: 10px; - opacity: 0; - transform: translateY(20px); - transition: opacity 0.5s ease, transform 0.5s ease; - } - - .animated-button { - width: 304px; - height: 54px; - border-radius: 27px; - border: none; - font-family: 'Raleway'; - font-weight: bold; - color: #FFFFFF; - background-color: #46A2E3; - transition: background-color 0.3s ease; - } - - .animated-button:hover { - background-color: #357ABF; - } - - .button-container.visible { - opacity: 1; - transform: translateY(0); - } +/* .button-container { + display: flex; + flex-direction: column; + gap: 10px; + opacity: 0; + transform: translateY(20px); + transition: opacity 0.5s ease, transform 0.5s ease; +} */ - - \ No newline at end of file +.animated-button { + width: 304px; + height: 54px; + font-size: 20px; + border-radius: 27px; + border: none; + background-color: #46A2E3; + font-family: 'Raleway'; + color: #FFFFFF; + font-weight: 97px; +} + +.animated-button:hover { + background-color: #398ac5; +} + +.ab { + width: 304px; + height: 54px; + font-size: 20px; + border-radius: 27px; + border: none; + background-color: white; + font-family: 'Raleway'; + color: #398ac5; + font-weight: 97px; +} + +.ab:hover { + background-color: #f8f8f8; +} + + +/* .button-container.visible { + opacity: 1; + transform: translateY(0); +} */ \ No newline at end of file diff --git a/src/components/City/City.js b/src/components/City/City.js index d3d90e4..2594065 100644 --- a/src/components/City/City.js +++ b/src/components/City/City.js @@ -1,5 +1,6 @@ import React, { useEffect, useState } from "react"; import axios from "axios"; +import './City.css' const City = (props) => { const route = props.getValue; @@ -72,7 +73,7 @@ const City = (props) => { justifyContent: 'center', width: 304, }}> - # @@ -81,16 +82,17 @@ const City = (props) => { fontWeight: 700, fontSize: 30, color: '#000' - }}>Выберите город - cityHandler(e)} placeholder="Выберите город..." value={selectedCity} id="city" name="city" style={{ height: 40, width: 304, borderRadius: '20px', + border: 'none', padding: '5px', }}> + }}>Выберите город... {filteredCityOptions.map(option => (