2014-10-06 23:44:25 +02:00
|
|
|
//vars
|
|
|
|
@npmRed: #cc3d33;
|
|
|
|
@white: #fff;
|
|
|
|
@entryBg: #F3F3F3;
|
|
|
|
@mainHeaderHeight: 50px;
|
|
|
|
@packagesHeaderHeight: 60px;
|
|
|
|
@headerBorderWidth: 2px;
|
|
|
|
@smRegistryInfoHeight: 25px;
|
|
|
|
|
|
|
|
/*** Main Styles ***/
|
|
|
|
.body {
|
2014-11-12 12:14:37 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left:0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.main-header {
|
|
|
|
background: @white;
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.npm-logo {
|
|
|
|
width: 79px;
|
|
|
|
height: @mainHeaderHeight;
|
2016-11-07 18:15:38 +01:00
|
|
|
// https://example.org/verdaccio/-/static/../../-/logo
|
2015-03-29 21:59:08 +02:00
|
|
|
background-image: url( ../../-/logo );
|
2014-11-12 12:14:37 +01:00
|
|
|
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 {
|
2014-12-10 07:36:54 +01:00
|
|
|
padding-top: 10px;
|
2014-11-12 12:14:37 +01:00
|
|
|
|
|
|
|
.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% );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pkg-search-container {
|
2014-11-12 12:14:37 +01:00
|
|
|
display: none;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.packages-container {
|
2014-11-12 12:14:37 +01:00
|
|
|
.search-ajax {
|
|
|
|
display: block;
|
|
|
|
margin: 50px auto;
|
|
|
|
}
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-results {
|
2014-11-12 12:14:37 +01:00
|
|
|
text-align: center;
|
|
|
|
margin: 50px 0;
|
|
|
|
color: #888;
|
2014-10-06 23:44:25 +02:00
|
|
|
|
2014-11-12 12:14:37 +01:00
|
|
|
big {
|
|
|
|
font-size: 38px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2014-10-06 23:44:25 +02:00
|
|
|
|
2014-11-12 12:14:37 +01:00
|
|
|
code {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.red {
|
2014-11-12 12:14:37 +01:00
|
|
|
color: @npmRed;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.light-red {
|
2014-11-12 12:14:37 +01:00
|
|
|
color: lighten( @npmRed, 10% );
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.white {
|
2014-11-12 12:14:37 +01:00
|
|
|
color: @white !important;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.red-bg {
|
2014-11-12 12:14:37 +01:00
|
|
|
background: @npmRed;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.light-red-bg {
|
2014-11-12 12:14:37 +01:00
|
|
|
background: lighten( @npmRed, 10% );
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-bg {
|
2014-11-12 12:14:37 +01:00
|
|
|
background: none !important;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-border {
|
2014-11-12 12:14:37 +01:00
|
|
|
border: none !important;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
.no-rnd-cnr {
|
2014-11-12 12:14:37 +01:00
|
|
|
.border-radius( 0 );
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
2014-11-12 12:14:37 +01:00
|
|
|
text-align: center;
|
2014-10-06 23:44:25 +02:00
|
|
|
}
|
2014-11-04 15:47:03 +01:00
|
|
|
|
|
|
|
.login-btn {
|
2014-11-12 12:14:37 +01:00
|
|
|
margin-left: 10px;
|
|
|
|
margin-top: 5px;
|
2014-11-04 15:47:03 +01:00
|
|
|
}
|
2014-11-05 15:02:21 +01:00
|
|
|
|
|
|
|
.pad-right-10 {
|
2014-11-12 12:14:37 +01:00
|
|
|
padding-right: 10px;
|
2014-11-05 15:02:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.inline-block {
|
2014-11-12 12:14:37 +01:00
|
|
|
display: inline-block;
|
2014-11-05 15:02:21 +01:00
|
|
|
}
|