@import '~antd/es/style/themes/default.less'; .container { display: flex; flex-direction: column; height: 100vh; overflow: auto; background: @layout-body-background; } .lang { width: 100%; height: 40px; line-height: 44px; text-align: right; :global(.@{ant-prefix}-dropdown-trigger) { margin-right: 24px; } } .content { flex: 1; // padding: 32px 0; } @media (min-width: @screen-md-min) { .container { // background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg'); background-repeat: no-repeat; background-position: center 110px; background-size: 100%; } .content { // padding: 32px 0 24px; } } .top { text-align: center; } .header { height: 44px; line-height: 44px; a { text-decoration: none; } } .logo { height: 44px; margin-right: 16px; vertical-align: top; } .title { position: relative; top: 2px; color: @heading-color; font-weight: 600; font-size: 33px; font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif; } .desc { margin-top: 12px; margin-bottom: 40px; color: @text-color-secondary; font-size: @font-size-base; } .shortName { font-size: 12px; position: relative; top: 5px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; // left: -4px; } .minixName { display: block; font-size: 12px !important; } .popverName { display: none; } .fixSliderHeight { :global { .ant-pro-sider-menu { height: 82%; min-height: inherit!important; overflow-y: scroll; } } } :global(.@{ant-prefix}-menu-inline-collapsed-tooltip .panda-pro-layouts-user-layout-minixName) { display: none; } :global(.@{ant-prefix}-menu-inline-collapsed-tooltip .panda-pro-layouts-user-layout-popverName) { display: block; } :global(.@{ant-prefix}-menu-submenu-popup li.@{ant-prefix}-menu-item-only-child) { height: 30px; line-height: 30px; padding: 0 14px; // margin-bottom: 0px; } :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-item.@{ant-prefix}-menu-item-only-child) { padding-left: 0px!important; } :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-item-only-child.@{ant-prefix}-menu-item-selected) { border-left: 2px solid @primary-color; background-color: @menu-dark-inline-submenu-bg!important; transition: cubic-bezier(0.175, 0.885, 0.32, 1.275); } :global(.@{ant-prefix}-menu-submenu-popup li.@{ant-prefix}-menu-item-only-child .panda-pro-layouts-user-layout-minixName) { display: none; } :global(.@{ant-prefix}-menu-submenu-popup li.@{ant-prefix}-menu-item-only-child .panda-pro-layouts-user-layout-popverName) { display: block; top: 0 !important; } :global(.@{ant-prefix}-menu-inline-collapsed-tooltip .@{ant-prefix}-tooltip-inner) { display: flex; } :global(.@{ant-prefix}-menu-inline-collapsed-tooltip .@{ant-prefix}-tooltip-inner a) { display: flex; align-items: center; justify-content: center; } :global(.@{ant-prefix}-menu-inline-collapsed-tooltip .@{ant-prefix}-tooltip-inner a .panda-pro-layouts-user-layout-popverName) { padding-left: 4px; top: 0; } .header-title { color: #555; text-shadow: none; font-weight: 100; font-size: 22px; vertical-align: middle; // padding-left: 80px; letter-spacing: 2px; } .spinLoadding { > div { width: 100%; :global { .@{ant-prefix}-spin { display: flex!important; flex-direction: row; align-items: center; flex: 0 1; width: 100px!important; } .anticon-loading { top: 75%!important; left: 0!important; } .@{ant-prefix}-spin-text { font-size: 12px; display: inline-block; top: 30%!important; color: #c3c3c3; width: 100px; left: 10px!important; text-align: left; } } } } .cityContent { .siteName { padding-right: 5px; display: inline; flex-grow: 1; cursor: pointer; text-shadow: none; color: #777; font-size: 14px; vertical-align: middle; padding-left: 15px; letter-spacing: 2px; font-weight: 100; span { padding-left: 5px; text-shadow: none; color: #777; font-size: 14px; vertical-align: middle; } img { margin: 0 !important; } } .weatcher { border-left: 1px solid rgb(170, 170, 170); text-shadow: none; color: #777; font-size: 14px; font-weight: 100; vertical-align: middle; padding-left: 8px; letter-spacing: 2px; span { padding-left: 5px; vertical-align: middle; } img { width: 24px; } } } .stationsWrapper { padding: 20px 10px 0 10px; max-width: 520px; top: 10px; &.stationsTop { top: 26px!important; :global { .ant-popover-arrow { display: none; } } } .focusStations { display: block; // padding: 5px 0px; border-bottom: 1px dotted rgb(217, 217, 217); ul { display: flex; margin-bottom: 0px; flex-wrap: wrap; width: 100%; margin: 0 auto; justify-content: space-between; padding: 0; padding-bottom: 6px; // flex-wrap: wrap; li { // margin-top: 10px; a { color: #3f70b5; &.city_select { cursor: pointer; } &.showTip { position: relative; } &:hover { color: #23527c !important; transition: color 0.3s; } div[title] { display: inline-block; color: #fff; text-align: center; align-items: center; line-height: 20px; position: absolute; top: -10px; } div[title='县'] { width: 30px; height: 24px; background: url(https://panda-water.cn/web4/assets/images/云平台/县.png) center center no-repeat; } div[title='市'] { width: 30px; height: 24px; background: url(https://panda-water.cn/web4/assets/images/云平台/市.png) center center no-repeat; } div[title='市'] { width: 30px; height: 24px; background: url(https://panda-water.cn/web4/assets/images/云平台/市.png) center center no-repeat; } div[title='HOT'], div[title='New'] { width: 41px; height: 24px; background: url(https://panda-water.cn/web4/assets/images/云平台/HOT.png) center center no-repeat; } } } } } .city_pane { // padding: 10px; ul { &.py { padding: 0; width: 100%; display: flex; flex-wrap: wrap; //margin-right: -10px; //margin-left: 4px; margin: -10px -10px 0px 4px; //margin-top: -10px; } li { margin-right: 10px; .cityLetter, .noData { color: #ccc; display: inline; cursor: pointer; } .cityLetter { &:hover { color: #337ab7; } a { &:hover { color: @primary-color; transition: color 0.3s; } } } } } .cityContent { min-width: 350px; overflow-y: auto; overflow-x: hidden; .letter { font-size: 24px; line-height: 24px; font-weight: 700; color: #ccc; &:hover { color: #337ab7; } } .Provice { margin-left: 20px; display: flex; margin-top: 2px; .proviceName { color: #3d6dcc; font-weight: bolder; min-width: 36px; } .city_list { margin-left: 10px; display: flex; margin-right: -5px; flex-wrap: wrap; flex: 1; font-size: 12px; padding: 0 !important; li { margin-right: 8px; margin-bottom: 6px; } } } &::-webkit-scrollbar { width: 0; height: 0; } } } :global(.@{ant-prefix}-spin) { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } } :global(.@{ant-prefix}-pro-basicLayout .@{ant-prefix}-pro-sider-logo h1) { display: none; } :global(.@{ant-prefix}-pro-basicLayout .@{ant-prefix}-layout-sider-children .@{ant-prefix}-spin-lg .@{ant-prefix}-spin-dot) { font-size: 20px; } :global(.@{ant-prefix}-pro-basicLayout .@{ant-prefix}-layout-sider-children .@{ant-prefix}-spin-lg .@{ant-prefix}-spin-dot i) { width: 9px; height: 9px; } //:global(.@{ant-prefix}-layout-sider-collapsed //// .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-vertical //// .@{ant-prefix}-menu-item) { //// display: flex; //// align-items: center; //// justify-content: space-between; //// text-align: center; //// padding: 0; ////} ////:global(.@{ant-prefix}-layout-sider-collapsed //// .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-vertical //// .@{ant-prefix}-pro-sider-collapsed-button) { //// display: block; ////} //// ////:global(.@{ant-prefix}-layout-sider-collapsed //// .@{ant-prefix}-menu-vertical //// .@{ant-prefix}-menu-item) { //// line-height: 14px; ////} :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-dark .@{ant-prefix}-menu-item) { display: flex; align-items: center; justify-content: space-between; text-align: center; padding: 0; } :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-dark .@{ant-prefix}-pro-sider-collapsed-button) { display: block; } :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-item) { line-height: 14px; } :global(.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-group-title, .ant-menu-dark .ant-menu-item > a, .ant-menu-dark .ant-menu-item> span > a) { width: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; } :global(.@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-item a) { width: 48px; } :global(.@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-submenu.@{ant-prefix}-menu-submenu-vertical) { display: flex; align-items: center; } :global(.@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-submenu-title) { display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; flex-wrap: inherit !important; padding: 0; width: 100%; line-height: 24px; } //:global(.@{ant-prefix}-menu-inline-collapsed // .@{ant-prefix}-menu-submenu.@{ant-prefix}-menu-submenu-vertical // .@{ant-prefix}-menu-submenu-title // img) { // margin-right: 0px !important; //} :global(.@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-submenu-title img) { margin-right: 0px !important; } .loadding { height: 100%; :global(.@{ant-prefix}-spin-container) { height: 100%; } } .menuItemLink { display: flex; align-items: center; :global { span.@{ant-prefix}-pro-menu-item { position: relative; top: 1px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } } } :global(.@{ant-prefix}-menu-inline-collapsed .panda-pro-layouts-user-layout-menuItemLink) { display: block; } :global(.@{ant-prefix}-menu-inline-collapsed .panda-pro-layouts-user-layout-menuItemLink .panda-pro-layouts-user-layout-minixName) { font-size: 12px !important; } :global(.@{ant-prefix}-menu-inline-collapsed .@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-submenu-title .@{ant-prefix}-pro-menu-item) { top: 0 !important; font-size: 12px !important; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } //:global(.@{ant-prefix}-menu-inline-collapsed // .@{ant-prefix}-menu-submenu.@{ant-prefix}-menu-submenu-vertical // .@{ant-prefix}-menu-submenu-title // .@{ant-prefix}-pro-menu-item) { // top: 0 !important; // font-size: 12px !important; // text-overflow: ellipsis; // overflow: hidden; // white-space: nowrap; //} .complexLayout { :global { .@{ant-prefix}-pro-sider-menu { .@{ant-prefix}-menu-item { height: 36px; line-height: 36px; } } .@{ant-prefix}-layout-sider-collapsed { width: 0px !important; max-width: 0px !important; min-width: 0px !important; } } .complexCollapse { order: 0; flex: 0 1 auto; height: 100%; width: 0px; position: absolute; .collapsed { width: 0px; height: 64px; position: absolute; top: calc(50% - 32px); right: -27px; z-index: 20; line-height: 46px; border-width: 9px 9px 9px 20px; border-style: solid; border-color: transparent transparent transparent rgb(235, 235, 235); border-image: initial; cursor: pointer; color: rgb(191, 191, 191); transition: right 0.1s ease-in-out 0s, border 0.1s ease 0s; &:hover { right: -29px; border-left-color: rgb(222, 222, 222); } :global { .@{ant-prefix}icon { width: 12px; position: relative; left: -15px; color: rgb(193, 193, 193); transform: rotate(0deg); transition: transform 0.5s ease-in-out 0s, left 0.1s ease-in-out 0s; top: -3px; } } } } } .popup-menu-flex { display: flex; flex-wrap: wrap; flex: 1 1; min-width: 220px; width: 220px; :global { .@{ant-prefix}-menu-item { width: 50%; } } } .menuTabs{ position: relative; padding: 0 10px; } :global(.@{ant-prefix}-spin-container .@{ant-prefix}-tabs .@{ant-prefix}-tabs-nav){ margin: 0; } :global(.@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-sub.@{ant-prefix}-menu-inline .@{ant-prefix}menu-item-only-child) { padding-left: 30px!important; }