mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:08:44 +08:00
83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
@import "../common/foundation/variables";
|
|
@import "../common/foundation/mixins";
|
|
|
|
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;
|
|
position: relative;
|
|
border-bottom: 1px solid $inner_border;
|
|
.info {
|
|
a {
|
|
color: $primary;
|
|
text-decoration: none;
|
|
}
|
|
background-color: $secondary;
|
|
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 {
|
|
max-width: 100px;
|
|
max-height: 80%;
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
h3, h4 {
|
|
margin: 0px !important;
|
|
}
|
|
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 {
|
|
img.verdict {
|
|
float: none;
|
|
margin-right: 7px;
|
|
}
|
|
img.popcorn {
|
|
float: none;
|
|
margin-left: 20px;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|