Files
chatngay_chatboard_dev/src/styles/app.css
2021-05-22 09:54:28 +07:00

715 lines
14 KiB
CSS

@import '~antd/dist/antd.css';
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
a {
text-decoration: none;
}
html {
height: 100%;
}
body {
font-family: 'Krub', sans-serif;
font-weight: 400;
height: 100%;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.ant-layout-header {
background: #001B34;
padding: 0px;
}
.ant-layout-sider {
background: white;
}
.ant-layout-content {
background: white;
}
.scrollable {
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
/* use for SPAN in place of A tag */
.box-chatboard {
width: 100vw;
height: 100vh;
overflow: hidden;
float: left;
position: relative;
}
.a-link {
cursor: pointer;
color: #007aff;
}
.content-chatboard {
width: 100%;
float: left;
height: calc(100vh - 55px);
overflow: hidden;
display: flex;
align-items: center;
position: relative;
}
.content-chatboard-row {
height: 100%;
}
.contentLeft {
float: left;
background: #002344;
height: 100%;
}
.contentLeft ::-webkit-scrollbar {
width: 7px;
}
.contentLeft ::-webkit-scrollbar-track {
background: #002344;
}
.contentLeft ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.55);
border-radius: 4px;
}
.contentCenter {
width: 100%;
float: left;
padding: 20px;
background: #F1EFEF;
padding-top: 10px;
height: 100%;
}
.contentRight {
width: 100%;
float: right;
height: 100%;
background: #fff;
padding: 10px;
}
.content-chatboard-col {
height: 100%;
}
.contentCenterHeader {
margin-bottom: 10px;
width: 100%;
float: left;
display: flex;
align-items: center;
justify-content: space-between;
}
.contentCenterHeaderAdmin {
display: flex;
align-items: center;
cursor: pointer;
}
.contentCenterHeaderAdmin span.h-title {
font-size: 13px;
color: #848484;
text-transform: uppercase;
margin-right: 10px;
line-height: 24px;
}
.contentCenterHeaderAdmin span.h-icon {
font-size: 24px;
color: #848484;
line-height: 24px;
}
.cuscontentCenterHeader {
display: flex;
align-items: center;
}
.cuscontentCenterHeader .avatar-cus {
width: 36px;
height: 36px;
float: left;
margin-right: 10px;
position: relative;
}
.cuscontentCenterHeader .avatar-cus img {
width: 36px;
height: 36px;
float: left;
overflow: hidden;
border-radius: 50%;
}
.cuscontentCenterHeader .ant-badge-status {
position: absolute !important;
z-index: 1;
bottom: -7px;
right: 0px;
display: block !important;
}
.cuscontentCenterHeader .ant-badge-status-text {
display: none !important;
}
.cuscontentCenterHeader .avatar-cus .ant-badge-status-dot {
width: 12px;
height: 12px;
border: solid 2px #001F3D;
border-radius: 50%;
background: #9A9A9A;
}
.cuscontentCenterHeader .avatar-cus .ant-badge-status-dot.ant-badge-status-green {
background: #37EE14;
}
.cuscontentCenterHeader .info-cus {
margin-right: 10px;
}
.cuscontentCenterHeader .info-cus .name {
font-size: 15px;
font-weight: 700;
color: #000;
}
.cuscontentCenterHeader .info-cus .address {
font-size: 13px;
font-weight: 300;
color: #000;
}
.contentCenterCt {
width: 100%;
float: left;
height: calc(100% - 53px);
background: #fff;
border-radius: 10px;
}
.contentCenterCt .ant-row {
height: 100%;
}
.contentCenterCt .ant-row .ant-col {
height: 100%;
}
.contentCenterCtColLeft {
border-right: solid 1px #F1EFEF;
}
.contentCenterCtColRight {
padding: 20px;
}
.contentCenterCtColRightTitle {
width: 100%;
float: left;
margin-bottom: 10px;
line-height: 40px;
padding: 0px 15px;
background: #F1EFEF;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
color: #001529;
border-left: solid 7px #5DD498;
}
.tab-content-mes {
width: 100%;
float: left;
height: 100%;
}
.contentCenterCtColRight .ant-tabs-nav-list {
width: 100%;
float: left;
margin-bottom: 10px;
}
.contentCenterCtColRight .ant-tabs-nav-list .ant-tabs-tab {
line-height: 30px;
border: solid 1px #D9D9D9;
padding: 0px 10px !important;
margin-left: 0px !important;
margin-right: 5px;
background: #fff;
border-radius: 3px !important;
}
.contentCenterCtColRight .ant-tabs-nav-list .ant-tabs-tab.ant-tabs-tab-active {
border-color: #1890FF !important;
}
.contentCenterCtColRight .ant-tabs-nav-list .ant-tabs-tab .ant-tabs-tab-btn {
font-size: 14px;
color: #001529;
background: #fff;
}
.contentCenterCtColRight .ant-tabs-nav-list .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
color: #1890FF;
}
.ant-tabs-top > .ant-tabs-nav::before, .ant-tabs-bottom > .ant-tabs-nav::before, .ant-tabs-top > div > .ant-tabs-nav::before, .ant-tabs-bottom > div > .ant-tabs-nav::before {
display: none;
}
.contentCenterCtColRight .ant-tabs-nav {
margin-bottom: 0px;
}
.contentCenterCtColRight .ant-tabs-nav-operations .ant-tabs-nav-more {
padding: 0px 16px !important;
line-height: 32px;
height: 32px;
background: #1890FF;
color: #fff;
}
.contentCenterCtColRight .ant-tabs-nav-operations .ant-tabs-nav-more::after {
display: none;
}
.contentCenterCtColRightItem {
width: 100%;
float: left;
height: calc(50% - 10px);
margin-bottom: 10px;
}
.contentCenterCtColRight .ant-tabs-content-holder {
width: 100%;
float: left;
height: calc(100% - 102px);
}
.contentCenterCtColRight .ant-tabs-content {
width: 100%;
float: left;
height: calc(100% - 50px);
overflow-y: auto;
}
.contentCenterCtColRight .ant-tabs-content::-webkit-scrollbar {
width: 7px;
}
.contentCenterCtColRight .ant-tabs-content::-webkit-scrollbar-track {
background: #fff;
}
.contentCenterCtColRight .ant-tabs-content::-webkit-scrollbar-thumb {
background: #C4C4C4;
border-radius: 4px;
}
.taoghichu-input {
width: 100%;
float: left;
border: solid 1px #707070;
height: 75px !important;
border-radius: 5px !important;
}
.taoghichu-submit {
width: 100%;
float: left;
}
.taoghichu-submit .taoghichu-bt-update {
padding: 0px 15px;
line-height: 32px;
border: solid 1px #D9D9D9;
border-radius: 3px;
background: #fff;
margin-right: 5px;
}
.taoghichu-submit .taoghichu-bt-send {
width: 32px;
line-height: 32px;
padding: 0px;
border: none;
background: #1890FF;
border-radius: 5px;
color: #fff;
}
.ant-form-item {
width: 100%;
float: left;
margin-bottom: 10px;
padding-right: 10px;
}
.ant-form-item .ant-form-item-label {
width: 120px !important;
max-width: 120px !important;
flex: 0 0 120px;
}
.ant-form-item .ant-form-item-label label {
float: left;
white-space: break-spaces;
line-height: 1.2;
text-align: left;
}
.ant-form-item .ant-form-item-control {
width: calc(100% - 120px) !important;
max-width: calc(100% - 120px) !important;
flex: 0 0 calc(100% - 120px);
}
.formTaoGhiChu .ant-form-item .ant-form-item-control {
width: 100% !important;
max-width: 100% !important;
flex: 0 0 100%;
}
.ant-form-item .ant-form-item-control input {
width: 100% !important;
max-width: 100% !important;
height: 32px;
padding: 0px 10px;
border: solid 1px #D9D9D9;
}
.ant-form-item .ant-form-item-control .ant-space {
display: block;
}
.ant-form-item .ant-form-item-control .ant-checkbox-wrapper {
width: 100%;
float: left;
}
.formTaoHoTro .ant-form-item:nth-child(6) .ant-form-item-label {
width: 100% !important;
max-width: 100% !important;
flex: 0 0 100%;
}
.formTaoHoTro .ant-form-item:nth-child(6) .ant-form-item-control {
width: 100% !important;
max-width: 100% !important;
flex: 0 0 100%;
}
.ant-select-show-arrow {
min-width: 150px;
width: auto !important;
max-width: 100%;
}
.formTaoDonHang .ant-form-item:nth-child(2) .ant-select {
margin-bottom: 10px;
}
.formTaoDonHang .ant-form-item:nth-child(5) .ant-select {
margin-top: 10px;
}
.formTaoDonHang .ant-form-item .ant-form-item {
margin-bottom: 0px;
}
.formThongTin .ant-form-item:nth-child(3) .ant-select-selector {
margin-bottom: 10px;
}
.formThongTin .ant-form-item:nth-child(9) .ant-select-selector {
margin-top: 10px;
}
.contentRightHeader {
width: 100%;
float: left;
margin-bottom: 15px;
font-size: 20px;
font-weight: 700;
text-transform: uppercase;
}
.contentRightHeader .anticon-close {
float: right;
display: none;
}
.search-ct-right {
width: 100%;
float: left;
margin-bottom: 20px;
}
.contentRight .scrollable {
width: 100%;
float: left;
}
.helpProduct {
width: 100%;
float: left;
}
.titleHelpRight {
width: 100%;
float: left;
margin-bottom: 10px;
font-size: 20px;
font-weight: 700;
}
.titleHelpRight span {
font-size: 14px;
font-weight: 500;
color: #5DD498;
}
.helpContent {
width: 100%;
float: left;
height: calc(100% - 108px);
}
.helpContent .helpContentRight {
width: 100%;
height: 50%;
float: left;
margin-bottom: 10px;
}
.helpContentRightScroll {
width: 100%;
float: left;
height: calc(100% - 41px);
}
.helpContentRightScroll::-webkit-scrollbar {
width: 7px;
}
.helpContentRightScroll::-webkit-scrollbar-track {
background: #fff;
}
.helpContentRightScroll::-webkit-scrollbar-thumb {
background: #C4C4C4;
border-radius: 4px;
}
.product-list li {
width: 100%;
float: left;
margin-bottom: 10px;
padding: 0px;
border: none !important;
}
.product-list li .ant-avatar-image {
width: 85px;
float: left;
margin-right: 10px;
position: relative;
display: block;
padding-top: 85px;
overflow: hidden;
}
.product-list li .ant-avatar-image img {
position: absolute;
max-width: 100%;
max-height: 100%;
width: auto !important;
height: auto !important;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: block;
margin: auto;
}
.product-list li .ant-list-item-meta-avatar {
margin: 0px !important;
}
.product-list li .ant-list-item-meta-content {
width: calc(100% - 95px);
float: left;
}
.product-list li .ant-list-item-meta-content .ant-list-item-meta-title {
width: 100%;
float: left;
font-size: 14px;
font-weight: 500;
color: #000000;
}
.product-list li .ant-list-item-meta-content .ant-list-item-meta-title span {
font-size: 14px;
font-weight: 500;
color: #000000;
}
.ant-list-item-meta-description {
width: 100%;
float: left;
}
.ant-list-item-meta-description .pPrice {
font-size: 14px;
font-weight: 700;
color: #EC1010;
margin-right: 20px;
}
.pQuantity {
font-size: 12px;
}
.pQuantity.pQuanCOn {
color: #5DD498;
}
.pQuantity.pQuanHet {
color: #EC1010;
}
.Article-list li {
width: 100%;
float: left;
}
.Article-list li h4 span {
width: 100%;
float: left;
font-size: 14px;
font-weight: 700;
color: #6D6D6D;
}
.Article-list li .ant-list-item-meta-description {
font-size: 14px;
font-weight: 300;
color: #6D6D6D;
}
.help-full-content {
width: 100%;
float: left;
height: calc(100% - 130px);
}
.help-full-content .help-list-full {
width: 100%;
float: left;
height: calc(100% - 45px);
overflow-y: auto;
}
.help-full-content .help-list-full::-webkit-scrollbar {
width: 7px;
}
.help-full-content .help-list-full::-webkit-scrollbar-track {
background: #fff;
}
.help-full-content .help-list-full::-webkit-scrollbar-thumb {
background: #C4C4C4;
border-radius: 4px;
}
.paging {
width: 100%;
float: left;
height: 45px;
display: flex;
align-items: center;
}
.paging li {
width: 28px;
height: 28px;
line-height: 28px;
}
.product-list-head {
width: 100%;
float: left;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.product-list-head-Left span {
color: #37EE14;
}
.product-list-head-right {
display: flex;
justify-content: space-between;
align-items: center;
}
.product-list-head-right .ant-select {
width: 120px !important;
height: 32px;
line-height: 32px;
min-width: 100px !important;
font-size: 12px;
}
.product-list-head-right .selectCategory {
margin-right: 5px;
}
.product-detail-header {
width: 100%;
float: left;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
.product-detail-header-left span {
color: #37EE14;
}
.product-detail-header-right span {
color: #1890FF;
}
.product-detail-content {
width: 100%;
float: left;
height: calc(100% - 120px);
overflow-y: auto;
}
.product-detail-content::-webkit-scrollbar {
width: 7px;
}
.product-detail-content::-webkit-scrollbar-track {
background: #fff;
}
.product-detail-content::-webkit-scrollbar-thumb {
background: #C4C4C4;
border-radius: 4px;
}
.product-detail-content table {
width: 100%;
float: left;
}
.product-detail-comment {
width: 100%;
float: left;
}
.form-commet-all {
width: 100%;
float: left;
}
.form-commet-all h3 {
width: 100%;
float: left;
margin-bottom: 10px;
font-size: 14px;
font-weight: 700;
}
.form-commet-all #complex-form {
width: 100%;
float: left;
margin-bottom: 20px;
}
.form-commet-all #complex-form textarea {
width: 100%;
float: left;
border: solid 1px #707070;
border-radius: 5px;
}
.form-commet-all .ant-form-item .ant-form-item-control {
width: 100% !important;
max-width: 100% !important;
flex-basis: 100%;
}
.form-commet-all .ant-comment {
width: 100%;
float: left;
}
.article-detail-content-ct {
font-weight: 300;
color: #6D6D6D;
}
.fix-ab-ct-right {
width: 470px;
float: left;
position: absolute;
z-index: 1;
top: 0px;
right: 0px;
height: 100%;
}
.fix-ab-ct-right .contentRightHeader .anticon-close {
display: block;
}
.content-chatboard-col-big .contentCenterHeaderAdmin {
display: none;
}
@media (max-width: 1366px) {
.contentCenterCtColRight .ant-tabs-content {
max-height: 140px;
min-height: 140px;
}
}