openFuyao is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN 'AS IS' BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
@import '@/styles/common.less';
* {
box-sizing: border-box;
}
body,
html {
overflow: hidden;
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
height: 100vh;
background:@page-background-color;
}
.content{
background: @page-background-color;
}
.@{container-prefix}-table-cell{
a{
color: @a-link-color;
}
a:hover{
color: @a-link-hover-color;
}
}
p{
margin:0;
}
子路由容器样式
**/
.child_content{
background: @page-background-color;
max-height: calc(100vh - 64px);
overflow-y: auto;
.dashboard_content{
min-height: calc(100vh - 54px - 52px - 86px);
overflow-y: auto;
}
}
.cluster{
.child_content{
background: @page-background-color;
overflow-y: auto;
max-height: calc(100vh - 64px);
.dashboard_content{
min-height: calc(100vh - 64px - 54px - 52px - 86px);
overflow-y: auto;
}
}
}
.page_header{
padding: 16px 0 16px 32px;
background: @page-container-color;
box-shadow: inset 0px -1px 0px rgba(229,229,229,1);
.@{container-prefix}-breadcrumb{
padding: 0 !important;
}
}
.page_header_noPadding{
padding: 16px 0 16px 0px;
background: @page-container-color;
box-shadow: inset 0px -1px 0px rgba(229,229,229,1);
}
.page_content{
margin: 20px 32px;
background: @page-container-color;
}
.common_icon{
width: 20px;
height: 20px;
}
.common_antd_icon{
svg{
width: 20px;
height: 20px;
}
}
.page{
padding: 20px 0px 17px 0;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
margin: 0 !important;
.@{container-prefix}-pagination-item,.@{container-prefix}-pagination-next,.@{container-prefix}-pagination-prev,.@{container-prefix}-select-selector{
border-radius: 6px;
color: rgba(0, 0, 0, 0.88);
background: #fff;
border: 1px solid @page-border-color;
a{
color: rgba(0, 0, 0, 0.88);
}
}
.@{container-prefix}-pagination-options-quick-jumper{
input{
border-radius: 6px;
background: #fff;
border: 1px solid @page-border-color;
}
input:hover{
border: 1px solid @border-focus-color !important;
}
}
.@{container-prefix}-pagination-item:hover{
border: 1px solid @border-focus-color;
background-color: #fff !important;
}
.@{container-prefix}-select:hover{
.@{container-prefix}-select-selector{
border: 1px solid @border-focus-color !important;
background-color: #fff !important;
}
}
.@{container-prefix}-pagination-next:hover,.@{container-prefix}-pagination-prev:hover{
border: 1px solid @border-focus-color;
button{
background-color: #fff !important;
}
}
.@{container-prefix}-pagination-item-active{
background: @button-normal-color !important;
border: 1px solid @button-normal-color !important;
a{
color: #fff;
}
}
.@{container-prefix}-pagination-item-active:hover{
a{
color:@a-link-color;
}
}
}
.cluster_primary_btn{
height: 32px;
padding: 6px 18px;
background-color: @button-normal-color;
color: #fff;
border-radius: 6px;
border: @button-normal-color;
}
.cluster_primary_btn:hover{
background-color: @button-hover-color !important;
color: #fff !important;
box-shadow: none !important;
}
.cluster_primary_btn:focus{
color: #fff !important;
background-color: @button-click-color !important;
border-color: @button-click-color !important;
box-shadow: none !important;
}
.@{container-prefix}-menu-item-selected{
color: @a-link-color !important;
background-color: #CFE7FF !important;
}
.@{container-prefix}-menu-submenu-selected{
.@{container-prefix}-menu-submenu-title{
color: @a-link-color !important;
}
.@{container-prefix}-menu-submenu-title:active{
background-color: #CFE7FF !important;
}
}
.@{container-prefix}-breadcrumb{
background-color: @page-container-color;
padding: 16px 0 0 32px;
a{
color: @navbar-and-content-color !important;
}
}
.breadCrumb_self{
width: auto;
}
.create_bread{
padding-bottom:16px;
box-shadow: inset 0px -1px 0px rgba(229,229,229,1);
}
.unNormalColor{
color: #E7434A;
}
.normalColor{
color: #09AA71;
}
.cluster-modal .cluster-modal-content{
border-radius: 6px !important;
.cluster-modal-footer{
margin-top: 0px;
}
}
.monitor_link_btn{
color: @a-link-color !important;
font-size: 14px;
line-height: 20px;
text-align: center;
}
.monitor_link_btn:hover{
color: @a-link-hover-color !important;
}
.monitor_link_btn:focus{
color: @a-link-hover-color !important;
}
.normal_btn{
width: 96px;
height: 32px;
}
.center_flex_box{
display: flex;
justify-content: center;
}
.@{container-prefix}-radio-checked{
.@{container-prefix}-radio-inner{
border-color: @button-normal-color !important;
background-color: @button-normal-color !important;
}
}
.two_word_btn{
width: 96px;
height: 32px;;
}
.@{container-prefix}-picker-footer{
.@{container-prefix}-btn-primary{
height: 32px;
padding: 6px 18px;
background-color: @button-normal-color;
color: #fff;
border-radius: 6px;
}
.@{container-prefix}-btn-primary:hover{
background-color: @button-hover-color !important;
color: #fff !important;
box-shadow: none !important;
}
.@{container-prefix}-btn-primary:focus{
color: #fff !important;
background-color: @button-click-color !important;
border-color: @button-click-color !important;
box-shadow: none !important;
}
}
*::-webkit-scrollbar,.custom-tooltip::-webkit-scrollbar {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 6px;
border-radius: 6px;
position: absolute;
width: 8px;
top: 0px;
height: 8px;
bottom: 0px;
right: 0px;
visibility: hidden;
}
*::-webkit-scrollbar-track {
background-color: #fff;
}
*::-webkit-scrollbar-thumb {
position: absolute;
border-radius: 99px !important;
cursor: pointer;
user-select: none;
height: 20px;
background: rgba(145,145,145,0.8);
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
*::-webkit-scrollbar-thumb:window-inactive {
background: rgba(145,145,145,0.4);
}
.cluster-modal-title{
max-width: 200px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}