0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/lib/GUI/css/main.less
2014-05-07 15:00:36 -05:00

123 lines
No EOL
1.6 KiB
Text

@import "../../../node_modules/helpers.less/helpers.less";
@import "./markdown.less";
@import "./highlight.js.less";
/*** Main Styles ***/
body {
margin: 0;
font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Sans-Serif;
}
h1 {
text-align: center;
a, a:visited {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
}
.center {
text-align: center;
}
#content {
margin: 0 auto;
max-width: 880px;
padding: 20px;
}
/*** Setup ***/
#setup {
background: #DB4141;
padding: 15px 20px;
display: inline-block;
.border-radius(4px);
text-align: left;
color: #FFF;
code {
font-family: Consolas, monaco, monospace;
}
}
/*** Search Box ***/
#search-form {
float: right;
@height: 30px;
input, button {
margin: 0;
vertical-align: middle;
border: 1px solid #CCC;
}
input {
width: 200px;
height: @height;
.border-box;
padding: 0 5px;
font-size: 16px;
border-right: 0;
&:focus {
outline: none;
}
}
button {
height: @height;
width: @height;
margin: 0;
border-left: 0;
background: none;
cursor: pointer;
font-size: 16px;
color: #999;
}
}
/*** Package Entries ***/
.entry {
background: #F3F3F3;
.border-radius(4px);
padding: 12px 15px 15px;
h3 {
font-size: 24px;
margin: 0 0 10px;
}
.version {
font-size: 16px;
color: #666;
}
.author {
font-size: 16px;
float: right;
color: #666;
}
p {
margin: 0;
}
.readme {
font-size: 14px;
margin-top: 10px;
background: #FFF;
padding: 10px 12px;
.border-radius(3px);
}
}
/*** Search Results ***/
.state-search #all-packages {
display: none;
}