| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| .table-of-contents { |
| list-style-type: none; |
| padding: 0; |
| margin: 6px 0 0; |
| font-size: 12px; |
| |
| @media (min-width: @screen-sm-min) { |
| margin-top: 12px; |
| font-size: 13px; |
| } |
| |
| .current { |
| &::before { |
| color: @link-hover; |
| } |
| |
| > a { |
| &:first-child { |
| color: @link-hover; |
| } |
| } |
| } |
| |
| ul { |
| list-style-type: none; |
| } |
| } |
| |
| @section-spacing: 12px; |
| |
| .section { |
| border-bottom: 1px solid @border-gray; |
| |
| margin-bottom: @section-spacing; |
| padding-bottom: @section-spacing; |
| |
| @media (min-width: @screen-sm-min) { |
| margin-bottom: @section-spacing * 2; |
| padding-bottom: @section-spacing * 2; |
| } |
| |
| &.last { |
| border-bottom: 0; |
| margin-bottom: 0; |
| |
| .depth-0-link { |
| margin-bottom: 0; |
| } |
| } |
| } |
| |
| .depth-0-link { |
| color: @link-color; |
| text-transform: uppercase; |
| font-weight: 400; |
| display: block; |
| line-height: 1; |
| |
| margin-bottom: @section-spacing; |
| |
| @media (min-width: @screen-sm-min) { |
| margin-bottom: @section-spacing * 2; |
| } |
| |
| a&:hover { |
| color: @link-hover; |
| } |
| } |
| |
| .depth-1 { |
| margin: 0; |
| padding: 0; |
| |
| li { |
| padding-left: 14px; |
| position: relative; |
| |
| &::before { |
| .icon(); |
| .icon-dot-single(); |
| width: 14px; |
| height: 14px; |
| display: block; |
| position: absolute; |
| left: -3px; |
| top: 2px; |
| font-size: 14px; |
| line-height: 1; |
| } |
| |
| &.has-children { |
| &::before { |
| .icon-add(); |
| font-size: 13px; |
| cursor: pointer; |
| } |
| |
| &.open { |
| &::before { |
| .icon-remove(); |
| font-size: 13px; |
| } |
| } |
| |
| .last { |
| &::before { |
| .icon-dot-single(); |
| top: 3px; |
| } |
| } |
| } |
| } |
| |
| a { |
| display: block; |
| color: #444; |
| |
| &:hover { |
| color: #888; |
| } |
| } |
| } |
| |
| .depth-2 { |
| margin: 0; |
| padding: 0; |
| } |
| |
| .closed { |
| ul { |
| display: none; |
| } |
| } |
| |
| .open { |
| ul { |
| display: block; |
| } |
| } |
| |
| .side-toc-logo img { |
| width: 100% |
| } |