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

200 lines
2.6 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:26:44 -05:00
.center {
text-align: center;
}
2014-05-07 13:08:29 -05:00
2014-05-08 15:41:59 -05:00
@contentWidth: 880px;
@headerPadding: 10px;
header {
position: fixed;
width: 100%;
background: #FFF;
top: 0;
2014-05-08 17:58:13 -05:00
z-index: 1;
2014-05-08 15:41:59 -05:00
#header-inner {
max-width: @contentWidth + @headerPadding*2;
margin: 0 auto;
}
}
2014-05-07 13:26:44 -05:00
#content {
2014-05-08 15:41:59 -05:00
max-width: @contentWidth;
2014-05-07 13:26:44 -05:00
margin: 0 auto;
padding: 20px;
}
2014-05-08 17:58:13 -05:00
#logo {
2014-05-09 09:19:42 -05:00
margin: 20px auto 0;
2014-05-08 17:58:13 -05:00
width: 400px;
height: 200px;
display: block;
}
h1 {
text-align: center;
a, a:visited {
color: black;
}
}
2014-05-07 13:26:44 -05:00
/*** Setup ***/
#setup {
background: #DB4141;
padding: 15px 20px;
display: inline-block;
.border-radius(4px);
text-align: left;
color: #FFF;
2014-05-09 09:19:42 -05:00
margin-top: 20px;
2014-05-07 13:26:44 -05:00
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;
2014-05-08 15:41:59 -05:00
margin: 40px 0 0;
padding: 0 @headerPadding 10px;
2014-05-07 15:36:03 -05:00
}
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;
margin-bottom: 12px;
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;
2014-05-08 14:47:24 -05:00
.transformTransition(.2s);
2014-05-07 16:51:03 -05:00
}
&.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
}
2014-05-08 14:47:24 -05:00
.search-ajax {
display: block;
margin: 50px auto;
}
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
}