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

171 lines
2.2 KiB
Text
Raw Normal View History

2014-05-07 13:08:29 -05:00
@import "../../../node_modules/helpers.less/helpers.less";
2014-05-07 14:56:48 -05:00
@import "./markdown.less";
@import "./highlight.js.less";
2014-05-07 16:51:03 -05:00
@import "./fontello.less";
2014-05-07 13:08:29 -05:00
/*** Main Styles ***/
2014-05-07 13:26:44 -05:00
body {
margin: 0;
font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Sans-Serif;
}
2014-05-07 16:51:03 -05:00
a, a:visited {
text-decoration: none;
color: #0D5AFF;
}
a:hover {
text-decoration: underline;
}
2014-05-07 13:08:29 -05:00
h1 {
text-align: center;
a, a:visited {
color: black;
}
}
2014-05-07 13:26:44 -05:00
.center {
text-align: center;
}
2014-05-07 13:08:29 -05:00
2014-05-07 13:26:44 -05: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 13:08:29 -05:00
2014-05-07 13:36:48 -05:00
/*** Search Box ***/
#search-form {
float: right;
2014-05-07 14:56:48 -05:00
2014-05-07 16:51:03 -05:00
@media (max-width: 540px) {
float: none;
margin-top: 6px;
}
2014-05-07 14:56:48 -05:00
@height: 30px;
input, button {
margin: 0;
2014-05-07 15:36:03 -05:00
vertical-align: top;
2014-05-07 15:00:36 -05:00
border: 1px solid #CCC;
2014-05-07 16:51:03 -05:00
&:focus {
outline: none;
}
2014-05-07 14:56:48 -05:00
}
input {
width: 200px;
height: @height;
.border-box;
padding: 0 5px;
font-size: 16px;
border-right: 0;
}
button {
height: @height;
width: @height;
margin: 0;
2014-05-07 15:00:36 -05:00
border-left: 0;
2014-05-07 16:51:03 -05:00
background: #FFF;
2014-05-07 15:00:36 -05:00
cursor: pointer;
font-size: 16px;
color: #999;
2014-05-07 14:56:48 -05:00
}
2014-05-07 13:36:48 -05:00
}
2014-05-07 15:36:03 -05:00
/*** Heading ***/
h2 {
border-bottom: 6px solid #424242;
padding-bottom: 10px;
margin-top: 40px;
}
2014-05-07 13:08:29 -05:00
/*** Package Entries ***/
.entry {
2014-05-07 14:56:48 -05:00
background: #F3F3F3;
2014-05-07 14:28:10 -05:00
.border-radius(4px);
2014-05-07 14:56:48 -05:00
padding: 12px 15px 15px;
2014-05-07 16:51:03 -05:00
.transition(height .3s);
overflow: hidden;
2014-05-07 13:36:48 -05:00
h3 {
font-size: 24px;
margin: 0 0 10px;
}
2014-05-07 16:51:03 -05:00
.name:hover {
text-decoration: none;
}
.name:before {
margin: 0;
margin-left: -10px;
.transformTransition(.15s);
}
&.open .name:before {
.rotate(90deg);
}
2014-05-07 13:36:48 -05:00
.version {
font-size: 16px;
color: #666;
}
.author {
font-size: 16px;
float: right;
2014-05-07 14:56:48 -05:00
color: #666;
2014-05-07 13:36:48 -05:00
}
p {
margin: 0;
}
2014-05-07 14:56:48 -05:00
.readme {
font-size: 14px;
margin-top: 10px;
background: #FFF;
padding: 10px 12px;
.border-radius(3px);
}
2014-05-07 13:08:29 -05:00
}
/*** Search Results ***/
2014-05-07 13:36:48 -05:00
.state-search #all-packages {
2014-05-07 13:08:29 -05:00
display: none;
2014-05-07 15:31:25 -05:00
}
.no-results {
text-align: center;
margin: 50px 0;
color: #888;
big {
font-size: 38px;
2014-05-07 15:36:03 -05:00
margin-bottom: 8px;
2014-05-07 15:31:25 -05:00
}
code {
font-size: 1.2em;
}
2014-05-07 11:27:51 -05:00
}