data-fields
Version:
Render fields for various types of input.
86 lines (72 loc) • 1.32 kB
CSS
html, body, .data-field-geojson-map-container, .widget {
background: #02AAB0;
background: -webkit-linear-gradient(right, #02AAB0, #00CDAC);
background: linear-gradient(to left, #02AAB0, #00CDAC);
font-family: Helvetica, Verdana, sans-serif;
}
body {
margin: 20px;
}
a {color: #02AAB0;}
input, textarea {
border: 1px solid #02AAB0;
padding: 5px;
border-radius: 3px;
width: 80%;
}
.ContentBox {
background-color: #fff;
margin: 0 auto 20px auto;
padding: 20px;
border-radius: 3px;
}
.fields {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.editable {
margin-right: 20px;
}
.editable,
.static {
display: inline-block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
h2 {
margin: 0 0 20px 0;
}
ul, li {
list-style-type: none;
margin: 0;
padding: 0;
}
.list-editor-item input {
width: 25%;
display: inline-block;
margin: 0 10px 10px 0;
}
.list-editor-item-close {
border: 1px solid #02AAB0;
background: #00CDAC;
border-radius: 3px;
height: 25px;
width: 25px;
cursor: pointer;
}
.list-editor-form input {
width: 25%;
display: inline-block;
margin: 0 10px 10px 0;
}
.data-field-geojson {
width: 100%;
}
.data-field-geojson-map-container {
width: 100%;
height: 400px;
}