2014-10-06 16:44:25 -05:00
|
|
|
//vars
|
|
|
|
@npmRed: #cc3d33;
|
|
|
|
@white: #fff;
|
|
|
|
@entryBg: #F3F3F3;
|
|
|
|
@mainHeaderHeight: 50px;
|
|
|
|
@packagesHeaderHeight: 60px;
|
|
|
|
@headerBorderWidth: 2px;
|
|
|
|
@smRegistryInfoHeight: 25px;
|
|
|
|
|
|
|
|
/*** Main Styles ***/
|
|
|
|
.body {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left:0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.main-header {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: @white;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.npm-logo {
|
|
|
|
width: 79px;
|
|
|
|
height: @mainHeaderHeight;
|
2014-10-19 20:44:02 -05:00
|
|
|
background-image: url( -/logo-sm );
|
2014-10-06 16:44:25 -05:00
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE8AAAAoCAYAAAC/xadkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk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BCidZVQyOoJ03A+fOe3VLdVypFKzm96LeQCjKIRASx38RYNAMAJd2HcyOdt8J5FhTikfzJCJUk2WVRcm2PbMhBSZJQVPPb7YowQBLAkC4dA13KwTKNLwDfXAKG+nxgX1+fIlKdub4jwBZVIZVH55B8q3n2KHTwF1j7J7LDfwZD/AF8EHj/+MNuo0gi31SA0M6IqGZuHc9Mhwd6mUPwAf29T5KNqf/x4iX7mTxj96bcIWzXA6m77fQzlnYNSUecDEMb/a7ngZhiPfWBhz0CPSRg3/jUJ1H4WvSr5X2SfFHLaCHCchfUvd2hnBEhsorEsP9Hs2Zc5Y+hs4n1ZXfZ2q5yukkTfl+YlrFPM5btv6feL1O+B/zwHNj9DV1y7e/NYZhiXbZxmvWCDANQOxd4Gel4EIQSu+nzc6PPoa
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
|
|
|
|
>a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.setup {
|
|
|
|
line-height: 1.3em;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.packages-header {
|
|
|
|
border-bottom: @headerBorderWidth solid #e6e6e6;
|
|
|
|
|
|
|
|
.search-container {
|
|
|
|
top: 9px;
|
|
|
|
|
|
|
|
.search-icon {
|
|
|
|
background: #e6e6e6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sm-registry-info {
|
|
|
|
height: @smRegistryInfoHeight;
|
|
|
|
line-height: 1.7em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
padding-top: @mainHeaderHeight + @packagesHeaderHeight + 10;
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
.transition(height .3s);
|
|
|
|
padding: 9px 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom: 1px solid #E7E7E7;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child( even ) {
|
|
|
|
background: @entryBg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin: 0 0 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
margin: 0 0 0 18px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.name:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.name:before {
|
|
|
|
margin: 0;
|
|
|
|
margin-left: -10px;
|
|
|
|
.transformTransition(.2s);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open .name:before {
|
|
|
|
.rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.version {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.readme {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 10px;
|
|
|
|
background: @white;
|
|
|
|
padding: 10px 12px;
|
|
|
|
.border-radius(3px);
|
|
|
|
border: 1px solid darken( @entryBg, 10% );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pkg-search-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.packages-container {
|
|
|
|
.search-ajax {
|
|
|
|
display: block;
|
|
|
|
margin: 50px auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-results {
|
|
|
|
text-align: center;
|
|
|
|
margin: 50px 0;
|
|
|
|
color: #888;
|
|
|
|
|
|
|
|
big {
|
|
|
|
font-size: 38px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.red {
|
|
|
|
color: @npmRed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light-red {
|
|
|
|
color: lighten( @npmRed, 10% );
|
|
|
|
}
|
|
|
|
|
|
|
|
.white {
|
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.red-bg {
|
|
|
|
background: @npmRed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light-red-bg {
|
|
|
|
background: lighten( @npmRed, 10% );
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-bg {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-border {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.no-rnd-cnr {
|
|
|
|
.border-radius( 0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|