jc-biz-components
Version:
jc component library based on Antd
88 lines (87 loc) • 2.09 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 declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
:global .jc-exception {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
}
:global .jc-exception-img-block {
-webkit-box-flex: 0;
-webkit-flex: 0 0 62.5%;
-ms-flex: 0 0 62.5%;
flex: 0 0 62.5%;
width: 62.5%;
padding-right: 152px;
zoom: 1;
}
:global .jc-exception-img-block::before,
:global .jc-exception-img-block::after {
content: " ";
display: table;
}
:global .jc-exception-img-block::after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
:global .jc-exception-img {
height: 360px;
width: 100%;
max-width: 430px;
float: right;
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: contain;
}
:global .jc-exception-content {
-webkit-box-flex: 1;
-webkit-flex: auto;
-ms-flex: auto;
flex: auto;
}
:global .jc-exception-content h1 {
color: #434E59;
font-size: 72px;
font-weight: 600;
line-height: 72px;
margin-bottom: 24px;
}
:global .jc-exception-content-desc {
color: rgba(0, 0, 0, 0.45);
font-size: 20px;
line-height: 28px;
margin-bottom: 16px;
}
:global .jc-exception-content-actions button:not(:last-child) {
margin-right: 8px;
}
@media screen and (max-width: 1200px) {
:global .jc-exception-img-block {
padding-right: 88px;
}
}
@media screen and (max-width: 576px) {
:global .jc-exception {
display: block;
text-align: center;
}
:global .jc-exception-img-block {
padding-right: 0;
margin: 0 auto 24px;
}
}
@media screen and (max-width: 480px) {
:global .jc-exception-img-block {
margin-bottom: -24px;
overflow: hidden;
}
}