#spr__meta-box { position: relative; z-index: 10; float: right; display: inline-block; max-width: 40%; min-height: @page-header_height; border: 1px solid transparent; margin-top: (@page_padding-top * -1); // reverse padding-top of .page container margin-right: -1px; padding-top: 1rem; @media @screen_max-md { position: relative; top: -1.1rem; right: auto; float: none; display: block; max-width: 100%; } .tab-container { display: table; @media @screen_max-md { display: block; width: 100%; } } .box-content { position: relative; height: 0; overflow-y: visible; } ul.meta-tabs { list-style: none; line-height: 160%; text-align: right; // right-aligned white-space: nowrap; margin: 0; padding: 0; @media @screen_max-md { margin-top: 3px; } &::before, &::after { content: ''; clear: both; display: table; box-sizing: border-box; } > li:first-child { > a { margin-left: 0; } } > li { position: relative; display: inline-block; vertical-align: bottom; margin: 0; @media @screen_max-md { margin-left: .2rem; } > a { cursor: pointer; position: relative; display: block; background-color: @color-site-bg; border: 1px solid @color-border-light; //border-bottom-color: @color-site-bg; border-radius: @fix_border-radius @fix_border-radius 0 0; color: @color-link; font-size: @font-size-small; line-height: 1.42857143; padding: .3em 1rem .1em; margin-left: 4px; transition: @transition color, @transition background-color, @transition border-color; @media @screen_max-xxlg { padding-top: .35em; } @media @screen_max-xlg { padding-top: .3em; } @media @screen_max-md { top: -1px; padding: .2em .3rem .1em; margin-left: 0; } @media @screen_max-xs { min-height: 30px; } * { cursor: pointer; color: inherit; } .prefix { position: relative; color: inherit; font-size: @font-size-small; transition: @transition color; } &:hover, &:focus, &:active { background-color: @color-content-bg; border-color: @color-link; text-decoration: none; } } &.active { z-index: 1; > a { cursor: default; background-color: @color-content-bg; border-color: @color-link; border-bottom-color: @color-content-bg; color: @color-link; } } } } .meta-content { @media @screen_min-xlg { margin-top: -1px; } @media @screen_max-xlg { margin-top: -1px; } @media @screen_max-md { clear: both; margin-top: -2px; } .tab-pane { position: absolute; top: 0; right: 0; display: none; width: 100%; background-color: @color-content-bg; border: 1px solid @color-link; border-radius: 0 0 @fix_border-radius @fix_border-radius; @media @screen_min-xs { min-width: 20em; } &.active { display: block; overflow: hidden; } > div { font-size: @font-size-small; padding: .8rem .5rem .5rem; * { font-size: inherit; } p { padding-left: 1em; } ul { list-style: none; padding-left: 0; li { margin-left: 0; padding-left: 1em; } } } &#spr__tab-tags { > div { ul { li { padding-left: 0; } } } } #dw__toc { width: auto; float: none; margin: 0; padding: .6rem .5rem .5rem .8rem; background: transparent; border: 0 none; h3 { display: none; } > div { padding: 0; } > div ul.toc { font-size: @font-size-small; padding-left: .5em; a { font-size: @font-size-small; display: inline-block; padding-left: 10px; position: relative; } div.li { position: relative; padding: .15em 0; &::before { position: absolute; top: .6em; content: ""; display: inline-block; width: 4px; height: 4px; background-color: #ccc; overflow: hidden; left: 0; } } } > div > ul.toc { padding: 0; } } } } + .msg-area + a { clear: right; margin-top: 20px; } }