// // widgets.scss // // Progressbar with percentage .progress-w-percent { min-height: 20px; margin-bottom: 20px; .progress { width: calc(100% - 50px); float: left; margin-top: 8px; } .progress-value { width: 40px; float: right; text-align: right; line-height: 20px; } } // Simple tile box .widget-flat { position: relative; overflow: hidden; @media (min-width: 1200px) and (max-width: 1500px) { i.widget-icon { display: none; } } } .widget-icon { color: var(--#{$prefix}white); font-size: 42px; background-color: rgba(var(--#{$prefix}white-rgb), 0.25); text-align: center; border-radius: 0 3px 3px 0; position: absolute; min-width: 100px; right: 0; top: 0; bottom: 0; display: inline-block; line-height: 130px; } .chart-widget-list { p { border-bottom: 1px solid var(--#{$prefix}border-color); margin-bottom: 0.5rem; padding-bottom: 0.5rem; } } // Recent Activity (Timeline) .timeline-alt { padding: 20px 0; position: relative; .timeline-item { position: relative; &:before{ background-color: var(--#{$prefix}tertiary-bg); bottom: 0; content: ""; left: 9px; position: absolute; top: 20px; width: 2px; z-index: 0; } .timeline-icon { float: left; height: 20px; width: 20px; border-radius: 50%; border: 2px solid transparent; font-size: 12px; text-align: center; line-height: 16px; background-color: $white; } .timeline-item-info { margin-left: 30px; } &:last-of-type { &::before { display: none; } } } } // Inbox-widget .inbox-widget { .inbox-item { border-bottom: 1px solid var(--#{$prefix}border-color); overflow: hidden; padding: 0.625rem 0; position: relative; &:last-of-type { border-bottom: none; } .inbox-item-img { display: block; float: left; margin-right: 15px; width: 40px; img { width: 40px; } } .inbox-item-author { color: var(--#{$prefix}tertiary-color); display: block; margin-bottom: 3px; } .inbox-item-text { color: var(--#{$prefix}gray-500); display: block; font-size: 0.8125rem; margin: 0; } .inbox-item-date { color: var(--#{$prefix}gray-600); font-size: 0.6875rem; position: absolute; right: 5px; top: 10px; } } } // tilebox-one (Used Profile) .tilebox-one { i { position: absolute; right: 1.5rem; font-size: 2rem; opacity: 0.3; } } // tollfree box (Used Profile) .toll-free-box { i { position: absolute; left: 0; bottom: -15px; font-size: 4rem; opacity: 0.4; transform: rotate(30deg); } } // CTA box .cta-box { .cta-box-title { font-size: 20px; line-height: 30px; } } // Chat widget .conversation-list { list-style: none; padding: 0 15px; li { margin-bottom: 20px; .conversation-actions { float: right; display: none; } &:hover { .conversation-actions { display: block; } } } .chat-avatar { float: left; text-align: center; width: 32px; img { border-radius: 100%; width: 100%; } i { font-size: 12px; font-style: normal; } } .ctext-wrap { background: var(--#{$prefix}light); border-radius: 3px; display: inline-block; padding: 12px; position: relative; i { display: block; font-size: 12px; font-style: normal; font-weight: bold; position: relative; } p { margin: 0; padding-top: 3px; } &:after { left: -11px; top: 0; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: var(--#{$prefix}light); border-width: 6px; margin-right: -1px; border-right-color: var(--#{$prefix}light); } } .conversation-text { float: left; margin-left: 12px; width: 70%; } .odd { .chat-avatar { float: right !important; } .conversation-text { float: right !important; margin-right: 12px; text-align: right; width: 70% !important; color: $primary; } .ctext-wrap { background-color: var(--#{$prefix}primary-bg-subtle); &:after { border-color: transparent; border-left-color: var(--#{$prefix}primary-bg-subtle); border-top-color: var(--#{$prefix}primary-bg-subtle); right: -8px; left: auto; } } .conversation-actions { float: left; } } } // Calendar Widget .calendar-widget { .datepicker-inline, table { width: 100%; tr { td, th, td.active.day, td.today.day { background-color: transparent !important; } td.active.day, td.today.day { color: $danger !important; text-shadow: none; font-weight: $font-weight-bold; &:hover { background-color: transparent !important; } } } td, th { height: 45px; } .datepicker-switch, .prev, .next { font-size: 1.1rem; background-color: rgba(var(--#{$prefix}primary-rgb), 0.1) !important; border-radius: 0; color: var(--#{$prefix}primary); } } } .card-bg-img { background-size: cover; background-position: right center; background-repeat: no-repeat; }