@import '../../stylesheets/variables.scss'; @import '../../stylesheets/mixins/_responsive.scss'; .dashboard{ /* position: relative; display: flex; */ } .dashboard-menu, .dashboard-content{ padding: 0px; @include MQ(lg) { padding: 20px; } } .dashboard-hotel{ font-size: 1.2em; //margin-bottom: 20px; } /* .dashboard .ant-progress .ant-progress-circle-path{ stroke: #ffc107!important; } */ .dashboard .ant-progress .ant-progress-text{ font-weight: 700; } .dashboard-date{ font-size: 1.4em; } .dashboard-day{ display: block; font-weight: 700; font-size: 1.4em; } .stats-card{ /* box-shadow: 0 6px 8px rgba(102,119,136,.03), 0 1px 2px rgba(102,119,136,.3); */ position: relative; border-radius: 2px; display: block; width: 100%; background: $primary-light-background-color; transition: background-color .2s ease; } .stats-card .ant-card-head{ border-bottom: none; min-height: inherit; padding-top: 10px; padding-bottom: 10px; } .stats-card .ant-card-head-title{ padding: 0; } .stats-card .ant-card-extra{ padding: 0px 0 0 0; } .stats-card .ant-card-head-title .anticon{ font-weight: 900; font-size: 28px; } .stats-card .ant-card-body{ padding: 0 24px 0px 24px; } .stats-card .main-number{ display: block; font-weight: 700; font-size: 30px; } .stats-box{ margin: 0px 0 0px 0; position: relative; border-radius: 2px; padding: 10px; @include MQ(lg) { padding: 15x; } background-color: $primary-light-background-color; width: 100%; height: 100%; display: block; float: left; flex: 0 0 auto; box-shadow: $base-item-shadow; transition: background-color 0.2s ease; } .stats-box.stats-figures{ padding: 0 32px; } .stats-box.ghost{ background-color: transparent; /* border: 1px solid rgba(0,0,0,0.07); */ border: none; box-shadow: none; } .stats-box.no-padding{ padding: 0; } .stats-box.transparent{ background: transparent; } .stats-box .stats-title{ width: 100%; display: block; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; opacity: 1; transition: opacity 0.2s ease; margin: 0 0 15px 0; color: $primary-text-color; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .stats-box .text-center{ display: block; } .stats-box .main-field{ display: block; width: 100%; font-size: 28px; color: $primary-text-color; } .stats-box .sec-field{ display: block; width: 100%; color: #a6aaaf; } .stats-box .ant-row-flex{ padding-top: 32px; padding-bottom: 32px; } .stats-box .stats-highlight{ background: $secondary-light-background-color; margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; } .stats-box.stats-figures .stats-highlight{ margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; } .recharts-responsive-container{ display: inline-block; }