| /* 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. */ |
| |
| .install-selector { |
| max-width: 800px; |
| margin: auto; |
| margin-bottom: 40px; |
| padding-bottom: 40px; |
| padding-top: 40px; |
| |
| .highlight { |
| margin-left: 20px; |
| margin-top: 20px; |
| margin-bottom: 20px !important; |
| } |
| } |
| |
| |
| .install-content, .install-widget { |
| visibility: hidden; |
| } |
| |
| .get-started-from-source { |
| background-color: $grey-color-light; |
| padding-top: 50px; |
| padding-bottom: 50px; |
| } |
| |
| #lang-demo ul { |
| margin-top: 20px; |
| margin-bottom: 15px; |
| } |
| |
| .option-title { |
| width: 100px; |
| float: left; |
| clear: none; |
| text-align: right; |
| font-size: 15px; |
| padding-top: 7px; |
| padding-bottom: 8px; |
| padding-right: 10px; |
| font-weight: bold; |
| } |
| |
| .option-row { |
| padding-bottom: 8px; |
| } |
| |
| .install-inst { |
| } |
| |
| #setup-options { |
| margin-top: 15px; |
| margin-bottom: 15px; |
| margin-left: 30px; |
| } |
| |
| /* |
| * Drop down |
| */ |
| |
| .dropbtn { |
| background-color: $color-mxnet; |
| color: white; |
| font-size: $base-font-size; |
| margin: 0px; |
| border: none; |
| min-width: 100%; |
| padding: 10px; |
| } |
| |
| li.opt.versions { |
| padding: 10px; |
| &:hover { |
| background-color: $color-mxnet; |
| |
| & a { |
| color: whitesmoke; |
| } |
| } |
| } |
| |
| .dropdown { |
| position: relative; |
| display: inline-block; |
| margin: 5px; |
| font-size: $base-font-size; |
| |
| } |
| |
| ul.dropdown-content { |
| display: none; |
| position: absolute; |
| left: 40%; |
| text-align: center; |
| background-color: whitesmoke; |
| box-shadow: none; |
| z-index: 1; |
| margin: 0px; |
| padding: 0px; |
| list-style-type: none; |
| } |
| |
| ul.version-dropdown { |
| @extend ul.dropdown-content; |
| left: 0px; |
| width: 100%; |
| } |
| |
| .current-version.dropbtn.btn:focus{ |
| outline: 0; |
| } |
| |
| .current-version .dropdown-caret { |
| position: relative; |
| top: 4px; |
| } |
| |
| .version-dropdown .active a { |
| color: $grey-color-light; |
| } |
| |
| .version-dropdown a, |
| .dropdown-content a { |
| color: $grey-color-dark; |
| text-decoration: none; |
| display: block; |
| padding-left: 5px; |
| padding-right: 5px; |
| font-size: $base-font-size; |
| |
| &:hover { |
| color: orangered; |
| } |
| } |
| |
| .dropdown-content .active a { |
| color: $grey-color-light; |
| } |
| |
| .dropdown:hover .dropdown-content { |
| display: block; |
| } |
| |
| .dropdown:hover .dropbtn { |
| background-color: $color-mxnet; |
| } |
| |
| /* |
| * selector |
| */ |
| |
| .col-3.install-left { |
| margin: auto; |
| |
| span { |
| padding-left: 20px; |
| border-left: 2px $color-mxnet dashed; |
| @media screen and (max-width: $on-palm) { |
| border: none; |
| } |
| } |
| |
| } |
| |
| .col-9.install-right { |
| margin: auto; |
| } |
| |
| .install-selector { |
| .active { |
| background-color: $color-mxnet !important; |
| color: $grey-color-light !important; |
| } |
| } |
| |
| .btn-group.opt-group { |
| margin-top: 5px; |
| margin-bottom: 5px; |
| display: flex; |
| justify-content: space-between; |
| |
| |
| .opt { |
| padding-bottom: 10px; |
| padding-top: 10px; |
| font-size: $base-font-size; |
| width: 100%; |
| border: none; |
| color: $dark-gray; |
| margin-left: 5px; |
| margin-right: 5px; |
| background-color: $grey-color-light; |
| |
| @media screen and (max-width: $on-palm) { |
| font-size: 11px; |
| margin-left: 2px; |
| margin-right: 2px; |
| } |
| |
| &:hover { |
| background-color: $color-mxnet; |
| color: $grey-color-light; |
| } |
| |
| &:focus { |
| outline: 0; |
| } |
| |
| } |
| |
| |
| } |