2016-05-06 00:48:41 +03:00
|
|
|
@import '../../shared/styles/variables';
|
2016-03-01 21:08:02 +03:00
|
|
|
|
2016-03-28 00:54:43 +03:00
|
|
|
$hint-color: #999999;
|
|
|
|
|
2016-11-23 02:23:32 +03:00
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.param-list-header {
|
2016-03-02 22:48:55 +03:00
|
|
|
border-bottom: 1px solid rgba($text-color, .3);
|
2016-11-23 02:23:32 +03:00
|
|
|
// padding: 0.2em 0;
|
|
|
|
margin: 3em 0 1em 0;
|
2016-03-02 22:48:55 +03:00
|
|
|
color: rgba($text-color, .5);
|
2016-01-23 01:17:36 +03:00
|
|
|
font-weight: normal;
|
2016-03-01 21:08:02 +03:00
|
|
|
text-transform: uppercase;
|
2015-10-10 16:01:41 +03:00
|
|
|
}
|
|
|
|
|
2016-01-23 18:49:44 +03:00
|
|
|
@import '../JsonSchema/json-schema-common';
|
2015-11-22 21:04:18 +03:00
|
|
|
|
2016-02-23 14:05:59 +03:00
|
|
|
header.paramType {
|
|
|
|
margin: 10px 0;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2015-11-22 21:04:18 +03:00
|
|
|
|
2016-11-28 17:15:09 +03:00
|
|
|
.param-array-format {
|
|
|
|
color: black;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2015-11-22 21:04:18 +03:00
|
|
|
// paramters can't be multilevel so table representation works for it without javascript
|
2015-11-17 02:12:42 +03:00
|
|
|
.params-wrap {
|
|
|
|
display: table;
|
2016-02-23 14:05:59 +03:00
|
|
|
width: 100%;
|
2015-10-18 20:16:40 +03:00
|
|
|
}
|
|
|
|
|
2015-11-17 02:12:42 +03:00
|
|
|
.param-name {
|
|
|
|
display: table-cell;
|
2015-11-22 21:04:18 +03:00
|
|
|
vertical-align: top;
|
2015-10-22 21:50:26 +03:00
|
|
|
}
|
|
|
|
|
2015-11-17 02:12:42 +03:00
|
|
|
.param-info {
|
|
|
|
display: table-cell;
|
2016-02-23 14:05:59 +03:00
|
|
|
width: 100%;
|
2015-10-22 21:50:26 +03:00
|
|
|
}
|
|
|
|
|
2015-11-17 02:12:42 +03:00
|
|
|
.param {
|
|
|
|
display: table-row;
|
2015-10-18 20:16:40 +03:00
|
|
|
}
|
|
|
|
|
2016-02-07 17:52:59 +03:00
|
|
|
.param:last-of-type > .param-name {
|
|
|
|
border-left: 0;
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
border-left: $line-border;
|
|
|
|
height: ($param-name-height/2) + $cell-padding + $lines-width;
|
|
|
|
background-color: white;
|
|
|
|
top: 0;
|
|
|
|
}
|
2015-11-17 02:12:42 +03:00
|
|
|
}
|
|
|
|
|
2016-02-07 17:52:59 +03:00
|
|
|
.param:first-of-type .param-name:after {
|
2015-11-17 02:12:42 +03:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2015-11-22 21:04:18 +03:00
|
|
|
left: -$lines-width;
|
|
|
|
border-left: $line-border-erase;
|
2016-02-07 17:52:59 +03:00
|
|
|
height: ($param-name-height/2) + $cell-padding;
|
2015-11-17 02:12:42 +03:00
|
|
|
background-color: white;
|
2016-02-07 17:52:59 +03:00
|
|
|
top: 0;
|
2015-10-17 21:12:46 +03:00
|
|
|
}
|
2016-03-28 00:54:43 +03:00
|
|
|
|
|
|
|
[data-hint] {
|
|
|
|
width: 1.2em;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: $hint-color;
|
|
|
|
line-height: 1.2;
|
|
|
|
text-transform: none;
|
|
|
|
cursor: help;
|
|
|
|
border: 1px solid $hint-color;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 520px) {
|
|
|
|
[data-hint] {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-hint]:after {
|
|
|
|
margin-left: 12px;
|
|
|
|
transform: translateX(-100%) translateY(-8px);
|
|
|
|
-moz-transform: translateX(-100%) translateY(-8px);
|
|
|
|
-webkit-transform: translateX(-100%) translateY(-8px);
|
|
|
|
}
|
|
|
|
}
|