* Replace Base64 encoded SVGs with unencoded version. Replace partially URL encoded SVGs with unencoded version, removing extraneous LF character
348 lines
5.3 KiB
SCSS
348 lines
5.3 KiB
SCSS
.model
|
|
{
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
|
|
@include text_code();
|
|
|
|
.deprecated
|
|
{
|
|
span,
|
|
td
|
|
{
|
|
color: $model-deprecated-font-color !important;
|
|
}
|
|
|
|
> td:first-of-type {
|
|
text-decoration: line-through;
|
|
}
|
|
}
|
|
&-toggle
|
|
{
|
|
font-size: 10px;
|
|
|
|
position: relative;
|
|
top: 6px;
|
|
|
|
display: inline-block;
|
|
|
|
margin: auto .3em;
|
|
|
|
cursor: pointer;
|
|
transition: transform .15s ease-in;
|
|
transform: rotate(90deg);
|
|
transform-origin: 50% 50%;
|
|
|
|
&.collapsed
|
|
{
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
&:after
|
|
{
|
|
display: block;
|
|
|
|
width: 20px;
|
|
height: 20px;
|
|
|
|
content: '';
|
|
|
|
background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') center no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
}
|
|
|
|
&-jump-to-path
|
|
{
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
.view-line-link
|
|
{
|
|
position: absolute;
|
|
top: -.4em;
|
|
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&-title
|
|
{
|
|
position: relative;
|
|
|
|
&:hover .model-hint
|
|
{
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
&-hint
|
|
{
|
|
position: absolute;
|
|
top: -1.8em;
|
|
|
|
visibility: hidden;
|
|
|
|
padding: .1em .5em;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: $model-hint-font-color;
|
|
border-radius: 4px;
|
|
background: rgba($model-hint-background-color,.7);
|
|
}
|
|
|
|
p
|
|
{
|
|
margin: 0 0 1em 0;
|
|
}
|
|
|
|
.property
|
|
{
|
|
color: #999;
|
|
font-style: italic;
|
|
|
|
&.primitive
|
|
{
|
|
color: #6b6b6b;
|
|
}
|
|
}
|
|
}
|
|
|
|
table.model
|
|
{
|
|
tr
|
|
{
|
|
&.description
|
|
{
|
|
color: #666;
|
|
font-weight: normal;
|
|
|
|
td:first-child
|
|
{
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
&.property-row
|
|
{
|
|
&.required td:first-child
|
|
{
|
|
font-weight: bold;
|
|
}
|
|
|
|
td
|
|
{
|
|
vertical-align: top;
|
|
|
|
&:first-child
|
|
{
|
|
padding-right: 0.2em;
|
|
}
|
|
}
|
|
|
|
.star
|
|
{
|
|
color: red;
|
|
}
|
|
}
|
|
|
|
&.extension
|
|
{
|
|
color: #777;
|
|
|
|
td:last-child
|
|
{
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
section.models
|
|
{
|
|
margin: 30px 0;
|
|
|
|
border: 1px solid rgba($section-models-border-color, .3);
|
|
border-radius: 4px;
|
|
|
|
.pointer
|
|
{
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.is-open
|
|
{
|
|
padding: 0 0 20px;
|
|
h4
|
|
{
|
|
margin: 0 0 5px 0;
|
|
|
|
border-bottom: 1px solid rgba($section-models-isopen-h4-border-bottom-color, .3);
|
|
}
|
|
}
|
|
h4
|
|
{
|
|
font-size: 16px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
padding: 10px 20px 10px 10px;
|
|
|
|
cursor: pointer;
|
|
transition: all .2s;
|
|
|
|
@include text_headline($section-models-h4-font-color);
|
|
|
|
svg
|
|
{
|
|
transition: all .4s;
|
|
}
|
|
|
|
span
|
|
{
|
|
flex: 1;
|
|
}
|
|
|
|
&:hover
|
|
{
|
|
background: rgba($section-models-h4-background-color-hover,.02);
|
|
}
|
|
}
|
|
|
|
h5
|
|
{
|
|
font-size: 16px;
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
@include text_headline($section-models-h5-font-color);
|
|
}
|
|
|
|
.model-jump-to-path
|
|
{
|
|
position: relative;
|
|
top: 5px;
|
|
}
|
|
|
|
.model-container
|
|
{
|
|
margin: 0 20px 15px;
|
|
position: relative;
|
|
|
|
transition: all .5s;
|
|
|
|
border-radius: 4px;
|
|
background: rgba($section-models-model-container-background-color,.05);
|
|
|
|
&:hover
|
|
{
|
|
background: rgba($section-models-model-container-background-color,.07);
|
|
}
|
|
|
|
&:first-of-type
|
|
{
|
|
margin: 20px;
|
|
}
|
|
|
|
&:last-of-type
|
|
{
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.models-jump-to-path {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 5px;
|
|
opacity: 0.65;
|
|
}
|
|
}
|
|
|
|
.model-box
|
|
{
|
|
background: none;
|
|
}
|
|
}
|
|
|
|
|
|
.model-box
|
|
{
|
|
padding: 10px;
|
|
display: inline-block;
|
|
|
|
border-radius: 4px;
|
|
background: rgba($section-models-model-box-background-color,.1);
|
|
|
|
.model-jump-to-path
|
|
{
|
|
position: relative;
|
|
top: 4px;
|
|
}
|
|
|
|
&.deprecated
|
|
{
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
|
|
.model-title
|
|
{
|
|
font-size: 16px;
|
|
|
|
@include text_headline($section-models-model-title-font-color);
|
|
|
|
img
|
|
{
|
|
margin-left: 1em;
|
|
position: relative;
|
|
bottom: 0px;
|
|
}
|
|
}
|
|
|
|
.model-deprecated-warning
|
|
{
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
|
|
margin-right: 1em;
|
|
|
|
@include text_headline($_color-delete);
|
|
}
|
|
|
|
|
|
span
|
|
{
|
|
> span.model
|
|
{
|
|
.brace-close
|
|
{
|
|
padding: 0 0 0 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.prop-name
|
|
{
|
|
display: inline-block;
|
|
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.prop-type
|
|
{
|
|
color: $prop-type-font-color;
|
|
}
|
|
|
|
.prop-enum
|
|
{
|
|
display: block;
|
|
}
|
|
.prop-format
|
|
{
|
|
color: $prop-format-font-color;
|
|
}
|