Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
location in wizard style improvements
Dieser Commit ist enthalten in:
Ursprung
2af1c543c1
Commit
8eee281e25
2 geänderte Dateien mit 98 neuen und 0 gelöschten Zeilen
|
@ -586,10 +586,100 @@ img.avatar {
|
|||
}
|
||||
}
|
||||
|
||||
/* Location Specific Styles */
|
||||
|
||||
.location-selector-container {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.location-form {
|
||||
display: flex;
|
||||
|
||||
.title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.address {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.coordinates {
|
||||
.control-group {
|
||||
display: block;
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
input {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.icon img {
|
||||
max-width: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.address + .coordinates {
|
||||
border-left: 1px solid #eee;
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.location-form-instructions {
|
||||
color: #919191;
|
||||
margin: 5px 0;
|
||||
font-size: 80%;
|
||||
line-height: 1.4em;
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.location-form, .add-location {
|
||||
overflow: visible;
|
||||
|
||||
.control-group {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-right: 20px;
|
||||
margin-top: 10px;
|
||||
|
||||
.instructions {
|
||||
@extend .location-form-instructions;
|
||||
}
|
||||
}
|
||||
|
||||
.location-search {
|
||||
display: block;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.geo-map {
|
||||
height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
.add-location + .modal-footer .clear {
|
||||
margin: 5px 10px;
|
||||
}
|
||||
|
||||
input.input-location, div.input-location {
|
||||
max-height: 150px;
|
||||
background-color: $secondary;
|
||||
box-shadow: none;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* IE11 hacks */
|
||||
@media all and (-ms-high-contrast:none)
|
||||
{
|
||||
|
|
|
@ -144,6 +144,13 @@ en:
|
|||
city:
|
||||
title: "City, Town or Village"
|
||||
desc: "e.g. Sydney"
|
||||
coordinates: "Coordinates"
|
||||
lat:
|
||||
title: "Latitude"
|
||||
desc: "e.g. -31.9456702"
|
||||
lon:
|
||||
title: "Longitude"
|
||||
desc: "e.g. 115.8626477"
|
||||
country_code:
|
||||
title: "Country"
|
||||
placeholder: "Select a Country"
|
||||
|
@ -163,6 +170,7 @@ en:
|
|||
street: "Please enter a Number and Street."
|
||||
postalcode: "Please enter a Postal Code (Zip)."
|
||||
countrycode: "Please select a country."
|
||||
coordinates: "Please complete the set of coordinates."
|
||||
geo_location: "Search and select a result."
|
||||
|
||||
select_kit:
|
||||
|
|
Laden …
In neuem Issue referenzieren