2015-07-08 21:29:55 +00:00
|
|
|
#city-list-left {
|
2019-12-12 18:42:31 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2015-07-08 21:29:55 +00:00
|
|
|
width: 250px;
|
|
|
|
height: 100%;
|
|
|
|
float: left;
|
|
|
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
2017-04-15 18:32:04 +00:00
|
|
|
background-color: #fff;
|
2015-07-08 21:29:55 +00:00
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-list-left > ul {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#city-list-left li {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-list-left li:hover > a,
|
|
|
|
#city-list-left li:hover,
|
|
|
|
#city-list-left .selected,
|
|
|
|
#city-list-left .selected a {
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-list-left li > a {
|
|
|
|
line-height: 44px;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
2015-07-09 19:05:43 +00:00
|
|
|
#city-list-left li .icon-delete {
|
|
|
|
width: 30px;
|
|
|
|
height: 18px;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-list-left li:hover .icon-delete {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2015-07-08 21:29:55 +00:00
|
|
|
#city-right {
|
2020-04-23 13:43:49 +00:00
|
|
|
padding: 15px;
|
2019-12-12 18:42:31 +00:00
|
|
|
height: calc(100vh - 50px); /* substract header */
|
|
|
|
overflow: auto;
|
2015-07-08 21:29:55 +00:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 250px;
|
2017-04-15 18:32:04 +00:00
|
|
|
background: black no-repeat center center fixed;
|
|
|
|
background-size: cover;
|
|
|
|
-webkit-background-size: cover;
|
|
|
|
-moz-background-size: cover;
|
|
|
|
-o-background-size: cover;
|
2015-07-11 15:01:30 +00:00
|
|
|
color: #EEE;
|
2020-04-23 13:43:49 +00:00
|
|
|
display: grid;
|
2015-07-11 15:01:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#city-right .city-name {
|
2017-08-17 16:12:53 +00:00
|
|
|
font-size: 5em;
|
2015-07-11 15:01:30 +00:00
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
|
2017-08-17 16:12:53 +00:00
|
|
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
2020-03-16 08:29:06 +00:00
|
|
|
#city-right .city-current-humidity, #city-right .city-current-weather,
|
2020-04-12 01:40:46 +00:00
|
|
|
#city-right .city-current-sunrise, #city-right .city-current-sunset,
|
|
|
|
#city-right .city-current-temp_feelslike, #city-right .city-current-temp_min,
|
2020-04-23 13:43:49 +00:00
|
|
|
#city-right .city-current-temp_max, .city-current-temp {
|
2017-08-17 16:12:53 +00:00
|
|
|
font-size: 2em;
|
2015-07-11 15:01:30 +00:00
|
|
|
line-height: 1em;
|
2015-07-08 21:29:55 +00:00
|
|
|
}
|
2015-07-08 22:05:57 +00:00
|
|
|
|
2015-07-18 07:12:14 +00:00
|
|
|
#city-right tr:hover {
|
|
|
|
background-color: rgba(100, 100, 100, 0.5);
|
|
|
|
}
|
|
|
|
|
2015-07-08 22:05:57 +00:00
|
|
|
.city-list hr {
|
|
|
|
border: 0;
|
|
|
|
height: 1px;
|
|
|
|
background: #BBB;
|
|
|
|
background-image: linear-gradient(to right, #CCC, #BBB, #CCC);
|
|
|
|
}
|
|
|
|
|
|
|
|
#create-city {
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #EEE;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
|
|
|
|
#create-city h1 {
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
#create-city h1 {
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2015-07-15 19:38:29 +00:00
|
|
|
#create-city h2, #city-forecast-panel th {
|
2015-07-08 22:05:57 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.city-form-error {
|
|
|
|
color: red;
|
|
|
|
}
|
2015-07-09 19:35:17 +00:00
|
|
|
|
|
|
|
.city-load-error {
|
|
|
|
color: #FF3333;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 40%;
|
|
|
|
width: 100%;
|
|
|
|
padding: 20px;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2015-07-11 15:43:34 +00:00
|
|
|
|
2015-10-25 12:04:03 +00:00
|
|
|
.city-load-error a {
|
|
|
|
color: #FF3333;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-07-15 19:38:29 +00:00
|
|
|
#city-weather-panel, #city-forecast-panel {
|
2015-07-11 15:43:34 +00:00
|
|
|
border-radius: 3px;
|
2020-04-23 13:43:49 +00:00
|
|
|
padding: 20px;
|
2015-07-11 15:43:34 +00:00
|
|
|
background-color: rgba(50, 50, 50, 0.5);
|
2020-04-23 13:43:49 +00:00
|
|
|
display: block;
|
2015-07-11 15:43:34 +00:00
|
|
|
}
|
2015-07-15 19:38:29 +00:00
|
|
|
|
|
|
|
#city-forecast-panel {
|
|
|
|
font-size: 1.3em;
|
2020-04-12 12:09:33 +00:00
|
|
|
margin-top: 10px;
|
2015-07-15 19:38:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#city-forecast-panel td, #city-forecast-panel th {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2015-07-18 08:14:05 +00:00
|
|
|
|
|
|
|
.home-icon:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-07-21 17:57:01 +00:00
|
|
|
|
|
|
|
/* Responsive */
|
2020-04-23 13:43:49 +00:00
|
|
|
@media (max-width: 1700px) {
|
2015-07-21 17:57:01 +00:00
|
|
|
#city-right .city-name {
|
|
|
|
font-size: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
|
|
|
#city-right .city-current-weather, #city-right .city-current-humidity,
|
2020-04-12 01:40:46 +00:00
|
|
|
#city-right .city-current-sunrise, #city-right .city-current-sunset,
|
|
|
|
#city-right .city-current-temp_feelslike, #city-right .city-current-temp_min,
|
2020-04-23 13:43:49 +00:00
|
|
|
#city-right .city-current-temp_max, .city-current-temp {
|
|
|
|
font-size: 2em;
|
2015-07-21 17:57:01 +00:00
|
|
|
}
|
|
|
|
#city-forecast-panel {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1560px) {
|
|
|
|
#city-right .city-name {
|
|
|
|
font-size: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
|
|
|
#city-right .city-current-weather, #city-right .city-current-humidity,
|
2020-04-12 01:40:46 +00:00
|
|
|
#city-right .city-current-sunrise, #city-right .city-current-sunset,
|
|
|
|
#city-right .city-current-temp_feelslike, #city-right .city-current-temp_min,
|
2020-04-23 13:43:49 +00:00
|
|
|
#city-right .city-current-temp_max .city-current-temp {
|
|
|
|
font-size: 1.5em;
|
2015-07-21 17:57:01 +00:00
|
|
|
}
|
|
|
|
#city-forecast-panel {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1400px) {
|
|
|
|
#city-forecast-panel {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 1350px) {
|
|
|
|
#city-right .city-name {
|
|
|
|
font-size: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
|
|
|
#city-right .city-current-weather, #city-right .city-current-humidity,
|
2020-04-12 01:40:46 +00:00
|
|
|
#city-right .city-current-sunrise, #city-right .city-current-sunset,
|
|
|
|
#city-right .city-current-temp_feelslike, #city-right .city-current-temp_min,
|
2020-04-23 13:43:49 +00:00
|
|
|
#city-right .city-current-temp_max .city-current-temp {
|
2015-07-21 17:57:01 +00:00
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
}
|
2015-10-25 09:57:07 +00:00
|
|
|
|
2018-10-01 12:32:21 +00:00
|
|
|
#app {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-10-25 09:57:07 +00:00
|
|
|
#app-settings-content h2 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|