odata
Version:
o.js is a isomorphic Odata Javascript library to simplify the request of data. The main goal is to build a standalone, lightweight and easy to understand Odata lib.
128 lines (116 loc) • 2.04 kB
CSS
/* Space out content a bit */
body {
padding-top: 20px;
padding-bottom: 20px;
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
padding-right: 15px;
padding-left: 15px;
}
/* Custom page header */
.header {
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
padding-bottom: 19px;
margin-top: 0;
margin-bottom: 0;
line-height: 40px;
}
/* Custom page footer */
.footer {
padding-top: 19px;
color: #777;
border-top: 1px solid #e5e5e5;
}
/* Customize container */
@media (min-width: 768px) {
.container {
max-width: 730px;
}
}
.container-narrow > hr {
margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
padding: 14px 24px;
font-size: 21px;
}
/* Supporting marketing content */
.marketing {
margin: 40px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
.header,
.marketing,
.footer {
padding-right: 0;
padding-left: 0;
}
/* Space out the masthead */
.header {
margin-bottom: 30px;
}
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron {
border-bottom: 0;
}
}
/* Product details */
.price {
min-height:20px;
font-size:12px;
color:#888;
text-align:right;
}
.people {
background-color:#EEE;
margin:10px;
padding:10px;
border-radius:5px;
}
.people h4 {
white-space: nowrap;
text-overflow:ellipsis;
overflow:hidden;
}
.people .description {
text-overflow:ellipsis;
overflow:hidden;
min-height:60px;
max-height:60px;
overflow:hidden;
}
/* Loading */
.loading {
position:absolute;
left:50%;
margin-left:-125px;
z-index:1;
opacity:0.9;
padding-top:125px;
}
.loading > div {
opacity:1;
width:250px;
}
.spacer {
min-height:500px;
}
.opacity20 {
opacity:0.2;
}