verdaccio/lib/GUI/css/main.less

119 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-05-07 20:08:29 +02:00
@import "../../../node_modules/helpers.less/helpers.less";
2014-05-07 21:56:48 +02:00
@import "./markdown.less";
@import "./highlight.js.less";
2014-05-07 20:08:29 +02:00
/*** Main Styles ***/
2014-05-07 20:26:44 +02:00
body {
margin: 0;
font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Sans-Serif;
}
2014-05-07 20:08:29 +02:00
h1 {
text-align: center;
a, a:visited {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
}
2014-05-07 20:26:44 +02:00
.center {
text-align: center;
}
2014-05-07 20:08:29 +02:00
2014-05-07 20:26:44 +02:00
#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;
}
}
2014-05-07 20:08:29 +02:00
2014-05-07 20:36:48 +02:00
/*** Search Box ***/
#search-form {
float: right;
2014-05-07 21:56:48 +02:00
@height: 30px;
input, button {
margin: 0;
vertical-align: middle;
}
input {
width: 200px;
height: @height;
.border-box;
padding: 0 5px;
font-size: 16px;
border: 1px solid #444;
border-right: 0;
&:focus {
outline: none;
}
}
button {
height: @height;
width: @height;
margin: 0;
border: 0;
}
2014-05-07 20:36:48 +02:00
}
2014-05-07 20:08:29 +02:00
/*** Package Entries ***/
.entry {
2014-05-07 21:56:48 +02:00
background: #F3F3F3;
2014-05-07 21:28:10 +02:00
.border-radius(4px);
2014-05-07 21:56:48 +02:00
padding: 12px 15px 15px;
2014-05-07 20:36:48 +02:00
h3 {
font-size: 24px;
margin: 0 0 10px;
}
.version {
font-size: 16px;
color: #666;
}
.author {
font-size: 16px;
float: right;
2014-05-07 21:56:48 +02:00
color: #666;
2014-05-07 20:36:48 +02:00
}
p {
margin: 0;
}
2014-05-07 21:56:48 +02:00
.readme {
font-size: 14px;
margin-top: 10px;
background: #FFF;
padding: 10px 12px;
.border-radius(3px);
}
2014-05-07 20:08:29 +02:00
}
/*** Search Results ***/
2014-05-07 20:36:48 +02:00
.state-search #all-packages {
2014-05-07 20:08:29 +02:00
display: none;
2014-05-07 18:27:51 +02:00
}