verdaccio/lib/GUI/css/main.less

177 lines
2.3 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 23:51:03 +02:00
@import "./fontello.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 23:51:03 +02:00
a, a:visited {
text-decoration: none;
color: #0D5AFF;
}
a:hover {
text-decoration: underline;
}
2014-05-07 20:08:29 +02:00
h1 {
text-align: center;
a, a:visited {
color: black;
}
}
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
2014-05-07 23:51:03 +02:00
@media (max-width: 540px) {
float: none;
margin-top: 6px;
}
2014-05-07 21:56:48 +02:00
@height: 30px;
input, button {
margin: 0;
2014-05-07 22:36:03 +02:00
vertical-align: top;
2014-05-07 22:00:36 +02:00
border: 1px solid #CCC;
2014-05-07 23:51:03 +02:00
&:focus {
outline: none;
}
2014-05-07 21:56:48 +02: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 22:00:36 +02:00
border-left: 0;
2014-05-07 23:51:03 +02:00
background: #FFF;
2014-05-07 22:00:36 +02:00
cursor: pointer;
font-size: 16px;
color: #999;
2014-05-07 21:56:48 +02:00
}
2014-05-07 20:36:48 +02:00
}
2014-05-07 22:36:03 +02:00
/*** Heading ***/
h2 {
border-bottom: 6px solid #424242;
padding-bottom: 10px;
margin-top: 40px;
}
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 23:51:03 +02:00
.transition(height .3s);
overflow: hidden;
margin-bottom: 12px;
2014-05-07 20:36:48 +02:00
h3 {
font-size: 24px;
margin: 0 0 10px;
}
2014-05-07 23:51:03 +02:00
.name:hover {
text-decoration: none;
}
.name:before {
margin: 0;
margin-left: -10px;
2014-05-08 21:47:24 +02:00
.transformTransition(.2s);
2014-05-07 23:51:03 +02:00
}
&.open .name:before {
.rotate(90deg);
}
2014-05-07 20:36:48 +02:00
.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 22:31:25 +02:00
}
2014-05-08 21:47:24 +02:00
.search-ajax {
display: block;
margin: 50px auto;
}
2014-05-07 22:31:25 +02:00
.no-results {
text-align: center;
margin: 50px 0;
color: #888;
big {
font-size: 38px;
2014-05-07 22:36:03 +02:00
margin-bottom: 8px;
2014-05-07 22:31:25 +02:00
}
code {
font-size: 1.2em;
}
2014-05-07 18:27:51 +02:00
}