66 :style =" {backgroundImage:`url(${require(`@/assets/weather-icons/${dayTime}.jpg`)})`}"
77 >
88 <v-layout column class =" card__title" >
9- <div class =" card__title_time text-md-center" >{{city.time}}</div >
10- <div class =" card__title_location text-md-center" >{{city.country}}, {{city.city}}</div >
9+ <div class =" title__time text-md-center" >{{city.time}}</div >
10+ <div class =" title__location text-md-center" >{{city.country}}, {{city.city}}</div >
1111 </v-layout >
1212 <v-layout row class =" card__center" align-center >
1313 <v-flex xs4 >
14- <p class =" card__center_temp text-md-center" >{{city.temp}}</p >
15- <div class =" text-md-center card__center_tempreal_text " >
14+ <p class =" center__temp text-md-center" >{{city.temp}}</p >
15+ <div class =" center__tempreal- text text -md-center" >
1616 Ощущается как:
17- <span class =" card__center_tempreal " >{{city.realFeelTemperature}}</span >
17+ <span class =" center__tempreal " >{{city.realFeelTemperature}}</span >
1818 </div >
19- <div class =" card__center_pressure text-md-center" >{{city.pressure}}</div >
19+ <div class =" center__pressure text-md-center" >{{city.pressure}}</div >
2020 </v-flex >
2121 <v-flex xs4 >
2222 <div
2323 v-show =" city.WeatherIcon"
24- class =" card__center_icon "
24+ class =" center__icon "
2525 :style =" {backgroundImage: `url(${require(`@/assets/weather-icons/${city.WeatherIcon}.png`)})`}"
2626 ></div >
2727 </v-flex >
28- <v-flex xs4 class =" card__center_wind " >
28+ <v-flex xs4 class =" center__wind " >
2929 <div class =" text-md-center" >
3030 Направление ветра:
31- <span class =" card__center_wind_direct " >{{city.windDirect}}</span >
31+ <span class =" center__wind-direct " >{{city.windDirect}}</span >
3232 </div >
3333 <div class =" text-md-center" >
3434 Скорость ветра:
35- <span class =" card__center_wind_speed " >{{city.windSpeed}}</span >
35+ <span class =" center__wind-speed " >{{city.windSpeed}}</span >
3636 </div >
3737 </v-flex >
3838 </v-layout >
3939 <v-layout row class =" card__footer" >
4040 <v-btn flat small color =" white" @click =" saveToLS" v-if =" !save" >Сохранить</v-btn >
4141 <v-btn flat small color =" white" @click =" deleteToLS" v-if =" save" >Удалить</v-btn >
42- <v-flex xs12 offset-sm1 class =" card__footer_text " >
42+ <v-flex xs12 offset-sm1 class =" card__footer-text " >
4343 <div >{{city.weatherText}}</div >
4444 <div >Видимость {{city.visibility}}</div >
4545 </v-flex >
46- <v-btn flat small color =" white" class =" card__footer_more " @click =" GetWeatherForecast" >5 дней</v-btn >
46+ <v-btn flat small color =" white" class =" card__footer-more " @click =" GetWeatherForecast" >5 дней</v-btn >
4747 </v-layout >
4848 </v-layout >
4949 <transition name =" fade" mode =" out-in" >
@@ -132,51 +132,49 @@ export default {
132132 font-weight : 400 ;
133133 text-align : center ;
134134 font-size : 1.125rem ;
135- .card__title_time {
135+ .title__time {
136136 color : wheat ;
137137 font-size : 1rem ;
138138 font-weight : 200 ;
139139 }
140- // .card__title_location {
141- // }
142140 }
143141 .card__center {
144- .card__center_temp {
142+ .center__temp {
145143 font-weight : 400 ;
146144 line-height : 2rem ;
147145 font-size : 2.125rem ;
148146 color : whitesmoke ;
149147 }
150- .card__center_tempreal_text {
148+ .center__tempreal-text {
151149 color : lightgray ;
152- .card__center_tempreal {
150+ .center_tempreal {
153151 color : white ;
154152 font-weight : 400 ;
155153 font-size : 1.125rem ;
156154 line-height : 1.5rem ;
157155 }
158156 }
159- .card__center_pressure {
157+ .center__pressure {
160158 color : lightgray ;
161159 }
162- .card__center_icon {
160+ .center__icon {
163161 width : 190px ;
164162 height : 135px ;
165163 background-size : contain ;
166164 background-position : top ;
167165 background-repeat : no-repeat ;
168166 }
169- .card__center_wind {
167+ .center__wind {
170168 color : lightgray ;
171- .card__center_wind_speed ,
172- .card__center_wind_direct {
169+ .center__wind-speed ,
170+ .center__wind-direct {
173171 color : white ;
174172 }
175173 }
176174 }
177175 .card__footer {
178176 color : lightgray ;
179- .card__footer_text {
177+ .card__footer-text {
180178 text-align : center ;
181179 }
182180 }
@@ -208,7 +206,7 @@ export default {
208206 margin : auto ;
209207 .card__center {
210208 font-size : 0.75rem ;
211- .card__center_icon {
209+ .center__icon {
212210 width : 32vw ;
213211 height : 20vh ;
214212 background-position : center ;
@@ -218,7 +216,7 @@ export default {
218216 display : flex ;
219217 justify-content : space-around ;
220218 align-items : center ;
221- .card__footer_text {
219+ .card__footer-text {
222220 font-size : 0.75rem ;
223221 text-align : center ;
224222 background-size : cover ;
0 commit comments