| /* |
| * 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. |
| */ |
| .secondary-tabs { |
| margin: 0; |
| list-style-type: none; |
| padding: 6px 0 0; |
| display: none; |
| text-align: center; |
| |
| @media (min-width: @screen-sm-min) { |
| display: block; |
| text-align: right; |
| flex: 1 0 auto; |
| } |
| |
| li { |
| display: inline-block; |
| |
| &::after { |
| &:extend(.tabs li::after); |
| } |
| |
| &:last-child { |
| margin-right: 0; |
| |
| &:extend(.tabs li:last-child all); |
| } |
| |
| a { |
| &:hover { |
| &:extend(.tabs li a:hover); |
| |
| strong { |
| border-bottom-color: transparent; |
| } |
| } |
| } |
| } |
| |
| .tab { |
| &:extend(.tabs li a); |
| |
| &::before { |
| .icon(); |
| width: 18px; |
| height: 18px; |
| display: inline-block; |
| font-size: 12px; |
| text-align: center; |
| |
| @media (min-width: @screen-md-min) { |
| padding-right: 6px; |
| } |
| } |
| |
| &.icon-heart::before { .icon-heart-outlined(); } |
| &.icon-star::before { .icon-star(); } |
| &.icon-bug::before { .icon-bug(); } |
| &.icon-download::before { .icon-download(); } |
| |
| strong { |
| font-weight: normal; |
| border-bottom: 1px solid #8fafd7; |
| } |
| |
| span { |
| display: none; |
| |
| @media (min-width: @screen-md-min) { |
| display: inline; |
| } |
| } |
| } |
| } |