resources/web/style/openapi.pcss (163 lines of code) (raw):
#guide {
/*
* The following styles were defined in the generator but are not used here
*
* body {
* font-family: Trebuchet MS, sans-serif;
* font-size: 15px;
* color: #444;
* margin-right: 24px;
* }
*
* h1 {
* font-size: 25px;
* }
*
* h2 {
* font-size: 20px;
* }
* h3 {
* font-size: 16px;
* font-weight: bold;
* }
*
* hr {
* height: 1px;
* border: 0;
* color: #ddd;
* background-color: #ddd;
* }
*
* code {
* white-space: pre;
* }
* pre {
* padding: 10px;
* margin-bottom: 2px;
* }
* pre.get {
* background-color: #0f6ab4;
* }
*
* pre.post {
* background-color: #10a54a;
* }
*
* pre.put {
* background-color: #c5862b;
* }
*
* pre.delete {
* background-color: #a41e22;
* }
* .huge {
* color: #fff;
* }
*/
.openapi {
.app-desc {
clear: both;
margin-left: 20px;
}
.param-name {
width: 100%;
}
.license-info {
margin-left: 20px;
}
.license-url {
margin-left: 20px;
}
.model {
margin: 0 0 0px 20px;
}
.method {
margin-left: 20px;
}
.method-notes {
margin: 10px 0 20px 0;
font-size: 90%;
color: #555;
}
.http-method {
text-transform: uppercase;
}
pre.example {
background-color: #f3f3f3;
padding: 10px;
border: 1px solid #ddd;
}
.nickname {
font-weight: bold;
}
.method-path {
pre {
font-size: 22px;
}
/*
* font-size: 1.5em;
* background-color: #0f6ab4;
*/
}
.up {
float: right;
font-size: 15px;
}
.parameter {
width: 500px;
}
.param {
width: 500px;
padding: 10px 0 0 20px;
font-weight: bold;
}
.param-desc {
width: 700px;
padding: 0 0 0 20px;
color: #777;
}
.param-type {
font-style: italic;
}
.param-enum-header {
width: 700px;
padding: 0 0 0 60px;
color: #777;
font-weight: bold;
}
.param-enum {
width: 700px;
padding: 0 0 0 80px;
color: #777;
font-style: italic;
}
.field-label {
padding: 0;
margin: 0;
clear: both;
}
.field-items {
padding: 0 0 15px 0;
margin-bottom: 15px;
}
.return-type {
clear: both;
padding-bottom: 10px;
}
.param-header {
font-weight: bold;
}
.method-tags {
text-align: right;
}
.method-tag {
background: none repeat scroll 0% 0% #24a600;
border-radius: 3px;
padding: 2px 10px;
margin: 2px;
color: #fff;
display: inline-block;
text-decoration: none;
}
}
}