blob: 229bb37770204a4591d24c0b1b018f6a45fcbbc6 [file]
/* // 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. */
#root {
min-width: 100vw;
height: 100%;
min-height: 100vh;
background-color: white;
}
.ant-layout {
background-color: white !important;
}
ul,ol,li {
list-style: none;
padding: 0;
margin: 0;
}
h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}
.ant-pro-page-container-children-content {
margin: 16px 20px 0;
}
.editable-cell {
position: relative;
}
.editable-cell-value-wrap {
padding: 5px 12px;
cursor: pointer;
}
.editable-row:hover .editable-cell-value-wrap {
padding: 4px 11px;
border: 1px solid #d9d9d9;
border-radius: 2px;
}
[data-theme='dark'] .editable-row:hover .editable-cell-value-wrap {
border: 1px solid #434343;
}
[data-theme='dark'] .ant-menu-dark .ant-menu-sub, .ant-menu.ant-menu-dark, .ant-menu.ant-menu-dark .ant-menu-sub {
background: #001528 !important;
}
.ant-layout-sider {
position: fixed !important;
background-color: #001528 !important;
}
.ant-layout-sider-collapsed {
width: 64px !important;
min-width: 64px !important;
flex: 0 0 64px !important;
}
.ant-menu-inline-collapsed {
width: 100% !important;
}
.ant-layout-sider-collapsed .ant-layout-sider-trigger {
width: 64px !important;
}
.ant-layout-sider-trigger {
display: flex;
justify-content: center;
align-items: center;
color: white;
text-align: center;
padding: 12px 0;
cursor: pointer;
position: fixed;
bottom: 0;
background-color: #002140 !important;
}
.ant-menu-item {
height: 48px !important;
}
.ant-layout-sider-collapsed .ant-menu-item {
height: 48px !important;
margin: 8px !important;
border-radius: 2px;
}
.ant-layout-sider .ant-menu-item:first-child {
height: 60px !important;
}
.ant-layout-sider-collapsed .ant-menu-item:first-child {
width: 100% !important;
margin: 0 !important;
border-radius: 0 !important;
}
.ant-layout-sider-collapsed .ant-menu-item-icon {
line-height: 48px !important;
margin-left: -6.5px !important;
margin-top: 2px !important;
}