@import '../../common/styles/variables'; .param-list-header { border-bottom: 1px solid #999; font-size: 18px; padding: 0.2em 0; margin: 0.5em 0; color: #253137; } .params-wrap { display: table; } .param-name { display: table-cell; padding: 0 5px; font-weight: bold; } .param-info { display: table-cell; width: 100%; padding: 0 5px; } .param { display: table-row; } .param-required { color: red; font-weight: bold; font-size: 12px; } .param-description { padding: 0.5em 0; border-bottom: 1px solid #999; } .param-type { text-transform: capitalize; color: #999; font-weight: bold; font-size: 12px; } .param-name { border-left: 1px solid $tree-lines-color; white-space: nowrap; position: relative; } /* tree */ .param-name > span:before { content: ""; display: inline-block; width: 8px; height: 8px; background-color: $tree-lines-color; margin: 0 5px; top: -1px; position: relative; } .param-name > span:after { content: ""; position: absolute; border-top: 1px solid $tree-lines-color; width: 10px; left: 0; top: 10px; } .param:first-of-type .param-name:before { content: ""; display: block; position: absolute; left: -2px; width: 2px; background-color: white; height: 10px; } .param:last-of-type .param-name:after { content: ""; display: block; position: absolute; left: -2px; width: 2px; top: 11px; background-color: white; bottom: 0; }