| /* |
| * 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. |
| */ |
| @import "theme.less"; |
| |
| .trigger { |
| padding: 0 24px; |
| font-size: 18px; |
| line-height: 64px; |
| cursor: pointer; |
| transition: color 0.3s; |
| } |
| |
| .trigger:hover { |
| color: @primary-color; |
| } |
| |
| .logo { |
| position: relative; |
| overflow: hidden; |
| height: 64px; |
| padding-left: 24px; |
| background: @layout-header-background; |
| line-height: 64px; |
| transition: all 0.3s ease 0s; |
| |
| a { |
| line-height: 64px; |
| |
| h1 { |
| display: inline-block; |
| vertical-align: middle; |
| margin: 0 0 0 12px; |
| color: #fff; |
| font-weight: 600; |
| font-size: 14px; |
| font-family: "Myriad Pro", "Helvetica Neue", Arial, Helvetica, sans-serif; |
| } |
| |
| img { |
| position: relative; |
| top: -4px; |
| display: inline-block; |
| vertical-align: middle; |
| width: 32px; |
| height: 32px; |
| } |
| } |
| } |
| |
| nz-layout { |
| overflow: hidden; |
| min-height: 100vh; |
| background: darken(@component-background, 5%); |
| } |
| |
| nz-sider { |
| position: relative; |
| z-index: 10; |
| min-height: 100vh; |
| box-shadow: rgba(0, 21, 41, 0.35) 2px 0 6px; |
| } |
| |
| nz-header { |
| position: relative; |
| flex: 0 0 auto; |
| overflow: hidden; |
| padding: 0 12px 0 0; |
| border-bottom: 1px solid @border-color-split; |
| background: @component-background; |
| box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); |
| |
| nz-badge { |
| vertical-align: middle; |
| margin-left: 12px; |
| cursor: pointer; |
| |
| ::ng-deep { |
| .ant-badge-count { |
| background: @primary-color; |
| } |
| } |
| |
| &.normal { |
| cursor: default; |
| |
| ::ng-deep { |
| .ant-badge-count { |
| background: @text-color; |
| } |
| } |
| } |
| } |
| |
| .right { |
| float: right; |
| height: 100%; |
| |
| .text { |
| display: inline-block; |
| height: 100%; |
| padding: 0 12px; |
| color: @text-color; |
| } |
| |
| .action { |
| transition: all 0.3s; |
| |
| &:hover { |
| background: @background-color-light; |
| } |
| |
| i { |
| vertical-align: middle; |
| font-size: 16px; |
| } |
| } |
| |
| .version { |
| cursor: default; |
| } |
| } |
| } |
| |
| nz-content { |
| flex: 1 1 auto; |
| height: 100%; |
| margin: 24px; |
| } |
| |
| .menu { |
| padding: 16px 0; |
| } |
| |
| nz-alert { |
| margin-bottom: 12px; |
| } |
| |
| .offline { |
| color: @error-color; |
| animation: opacity 3s ease-in infinite alternate; |
| } |
| |
| @keyframes opacity { |
| 0% { |
| opacity: 1; |
| } |
| |
| 50% { |
| opacity: 0.2; |
| } |
| |
| 100% { |
| opacity: 1; |
| } |
| } |