discourse/app/assets/stylesheets/mobile/onebox.scss

80 lines
1.4 KiB
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
a.loading-onebox {
background: {
image: image-url("spinner_96.gif");
position: 0;
size: 20px;
height: 25px;
repeat: no-repeat;
};
padding-left: 25px;
}
.onebox-result {
font-size: 14px;
> .source {
margin-bottom: 10px;
margin-right: 10px;
padding: 10px 0;
display: block;
color: $primary_text_color;
2013-09-05 15:37:07 -04:00
position: relative;
border-bottom: 1px solid $primary_border_color;
2013-09-05 15:37:07 -04:00
.info {
a {
color: $primary_text_color;
2013-09-05 15:37:07 -04:00
text-decoration: none;
}
background-color: $primary_background_color;
2013-09-05 15:37:07 -04:00
position: absolute;
font-size: 14px;
img.favicon {
margin-right: 3px;
}
}
}
.onebox-result-body {
padding-top: 5px;
font-family: Georgia, Times, "Times New Roman", serif;
img {
2013-12-19 18:32:39 -05:00
max-width: 100px;
max-height: 80%;
float: left;
margin-right: 10px;
2013-09-05 15:37:07 -04:00
}
h3, h4 {
margin: 0 !important;
2013-09-05 15:37:07 -04:00
}
img.thumbnail {
max-width: 25%;
height: auto;
}
code {
max-height: 400px;
}
.metrics {
clear: both;
padding-bottom: 25px;
.metric {
display: inline-block;
padding-left: 33px;
float: left;
}
}
}
}
// RottenTomatoes Onebox
.onebox-result {
.onebox-result-body {
2013-12-19 18:32:39 -05:00
img.verdict {
float: none;
2013-09-05 15:37:07 -04:00
margin-right: 7px;
}
img.popcorn {
float: none;
margin-left: 20px;
margin-right: 5px;
}
}
}