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;
|
|
|
|
}
|
|
|
|
|
2013-11-13 23:10:47 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.onebox-result {
|
2014-01-27 17:58:53 -05:00
|
|
|
margin-top: 15px;
|
2013-12-19 18:32:39 -05:00
|
|
|
padding: 12px 25px 12px 12px;
|
2014-05-19 01:17:59 -04:00
|
|
|
border-left: 5px solid darken(scale-color-diff(), 10%);
|
|
|
|
background: scale-color-diff();
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2013-09-05 15:37:07 -04:00
|
|
|
> .source {
|
2013-11-13 23:10:47 -05:00
|
|
|
margin-bottom: 12px;
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-right: 10px;
|
|
|
|
display: block;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
2013-11-13 23:10:47 -05:00
|
|
|
height: 20px;
|
2013-09-05 15:37:07 -04:00
|
|
|
.info {
|
|
|
|
a {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
2013-11-13 23:10:47 -05:00
|
|
|
padding-right: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
position: absolute;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2013-09-05 15:37:07 -04:00
|
|
|
img.favicon {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-02-26 17:15:57 -05:00
|
|
|
|
2014-03-06 01:14:51 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.onebox-result-body {
|
|
|
|
padding-top: 5px;
|
|
|
|
img {
|
2013-12-19 18:32:39 -05:00
|
|
|
max-height: 80%;
|
2014-01-02 06:15:47 -05:00
|
|
|
max-width: 25%;
|
|
|
|
height: auto;
|
2013-12-19 18:32:39 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
h3, h4 {
|
2014-03-06 01:14:51 -05:00
|
|
|
margin: 0 !important;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
@mixin onebox-favicon($class, $image) {
|
|
|
|
&.#{$class} .source {
|
|
|
|
background-image: image-url("favicons/#{$image}.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox {
|
|
|
|
padding: 12px 25px 12px 12px;
|
2014-05-19 01:17:59 -04:00
|
|
|
border-left: 5px solid darken(scale-color-diff(), 10%);
|
|
|
|
background: scale-color-diff();
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
header {
|
|
|
|
a[href] {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2014-01-27 17:58:53 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include onebox-favicon('stackexchange', 'stackexchange');
|
|
|
|
@include onebox-favicon('twitterstatus', 'twitter');
|
|
|
|
@include onebox-favicon('wikipedia', 'wikipedia');
|
|
|
|
@include onebox-favicon('githubblob', 'github');
|
2015-03-10 10:22:29 -04:00
|
|
|
@include onebox-favicon('githubcommit', 'github');
|
|
|
|
@include onebox-favicon('githubpullrequest', 'github');
|
|
|
|
@include onebox-favicon('githubissue', 'github');
|
|
|
|
@include onebox-favicon('githubgist', 'github');
|
2014-02-21 16:10:20 -05:00
|
|
|
@include onebox-favicon('amazon', 'amazon');
|
2014-01-27 17:58:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
.onebox-body {
|
|
|
|
clear: both;
|
|
|
|
|
2014-02-26 19:13:36 -05:00
|
|
|
h3, h4 {
|
2014-01-27 17:58:53 -05:00
|
|
|
font-size: 1.17em;
|
2014-02-25 14:50:21 -05:00
|
|
|
margin: 10px 0 !important;
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a[href] {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: scale-color($tertiary, $lightness: -20%);
|
2014-01-27 17:58:53 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href]:visited {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: scale-color($tertiary, $lightness: -20%);
|
2014-01-27 17:58:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: 80%;
|
|
|
|
max-width: 25%;
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-25 22:01:51 -04:00
|
|
|
.onebox-avatar {
|
2014-10-17 12:32:24 -04:00
|
|
|
height: 90px !important;
|
|
|
|
width: 90px !important;
|
2014-03-25 00:52:40 -04:00
|
|
|
}
|
2014-05-22 21:55:50 -04:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
aside.onebox {
|
2014-10-17 12:32:24 -04:00
|
|
|
background: darken(scale-color-diff(), 5%);
|
|
|
|
border-left: 5px solid darken(scale-color-diff(), 12%);
|
|
|
|
}
|
|
|
|
}
|
2014-09-28 00:37:21 -04:00
|
|
|
|
|
|
|
// -- Onebox Github Code Blob --
|
|
|
|
pre.onebox code ol.lines li:before {
|
|
|
|
position: absolute;
|
|
|
|
display:inline-block;
|
|
|
|
width:35px;
|
|
|
|
left: -40px;
|
|
|
|
background: #F7F7F7;
|
|
|
|
color:#AFAFAF;
|
|
|
|
text-align:right;
|
|
|
|
padding-right:5px;
|
|
|
|
font-size:12px;
|
|
|
|
line-height: 1.9em;
|
|
|
|
content: counter(li-counter);
|
|
|
|
counter-increment: li-counter;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pre.onebox code ol{
|
|
|
|
margin-left:0px;
|
2014-10-11 08:32:40 -04:00
|
|
|
line-height:1.5em;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
|
|
|
pre.onebox code li{
|
|
|
|
background-color:#fff;
|
|
|
|
padding-left:5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code ol.lines{
|
|
|
|
position:relative;
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code ol.lines li {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 5px;
|
|
|
|
margin-left: 0px;
|
|
|
|
border-left: 1px solid #CFCFCF;
|
2014-10-17 12:32:24 -04:00
|
|
|
min-height: 1.5em; //show empty li lines
|
2014-09-29 00:26:16 -04:00
|
|
|
white-space: pre;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code li.selected{
|
|
|
|
background-color:#F8EEC7
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.onebox code {
|
2014-10-17 12:32:24 -04:00
|
|
|
white-space: normal;
|
2014-09-28 00:37:21 -04:00
|
|
|
}
|
2014-09-29 00:33:20 -04:00
|
|
|
|
|
|
|
//Onebox - Github - Pull request
|
|
|
|
.onebox-body .github-commit-status {
|
|
|
|
background: #F5F5F5;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin:0px 0px 5px 100px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .status_tag {
|
|
|
|
display:inline-block;
|
|
|
|
color:#fff;
|
|
|
|
padding:1px 4px;
|
|
|
|
border-radius:3px;
|
|
|
|
font-weight:bold;
|
|
|
|
margin-bottom:5px;
|
|
|
|
text-transform:capitalize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .build_status
|
|
|
|
{
|
|
|
|
padding: 2px;
|
|
|
|
font-size:12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .status_tag.open {
|
|
|
|
background-color:#6cc644;
|
|
|
|
}
|
|
|
|
.onebox-body .status_tag.merged{
|
2014-10-17 12:32:24 -04:00
|
|
|
background-color:#6e5494;
|
2014-09-29 00:33:20 -04:00
|
|
|
}
|
|
|
|
.onebox-body .status_tag.closed {
|
|
|
|
background-color:#bd2c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body .github-content-right{
|
|
|
|
margin-left:100px;
|
|
|
|
}
|