vue-ant-patterns
Version:
vue-ant-patterns
407 lines (406 loc) • 12.6 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*
命名规则, 三部分 className
.flex-侧轴
.flex-主轴
.flex-侧轴-主轴
*/
@media screen and (max-width: 1300px) {
.depot-detail-info .depot-detail-info-banner .banner-other-box {
display: none ;
}
}
.depot-detail-info {
height: 100%;
overflow: hidden;
position: relative;
}
.depot-detail-info-collapse .ant-collapse .ant-collapse-item {
border: none;
}
.depot-detail-info-collapse .ant-collapse .ant-collapse-item .ant-collapse-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 1px solid #ecf0f4;
}
.depot-detail-info .banner-item {
height: 168px;
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info .text-line {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.depot-detail-info .ant-progress-line .ant-progress-inner {
background-color: #939aa9;
}
.depot-detail-info .ant-progress-circle svg > path:first-child {
stroke: #939aa9;
}
.depot-detail-info .depot-detail-info-title {
height: 40px;
display: block;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0 16px 0 24px;
}
.depot-detail-info .depot-detail-info-anchor-nav {
width: 184px;
padding-left: 24px;
padding-right: 24px;
padding-top: 24px;
position: absolute;
right: 24px;
z-index: 99999;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.depot-detail-info .depot-detail-info-anchor-nav h3 {
color: rgba(255, 255, 255, 0.85);
margin: 0;
display: none;
}
.depot-detail-info .depot-detail-info-anchor-nav .left,
.depot-detail-info .depot-detail-info-anchor-nav .right {
display: none;
position: absolute;
top: 0;
width: 40px;
height: 40px;
text-align: center;
line-height: 1;
}
.depot-detail-info .depot-detail-info-anchor-nav .ant-anchor-ink {
display: block;
}
.depot-detail-info .depot-detail-info-anchor-nav .ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball {
display: inline-block ;
}
.depot-detail-info .d-avatar img {
border: 2px solid #9aa9c3;
width: 112px ;
height: 112px ;
}
.depot-detail-info .depot-detail-info-banner {
height: 200px;
padding: 16px 48px;
background: #54637b;
background: -webkit-gradient(linear, left top, left bottom, from(#54637b), to(#415168));
background: linear-gradient(to bottom, #54637b 0%, #415168 100%);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.depot-detail-info .depot-detail-info-banner h3 {
margin-bottom: 5px;
}
.depot-detail-info .depot-detail-info-banner .line-progress {
display: none;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.depot-detail-info .depot-detail-info-banner .tag {
margin-bottom: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-right: 5px;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box {
width: 332px;
height: 168px;
color: rgba(255, 255, 255, 0.85);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .avatar-box {
width: 112px;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .avatar-box .icon-box {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .avatar-box .icon-box .icon-button {
color: rgba(255, 255, 255, 0.85);
font-size: 12px;
background: rgba(255, 255, 255, 0.1) ;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .avatar-box .icon-box .icon-button:hover {
background: rgba(0, 0, 0, 0.1) ;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .base-info {
width: 180px;
height: 100%;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .base-info > h3 {
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .base-info .s-line {
margin-bottom: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.depot-detail-info .depot-detail-info-banner .banner-base-info-box .base-info .s-line .tag {
margin-right: 5px;
margin-bottom: 0;
}
.depot-detail-info .depot-detail-info-banner .banner-tags-box {
width: 280px;
height: 168px;
color: rgba(255, 255, 255, 0.85);
font-size: 0;
overflow: hidden;
}
.depot-detail-info .depot-detail-info-banner .banner-tags-box .tag {
margin-bottom: 3px;
margin-right: 3px;
}
.depot-detail-info .depot-detail-info-banner .banner-tags-box .tag:last-child {
margin-right: 0;
}
.depot-detail-info .depot-detail-info-banner .banner-integrity-box {
width: 160px;
height: 168px;
color: rgba(255, 255, 255, 0.85);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.depot-detail-info .depot-detail-info-banner .banner-integrity-box .ant-progress-circle .ant-progress-text {
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info .depot-detail-info-banner .banner-other-box {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 460px;
height: 168px;
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info .depot-detail-info-banner .banner-other-box .d-list {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
margin: 0;
}
.depot-detail-info .depot-detail-info-banner .banner-other-box .item {
width: 46%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 24px;
}
.depot-detail-info .depot-detail-info-banner .banner-other-box .item .label {
width: 90px;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.depot-detail-info .depot-detail-info-banner .banner-other-box .ant-progress-text {
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info .depot-detail-info-body {
overflow: scroll;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.depot-detail-info .depot-detail-info-body .ant-form-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.depot-detail-info .depot-detail-info-body-inner {
width: 100%;
}
.depot-detail-info .depot-detail-info-anchor-nav + .depot-detail-info-body .depot-detail-info-body-inner {
width: calc(100% - 160px - 24px);
}
.depot-detail-info .depot-detail-info-title + .depot-detail-info-banner + .depot-detail-info-body {
top: 240px;
}
.depot-detail-info .depot-detail-info-title + .depot-detail-info-banner + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 240px;
}
.depot-detail-info-content .depot-detail-info-body {
padding: 0 24px;
}
.depot-detail-info .depot-detail-info-fixed-sider {
width: 136px;
-webkit-box-flex: 1;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.depot-detail-info .depot-detail-info-title + .depot-detail-info-body,
.depot-detail-info .depot-detail-info-title + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 40px;
}
.depot-detail-info .depot-detail-info-banner + .depot-detail-info-body,
.depot-detail-info .depot-detail-info-banner + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 200px;
}
.depot-detail-info .depot-detail-info-title + .depot-detail-info-banner + .depot-detail-info-body,
.depot-detail-info .depot-detail-info-title + .depot-detail-info-banner + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 240px;
}
.depot-detail-info-window .d-avatar img {
width: 80px ;
height: 80px ;
}
.depot-detail-info-window .depot-detail-info-banner {
padding: 16px 24px;
}
.depot-detail-info-window .depot-detail-info-banner .line-progress {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 100%;
}
.depot-detail-info-window .depot-detail-info-banner .line-progress .ant-progress-text {
display: none;
}
.depot-detail-info-window .depot-detail-info-banner .line-progress .ant-progress.ant-progress-line {
display: block;
}
.depot-detail-info-window .depot-detail-info-banner .line-progress .ant-progress.ant-progress-line > div {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.depot-detail-info-window .depot-detail-info-anchor-nav {
position: static;
height: 40px;
padding: 0 24px;
background: #343c4d;
width: 100%;
}
.depot-detail-info-window .depot-detail-info-anchor-nav h3 {
display: block;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider {
position: static;
height: 40px;
overflow: hidden;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider .ant-anchor-ink {
display: none;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider > *,
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider .ant-affix,
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider .ant-anchor-wrapper,
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider .ant-anchor {
height: 100% ;
padding: 0;
margin: 0;
overflow: hidden;
background: transparent;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .depot-detail-info-fixed-sider .ant-anchor {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .ant-anchor-link {
padding-left: 20px;
padding-right: 20px;
}
.depot-detail-info-window .depot-detail-info-anchor-nav .ant-anchor-link-title {
color: rgba(255, 255, 255, 0.85);
}
.depot-detail-info-window .depot-detail-info-anchor-nav .ant-anchor-link-active > .ant-anchor-link-title {
color: #0275fd;
}
.depot-detail-info-window .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 40px;
}
.depot-detail-info-window .depot-detail-info-anchor-nav + .depot-detail-info-body .depot-detail-info-body-inner {
width: 100%;
}
.depot-detail-info-window .depot-detail-info-title + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 80px;
}
.depot-detail-info-window .depot-detail-info-banner + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 240px;
}
.depot-detail-info-window .depot-detail-info-title + .depot-detail-info-banner + .depot-detail-info-anchor-nav + .depot-detail-info-body {
top: 280px;
}