From 35d88c3ee6ae7e98176818034a79ddbd847c4ed7 Mon Sep 17 00:00:00 2001 From: Joshua Franks Date: Fri, 28 Aug 2020 10:06:10 +0100 Subject: [PATCH 1/6] wip --- public/app.css | 1220 +---------------- public/mix-manifest.json | 2 +- resources/sass/app.scss | 10 +- resources/views/subscribers/index.blade.php | 12 + .../Segments/SegmentsController.php | 1 + .../Subscribers/SubscribersController.php | 7 +- .../BaseSubscriberTenantRepository.php | 4 +- .../Subscribers/SubscribersControllerTest.php | 62 + 8 files changed, 92 insertions(+), 1226 deletions(-) diff --git a/public/app.css b/public/app.css index fd8017b5..5b38e952 100644 --- a/public/app.css +++ b/public/app.css @@ -1,1219 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);@charset "UTF-8"; - -.hide { - display: none !important; -} - -.no-underline, -.no-underline:hover { - text-decoration: none; -} - -.cursor-move { - cursor: move; -} - -.grow { - -webkit-transition: -webkit-transform 0.2s ease; - transition: -webkit-transform 0.2s ease; - transition: transform 0.2s ease; - transition: transform 0.2s ease, -webkit-transform 0.2s ease; -} - -.grow:hover { - -webkit-transform: scale(1.15); - transform: scale(1.15); -} - -.p-4-half { - padding: 2.3rem !important; -} - -.pl-4-half { - padding-left: 2.3rem !important; -} - -.pr-4-half { - padding-right: 2.3rem !important; -} - -.pb-4-half { - padding-right: 2.3rem !important; -} - -.pt-4-half { - padding-top: 2.3rem !important; -} - -pre { - white-space: pre-wrap; - word-wrap: break-word; - text-align: justify; -} - -span.required { - color: red; -} - -.border-light { - border-color: #dee2e6 !important; -} - -.abc-checkbox { - cursor: default; - padding-left: 4px; -} - -.abc-checkbox label { - cursor: pointer; - display: inline; - vertical-align: top; - position: relative; - padding-left: 5px; -} - -.abc-checkbox label::before { - cursor: pointer; - content: ""; - display: inline-block; - position: absolute; - width: 17px; - height: 17px; - top: 2px; - left: 0; - margin-left: -20px; - border: 1px solid #dee2e6; - border-radius: 3px; - background-color: #fff; - -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; - transition: border 0.15s ease-in-out, color 0.15s ease-in-out; -} - -.abc-checkbox label::after { - cursor: pointer; - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - left: 0; - top: 2px; - margin-left: -20px; - padding-left: 3px; - padding-top: 1px; - font-size: 11px; - color: #6c757d; -} - -.abc-checkbox input[type=checkbox], -.abc-checkbox input[type=radio] { - position: static; - margin-left: 0; - cursor: pointer; - opacity: 0; - z-index: 1; -} - -.abc-checkbox input[type=checkbox]:focus + label::before, -.abc-checkbox input[type=radio]:focus + label::before { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.abc-checkbox input[type=checkbox]:checked + label::after, -.abc-checkbox input[type=radio]:checked + label::after { - font-family: "Font Awesome 5 Pro"; - content: "\F00C"; -} - -.abc-checkbox input[type=checkbox]:indeterminate + label::after, -.abc-checkbox input[type=radio]:indeterminate + label::after { - display: block; - content: ""; - width: 10px; - height: 3px; - background-color: #555555; - border-radius: 2px; - margin-left: -16.5px; - margin-top: 7px; -} - -.abc-checkbox input[type=checkbox]:disabled + label, -.abc-checkbox input[type=radio]:disabled + label { - opacity: 0.65; -} - -.abc-checkbox input[type=checkbox]:disabled + label::before, -.abc-checkbox input[type=radio]:disabled + label::before { - background-color: #6c757d; - cursor: not-allowed; -} - -.abc-checkbox input[type=checkbox]:disabled + label::after, -.abc-checkbox input[type=radio]:disabled + label::after { - cursor: not-allowed; -} - -.abc-checkbox.abc-checkbox-circle label::before { - border-radius: 50%; -} - -.abc-checkbox.checkbox-inline { - margin-top: 0; -} - -.abc-checkbox-primary input[type=checkbox]:checked + label::before, -.abc-checkbox-primary input[type=radio]:checked + label::before { - background-color: #009ad9; - border-color: #009ad9; -} - -.abc-checkbox-primary input[type=checkbox]:checked + label::after, -.abc-checkbox-primary input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-danger input[type=checkbox]:checked + label::before, -.abc-checkbox-danger input[type=radio]:checked + label::before { - background-color: #e3342f; - border-color: #e3342f; -} - -.abc-checkbox-danger input[type=checkbox]:checked + label::after, -.abc-checkbox-danger input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-info input[type=checkbox]:checked + label::before, -.abc-checkbox-info input[type=radio]:checked + label::before { - background-color: #0a92dd; - border-color: #0a92dd; -} - -.abc-checkbox-info input[type=checkbox]:checked + label::after, -.abc-checkbox-info input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-warning input[type=checkbox]:checked + label::before, -.abc-checkbox-warning input[type=radio]:checked + label::before { - background-color: #f6993f; - border-color: #f6993f; -} - -.abc-checkbox-warning input[type=checkbox]:checked + label::after, -.abc-checkbox-warning input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-success input[type=checkbox]:checked + label::before, -.abc-checkbox-success input[type=radio]:checked + label::before { - background-color: #38c172; - border-color: #38c172; -} - -.abc-checkbox-success input[type=checkbox]:checked + label::after, -.abc-checkbox-success input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-primary input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-primary input[type=radio]:indeterminate + label::before { - background-color: #009ad9; - border-color: #009ad9; -} - -.abc-checkbox-primary input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-primary input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-danger input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-danger input[type=radio]:indeterminate + label::before { - background-color: #e3342f; - border-color: #e3342f; -} - -.abc-checkbox-danger input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-danger input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-info input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-info input[type=radio]:indeterminate + label::before { - background-color: #0a92dd; - border-color: #0a92dd; -} - -.abc-checkbox-info input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-info input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-warning input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-warning input[type=radio]:indeterminate + label::before { - background-color: #f6993f; - border-color: #f6993f; -} - -.abc-checkbox-warning input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-warning input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-success input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-success input[type=radio]:indeterminate + label::before { - background-color: #38c172; - border-color: #38c172; -} - -.abc-checkbox-success input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-success input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-radio { - cursor: default; - padding-left: 4px; -} - -.abc-radio label { - cursor: pointer; - display: inline; - vertical-align: top; - position: relative; - padding-left: 5px; -} - -.abc-radio label::before { - cursor: pointer; - content: ""; - display: inline-block; - position: absolute; - width: 17px; - height: 17px; - top: 2px; - left: 0; - margin-left: -20px; - border: 1px solid #dee2e6; - border-radius: 50%; - background-color: #fff; - -webkit-transition: border 0.15s ease-in-out; - transition: border 0.15s ease-in-out; -} - -.abc-radio label::after { - cursor: pointer; - display: inline-block; - position: absolute; - content: " "; - width: 11px; - height: 11px; - left: 3px; - top: 5px; - margin-left: -20px; - border-radius: 50%; - background-color: #6c757d; - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33), -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); -} - -.abc-radio input[type=radio] { - position: static; - margin-left: 0; - cursor: pointer; - opacity: 0; - z-index: 1; -} - -.abc-radio input[type=radio]:focus + label::before { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.abc-radio input[type=radio]:checked + label::after { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); -} - -.abc-radio input[type=radio]:disabled + label { - opacity: 0.65; -} - -.abc-radio input[type=radio]:disabled + label::before { - cursor: not-allowed; -} - -.abc-radio input[type=radio]:disabled + label::after { - cursor: not-allowed; -} - -.abc-radio.radio-inline { - margin-top: 0; -} - -.abc-radio-primary input[type=radio] + label::after { - background-color: #009ad9; -} - -.abc-radio-primary input[type=radio]:checked + label::before { - border-color: #009ad9; -} - -.abc-radio-primary input[type=radio]:checked + label::after { - background-color: #009ad9; -} - -.abc-radio-danger input[type=radio] + label::after { - background-color: #e3342f; -} - -.abc-radio-danger input[type=radio]:checked + label::before { - border-color: #e3342f; -} - -.abc-radio-danger input[type=radio]:checked + label::after { - background-color: #e3342f; -} - -.abc-radio-info input[type=radio] + label::after { - background-color: #0a92dd; -} - -.abc-radio-info input[type=radio]:checked + label::before { - border-color: #0a92dd; -} - -.abc-radio-info input[type=radio]:checked + label::after { - background-color: #0a92dd; -} - -.abc-radio-warning input[type=radio] + label::after { - background-color: #f6993f; -} - -.abc-radio-warning input[type=radio]:checked + label::before { - border-color: #f6993f; -} - -.abc-radio-warning input[type=radio]:checked + label::after { - background-color: #f6993f; -} - -.abc-radio-success input[type=radio] + label::after { - background-color: #38c172; -} - -.abc-radio-success input[type=radio]:checked + label::before { - border-color: #38c172; -} - -.abc-radio-success input[type=radio]:checked + label::after { - background-color: #38c172; -} - -label .was-validated .form-check-input:invalid .abc-checkbox:before, -label .was-validated .form-check-input:invalid .abc-radio:before, -label .form-check-input.is-invalid .abc-checkbox:before, -label .form-check-input.is-invalid .abc-radio:before { - border-color: #e3342f; -} - -.form-control { - border: 1px solid #dee2e6; -} - -.form-control:focus { - border-color: #1E2442; - box-shadow: none; -} - -.form-control, -.form-check-label { - font-size: 0.85rem; -} - -.form-row .form-group label { - margin-bottom: 0.1rem; -} - -.input-group-text { - font-size: 0.85rem; -} - -.input-group-prepend { - min-width: 40px; -} - -@media (min-width: 576px) { - .card-filters .form-group { - margin-bottom: 0; - } -} - -.form-control.datepicker { - padding: 0.25rem 0.5rem; -} - -.form-control::-webkit-input-placeholder { - color: #8B97A3; -} - -.form-control::-moz-placeholder { - color: #8B97A3; -} - -.form-control:-ms-input-placeholder { - color: #8B97A3; -} - -.form-control::-ms-input-placeholder { - color: #8B97A3; -} - -.form-control::placeholder { - color: #8B97A3; -} - -::-webkit-input-placeholder { - /* WebKit, Blink, Edge */ - color: #8B97A3; - font-style: italic; -} - -::-moz-placeholder { - /* Mozilla Firefox 19+ */ - color: #8B97A3; - opacity: 1; - font-style: italic; -} - -:-ms-input-placeholder { - /* Internet Explorer 10-11 */ - color: #8B97A3; - font-style: italic; -} - -::-ms-input-placeholder { - /* Microsoft Edge */ - color: #8B97A3; - font-style: italic; -} - -::placeholder { - /* Most modern browsers support this now. */ - color: #8B97A3; - font-style: italic; -} - -.select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::-moz-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::placeholder { - padding-top: 5px; -} - -.btn:focus { - box-shadow: none; -} - -.btn-primary:not(:disabled):not(.disabled).active:focus, -.btn-primary:not(:disabled):not(.disabled):active:focus, -.show > .btn-primary.dropdown-toggle:focus { - box-shadow: none; -} - -button:disabled { - cursor: not-allowed; -} - -.btn-primary { - background-color: #5D63FF; - border-color: #5D63FF; - color: #ffffff; -} - -.btn-primary .badge { - color: #BDDBFF; -} - -.btn-primary:hover { - background-color: #6c72ff; - border-color: #6c72ff; -} - -.btn-secondary { - background-color: #D9E2EC; - border-color: #edf2f5; - color: #5D63FF; -} - -.btn-secondary:hover { - background-color: #cfdae7; - border-color: #e3ebf0; - color: #5D63FF; -} - -.btn-secondary:not(:disabled):not(.disabled).active, -.btn-secondary:not(:disabled):not(.disabled):active, -.show > .btn-secondary.dropdown-toggle { - background-color: #e3ebf0; - border-color: #e3ebf0; - color: #5D63FF; -} - -.btn-light { - color: #495057; - background-color: #f8f9fb; - border: 1px solid #dee2e6; -} - -.btn-light:hover { - color: #40464c; - background-color: #eef1f5; - border: 1px solid #d5dadf; -} - -a.btn-link { - color: #0056b3; -} - -.btn-filter { - padding: 0.26rem 1rem !important; -} - -.btn-light:not(:disabled):not(.disabled).active, -.btn-light:not(:disabled):not(.disabled):active, -.show > .btn-light.dropdown-toggle { - color: #474d54; - background-color: #f5f6f8; - border-color: #dae0e5; -} - -.btn-outline-primary { - color: #5D63FF; - border-color: #5D63FF; -} - -.btn-xs { - padding: 0.4rem 0.4rem; - font-size: 0.7rem; - line-height: 0.5; - border-radius: 0.2rem; -} - -.btn-wide { - padding-left: 1rem !important; - padding-right: 1rem !important; -} - -.btn-group-sm > .btn, -.btn-sm { - padding: 0.4rem 1rem; - line-height: 1.5; -} - -.btn .badge { - color: #969FA8; - top: auto; -} - -.btn-group .btn { - border: 1px solid #E1E4E7; - color: #495057; -} - -.btn-group .btn-primary { - color: #ffffff; -} - -.btn-group-sm > .btn, -.btn-sm { - font-size: 0.75rem; - padding: 0.2rem 0.5rem; -} - -.btn-group-md > .btn, -.btn-md { - font-size: 0.8rem; - padding: 0.35rem 0.75rem; -} - -.page-signin-alt .signin-password { - position: relative; -} - -.page-signin-alt .signin-password .forgot { - position: absolute; - right: 7px; - top: 7px; - color: #555; - background: #F0F4F7; - border-radius: 2px; - line-height: 25px; - padding: 0 7px; - font-size: 12px; -} - -/* - * Sidebar - */ - -.sidebar.modal .close { - position: absolute; - right: 5px; - top: 2px; - color: #ffffff; - text-shadow: 0 1px 0 #fff; - opacity: 0.8; -} - -.modal-left .modal-dialog { - position: fixed; - margin: auto; - width: 200px; - height: 100%; - -webkit-transform: translate3d(0%, 0, 0); - transform: translate3d(0%, 0, 0); -} - -.modal-left .modal-content { - overflow-y: auto; -} - -.modal-left.fade .modal-dialog { - left: -200px; - -webkit-transition: opacity 0.2s linear, left 0.2s ease-out; - transition: opacity 0.2s linear, left 0.2s ease-out; -} - -.modal-left.fade.show .modal-dialog { - left: 0; -} - -.card-table .table { - margin-bottom: 0; -} - -.card-table .table th { - border-top: none; -} - -.table thead th { - border-bottom: 1px solid #dee2e6; -} - -.table-striped tbody tr:nth-of-type(odd) { - background-color: rgba(0, 0, 0, 0.03); -} - -/* restore specificity of hover style */ - -.table-hover tbody tr:hover { - background-color: rgba(0, 0, 0, 0.075); -} - -table.table-hover-reset tr:hover { - background-color: inherit; - opacity: 1; -} - -.table tr.bold td { - font-weight: bold; -} - -.table th { - background-color: #fdfdfd; - font-weight: bold; - color: #1E2442; -} - -.table td, -.table th { - padding: 0.8rem 0.8rem; - border-top: 1px solid #e9edf1; -} - -.table-hover tbody tr:hover { - background-color: #f6fafc; -} - -@supports (font-variation-settings: normal) { - html { - font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; - } -} - -html { - height: 100%; -} - -body { - font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 0.85rem; - height: 100%; - overflow-x: hidden; - overflow-y: auto; - background-color: #F0F4F7; - color: #555; -} - -a { - color: #0056b3; -} - -h1 { - font-weight: 300; - font-size: 2.2rem; - margin-bottom: 20px; -} - -.col-0 { - width: 0; -} - -#content-wrapper { - min-width: 100vw; -} - -@media (min-width: 992px) { - #content-wrapper { - min-width: 0; - width: 100%; - } -} - -.bg-purple-100 { - background-color: #1E2442 !important; -} - -.bg-purple-500 { - background-color: #5D63FF !important; -} - -a.color-purple-500 { - color: #1E2442; -} - -a.color-purple-500:hover, -a.color-purple-500:active { - color: #1E2442; -} - -.color-purple-500 { - color: #5D63FF; -} - -.color-gray-100 { - color: #eceff2 !important; -} - -.color-gray-200 { - color: #dee2e6 !important; -} - -.color-gray-300 { - color: #ced4da !important; -} - -.color-gray-400 { - color: #adb5bd !important; -} - -.color-gray-500 { - color: #8B97A3 !important; -} - -.color-gray-600 { - color: #6c757d !important; -} - -.color-gray-700 { - color: #495057 !important; -} - -.color-gray-800 { - color: #343a40 !important; -} - -.fw-25 { - -webkit-box-flex: 0; - flex: 0 0 25px; -} - -.fw-80 { - -webkit-box-flex: 0; - flex: 0 0 80px; -} - -.fw-160 { - -webkit-box-flex: 0; - flex: 0 0 160px; -} - -/* Header */ - -.bg-trial-header { - background-color: #ffe4af; -} - -.main-header .workspace-select { - line-height: 24px; -} - -.main-header .user-dropdown { - border: 1px solid transparent; - line-height: 24px; -} - -.main-header .dropdown-item:hover .fas { - color: #1E2442; -} - -.main-header .dropdown-toggle::after { - display: none; -} - -@media (min-width: 576px) { - .main-header .workspace-select { - border: 1px solid rgba(107, 120, 133, 0.1); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - border-radius: 4px; - line-height: 24px; - } -} - -/* - * Navbar - */ - -.navbar-expand .navbar-nav .nav-link { - padding-right: 0; -} - -.navbar { - background-color: #ffffff; - border: none; -} - -.dropdown-menu { - font-size: 0.85rem; - background: #ffffff; - border: 1px solid rgba(43, 49, 55, 0.07); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.02), 0 10px 18px rgba(43, 49, 55, 0.25); - border-radius: 4px; - width: 12.5rem; -} - -.nav-pills a.nav-link { - border-radius: 0; - color: #1E2442; - padding: 0.4rem 0.8rem 0.3rem; - margin-right: 0.5rem; -} - -.nav-pills a.nav-link.active { - background-color: transparent; - border-bottom: 4px solid #5D63FF; - color: #1E2442; - border-radius: 4px; -} - -.nav-pills a.nav-link:hover { - border-bottom: 4px solid #5D63FF; - border-radius: 4px; -} - -/* - * Sidebar - */ - -.sidebar { - -webkit-box-flex: 0; - flex: 0 0 225px; - transition: transform 0.1s ease-in-out, width 0.1s ease-in-out, margin 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; -} - -.sidebar .sidebar-inner { - margin: 0 1.5rem; -} - -.sidebar ul { - margin: 0; - padding: 0; -} - -.sidebar li { - white-space: nowrap; - overflow: hidden; -} - -.sidebar li.nav-item { - color: #ffffff; - margin-bottom: 0.2rem; - padding: 0; -} - -.sidebar li.nav-item a.nav-link { - color: #ffffff; - font-weight: normal; - font-size: 0.9rem; - padding: 0.7rem 0 0.7em 1.2rem; - border-left: 6px solid; - border-left-color: #1E2442; - border-radius: 6px; -} - -.sidebar li.nav-item a.nav-link .fas { - color: #7c97a4; -} - -.sidebar li.nav-item a.nav-link:hover { - background: #2e3765; - border-left-color: #2e3765; -} - -.sidebar li.nav-item.active a.nav-link { - color: #ffffff; - background: #2e3765; - border-left-color: #5D63FF; -} - -.sidebar li.nav-item.active a.nav-link .fas { - color: #ffffff; -} - -.sidebar .metismenu ul a { - padding: 5px 0 5px 40px; -} - -/* - * Content - */ - -.main-wrapper { - background-color: #f4f8ff; - transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; -} - -.card { - border-radius: 4px; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); - border: none; - margin-bottom: 16px; -} - -.card .card-header { - background-color: #ffffff; - border-bottom: none; - font-weight: 600; - padding: 1.25rem; - border-bottom: 1px solid #dee2e6; - font-size: 1.3rem; -} - -.card .card-header .card-filters { - margin-top: 1rem; - padding-top: 1.25rem; - padding-left: 1.25rem; - padding-right: 1.25rem; - border-top: 1px solid #EDEFF2; -} - -.card .card-header h5, -.card .card-header .h5 { - font-size: 1.2rem; - margin-bottom: 0; - margin-top: 0.2rem; - color: #8B97A3; -} - -.card .card-body { - background-color: #ffffff; -} - -.card .card-table { - padding: 0; -} - -.widget { - position: relative; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - min-width: 0; - word-wrap: break-word; - background-color: #fff; - background-clip: border-box; - border-radius: 0.25rem; - border-bottom: 3px solid #B1B9FF; -} - -.widget .h2 { - font-weight: 400; -} - -.widget .fal { - color: #8B97A3; -} - -.error-listing .card { - padding-top: 0; - padding-bottom: 0; -} - -.error-listing .card .card-body { - padding-top: 0; - padding-bottom: 0; -} - -.error-listing .card .row { - border-bottom: 1px solid #EBEDEF; - padding-top: 1rem; - padding-bottom: 1rem; -} - -.error-listing .card .row:last-of-type { - border-bottom: none; -} - -.error-listing .card .error-name { - font-weight: bold; -} - -.error-listing .card .error-name span { - font-weight: normal; - color: #8B97A3; - font-size: 0.7rem; -} - -/* - * Pagination - */ - -ul.pagination { - margin-bottom: 0; -} - -ul.pagination .page-item.active .page-link { - background-color: #1E2442; - border-color: #1E2442; -} - -ul.pagination .page-link { - color: #1E2442; -} - -/* - * Buttons - */ - -.alert ul { - margin-bottom: 0; -} - -.sub-plans label { - line-height: 24px; -} - -/*---- Select 2 ----*/ - -.select2 { - width: 100% !important; -} - -.select2-container--default .select2-selection--multiple { - border: 1px solid #dee2e6; -} - -.select2-container .select2-selection--multiple { - min-height: 30px; -} - -.select2-container--default .select2-selection--multiple .select2-selection__choice { - margin-top: 3px; -} - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border: 1px solid #1E2442; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} - -.select2-container .select2-search--inline .select2-search__field { - margin-top: 2px; -} - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border-color: #1E2442; - box-shadow: none; -} - -.empty-table-text { - margin: 0 2rem; - text-align: center; - color: #777777; - font-size: 0.75rem; - text-transform: uppercase; - letter-spacing: 0.1em; -} - -/*---- Badges ----*/ - -.badge { - letter-spacing: 0.075em; - padding: 0.25rem 0.5rem; - border-radius: 4px; - font-size: 0.75rem; -} - -.badge-light { - background-color: #eceff2; - color: #495057; -} - -.badge-success { - background-color: #d7f5ea; - color: #306955; -} - -.badge-danger { - background-color: #ffebee; - color: #CF1124; -} - -.badge-warning { - background-color: #FFEFE6; - color: #CB6E17; -} - -.badge-info { - background-color: #E6F6FF; - color: #0A558C; -} - -/*---- Summernote ----*/ - -.note-editor.note-frame { - border: 1px solid #dee2e6; -} - +@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);.hide{display:none!important}.no-underline,.no-underline:hover{text-decoration:none}.cursor-move{cursor:move}.grow{transition:transform .2s ease}.grow:hover{transform:scale(1.15)}.p-4-half{padding:2.3rem!important}.pl-4-half{padding-left:2.3rem!important}.pb-4-half,.pr-4-half{padding-right:2.3rem!important}.pt-4-half{padding-top:2.3rem!important}pre{white-space:pre-wrap;word-wrap:break-word;text-align:justify}span.required{color:red}.border-light{border-color:#dee2e6!important}.abc-checkbox{cursor:default;padding-left:4px}.abc-checkbox label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-checkbox label:before{content:"";width:17px;height:17px;border:1px solid #dee2e6;border-radius:3px;background-color:#fff;transition:border .15s ease-in-out,color .15s ease-in-out}.abc-checkbox label:after,.abc-checkbox label:before{cursor:pointer;display:inline-block;position:absolute;top:2px;left:0;margin-left:-20px}.abc-checkbox label:after{width:16px;height:16px;padding-left:3px;padding-top:1px;font-size:11px;color:#6c757d}.abc-checkbox input[type=checkbox],.abc-checkbox input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-checkbox input[type=checkbox]:focus+label:before,.abc-checkbox input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-checkbox input[type=checkbox]:checked+label:after,.abc-checkbox input[type=radio]:checked+label:after{font-family:Font Awesome\ 5 Pro;content:"\F00C"}.abc-checkbox input[type=checkbox]:indeterminate+label:after,.abc-checkbox input[type=radio]:indeterminate+label:after{display:block;content:"";width:10px;height:3px;background-color:#555;border-radius:2px;margin-left:-16.5px;margin-top:7px}.abc-checkbox input[type=checkbox]:disabled+label,.abc-checkbox input[type=radio]:disabled+label{opacity:.65}.abc-checkbox input[type=checkbox]:disabled+label:before,.abc-checkbox input[type=radio]:disabled+label:before{background-color:#6c757d;cursor:not-allowed}.abc-checkbox input[type=checkbox]:disabled+label:after,.abc-checkbox input[type=radio]:disabled+label:after{cursor:not-allowed}.abc-checkbox.abc-checkbox-circle label:before{border-radius:50%}.abc-checkbox.checkbox-inline{margin-top:0}.abc-checkbox-primary input[type=checkbox]:checked+label:before,.abc-checkbox-primary input[type=radio]:checked+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:checked+label:after,.abc-checkbox-primary input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-danger input[type=checkbox]:checked+label:before,.abc-checkbox-danger input[type=radio]:checked+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:checked+label:after,.abc-checkbox-danger input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-info input[type=checkbox]:checked+label:before,.abc-checkbox-info input[type=radio]:checked+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:checked+label:after,.abc-checkbox-info input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-warning input[type=checkbox]:checked+label:before,.abc-checkbox-warning input[type=radio]:checked+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:checked+label:after,.abc-checkbox-warning input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-success input[type=checkbox]:checked+label:before,.abc-checkbox-success input[type=radio]:checked+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:checked+label:after,.abc-checkbox-success input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:before,.abc-checkbox-primary input[type=radio]:indeterminate+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:after,.abc-checkbox-primary input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:before,.abc-checkbox-danger input[type=radio]:indeterminate+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:after,.abc-checkbox-danger input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-info input[type=checkbox]:indeterminate+label:before,.abc-checkbox-info input[type=radio]:indeterminate+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:indeterminate+label:after,.abc-checkbox-info input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:before,.abc-checkbox-warning input[type=radio]:indeterminate+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:after,.abc-checkbox-warning input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-success input[type=checkbox]:indeterminate+label:before,.abc-checkbox-success input[type=radio]:indeterminate+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:indeterminate+label:after,.abc-checkbox-success input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-radio{cursor:default;padding-left:4px}.abc-radio label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-radio label:before{content:"";width:17px;height:17px;top:2px;left:0;border:1px solid #dee2e6;border-radius:50%;background-color:#fff;transition:border .15s ease-in-out}.abc-radio label:after,.abc-radio label:before{cursor:pointer;display:inline-block;position:absolute;margin-left:-20px}.abc-radio label:after{content:" ";width:11px;height:11px;left:3px;top:5px;border-radius:50%;background-color:#6c757d;transform:scale(0);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33)}.abc-radio input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-radio input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-radio input[type=radio]:checked+label:after{transform:scale(1)}.abc-radio input[type=radio]:disabled+label{opacity:.65}.abc-radio input[type=radio]:disabled+label:after,.abc-radio input[type=radio]:disabled+label:before{cursor:not-allowed}.abc-radio.radio-inline{margin-top:0}.abc-radio-primary input[type=radio]+label:after{background-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:before{border-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:after{background-color:#009ad9}.abc-radio-danger input[type=radio]+label:after{background-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:before{border-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:after{background-color:#e3342f}.abc-radio-info input[type=radio]+label:after{background-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:before{border-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:after{background-color:#0a92dd}.abc-radio-warning input[type=radio]+label:after{background-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:before{border-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:after{background-color:#f6993f}.abc-radio-success input[type=radio]+label:after{background-color:#38c172}.abc-radio-success input[type=radio]:checked+label:before{border-color:#38c172}.abc-radio-success input[type=radio]:checked+label:after{background-color:#38c172}label .form-check-input.is-invalid .abc-checkbox:before,label .form-check-input.is-invalid .abc-radio:before,label .was-validated .form-check-input:invalid .abc-checkbox:before,label .was-validated .form-check-input:invalid .abc-radio:before{border-color:#e3342f}.form-control{border:1px solid #dee2e6}.form-control:focus{border-color:#1e2442;box-shadow:none}.form-check-label,.form-control{font-size:.85rem}.form-row .form-group label{margin-bottom:.1rem}.input-group-text{font-size:.85rem}.input-group-prepend{min-width:40px}@media (min-width:576px){.card-filters .form-group{margin-bottom:0}}.form-control.datepicker{padding:.25rem .5rem}.form-control::-moz-placeholder{color:#8b97a3}.form-control:-ms-input-placeholder{color:#8b97a3}.form-control::-ms-input-placeholder{color:#8b97a3}.form-control::placeholder{color:#8b97a3}::-moz-placeholder{color:#8b97a3;opacity:1;font-style:italic}:-ms-input-placeholder{color:#8b97a3;font-style:italic}::-ms-input-placeholder{color:#8b97a3;font-style:italic}::placeholder{color:#8b97a3;font-style:italic}.select2-container .select2-search--inline .select2-search__field::-moz-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::placeholder{padding-top:5px}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}button:disabled{cursor:not-allowed}.btn-primary{background-color:#5d63ff;border-color:#5d63ff;color:#fff}.btn-primary .badge{color:#bddbff}.btn-primary:hover{background-color:#6c72ff;border-color:#6c72ff}.btn-secondary{background-color:#d9e2ec;border-color:#edf2f5;color:#5d63ff}.btn-secondary:hover{background-color:#cfdae7;border-color:#e3ebf0;color:#5d63ff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#e3ebf0;border-color:#e3ebf0;color:#5d63ff}.btn-light{color:#495057;background-color:#f8f9fb;border:1px solid #dee2e6}.btn-light:hover{color:#40464c;background-color:#eef1f5;border:1px solid #d5dadf}a.btn-link{color:#0056b3}.btn-filter{padding:.26rem 1rem!important}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#474d54;background-color:#f5f6f8;border-color:#dae0e5}.btn-outline-primary{color:#5d63ff;border-color:#5d63ff}.btn-xs{padding:.4rem;font-size:.7rem;line-height:.5;border-radius:.2rem}.btn-wide{padding-left:1rem!important;padding-right:1rem!important}.btn-group-sm>.btn,.btn-sm{padding:.4rem 1rem;line-height:1.5}.btn .badge{color:#969fa8;top:auto}.btn-group .btn{border:1px solid #e1e4e7;color:#495057}.btn-group .btn-primary{color:#fff}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;padding:.2rem .5rem}.btn-group-md>.btn,.btn-md{font-size:.8rem;padding:.35rem .75rem}.page-signin-alt .signin-password{position:relative}.page-signin-alt .signin-password .forgot{position:absolute;right:7px;top:7px;color:#555;background:#f0f4f7;border-radius:2px;line-height:25px;padding:0 7px;font-size:12px}.sidebar.modal .close{position:absolute;right:5px;top:2px;color:#fff;text-shadow:0 1px 0 #fff;opacity:.8}.modal-left .modal-dialog{position:fixed;margin:auto;width:200px;height:100%;transform:translateZ(0)}.modal-left .modal-content{overflow-y:auto}.modal-left.fade .modal-dialog{left:-200px;transition:opacity .2s linear,left .2s ease-out}.modal-left.fade.show .modal-dialog{left:0}.card-table .table{margin-bottom:0}.card-table .table th{border-top:none}.table thead th{border-bottom:1px solid #dee2e6}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.03)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}table.table-hover-reset tr:hover{background-color:inherit;opacity:1}.table th,.table tr.bold td{font-weight:700}.table th{background-color:#fdfdfd;color:#1e2442}.table td,.table th{padding:.8rem;border-top:1px solid #e9edf1}.table-hover tbody tr:hover{background-color:#f6fafc}@supports (font-variation-settings:normal){html{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif}}body,html{height:100%}body{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.85rem;overflow-x:hidden;overflow-y:auto;background-color:#f0f4f7;color:#555}a{color:#0056b3}h1{font-weight:300;font-size:2.2rem;margin-bottom:20px}.col-0{width:0}#content-wrapper{min-width:100vw}@media (min-width:992px){#content-wrapper{min-width:0;width:100%}}.bg-purple-100{background-color:#1e2442!important}.bg-purple-500{background-color:#5d63ff!important}a.color-purple-500,a.color-purple-500:active,a.color-purple-500:hover{color:#1e2442}.color-purple-500{color:#5d63ff}.color-gray-100{color:#eceff2!important}.color-gray-200{color:#dee2e6!important}.color-gray-300{color:#ced4da!important}.color-gray-400{color:#adb5bd!important}.color-gray-500{color:#8b97a3!important}.color-gray-600{color:#6c757d!important}.color-gray-700{color:#495057!important}.color-gray-800{color:#343a40!important}.fw-25{flex:0 0 25px}.fw-80{flex:0 0 80px}.fw-160{flex:0 0 160px}.bg-trial-header{background-color:#ffe4af}.main-header .workspace-select{line-height:24px}.main-header .user-dropdown{border:1px solid transparent;line-height:24px}.main-header .dropdown-item:hover .fas{color:#1e2442}.main-header .dropdown-toggle:after{display:none}@media (min-width:576px){.main-header .workspace-select{border:1px solid rgba(107,120,133,.1);box-shadow:0 1px 1px rgba(0,0,0,.04);border-radius:4px;line-height:24px}}.navbar-expand .navbar-nav .nav-link{padding-right:0}.navbar{background-color:#fff;border:none}.dropdown-menu{font-size:.85rem;background:#fff;border:1px solid rgba(43,49,55,.07);box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.02),0 10px 18px rgba(43,49,55,.25);border-radius:4px;width:12.5rem}.nav-pills a.nav-link{border-radius:0;color:#1e2442;padding:.4rem .8rem .3rem;margin-right:.5rem}.nav-pills a.nav-link.active{background-color:transparent;color:#1e2442}.nav-pills a.nav-link.active,.nav-pills a.nav-link:hover{border-bottom:4px solid #5d63ff;border-radius:4px}.sidebar{flex:0 0 225px;transition:transform .1s ease-in-out,width .1s ease-in-out,margin .1s ease-in-out}.sidebar .sidebar-inner{margin:0 1.5rem}.sidebar ul{margin:0;padding:0}.sidebar li{white-space:nowrap;overflow:hidden}.sidebar li.nav-item{color:#fff;margin-bottom:.2rem;padding:0}.sidebar li.nav-item a.nav-link{color:#fff;font-weight:400;font-size:.9rem;padding:.7rem 0 .7em 1.2rem;border-left:6px solid #1e2442;border-radius:6px}.sidebar li.nav-item a.nav-link .fas{color:#7c97a4}.sidebar li.nav-item a.nav-link:hover{background:#2e3765;border-left-color:#2e3765}.sidebar li.nav-item.active a.nav-link{color:#fff;background:#2e3765;border-left-color:#5d63ff}.sidebar li.nav-item.active a.nav-link .fas{color:#fff}.sidebar .metismenu ul a{padding:5px 0 5px 40px}.main-wrapper{background-color:#f4f8ff;transition:transform .3s ease-in-out,width .3s ease-in-out,margin .3s ease-in-out}.card{border-radius:4px;box-shadow:0 3px 5px rgba(0,0,0,.1);border:none;margin-bottom:16px}.card .card-header{background-color:#fff;font-weight:600;padding:1.25rem;border-bottom:1px solid #dee2e6;font-size:1.3rem}.card .card-header .card-filters{margin-top:1rem;padding-top:1.25rem;padding-left:1.25rem;padding-right:1.25rem;border-top:1px solid #edeff2}.card .card-header .h5,.card .card-header h5{font-size:1.2rem;margin-bottom:0;margin-top:.2rem;color:#8b97a3}.card .card-body{background-color:#fff}.card .card-table{padding:0}.widget{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:.25rem;border-bottom:3px solid #b1b9ff}.widget .h2{font-weight:400}.widget .fal{color:#8b97a3}.error-listing .card,.error-listing .card .card-body{padding-top:0;padding-bottom:0}.error-listing .card .row{border-bottom:1px solid #ebedef;padding-top:1rem;padding-bottom:1rem}.error-listing .card .row:last-of-type{border-bottom:none}.error-listing .card .error-name{font-weight:700}.error-listing .card .error-name span{font-weight:400;color:#8b97a3;font-size:.7rem}ul.pagination{margin-bottom:0}ul.pagination .page-item.active .page-link{background-color:#1e2442;border-color:#1e2442}ul.pagination .page-link{color:#1e2442}.alert ul{margin-bottom:0}.sub-plans label{line-height:24px}.select2{width:100%!important}.select2-container--default .select2-selection--multiple{border:1px solid #dee2e6}.select2-container .select2-selection--multiple{min-height:30px}.select2-container--default .select2-selection--multiple .select2-selection__choice{margin-top:3px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #1e2442;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.select2-container .select2-search--inline .select2-search__field{margin-top:2px}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#1e2442;box-shadow:none}.empty-table-text{margin:0 2rem;text-align:center;color:#777;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.badge{letter-spacing:.075em;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.badge-light{background-color:#eceff2;color:#495057}.badge-success{background-color:#d7f5ea;color:#306955}.badge-danger{background-color:#ffebee;color:#cf1124}.badge-warning{background-color:#ffefe6;color:#cb6e17}.badge-info{background-color:#e6f6ff;color:#0a558c}.note-editor.note-frame{border:1px solid #dee2e6}.filter-option-inner-inner{font-size:.85rem}.form-group-segments button{padding:.25rem .5rem!important} \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 94145b94..92b8c215 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,3 +1,3 @@ { - "/app.css": "/app.css?id=8fa2afbe06c9622a3801" + "/app.css": "/app.css?id=729af28c682af449dd53" } diff --git a/resources/sass/app.scss b/resources/sass/app.scss index e581b066..8e8a0ded 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -388,8 +388,6 @@ ul.pagination { */ - - .alert ul { margin-bottom: 0; } @@ -476,3 +474,11 @@ ul.pagination { .note-editor.note-frame { border: 1px solid $gray-200; } + +.filter-option-inner-inner { + font-size: .85rem; +} + +.form-group-segments button { + padding: .25rem .5rem !important; +} diff --git a/resources/views/subscribers/index.blade.php b/resources/views/subscribers/index.blade.php index efb8888e..9b5039c7 100644 --- a/resources/views/subscribers/index.blade.php +++ b/resources/views/subscribers/index.blade.php @@ -25,6 +25,10 @@ +
+ {!! Form::selectMultipleField('segments[]', null, $segments, request()->get('segments')) !!} +
+ @if(request()->anyFilled(['name', 'status'])) @@ -130,3 +134,11 @@ class="btn btn-xs btn-light">{{ __('Edit') }} @endsection + +@push('css') + +@endpush + +@push('js') + +@endpush diff --git a/src/Http/Controllers/Segments/SegmentsController.php b/src/Http/Controllers/Segments/SegmentsController.php index 7bec30e4..90172792 100644 --- a/src/Http/Controllers/Segments/SegmentsController.php +++ b/src/Http/Controllers/Segments/SegmentsController.php @@ -6,6 +6,7 @@ use Exception; use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; use Illuminate\View\View; use Sendportal\Base\Http\Controllers\Controller; use Sendportal\Base\Http\Requests\SegmentRequest; diff --git a/src/Http/Controllers/Subscribers/SubscribersController.php b/src/Http/Controllers/Subscribers/SubscribersController.php index 9ff00e43..9681477f 100644 --- a/src/Http/Controllers/Subscribers/SubscribersController.php +++ b/src/Http/Controllers/Subscribers/SubscribersController.php @@ -39,15 +39,18 @@ public function __construct(SubscriberTenantRepositoryInterface $subscriberRepo, */ public function index(): View { + $workspace = auth()->user()->currentWorkspace(); + $subscribers = $this->subscriberRepo->paginate( - auth()->user()->currentWorkspace()->id, + $workspace->id, 'email', [], 50, request()->all() ); + $segments = $this->segmentRepo->pluck($workspace->id, 'name', 'id'); - return view('sendportal::subscribers.index', compact('subscribers')); + return view('sendportal::subscribers.index', compact('subscribers', 'segments')); } /** diff --git a/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php b/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php index 78728a82..599f7194 100644 --- a/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php +++ b/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php @@ -137,10 +137,10 @@ protected function applyStatusFilter(Builder $instance, array $filters): void */ protected function applySegmentFilter(Builder $instance, array $filters = []): void { - if ($segmentId = Arr::get($filters, 'segment_id')) { + if ($segmentIds = Arr::get($filters, 'segments')) { $instance->select('subscribers.*') ->leftJoin('segment_subscriber', 'subscribers.id', '=', 'segment_subscriber.subscriber_id') - ->whereIn('segment_subscriber.segment_id', $segmentId); + ->whereIn('segment_subscriber.segment_id', $segmentIds); } } } diff --git a/tests/Feature/Subscribers/SubscribersControllerTest.php b/tests/Feature/Subscribers/SubscribersControllerTest.php index a8c47f69..d2af099e 100644 --- a/tests/Feature/Subscribers/SubscribersControllerTest.php +++ b/tests/Feature/Subscribers/SubscribersControllerTest.php @@ -6,6 +6,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; +use Sendportal\Base\Models\Segment; use Sendportal\Base\Models\Subscriber; use Tests\TestCase; @@ -121,4 +122,65 @@ public function the_show_view_is_accessible_by_an_authenticated_user() // then $response->assertOk(); } + + /** @test */ + function the_subscribers_index_lists_subscribers() + { + [$workspace, $josh] = $this->createUserAndWorkspace(); + $subscriber = factory(Subscriber::class, 5)->create([ + 'workspace_id' => $workspace->id, + ]); + + $response = $this->actingAs($josh) + ->get(route('sendportal.subscribers.index')); + + $subscriber->each(static function (Subscriber $subscriber) use ($response) { + $response->assertSee($subscriber->email); + $response->assertSee("{$subscriber->first_name} {$subscriber->last_name}"); + }); + } + + /** @test */ + function the_subscribers_index_can_be_filtered_by_segments() + { + [$workspace, $josh] = $this->createUserAndWorkspace(); + + $firstSegment = factory(Segment::class)->create([ + 'workspace_id' => $workspace->id, + ]); + $secondSegment = factory(Segment::class)->create([ + 'workspace_id' => $workspace->id, + ]); + $thirdSegment = factory(Segment::class)->create([ + 'workspace_id' => $workspace->id, + ]); + + $firstSegmentSubscriber = factory(Subscriber::class)->create([ + 'workspace_id' => $workspace->id, + ]); + $secondSegmentSubscriber = factory(Subscriber::class)->create([ + 'workspace_id' => $workspace->id, + ]); + $thirdSegmentSubscriber = factory(Subscriber::class)->create([ + 'workspace_id' => $workspace->id, + ]); + + $firstSegment->subscribers()->attach($firstSegmentSubscriber->id); + $secondSegment->subscribers()->attach($secondSegmentSubscriber->id); + $thirdSegment->subscribers()->attach($thirdSegmentSubscriber->id); + + $response = $this->actingAs($josh) + ->get(route('sendportal.subscribers.index', [ + 'segments' => [$firstSegment->id, $secondSegment->id] + ])); + + $response->assertSee($firstSegmentSubscriber->email); + $response->assertSee("{$firstSegmentSubscriber->first_name} {$firstSegmentSubscriber->last_name}"); + $response->assertSee($secondSegmentSubscriber->email); + $response->assertSee("{$secondSegmentSubscriber->first_name} {$secondSegmentSubscriber->last_name}"); + $response->assertDontSee($thirdSegmentSubscriber->email); + $response->assertDontSee("{$thirdSegmentSubscriber->first_name} {$thirdSegmentSubscriber->last_name}"); + } + + } From b5ad161ca2c219e015d41ac100e5bf6884eae2e4 Mon Sep 17 00:00:00 2001 From: Joshua Franks Date: Fri, 28 Aug 2020 10:21:47 +0100 Subject: [PATCH 2/6] wip --- public/app.css | 2 +- public/mix-manifest.json | 2 +- resources/sass/app.scss | 2 +- resources/views/subscribers/index.blade.php | 20 +++++++++++++++---- .../Subscribers/SubscribersController.php | 2 +- .../BaseSubscriberTenantRepository.php | 3 ++- .../Subscribers/SubscribersControllerTest.php | 2 -- 7 files changed, 22 insertions(+), 11 deletions(-) diff --git a/public/app.css b/public/app.css index 5b38e952..ae0e2e48 100644 --- a/public/app.css +++ b/public/app.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);.hide{display:none!important}.no-underline,.no-underline:hover{text-decoration:none}.cursor-move{cursor:move}.grow{transition:transform .2s ease}.grow:hover{transform:scale(1.15)}.p-4-half{padding:2.3rem!important}.pl-4-half{padding-left:2.3rem!important}.pb-4-half,.pr-4-half{padding-right:2.3rem!important}.pt-4-half{padding-top:2.3rem!important}pre{white-space:pre-wrap;word-wrap:break-word;text-align:justify}span.required{color:red}.border-light{border-color:#dee2e6!important}.abc-checkbox{cursor:default;padding-left:4px}.abc-checkbox label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-checkbox label:before{content:"";width:17px;height:17px;border:1px solid #dee2e6;border-radius:3px;background-color:#fff;transition:border .15s ease-in-out,color .15s ease-in-out}.abc-checkbox label:after,.abc-checkbox label:before{cursor:pointer;display:inline-block;position:absolute;top:2px;left:0;margin-left:-20px}.abc-checkbox label:after{width:16px;height:16px;padding-left:3px;padding-top:1px;font-size:11px;color:#6c757d}.abc-checkbox input[type=checkbox],.abc-checkbox input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-checkbox input[type=checkbox]:focus+label:before,.abc-checkbox input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-checkbox input[type=checkbox]:checked+label:after,.abc-checkbox input[type=radio]:checked+label:after{font-family:Font Awesome\ 5 Pro;content:"\F00C"}.abc-checkbox input[type=checkbox]:indeterminate+label:after,.abc-checkbox input[type=radio]:indeterminate+label:after{display:block;content:"";width:10px;height:3px;background-color:#555;border-radius:2px;margin-left:-16.5px;margin-top:7px}.abc-checkbox input[type=checkbox]:disabled+label,.abc-checkbox input[type=radio]:disabled+label{opacity:.65}.abc-checkbox input[type=checkbox]:disabled+label:before,.abc-checkbox input[type=radio]:disabled+label:before{background-color:#6c757d;cursor:not-allowed}.abc-checkbox input[type=checkbox]:disabled+label:after,.abc-checkbox input[type=radio]:disabled+label:after{cursor:not-allowed}.abc-checkbox.abc-checkbox-circle label:before{border-radius:50%}.abc-checkbox.checkbox-inline{margin-top:0}.abc-checkbox-primary input[type=checkbox]:checked+label:before,.abc-checkbox-primary input[type=radio]:checked+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:checked+label:after,.abc-checkbox-primary input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-danger input[type=checkbox]:checked+label:before,.abc-checkbox-danger input[type=radio]:checked+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:checked+label:after,.abc-checkbox-danger input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-info input[type=checkbox]:checked+label:before,.abc-checkbox-info input[type=radio]:checked+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:checked+label:after,.abc-checkbox-info input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-warning input[type=checkbox]:checked+label:before,.abc-checkbox-warning input[type=radio]:checked+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:checked+label:after,.abc-checkbox-warning input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-success input[type=checkbox]:checked+label:before,.abc-checkbox-success input[type=radio]:checked+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:checked+label:after,.abc-checkbox-success input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:before,.abc-checkbox-primary input[type=radio]:indeterminate+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:after,.abc-checkbox-primary input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:before,.abc-checkbox-danger input[type=radio]:indeterminate+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:after,.abc-checkbox-danger input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-info input[type=checkbox]:indeterminate+label:before,.abc-checkbox-info input[type=radio]:indeterminate+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:indeterminate+label:after,.abc-checkbox-info input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:before,.abc-checkbox-warning input[type=radio]:indeterminate+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:after,.abc-checkbox-warning input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-success input[type=checkbox]:indeterminate+label:before,.abc-checkbox-success input[type=radio]:indeterminate+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:indeterminate+label:after,.abc-checkbox-success input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-radio{cursor:default;padding-left:4px}.abc-radio label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-radio label:before{content:"";width:17px;height:17px;top:2px;left:0;border:1px solid #dee2e6;border-radius:50%;background-color:#fff;transition:border .15s ease-in-out}.abc-radio label:after,.abc-radio label:before{cursor:pointer;display:inline-block;position:absolute;margin-left:-20px}.abc-radio label:after{content:" ";width:11px;height:11px;left:3px;top:5px;border-radius:50%;background-color:#6c757d;transform:scale(0);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33)}.abc-radio input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-radio input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-radio input[type=radio]:checked+label:after{transform:scale(1)}.abc-radio input[type=radio]:disabled+label{opacity:.65}.abc-radio input[type=radio]:disabled+label:after,.abc-radio input[type=radio]:disabled+label:before{cursor:not-allowed}.abc-radio.radio-inline{margin-top:0}.abc-radio-primary input[type=radio]+label:after{background-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:before{border-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:after{background-color:#009ad9}.abc-radio-danger input[type=radio]+label:after{background-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:before{border-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:after{background-color:#e3342f}.abc-radio-info input[type=radio]+label:after{background-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:before{border-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:after{background-color:#0a92dd}.abc-radio-warning input[type=radio]+label:after{background-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:before{border-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:after{background-color:#f6993f}.abc-radio-success input[type=radio]+label:after{background-color:#38c172}.abc-radio-success input[type=radio]:checked+label:before{border-color:#38c172}.abc-radio-success input[type=radio]:checked+label:after{background-color:#38c172}label .form-check-input.is-invalid .abc-checkbox:before,label .form-check-input.is-invalid .abc-radio:before,label .was-validated .form-check-input:invalid .abc-checkbox:before,label .was-validated .form-check-input:invalid .abc-radio:before{border-color:#e3342f}.form-control{border:1px solid #dee2e6}.form-control:focus{border-color:#1e2442;box-shadow:none}.form-check-label,.form-control{font-size:.85rem}.form-row .form-group label{margin-bottom:.1rem}.input-group-text{font-size:.85rem}.input-group-prepend{min-width:40px}@media (min-width:576px){.card-filters .form-group{margin-bottom:0}}.form-control.datepicker{padding:.25rem .5rem}.form-control::-moz-placeholder{color:#8b97a3}.form-control:-ms-input-placeholder{color:#8b97a3}.form-control::-ms-input-placeholder{color:#8b97a3}.form-control::placeholder{color:#8b97a3}::-moz-placeholder{color:#8b97a3;opacity:1;font-style:italic}:-ms-input-placeholder{color:#8b97a3;font-style:italic}::-ms-input-placeholder{color:#8b97a3;font-style:italic}::placeholder{color:#8b97a3;font-style:italic}.select2-container .select2-search--inline .select2-search__field::-moz-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::placeholder{padding-top:5px}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}button:disabled{cursor:not-allowed}.btn-primary{background-color:#5d63ff;border-color:#5d63ff;color:#fff}.btn-primary .badge{color:#bddbff}.btn-primary:hover{background-color:#6c72ff;border-color:#6c72ff}.btn-secondary{background-color:#d9e2ec;border-color:#edf2f5;color:#5d63ff}.btn-secondary:hover{background-color:#cfdae7;border-color:#e3ebf0;color:#5d63ff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#e3ebf0;border-color:#e3ebf0;color:#5d63ff}.btn-light{color:#495057;background-color:#f8f9fb;border:1px solid #dee2e6}.btn-light:hover{color:#40464c;background-color:#eef1f5;border:1px solid #d5dadf}a.btn-link{color:#0056b3}.btn-filter{padding:.26rem 1rem!important}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#474d54;background-color:#f5f6f8;border-color:#dae0e5}.btn-outline-primary{color:#5d63ff;border-color:#5d63ff}.btn-xs{padding:.4rem;font-size:.7rem;line-height:.5;border-radius:.2rem}.btn-wide{padding-left:1rem!important;padding-right:1rem!important}.btn-group-sm>.btn,.btn-sm{padding:.4rem 1rem;line-height:1.5}.btn .badge{color:#969fa8;top:auto}.btn-group .btn{border:1px solid #e1e4e7;color:#495057}.btn-group .btn-primary{color:#fff}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;padding:.2rem .5rem}.btn-group-md>.btn,.btn-md{font-size:.8rem;padding:.35rem .75rem}.page-signin-alt .signin-password{position:relative}.page-signin-alt .signin-password .forgot{position:absolute;right:7px;top:7px;color:#555;background:#f0f4f7;border-radius:2px;line-height:25px;padding:0 7px;font-size:12px}.sidebar.modal .close{position:absolute;right:5px;top:2px;color:#fff;text-shadow:0 1px 0 #fff;opacity:.8}.modal-left .modal-dialog{position:fixed;margin:auto;width:200px;height:100%;transform:translateZ(0)}.modal-left .modal-content{overflow-y:auto}.modal-left.fade .modal-dialog{left:-200px;transition:opacity .2s linear,left .2s ease-out}.modal-left.fade.show .modal-dialog{left:0}.card-table .table{margin-bottom:0}.card-table .table th{border-top:none}.table thead th{border-bottom:1px solid #dee2e6}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.03)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}table.table-hover-reset tr:hover{background-color:inherit;opacity:1}.table th,.table tr.bold td{font-weight:700}.table th{background-color:#fdfdfd;color:#1e2442}.table td,.table th{padding:.8rem;border-top:1px solid #e9edf1}.table-hover tbody tr:hover{background-color:#f6fafc}@supports (font-variation-settings:normal){html{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif}}body,html{height:100%}body{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.85rem;overflow-x:hidden;overflow-y:auto;background-color:#f0f4f7;color:#555}a{color:#0056b3}h1{font-weight:300;font-size:2.2rem;margin-bottom:20px}.col-0{width:0}#content-wrapper{min-width:100vw}@media (min-width:992px){#content-wrapper{min-width:0;width:100%}}.bg-purple-100{background-color:#1e2442!important}.bg-purple-500{background-color:#5d63ff!important}a.color-purple-500,a.color-purple-500:active,a.color-purple-500:hover{color:#1e2442}.color-purple-500{color:#5d63ff}.color-gray-100{color:#eceff2!important}.color-gray-200{color:#dee2e6!important}.color-gray-300{color:#ced4da!important}.color-gray-400{color:#adb5bd!important}.color-gray-500{color:#8b97a3!important}.color-gray-600{color:#6c757d!important}.color-gray-700{color:#495057!important}.color-gray-800{color:#343a40!important}.fw-25{flex:0 0 25px}.fw-80{flex:0 0 80px}.fw-160{flex:0 0 160px}.bg-trial-header{background-color:#ffe4af}.main-header .workspace-select{line-height:24px}.main-header .user-dropdown{border:1px solid transparent;line-height:24px}.main-header .dropdown-item:hover .fas{color:#1e2442}.main-header .dropdown-toggle:after{display:none}@media (min-width:576px){.main-header .workspace-select{border:1px solid rgba(107,120,133,.1);box-shadow:0 1px 1px rgba(0,0,0,.04);border-radius:4px;line-height:24px}}.navbar-expand .navbar-nav .nav-link{padding-right:0}.navbar{background-color:#fff;border:none}.dropdown-menu{font-size:.85rem;background:#fff;border:1px solid rgba(43,49,55,.07);box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.02),0 10px 18px rgba(43,49,55,.25);border-radius:4px;width:12.5rem}.nav-pills a.nav-link{border-radius:0;color:#1e2442;padding:.4rem .8rem .3rem;margin-right:.5rem}.nav-pills a.nav-link.active{background-color:transparent;color:#1e2442}.nav-pills a.nav-link.active,.nav-pills a.nav-link:hover{border-bottom:4px solid #5d63ff;border-radius:4px}.sidebar{flex:0 0 225px;transition:transform .1s ease-in-out,width .1s ease-in-out,margin .1s ease-in-out}.sidebar .sidebar-inner{margin:0 1.5rem}.sidebar ul{margin:0;padding:0}.sidebar li{white-space:nowrap;overflow:hidden}.sidebar li.nav-item{color:#fff;margin-bottom:.2rem;padding:0}.sidebar li.nav-item a.nav-link{color:#fff;font-weight:400;font-size:.9rem;padding:.7rem 0 .7em 1.2rem;border-left:6px solid #1e2442;border-radius:6px}.sidebar li.nav-item a.nav-link .fas{color:#7c97a4}.sidebar li.nav-item a.nav-link:hover{background:#2e3765;border-left-color:#2e3765}.sidebar li.nav-item.active a.nav-link{color:#fff;background:#2e3765;border-left-color:#5d63ff}.sidebar li.nav-item.active a.nav-link .fas{color:#fff}.sidebar .metismenu ul a{padding:5px 0 5px 40px}.main-wrapper{background-color:#f4f8ff;transition:transform .3s ease-in-out,width .3s ease-in-out,margin .3s ease-in-out}.card{border-radius:4px;box-shadow:0 3px 5px rgba(0,0,0,.1);border:none;margin-bottom:16px}.card .card-header{background-color:#fff;font-weight:600;padding:1.25rem;border-bottom:1px solid #dee2e6;font-size:1.3rem}.card .card-header .card-filters{margin-top:1rem;padding-top:1.25rem;padding-left:1.25rem;padding-right:1.25rem;border-top:1px solid #edeff2}.card .card-header .h5,.card .card-header h5{font-size:1.2rem;margin-bottom:0;margin-top:.2rem;color:#8b97a3}.card .card-body{background-color:#fff}.card .card-table{padding:0}.widget{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:.25rem;border-bottom:3px solid #b1b9ff}.widget .h2{font-weight:400}.widget .fal{color:#8b97a3}.error-listing .card,.error-listing .card .card-body{padding-top:0;padding-bottom:0}.error-listing .card .row{border-bottom:1px solid #ebedef;padding-top:1rem;padding-bottom:1rem}.error-listing .card .row:last-of-type{border-bottom:none}.error-listing .card .error-name{font-weight:700}.error-listing .card .error-name span{font-weight:400;color:#8b97a3;font-size:.7rem}ul.pagination{margin-bottom:0}ul.pagination .page-item.active .page-link{background-color:#1e2442;border-color:#1e2442}ul.pagination .page-link{color:#1e2442}.alert ul{margin-bottom:0}.sub-plans label{line-height:24px}.select2{width:100%!important}.select2-container--default .select2-selection--multiple{border:1px solid #dee2e6}.select2-container .select2-selection--multiple{min-height:30px}.select2-container--default .select2-selection--multiple .select2-selection__choice{margin-top:3px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #1e2442;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.select2-container .select2-search--inline .select2-search__field{margin-top:2px}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#1e2442;box-shadow:none}.empty-table-text{margin:0 2rem;text-align:center;color:#777;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.badge{letter-spacing:.075em;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.badge-light{background-color:#eceff2;color:#495057}.badge-success{background-color:#d7f5ea;color:#306955}.badge-danger{background-color:#ffebee;color:#cf1124}.badge-warning{background-color:#ffefe6;color:#cb6e17}.badge-info{background-color:#e6f6ff;color:#0a558c}.note-editor.note-frame{border:1px solid #dee2e6}.filter-option-inner-inner{font-size:.85rem}.form-group-segments button{padding:.25rem .5rem!important} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);.hide{display:none!important}.no-underline,.no-underline:hover{text-decoration:none}.cursor-move{cursor:move}.grow{transition:transform .2s ease}.grow:hover{transform:scale(1.15)}.p-4-half{padding:2.3rem!important}.pl-4-half{padding-left:2.3rem!important}.pb-4-half,.pr-4-half{padding-right:2.3rem!important}.pt-4-half{padding-top:2.3rem!important}pre{white-space:pre-wrap;word-wrap:break-word;text-align:justify}span.required{color:red}.border-light{border-color:#dee2e6!important}.abc-checkbox{cursor:default;padding-left:4px}.abc-checkbox label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-checkbox label:before{content:"";width:17px;height:17px;border:1px solid #dee2e6;border-radius:3px;background-color:#fff;transition:border .15s ease-in-out,color .15s ease-in-out}.abc-checkbox label:after,.abc-checkbox label:before{cursor:pointer;display:inline-block;position:absolute;top:2px;left:0;margin-left:-20px}.abc-checkbox label:after{width:16px;height:16px;padding-left:3px;padding-top:1px;font-size:11px;color:#6c757d}.abc-checkbox input[type=checkbox],.abc-checkbox input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-checkbox input[type=checkbox]:focus+label:before,.abc-checkbox input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-checkbox input[type=checkbox]:checked+label:after,.abc-checkbox input[type=radio]:checked+label:after{font-family:Font Awesome\ 5 Pro;content:"\F00C"}.abc-checkbox input[type=checkbox]:indeterminate+label:after,.abc-checkbox input[type=radio]:indeterminate+label:after{display:block;content:"";width:10px;height:3px;background-color:#555;border-radius:2px;margin-left:-16.5px;margin-top:7px}.abc-checkbox input[type=checkbox]:disabled+label,.abc-checkbox input[type=radio]:disabled+label{opacity:.65}.abc-checkbox input[type=checkbox]:disabled+label:before,.abc-checkbox input[type=radio]:disabled+label:before{background-color:#6c757d;cursor:not-allowed}.abc-checkbox input[type=checkbox]:disabled+label:after,.abc-checkbox input[type=radio]:disabled+label:after{cursor:not-allowed}.abc-checkbox.abc-checkbox-circle label:before{border-radius:50%}.abc-checkbox.checkbox-inline{margin-top:0}.abc-checkbox-primary input[type=checkbox]:checked+label:before,.abc-checkbox-primary input[type=radio]:checked+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:checked+label:after,.abc-checkbox-primary input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-danger input[type=checkbox]:checked+label:before,.abc-checkbox-danger input[type=radio]:checked+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:checked+label:after,.abc-checkbox-danger input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-info input[type=checkbox]:checked+label:before,.abc-checkbox-info input[type=radio]:checked+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:checked+label:after,.abc-checkbox-info input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-warning input[type=checkbox]:checked+label:before,.abc-checkbox-warning input[type=radio]:checked+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:checked+label:after,.abc-checkbox-warning input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-success input[type=checkbox]:checked+label:before,.abc-checkbox-success input[type=radio]:checked+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:checked+label:after,.abc-checkbox-success input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:before,.abc-checkbox-primary input[type=radio]:indeterminate+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:after,.abc-checkbox-primary input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:before,.abc-checkbox-danger input[type=radio]:indeterminate+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:after,.abc-checkbox-danger input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-info input[type=checkbox]:indeterminate+label:before,.abc-checkbox-info input[type=radio]:indeterminate+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:indeterminate+label:after,.abc-checkbox-info input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:before,.abc-checkbox-warning input[type=radio]:indeterminate+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:after,.abc-checkbox-warning input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-success input[type=checkbox]:indeterminate+label:before,.abc-checkbox-success input[type=radio]:indeterminate+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:indeterminate+label:after,.abc-checkbox-success input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-radio{cursor:default;padding-left:4px}.abc-radio label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-radio label:before{content:"";width:17px;height:17px;top:2px;left:0;border:1px solid #dee2e6;border-radius:50%;background-color:#fff;transition:border .15s ease-in-out}.abc-radio label:after,.abc-radio label:before{cursor:pointer;display:inline-block;position:absolute;margin-left:-20px}.abc-radio label:after{content:" ";width:11px;height:11px;left:3px;top:5px;border-radius:50%;background-color:#6c757d;transform:scale(0);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33)}.abc-radio input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-radio input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-radio input[type=radio]:checked+label:after{transform:scale(1)}.abc-radio input[type=radio]:disabled+label{opacity:.65}.abc-radio input[type=radio]:disabled+label:after,.abc-radio input[type=radio]:disabled+label:before{cursor:not-allowed}.abc-radio.radio-inline{margin-top:0}.abc-radio-primary input[type=radio]+label:after{background-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:before{border-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:after{background-color:#009ad9}.abc-radio-danger input[type=radio]+label:after{background-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:before{border-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:after{background-color:#e3342f}.abc-radio-info input[type=radio]+label:after{background-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:before{border-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:after{background-color:#0a92dd}.abc-radio-warning input[type=radio]+label:after{background-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:before{border-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:after{background-color:#f6993f}.abc-radio-success input[type=radio]+label:after{background-color:#38c172}.abc-radio-success input[type=radio]:checked+label:before{border-color:#38c172}.abc-radio-success input[type=radio]:checked+label:after{background-color:#38c172}label .form-check-input.is-invalid .abc-checkbox:before,label .form-check-input.is-invalid .abc-radio:before,label .was-validated .form-check-input:invalid .abc-checkbox:before,label .was-validated .form-check-input:invalid .abc-radio:before{border-color:#e3342f}.form-control{border:1px solid #dee2e6}.form-control:focus{border-color:#1e2442;box-shadow:none}.form-check-label,.form-control{font-size:.85rem}.form-row .form-group label{margin-bottom:.1rem}.input-group-text{font-size:.85rem}.input-group-prepend{min-width:40px}@media (min-width:576px){.card-filters .form-group{margin-bottom:0}}.form-control.datepicker{padding:.25rem .5rem}.form-control::-moz-placeholder{color:#8b97a3}.form-control:-ms-input-placeholder{color:#8b97a3}.form-control::-ms-input-placeholder{color:#8b97a3}.form-control::placeholder{color:#8b97a3}::-moz-placeholder{color:#8b97a3;opacity:1;font-style:italic}:-ms-input-placeholder{color:#8b97a3;font-style:italic}::-ms-input-placeholder{color:#8b97a3;font-style:italic}::placeholder{color:#8b97a3;font-style:italic}.select2-container .select2-search--inline .select2-search__field::-moz-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::placeholder{padding-top:5px}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}button:disabled{cursor:not-allowed}.btn-primary{background-color:#5d63ff;border-color:#5d63ff;color:#fff}.btn-primary .badge{color:#bddbff}.btn-primary:hover{background-color:#6c72ff;border-color:#6c72ff}.btn-secondary{background-color:#d9e2ec;border-color:#edf2f5;color:#5d63ff}.btn-secondary:hover{background-color:#cfdae7;border-color:#e3ebf0;color:#5d63ff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#e3ebf0;border-color:#e3ebf0;color:#5d63ff}.btn-light{color:#495057;background-color:#f8f9fb;border:1px solid #dee2e6}.btn-light:hover{color:#40464c;background-color:#eef1f5;border:1px solid #d5dadf}a.btn-link{color:#0056b3}.btn-filter{padding:.26rem 1rem!important}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#474d54;background-color:#f5f6f8;border-color:#dae0e5}.btn-outline-primary{color:#5d63ff;border-color:#5d63ff}.btn-xs{padding:.4rem;font-size:.7rem;line-height:.5;border-radius:.2rem}.btn-wide{padding-left:1rem!important;padding-right:1rem!important}.btn-group-sm>.btn,.btn-sm{padding:.4rem 1rem;line-height:1.5}.btn .badge{color:#969fa8;top:auto}.btn-group .btn{border:1px solid #e1e4e7;color:#495057}.btn-group .btn-primary{color:#fff}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;padding:.2rem .5rem}.btn-group-md>.btn,.btn-md{font-size:.8rem;padding:.35rem .75rem}.page-signin-alt .signin-password{position:relative}.page-signin-alt .signin-password .forgot{position:absolute;right:7px;top:7px;color:#555;background:#f0f4f7;border-radius:2px;line-height:25px;padding:0 7px;font-size:12px}.sidebar.modal .close{position:absolute;right:5px;top:2px;color:#fff;text-shadow:0 1px 0 #fff;opacity:.8}.modal-left .modal-dialog{position:fixed;margin:auto;width:200px;height:100%;transform:translateZ(0)}.modal-left .modal-content{overflow-y:auto}.modal-left.fade .modal-dialog{left:-200px;transition:opacity .2s linear,left .2s ease-out}.modal-left.fade.show .modal-dialog{left:0}.card-table .table{margin-bottom:0}.card-table .table th{border-top:none}.table thead th{border-bottom:1px solid #dee2e6}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.03)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}table.table-hover-reset tr:hover{background-color:inherit;opacity:1}.table th,.table tr.bold td{font-weight:700}.table th{background-color:#fdfdfd;color:#1e2442}.table td,.table th{padding:.8rem;border-top:1px solid #e9edf1}.table-hover tbody tr:hover{background-color:#f6fafc}@supports (font-variation-settings:normal){html{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif}}body,html{height:100%}body{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.85rem;overflow-x:hidden;overflow-y:auto;background-color:#f0f4f7;color:#555}a{color:#0056b3}h1{font-weight:300;font-size:2.2rem;margin-bottom:20px}.col-0{width:0}#content-wrapper{min-width:100vw}@media (min-width:992px){#content-wrapper{min-width:0;width:100%}}.bg-purple-100{background-color:#1e2442!important}.bg-purple-500{background-color:#5d63ff!important}a.color-purple-500,a.color-purple-500:active,a.color-purple-500:hover{color:#1e2442}.color-purple-500{color:#5d63ff}.color-gray-100{color:#eceff2!important}.color-gray-200{color:#dee2e6!important}.color-gray-300{color:#ced4da!important}.color-gray-400{color:#adb5bd!important}.color-gray-500{color:#8b97a3!important}.color-gray-600{color:#6c757d!important}.color-gray-700{color:#495057!important}.color-gray-800{color:#343a40!important}.fw-25{flex:0 0 25px}.fw-80{flex:0 0 80px}.fw-160{flex:0 0 160px}.bg-trial-header{background-color:#ffe4af}.main-header .workspace-select{line-height:24px}.main-header .user-dropdown{border:1px solid transparent;line-height:24px}.main-header .dropdown-item:hover .fas{color:#1e2442}.main-header .dropdown-toggle:after{display:none}@media (min-width:576px){.main-header .workspace-select{border:1px solid rgba(107,120,133,.1);box-shadow:0 1px 1px rgba(0,0,0,.04);border-radius:4px;line-height:24px}}.navbar-expand .navbar-nav .nav-link{padding-right:0}.navbar{background-color:#fff;border:none}.dropdown-menu{font-size:.85rem;background:#fff;border:1px solid rgba(43,49,55,.07);box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.02),0 10px 18px rgba(43,49,55,.25);border-radius:4px;width:12.5rem}.nav-pills a.nav-link{border-radius:0;color:#1e2442;padding:.4rem .8rem .3rem;margin-right:.5rem}.nav-pills a.nav-link.active{background-color:transparent;color:#1e2442}.nav-pills a.nav-link.active,.nav-pills a.nav-link:hover{border-bottom:4px solid #5d63ff;border-radius:4px}.sidebar{flex:0 0 225px;transition:transform .1s ease-in-out,width .1s ease-in-out,margin .1s ease-in-out}.sidebar .sidebar-inner{margin:0 1.5rem}.sidebar ul{margin:0;padding:0}.sidebar li{white-space:nowrap;overflow:hidden}.sidebar li.nav-item{color:#fff;margin-bottom:.2rem;padding:0}.sidebar li.nav-item a.nav-link{color:#fff;font-weight:400;font-size:.9rem;padding:.7rem 0 .7em 1.2rem;border-left:6px solid #1e2442;border-radius:6px}.sidebar li.nav-item a.nav-link .fas{color:#7c97a4}.sidebar li.nav-item a.nav-link:hover{background:#2e3765;border-left-color:#2e3765}.sidebar li.nav-item.active a.nav-link{color:#fff;background:#2e3765;border-left-color:#5d63ff}.sidebar li.nav-item.active a.nav-link .fas{color:#fff}.sidebar .metismenu ul a{padding:5px 0 5px 40px}.main-wrapper{background-color:#f4f8ff;transition:transform .3s ease-in-out,width .3s ease-in-out,margin .3s ease-in-out}.card{border-radius:4px;box-shadow:0 3px 5px rgba(0,0,0,.1);border:none;margin-bottom:16px}.card .card-header{background-color:#fff;font-weight:600;padding:1.25rem;border-bottom:1px solid #dee2e6;font-size:1.3rem}.card .card-header .card-filters{margin-top:1rem;padding-top:1.25rem;padding-left:1.25rem;padding-right:1.25rem;border-top:1px solid #edeff2}.card .card-header .h5,.card .card-header h5{font-size:1.2rem;margin-bottom:0;margin-top:.2rem;color:#8b97a3}.card .card-body{background-color:#fff}.card .card-table{padding:0}.widget{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:.25rem;border-bottom:3px solid #b1b9ff}.widget .h2{font-weight:400}.widget .fal{color:#8b97a3}.error-listing .card,.error-listing .card .card-body{padding-top:0;padding-bottom:0}.error-listing .card .row{border-bottom:1px solid #ebedef;padding-top:1rem;padding-bottom:1rem}.error-listing .card .row:last-of-type{border-bottom:none}.error-listing .card .error-name{font-weight:700}.error-listing .card .error-name span{font-weight:400;color:#8b97a3;font-size:.7rem}ul.pagination{margin-bottom:0}ul.pagination .page-item.active .page-link{background-color:#1e2442;border-color:#1e2442}ul.pagination .page-link{color:#1e2442}.alert ul{margin-bottom:0}.sub-plans label{line-height:24px}.select2{width:100%!important}.select2-container--default .select2-selection--multiple{border:1px solid #dee2e6}.select2-container .select2-selection--multiple{min-height:30px}.select2-container--default .select2-selection--multiple .select2-selection__choice{margin-top:3px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #1e2442;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.select2-container .select2-search--inline .select2-search__field{margin-top:2px}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#1e2442;box-shadow:none}.empty-table-text{margin:0 2rem;text-align:center;color:#777;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.badge{letter-spacing:.075em;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.badge-light{background-color:#eceff2;color:#495057}.badge-success{background-color:#d7f5ea;color:#306955}.badge-danger{background-color:#ffebee;color:#cf1124}.badge-warning{background-color:#ffefe6;color:#cb6e17}.badge-info{background-color:#e6f6ff;color:#0a558c}.note-editor.note-frame{border:1px solid #dee2e6}.filter-option-inner-inner{font-size:.85rem}#segmentFilterSelector button{padding:.25rem .5rem!important} \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 92b8c215..a0d4fc29 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,3 +1,3 @@ { - "/app.css": "/app.css?id=729af28c682af449dd53" + "/app.css": "/app.css?id=53c68304d34550530c1d" } diff --git a/resources/sass/app.scss b/resources/sass/app.scss index 8e8a0ded..23e41bad 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -479,6 +479,6 @@ ul.pagination { font-size: .85rem; } -.form-group-segments button { +#segmentFilterSelector button { padding: .25rem .5rem !important; } diff --git a/resources/views/subscribers/index.blade.php b/resources/views/subscribers/index.blade.php index 9b5039c7..55240ac8 100644 --- a/resources/views/subscribers/index.blade.php +++ b/resources/views/subscribers/index.blade.php @@ -25,8 +25,12 @@ -
- {!! Form::selectMultipleField('segments[]', null, $segments, request()->get('segments')) !!} +
+
@@ -69,6 +73,7 @@ class="btn btn-md btn-light">{{ __('Clear') }} {{ __('Email') }} {{ __('Name') }} + {{ __('Segments') }} {{ __('Created') }} {{ __('Status') }} {{ __('Actions') }} @@ -83,6 +88,12 @@ class="btn btn-md btn-light">{{ __('Clear') }} {{ $subscriber->full_name }} + + @forelse($subscriber->segments as $segment) + {{ $segment->name }} + @empty + - + @endforelse {{ $subscriber->created_at->diffForHumans() }} @@ -99,7 +110,8 @@ class="btn btn-md btn-light">{{ __('Clear') }} @method('DELETE') {{ __('Edit') }} - + @@ -126,7 +138,7 @@ class="btn btn-xs btn-light">{{ __('Edit') }} let confirmDelete = confirm('Are you sure you want to permanently delete this subscriber and all associated data?'); - if(confirmDelete) { + if (confirmDelete) { element.closest('form').submit(); } }); diff --git a/src/Http/Controllers/Subscribers/SubscribersController.php b/src/Http/Controllers/Subscribers/SubscribersController.php index 9681477f..64307654 100644 --- a/src/Http/Controllers/Subscribers/SubscribersController.php +++ b/src/Http/Controllers/Subscribers/SubscribersController.php @@ -44,7 +44,7 @@ public function index(): View $subscribers = $this->subscriberRepo->paginate( $workspace->id, 'email', - [], + ['segments'], 50, request()->all() ); diff --git a/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php b/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php index 599f7194..474f6486 100644 --- a/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php +++ b/src/Repositories/Subscribers/BaseSubscriberTenantRepository.php @@ -140,7 +140,8 @@ protected function applySegmentFilter(Builder $instance, array $filters = []): v if ($segmentIds = Arr::get($filters, 'segments')) { $instance->select('subscribers.*') ->leftJoin('segment_subscriber', 'subscribers.id', '=', 'segment_subscriber.subscriber_id') - ->whereIn('segment_subscriber.segment_id', $segmentIds); + ->whereIn('segment_subscriber.segment_id', $segmentIds) + ->distinct(); } } } diff --git a/tests/Feature/Subscribers/SubscribersControllerTest.php b/tests/Feature/Subscribers/SubscribersControllerTest.php index d2af099e..5d6f08a6 100644 --- a/tests/Feature/Subscribers/SubscribersControllerTest.php +++ b/tests/Feature/Subscribers/SubscribersControllerTest.php @@ -181,6 +181,4 @@ function the_subscribers_index_can_be_filtered_by_segments() $response->assertDontSee($thirdSegmentSubscriber->email); $response->assertDontSee("{$thirdSegmentSubscriber->first_name} {$thirdSegmentSubscriber->last_name}"); } - - } From 2b12d70a949ee937e8d6041069a7bd9372d636e6 Mon Sep 17 00:00:00 2001 From: joshuafranks Date: Fri, 28 Aug 2020 09:23:15 +0000 Subject: [PATCH 3/6] Apply php-cs-fixer changes --- .php_cs.cache | 2 +- src/Http/Controllers/Segments/SegmentsController.php | 1 - tests/Feature/Subscribers/SubscribersControllerTest.php | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.php_cs.cache b/.php_cs.cache index 4b79b3cf..b6c2bbe7 100644 --- a/.php_cs.cache +++ b/.php_cs.cache @@ -1 +1 @@ -{"php":"7.4.7","version":"2.16.4","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sortAlgorithm":"alpha"},"no_unused_imports":true},"hashes":{"tests\/Feature\/Webview\/WebviewControllerTest.php":2535759113,"tests\/Feature\/API\/SubscribersControllerTest.php":2793740894,"tests\/Feature\/API\/SegmentsControllerTest.php":237579380,"tests\/Feature\/API\/CampaignsControllerTest.php":1712743459,"tests\/Feature\/API\/SegmentSubscribersControllerTest.php":90654729,"tests\/Feature\/API\/TemplatesControllerTest.php":1464508170,"tests\/Feature\/API\/CampaignDispatchControllerTest.php":1815088962,"tests\/Feature\/API\/SubscriberSegmentsControllerTest.php":2045771091,"tests\/Feature\/API\/WorkspacesControllerTest.php":3695478411,"tests\/Feature\/Workspaces\/WorkspaceUserControllerTest.php":4194838600,"tests\/Feature\/Workspaces\/WorkspaceInvitationsControllerTest.php":1686923043,"tests\/Feature\/Workspaces\/SwitchWorkspaceTest.php":3132868480,"tests\/Feature\/Workspaces\/WorkspacesControllerTest.php":4117964831,"tests\/Feature\/Auth\/AuthConfigDisabledTest.php":2712218786,"tests\/Feature\/Auth\/AuthConfigEnabledTest.php":2050691960,"tests\/Feature\/Messages\/MessagesControllerTest.php":2262982461,"tests\/Feature\/Webhooks\/PostmarkWebhooksTest.php":2588822427,"tests\/Feature\/Webhooks\/SendgridWebhooksTest.php":4249665791,"tests\/Feature\/Webhooks\/MailgunWebhooksTest.php":3791954128,"tests\/Feature\/Webhooks\/AwsWebhooksTest.php":3493563250,"tests\/Feature\/Subscribers\/SubscribersControllerTest.php":1037559540,"tests\/Feature\/Segments\/SegmentsControllerTest.php":3290469221,"tests\/Feature\/EmailServices\/EmailServicesControllerTest.php":725788716,"tests\/Feature\/Campaigns\/CampaignReportsControllerTest.php":1350626890,"tests\/Feature\/Campaigns\/CampaignControllerTest.php":596263424,"tests\/Feature\/Content\/MergeContentTest.php":534700073,"tests\/Feature\/Templates\/TemplatesControllerTest.php":3203633291,"tests\/Feature\/Invitations\/NewUserInvitationTest.php":2719907928,"tests\/Feature\/Invitations\/ExistingUserInvitationTest.php":240790849,"tests\/TestCase.php":3795584197,"tests\/SendportalTestSupportTrait.php":551796750,"tests\/Unit\/Repositories\/CampaignTenantRepositoryTest.php":2402313543,"tests\/Unit\/Repositories\/MessageTenantRepositoryTest.php":3623740779,"tests\/Unit\/Repositories\/SubscriberTenantRepositoryTest.php":898571096,"tests\/Unit\/Services\/Messages\/MessageTrackingOptionsTest.php":801699771,"tests\/Unit\/Factories\/MailAdapterFactoryTest.php":3399406624,"tests\/Unit\/Models\/CampaignTest.php":870437449,"tests\/Unit\/Models\/TemplateTest.php":79881901,"tests\/Unit\/Models\/SubscriberTest.php":3142694578,"routes\/api.php":1934854576,"routes\/web.php":4063494453,"src\/Adapters\/BaseMailAdapter.php":2529230802,"src\/Adapters\/SendgridMailAdapter.php":4277132130,"src\/Adapters\/MailgunMailAdapter.php":1483562893,"src\/Adapters\/SesMailAdapter.php":3730945172,"src\/Adapters\/PostmarkMailAdapter.php":538078784,"src\/Http\/Requests\/CampaignDeleteRequest.php":368609726,"src\/Http\/Requests\/Api\/SegmentSubscriberStoreRequest.php":3248423559,"src\/Http\/Requests\/Api\/TemplateUpdateRequest.php":687342421,"src\/Http\/Requests\/Api\/SegmentSubscriberUpdateRequest.php":942935001,"src\/Http\/Requests\/Api\/SegmentSubscriberDestroyRequest.php":466145461,"src\/Http\/Requests\/Api\/SubscriberUpdateRequest.php":4219924558,"src\/Http\/Requests\/Api\/CampaignDispatchRequest.php":288916051,"src\/Http\/Requests\/Api\/SubscriberSegmentUpdateRequest.php":678637663,"src\/Http\/Requests\/Api\/CampaignStoreRequest.php":3290281303,"src\/Http\/Requests\/Api\/SegmentStoreRequest.php":2456712749,"src\/Http\/Requests\/Api\/SubscriberSegmentStoreRequest.php":1536255200,"src\/Http\/Requests\/Api\/TemplateStoreRequest.php":1142475105,"src\/Http\/Requests\/Api\/SegmentUpdateRequest.php":1514958860,"src\/Http\/Requests\/Api\/SubscriberSegmentDestroyRequest.php":3287356123,"src\/Http\/Requests\/Api\/SubscriberStoreRequest.php":3612893729,"src\/Http\/Requests\/TemplateUpdateRequest.php":3503722152,"src\/Http\/Requests\/SubscriptionToggleRequest.php":3726657740,"src\/Http\/Requests\/Workspaces\/WorkspaceUpdateRequest.php":1321366471,"src\/Http\/Requests\/Workspaces\/WorkspaceInvitationStoreRequest.php":2630595037,"src\/Http\/Requests\/Workspaces\/CreateWorkspaceRequest.php":3431339599,"src\/Http\/Requests\/Workspaces\/WorkspaceStoreRequest.php":3537047411,"src\/Http\/Requests\/CampaignDispatchRequest.php":1281664598,"src\/Http\/Requests\/CampaignStoreRequest.php":3645991413,"src\/Http\/Requests\/CampaignTestRequest.php":4235293899,"src\/Http\/Requests\/SubscriberRequest.php":192801441,"src\/Http\/Requests\/SegmentRequest.php":4283208938,"src\/Http\/Requests\/EmailServiceStoreRequest.php":1247658478,"src\/Http\/Requests\/CampaignContentRequest.php":1232189474,"src\/Http\/Requests\/ProfileUpdateRequest.php":2459854388,"src\/Http\/Requests\/CampaignTemplateUpdateRequest.php":120478771,"src\/Http\/Requests\/EmailServiceUpdateRequest.php":2689607115,"src\/Http\/Requests\/TemplateStoreRequest.php":1415487707,"src\/Http\/Requests\/SubscribersImportRequest.php":3691588349,"src\/Http\/Controllers\/Subscriptions\/SubscriptionsController.php":974643272,"src\/Http\/Controllers\/Api\/SegmentSubscribersController.php":2600232672,"src\/Http\/Controllers\/Api\/CampaignsController.php":1735125716,"src\/Http\/Controllers\/Api\/SegmentsController.php":1362180760,"src\/Http\/Controllers\/Api\/Webhooks\/SesWebhooksController.php":3278766678,"src\/Http\/Controllers\/Api\/Webhooks\/SendgridWebhooksController.php":308336950,"src\/Http\/Controllers\/Api\/Webhooks\/PostmarkWebhooksController.php":2649888651,"src\/Http\/Controllers\/Api\/Webhooks\/MailgunWebhooksController.php":1388261497,"src\/Http\/Controllers\/Api\/CampaignDispatchController.php":1190800482,"src\/Http\/Controllers\/Api\/SubscribersController.php":2129517280,"src\/Http\/Controllers\/Api\/WorkspacesController.php":4223646033,"src\/Http\/Controllers\/Api\/TemplatesController.php":3521274502,"src\/Http\/Controllers\/Api\/SubscriberSegmentsController.php":305668822,"src\/Http\/Controllers\/Webview\/WebviewController.php":3714420626,"src\/Http\/Controllers\/Workspaces\/PendingInvitationController.php":3832725633,"src\/Http\/Controllers\/Workspaces\/WorkspaceUsersController.php":884123219,"src\/Http\/Controllers\/Workspaces\/WorkspacesController.php":2433208414,"src\/Http\/Controllers\/Workspaces\/WorkspaceInvitationsController.php":587975813,"src\/Http\/Controllers\/Workspaces\/SwitchWorkspaceController.php":1038632863,"src\/Http\/Controllers\/Auth\/RegisterController.php":2992468056,"src\/Http\/Controllers\/Auth\/VerificationController.php":3586878139,"src\/Http\/Controllers\/Auth\/ResetPasswordController.php":2095143753,"src\/Http\/Controllers\/Auth\/LoginController.php":626790338,"src\/Http\/Controllers\/Auth\/ForgotPasswordController.php":1596906878,"src\/Http\/Controllers\/Auth\/ConfirmPasswordController.php":3132239200,"src\/Http\/Controllers\/Auth\/ProfileController.php":2127456338,"src\/Http\/Controllers\/Ajax\/SegmentsController.php":3641837735,"src\/Http\/Controllers\/Subscribers\/SubscribersImportController.php":2185379622,"src\/Http\/Controllers\/Subscribers\/SubscribersController.php":641038576,"src\/Http\/Controllers\/Segments\/SegmentsController.php":1140188137,"src\/Http\/Controllers\/EmailServices\/EmailServicesController.php":982020954,"src\/Http\/Controllers\/MessagesController.php":2429663066,"src\/Http\/Controllers\/Campaigns\/CampaignReportsController.php":1746840511,"src\/Http\/Controllers\/Campaigns\/CampaignTestController.php":1673734283,"src\/Http\/Controllers\/Campaigns\/CampaignsController.php":2955818422,"src\/Http\/Controllers\/Campaigns\/CampaignDispatchController.php":2047400719,"src\/Http\/Controllers\/Campaigns\/CampaignDeleteController.php":1879365339,"src\/Http\/Controllers\/Campaigns\/CampaignDuplicateController.php":84112401,"src\/Http\/Controllers\/DashboardController.php":4165878695,"src\/Http\/Controllers\/Controller.php":153774118,"src\/Http\/Controllers\/TemplatesController.php":3671674407,"src\/Http\/Middleware\/Authenticate.php":1835928171,"src\/Http\/Middleware\/RedirectIfAuthenticated.php":640989464,"src\/Http\/Middleware\/LocaleMiddleware.php":4107854528,"src\/Http\/Middleware\/TrustProxies.php":1757267858,"src\/Http\/Middleware\/VerifyCsrfToken.php":1775469156,"src\/Http\/Middleware\/OwnsRequestedWorkspace.php":2914479210,"src\/Http\/Middleware\/TrimStrings.php":2385018901,"src\/Http\/Middleware\/OwnsCurrentWorkspace.php":3501720709,"src\/Http\/Middleware\/CheckForMaintenanceMode.php":259153984,"src\/Http\/Middleware\/EncryptCookies.php":3774761695,"src\/Http\/Middleware\/VerifyUserOnWorkspace.php":2687531141,"src\/Http\/Resources\/Workspace.php":4013160935,"src\/Http\/Resources\/Subscriber.php":1824029385,"src\/Http\/Resources\/Template.php":3600632339,"src\/Http\/Resources\/Segment.php":213263096,"src\/Http\/Resources\/Campaign.php":463656753,"src\/SendportalBaseServiceProvider.php":2864458849,"src\/Pipelines\/Campaigns\/CreateMessages.php":605678265,"src\/Pipelines\/Campaigns\/CompleteCampaign.php":3051555738,"src\/Pipelines\/Campaigns\/StartCampaign.php":4264567283,"src\/Interfaces\/QuotaServiceInterface.php":3710829468,"src\/Interfaces\/BaseEloquentInterface.php":2679968441,"src\/Interfaces\/BaseTenantInterface.php":1039061782,"src\/Interfaces\/MailAdapterInterface.php":2744397698,"src\/Console\/Kernel.php":753701322,"src\/Console\/Commands\/SetupProduction.php":289982368,"src\/Console\/Commands\/CampaignDispatchCommand.php":1955564877,"src\/Console\/Commands\/GenerateTestSubscribers.php":972254575,"src\/Presenters\/CampaignReportPresenter.php":163420074,"src\/Repositories\/BaseEloquentRepository.php":2158650621,"src\/Repositories\/Messages\/PostgresMessageTenantRepository.php":1122750600,"src\/Repositories\/Messages\/MySqlMessageTenantRepository.php":3090359210,"src\/Repositories\/Messages\/SqliteMessageTenantRepository.php":997597262,"src\/Repositories\/Messages\/MessageTenantRepositoryInterface.php":1440401593,"src\/Repositories\/Messages\/BaseMessageTenantRepository.php":2009232862,"src\/Repositories\/TemplateTenantRepository.php":1819072745,"src\/Repositories\/WorkspacesRepository.php":584366456,"src\/Repositories\/EmailServiceTenantRepository.php":1345639575,"src\/Repositories\/Subscribers\/MySqlSubscriberTenantRepository.php":3625049486,"src\/Repositories\/Subscribers\/SubscriberTenantRepositoryInterface.php":2399497237,"src\/Repositories\/Subscribers\/PostgresSubscriberTenantRepository.php":1695259078,"src\/Repositories\/Subscribers\/SqliteSubscriberTenantRepository.php":2448479769,"src\/Repositories\/Subscribers\/BaseSubscriberTenantRepository.php":2182538747,"src\/Repositories\/SegmentTenantRepository.php":4017256874,"src\/Repositories\/Campaigns\/PostgresCampaignTenantRepository.php":687676756,"src\/Repositories\/Campaigns\/BaseCampaignTenantRepository.php":3322151715,"src\/Repositories\/Campaigns\/MySqlCampaignTenantRepository.php":3211702238,"src\/Repositories\/Campaigns\/CampaignTenantRepositoryInterface.php":3044258004,"src\/Repositories\/Campaigns\/SqliteCampaignTenantRepository.php":752618084,"src\/Repositories\/MessageUrlRepository.php":520332968,"src\/Repositories\/BaseTenantRepository.php":3464483901,"src\/Listeners\/Webhooks\/HandleMailgunWebhook.php":508480186,"src\/Listeners\/Webhooks\/HandleSendgridWebhook.php":2195241036,"src\/Listeners\/Webhooks\/HandleSesWebhook.php":1514930979,"src\/Listeners\/Webhooks\/HandlePostmarkWebhook.php":1633073198,"src\/Listeners\/MessageDispatchHandler.php":3514540013,"src\/Services\/QuotaService.php":3720582295,"src\/Services\/Workspaces\/SendInvitation.php":3173336885,"src\/Services\/Workspaces\/AddWorkspaceMember.php":2951754652,"src\/Services\/Workspaces\/RemoveUserFromWorkspace.php":1894874548,"src\/Services\/Workspaces\/CreateWorkspace.php":3676529903,"src\/Services\/Workspaces\/AcceptInvitation.php":3970362876,"src\/Services\/Messages\/DispatchTestMessage.php":82730205,"src\/Services\/Messages\/MarkAsSent.php":3611214529,"src\/Services\/Messages\/ResolveEmailService.php":3697855227,"src\/Services\/Messages\/MessageTrackingOptions.php":2022358752,"src\/Services\/Messages\/RelayMessage.php":943777897,"src\/Services\/Messages\/DispatchMessage.php":4098833346,"src\/Services\/Messages\/MessageOptions.php":441844720,"src\/Services\/Webhooks\/EmailWebhookService.php":4148027466,"src\/Services\/Webhooks\/Mailgun\/WebhookVerifier.php":1769120066,"src\/Services\/Subscribers\/ApiSubscriberService.php":378793899,"src\/Services\/Subscribers\/ImportSubscriberService.php":3839923391,"src\/Services\/Subscribers\/Segments\/ApiSubscriberSegmentService.php":3998235018,"src\/Services\/Segments\/ApiSegmentSubscriberService.php":2982311498,"src\/Services\/Segments\/ApiSegmentService.php":4098631072,"src\/Services\/Campaigns\/CampaignDispatchService.php":1513872021,"src\/Services\/Campaigns\/CampaignStatisticsService.php":2101873625,"src\/Services\/Content\/MergeContent.php":3812284428,"src\/Services\/Helper.php":3273682296,"src\/Services\/Templates\/TemplateService.php":2140165200,"src\/Factories\/MailAdapterFactory.php":2655495567,"src\/Models\/CampaignStatus.php":3579786638,"src\/Models\/EmailServiceType.php":4191611666,"src\/Models\/Workspace.php":2656358466,"src\/Models\/EmailService.php":597585726,"src\/Models\/User.php":3658292469,"src\/Models\/Subscriber.php":2469698271,"src\/Models\/UnsubscribeEventType.php":1462800983,"src\/Models\/Invitation.php":690254896,"src\/Models\/BaseModel.php":4169817253,"src\/Models\/Template.php":806389561,"src\/Models\/Segment.php":4146847716,"src\/Models\/Subscription.php":2794321122,"src\/Models\/MessageFailure.php":1302806817,"src\/Models\/MessageUrl.php":2259379933,"src\/Models\/Message.php":1715070373,"src\/Models\/Campaign.php":1442081003,"src\/Exceptions\/Handler.php":2905627596,"src\/Events\/MessageDispatchEvent.php":301345637,"src\/Events\/Webhooks\/MailgunWebhookReceived.php":3881941755,"src\/Events\/Webhooks\/PostmarkWebhookReceived.php":3896170533,"src\/Events\/Webhooks\/SesWebhookReceived.php":743580678,"src\/Events\/Webhooks\/SendgridWebhookReceived.php":641948760,"src\/Events\/SubscriberAddedEvent.php":2226178055,"src\/Rules\/CanAccessSubscriber.php":1821529708,"src\/Rules\/CanAccessSegment.php":2886742344,"src\/Rules\/ValidInvitation.php":1919343115,"src\/Rules\/NotEmpty.php":881473860,"src\/Providers\/RouteServiceProvider.php":478969985,"src\/Providers\/EventServiceProvider.php":1209388468,"src\/Providers\/FormServiceProvider.php":1015303618,"src\/Providers\/SendportalAppServiceProvider.php":4286129681,"src\/Facades\/Helper.php":4106765437,"src\/Traits\/SecondsToHms.php":1549572817,"src\/Traits\/ResolvesDatabaseDriver.php":2784887599,"src\/Traits\/NormalizeTags.php":3993386615,"src\/Traits\/ThrottlesSending.php":1616950802,"src\/Traits\/HasWorkspaces.php":959401559,"src\/Traits\/ScheduledAt.php":4210545466,"src\/Traits\/ChecksInvitations.php":1292936512,"src\/Traits\/Uuid.php":1070796280,"config\/config.php":3284073876,"database\/factories\/EmailServiceFactory.php":98771028,"database\/factories\/InvitationFactory.php":87011664,"database\/factories\/UserFactory.php":462382854,"database\/factories\/MessageFactory.php":1438262214,"database\/factories\/SegmentFactory.php":3001303380,"database\/factories\/CampaignFactory.php":292229003,"database\/factories\/SubscriberFactory.php":736716877,"database\/factories\/TemplateFactory.php":3401919933,"database\/factories\/WorkspaceFactory.php":2487381381,"database\/migrations\/2017_04_11_133343_create_email_service_tables.php":131230242,"database\/migrations\/2019_07_30_153117_create_message_urls_table.php":375655402,"database\/migrations\/2017_04_28_223915_create_campaigns_table.php":3706508056,"database\/migrations\/2017_04_28_223840_create_subscribers_table.php":467982134,"database\/migrations\/2019_08_19_000000_create_failed_jobs_table.php":1910101684,"database\/migrations\/2017_04_11_000000_create_workspaces_table.php":167376516,"database\/migrations\/2019_08_24_114758_adjust_users_table.php":844901304,"database\/migrations\/2019_07_10_194325_create_messages_table.php":748935844,"database\/migrations\/2017_04_28_223029_create_campaign_statuses_table.php":64947054,"database\/migrations\/2020_06_16_072116_adjust_campaign_content.php":3013201675,"database\/migrations\/2017_04_28_223854_create_segment_subscriber_table.php":1648290932,"database\/migrations\/2020_01_23_153845_create_message_failures_table.php":2300201577,"database\/migrations\/2017_04_12_6000_create_unsubscribed_table.php":2234240014,"database\/migrations\/2020_06_16_072137_adjust_template_content.php":869559510,"database\/migrations\/2017_04_28_223844_create_segments_table.php":1418574083,"database\/migrations\/2014_10_12_000000_create_users_table.php":2307441707,"database\/migrations\/2017_05_02_104440_create_campaign_segment_table.php":2739174255,"database\/migrations\/2014_10_12_100000_create_password_resets_table.php":2899799885,"database\/migrations\/2017_04_11_100000_create_invitations_table.php":1137353567,"database\/migrations\/2017_04_28_223906_create_templates_table.php":2287907578,"tests\/Feature\/Webhooks\/MailjetWebhooksTest.php":1071702843,"tests\/Unit\/Http\/Requests\/EmailServiceRequestTest.php":3585395267,"src\/Adapters\/MailjetAdapter.php":955812295,"src\/Http\/Requests\/EmailServiceRequest.php":1802382918,"src\/Http\/Controllers\/Api\/Webhooks\/MailjetWebhooksController.php":2105386302,"src\/Listeners\/Webhooks\/HandleMailjetWebhook.php":1085085614,"src\/Events\/Webhooks\/MailjetWebhookReceived.php":4190624551,"database\/migrations\/2020_08_04_085127_add_mailjet_email_service.php":2434307927,"tests\/Feature\/EmailServices\/TestEmailServiceControllerTest.php":967111362,"src\/Http\/Requests\/EmailServiceTestRequest.php":1239986769,"src\/Http\/Controllers\/EmailServices\/TestEmailServiceController.php":1218444026,"src\/Http\/Controllers\/Api\/PingController.php":1901035083}} \ No newline at end of file +{"php":"7.4.7","version":"2.16.4","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sortAlgorithm":"alpha"},"no_unused_imports":true},"hashes":{"tests\/Feature\/Webview\/WebviewControllerTest.php":2535759113,"tests\/Feature\/API\/SubscribersControllerTest.php":2793740894,"tests\/Feature\/API\/SegmentsControllerTest.php":237579380,"tests\/Feature\/API\/CampaignsControllerTest.php":1712743459,"tests\/Feature\/API\/SegmentSubscribersControllerTest.php":90654729,"tests\/Feature\/API\/TemplatesControllerTest.php":1464508170,"tests\/Feature\/API\/CampaignDispatchControllerTest.php":1815088962,"tests\/Feature\/API\/SubscriberSegmentsControllerTest.php":2045771091,"tests\/Feature\/API\/WorkspacesControllerTest.php":3695478411,"tests\/Feature\/Workspaces\/WorkspaceUserControllerTest.php":4194838600,"tests\/Feature\/Workspaces\/WorkspaceInvitationsControllerTest.php":1686923043,"tests\/Feature\/Workspaces\/SwitchWorkspaceTest.php":3132868480,"tests\/Feature\/Workspaces\/WorkspacesControllerTest.php":4117964831,"tests\/Feature\/Auth\/AuthConfigDisabledTest.php":2712218786,"tests\/Feature\/Auth\/AuthConfigEnabledTest.php":2050691960,"tests\/Feature\/Messages\/MessagesControllerTest.php":2262982461,"tests\/Feature\/Webhooks\/PostmarkWebhooksTest.php":2588822427,"tests\/Feature\/Webhooks\/SendgridWebhooksTest.php":4249665791,"tests\/Feature\/Webhooks\/MailgunWebhooksTest.php":3791954128,"tests\/Feature\/Webhooks\/AwsWebhooksTest.php":3493563250,"tests\/Feature\/Subscribers\/SubscribersControllerTest.php":630422255,"tests\/Feature\/Segments\/SegmentsControllerTest.php":3290469221,"tests\/Feature\/EmailServices\/EmailServicesControllerTest.php":725788716,"tests\/Feature\/Campaigns\/CampaignReportsControllerTest.php":1350626890,"tests\/Feature\/Campaigns\/CampaignControllerTest.php":596263424,"tests\/Feature\/Content\/MergeContentTest.php":534700073,"tests\/Feature\/Templates\/TemplatesControllerTest.php":3203633291,"tests\/Feature\/Invitations\/NewUserInvitationTest.php":2719907928,"tests\/Feature\/Invitations\/ExistingUserInvitationTest.php":240790849,"tests\/TestCase.php":3795584197,"tests\/SendportalTestSupportTrait.php":551796750,"tests\/Unit\/Repositories\/CampaignTenantRepositoryTest.php":2402313543,"tests\/Unit\/Repositories\/MessageTenantRepositoryTest.php":3623740779,"tests\/Unit\/Repositories\/SubscriberTenantRepositoryTest.php":898571096,"tests\/Unit\/Services\/Messages\/MessageTrackingOptionsTest.php":801699771,"tests\/Unit\/Factories\/MailAdapterFactoryTest.php":3399406624,"tests\/Unit\/Models\/CampaignTest.php":870437449,"tests\/Unit\/Models\/TemplateTest.php":79881901,"tests\/Unit\/Models\/SubscriberTest.php":3142694578,"routes\/api.php":1934854576,"routes\/web.php":4063494453,"src\/Adapters\/BaseMailAdapter.php":2529230802,"src\/Adapters\/SendgridMailAdapter.php":4277132130,"src\/Adapters\/MailgunMailAdapter.php":1483562893,"src\/Adapters\/SesMailAdapter.php":3730945172,"src\/Adapters\/PostmarkMailAdapter.php":538078784,"src\/Http\/Requests\/CampaignDeleteRequest.php":368609726,"src\/Http\/Requests\/Api\/SegmentSubscriberStoreRequest.php":3248423559,"src\/Http\/Requests\/Api\/TemplateUpdateRequest.php":687342421,"src\/Http\/Requests\/Api\/SegmentSubscriberUpdateRequest.php":942935001,"src\/Http\/Requests\/Api\/SegmentSubscriberDestroyRequest.php":466145461,"src\/Http\/Requests\/Api\/SubscriberUpdateRequest.php":4219924558,"src\/Http\/Requests\/Api\/CampaignDispatchRequest.php":288916051,"src\/Http\/Requests\/Api\/SubscriberSegmentUpdateRequest.php":678637663,"src\/Http\/Requests\/Api\/CampaignStoreRequest.php":3290281303,"src\/Http\/Requests\/Api\/SegmentStoreRequest.php":2456712749,"src\/Http\/Requests\/Api\/SubscriberSegmentStoreRequest.php":1536255200,"src\/Http\/Requests\/Api\/TemplateStoreRequest.php":1142475105,"src\/Http\/Requests\/Api\/SegmentUpdateRequest.php":1514958860,"src\/Http\/Requests\/Api\/SubscriberSegmentDestroyRequest.php":3287356123,"src\/Http\/Requests\/Api\/SubscriberStoreRequest.php":3612893729,"src\/Http\/Requests\/TemplateUpdateRequest.php":3503722152,"src\/Http\/Requests\/SubscriptionToggleRequest.php":3726657740,"src\/Http\/Requests\/Workspaces\/WorkspaceUpdateRequest.php":1321366471,"src\/Http\/Requests\/Workspaces\/WorkspaceInvitationStoreRequest.php":2630595037,"src\/Http\/Requests\/Workspaces\/CreateWorkspaceRequest.php":3431339599,"src\/Http\/Requests\/Workspaces\/WorkspaceStoreRequest.php":3537047411,"src\/Http\/Requests\/CampaignDispatchRequest.php":1281664598,"src\/Http\/Requests\/CampaignStoreRequest.php":3645991413,"src\/Http\/Requests\/CampaignTestRequest.php":4235293899,"src\/Http\/Requests\/SubscriberRequest.php":192801441,"src\/Http\/Requests\/SegmentRequest.php":4283208938,"src\/Http\/Requests\/EmailServiceStoreRequest.php":1247658478,"src\/Http\/Requests\/CampaignContentRequest.php":1232189474,"src\/Http\/Requests\/ProfileUpdateRequest.php":2459854388,"src\/Http\/Requests\/CampaignTemplateUpdateRequest.php":120478771,"src\/Http\/Requests\/EmailServiceUpdateRequest.php":2689607115,"src\/Http\/Requests\/TemplateStoreRequest.php":1415487707,"src\/Http\/Requests\/SubscribersImportRequest.php":3691588349,"src\/Http\/Controllers\/Subscriptions\/SubscriptionsController.php":974643272,"src\/Http\/Controllers\/Api\/SegmentSubscribersController.php":2600232672,"src\/Http\/Controllers\/Api\/CampaignsController.php":1735125716,"src\/Http\/Controllers\/Api\/SegmentsController.php":1362180760,"src\/Http\/Controllers\/Api\/Webhooks\/SesWebhooksController.php":3278766678,"src\/Http\/Controllers\/Api\/Webhooks\/SendgridWebhooksController.php":308336950,"src\/Http\/Controllers\/Api\/Webhooks\/PostmarkWebhooksController.php":2649888651,"src\/Http\/Controllers\/Api\/Webhooks\/MailgunWebhooksController.php":1388261497,"src\/Http\/Controllers\/Api\/CampaignDispatchController.php":1190800482,"src\/Http\/Controllers\/Api\/SubscribersController.php":2129517280,"src\/Http\/Controllers\/Api\/WorkspacesController.php":4223646033,"src\/Http\/Controllers\/Api\/TemplatesController.php":3521274502,"src\/Http\/Controllers\/Api\/SubscriberSegmentsController.php":305668822,"src\/Http\/Controllers\/Webview\/WebviewController.php":3714420626,"src\/Http\/Controllers\/Workspaces\/PendingInvitationController.php":3832725633,"src\/Http\/Controllers\/Workspaces\/WorkspaceUsersController.php":884123219,"src\/Http\/Controllers\/Workspaces\/WorkspacesController.php":2433208414,"src\/Http\/Controllers\/Workspaces\/WorkspaceInvitationsController.php":587975813,"src\/Http\/Controllers\/Workspaces\/SwitchWorkspaceController.php":1038632863,"src\/Http\/Controllers\/Auth\/RegisterController.php":2992468056,"src\/Http\/Controllers\/Auth\/VerificationController.php":3586878139,"src\/Http\/Controllers\/Auth\/ResetPasswordController.php":2095143753,"src\/Http\/Controllers\/Auth\/LoginController.php":626790338,"src\/Http\/Controllers\/Auth\/ForgotPasswordController.php":1596906878,"src\/Http\/Controllers\/Auth\/ConfirmPasswordController.php":3132239200,"src\/Http\/Controllers\/Auth\/ProfileController.php":2127456338,"src\/Http\/Controllers\/Ajax\/SegmentsController.php":3641837735,"src\/Http\/Controllers\/Subscribers\/SubscribersImportController.php":2185379622,"src\/Http\/Controllers\/Subscribers\/SubscribersController.php":1312804468,"src\/Http\/Controllers\/Segments\/SegmentsController.php":1140188137,"src\/Http\/Controllers\/EmailServices\/EmailServicesController.php":982020954,"src\/Http\/Controllers\/MessagesController.php":2429663066,"src\/Http\/Controllers\/Campaigns\/CampaignReportsController.php":1746840511,"src\/Http\/Controllers\/Campaigns\/CampaignTestController.php":1673734283,"src\/Http\/Controllers\/Campaigns\/CampaignsController.php":2955818422,"src\/Http\/Controllers\/Campaigns\/CampaignDispatchController.php":2047400719,"src\/Http\/Controllers\/Campaigns\/CampaignDeleteController.php":1879365339,"src\/Http\/Controllers\/Campaigns\/CampaignDuplicateController.php":84112401,"src\/Http\/Controllers\/DashboardController.php":4165878695,"src\/Http\/Controllers\/Controller.php":153774118,"src\/Http\/Controllers\/TemplatesController.php":3671674407,"src\/Http\/Middleware\/Authenticate.php":1835928171,"src\/Http\/Middleware\/RedirectIfAuthenticated.php":640989464,"src\/Http\/Middleware\/LocaleMiddleware.php":4107854528,"src\/Http\/Middleware\/TrustProxies.php":1757267858,"src\/Http\/Middleware\/VerifyCsrfToken.php":1775469156,"src\/Http\/Middleware\/OwnsRequestedWorkspace.php":2914479210,"src\/Http\/Middleware\/TrimStrings.php":2385018901,"src\/Http\/Middleware\/OwnsCurrentWorkspace.php":3501720709,"src\/Http\/Middleware\/CheckForMaintenanceMode.php":259153984,"src\/Http\/Middleware\/EncryptCookies.php":3774761695,"src\/Http\/Middleware\/VerifyUserOnWorkspace.php":2687531141,"src\/Http\/Resources\/Workspace.php":4013160935,"src\/Http\/Resources\/Subscriber.php":1824029385,"src\/Http\/Resources\/Template.php":3600632339,"src\/Http\/Resources\/Segment.php":213263096,"src\/Http\/Resources\/Campaign.php":463656753,"src\/SendportalBaseServiceProvider.php":2864458849,"src\/Pipelines\/Campaigns\/CreateMessages.php":605678265,"src\/Pipelines\/Campaigns\/CompleteCampaign.php":3051555738,"src\/Pipelines\/Campaigns\/StartCampaign.php":4264567283,"src\/Interfaces\/QuotaServiceInterface.php":3710829468,"src\/Interfaces\/BaseEloquentInterface.php":2679968441,"src\/Interfaces\/BaseTenantInterface.php":1039061782,"src\/Interfaces\/MailAdapterInterface.php":2744397698,"src\/Console\/Kernel.php":753701322,"src\/Console\/Commands\/SetupProduction.php":289982368,"src\/Console\/Commands\/CampaignDispatchCommand.php":1955564877,"src\/Console\/Commands\/GenerateTestSubscribers.php":972254575,"src\/Presenters\/CampaignReportPresenter.php":163420074,"src\/Repositories\/BaseEloquentRepository.php":2158650621,"src\/Repositories\/Messages\/PostgresMessageTenantRepository.php":1122750600,"src\/Repositories\/Messages\/MySqlMessageTenantRepository.php":3090359210,"src\/Repositories\/Messages\/SqliteMessageTenantRepository.php":997597262,"src\/Repositories\/Messages\/MessageTenantRepositoryInterface.php":1440401593,"src\/Repositories\/Messages\/BaseMessageTenantRepository.php":2009232862,"src\/Repositories\/TemplateTenantRepository.php":1819072745,"src\/Repositories\/WorkspacesRepository.php":584366456,"src\/Repositories\/EmailServiceTenantRepository.php":1345639575,"src\/Repositories\/Subscribers\/MySqlSubscriberTenantRepository.php":3625049486,"src\/Repositories\/Subscribers\/SubscriberTenantRepositoryInterface.php":2399497237,"src\/Repositories\/Subscribers\/PostgresSubscriberTenantRepository.php":1695259078,"src\/Repositories\/Subscribers\/SqliteSubscriberTenantRepository.php":2448479769,"src\/Repositories\/Subscribers\/BaseSubscriberTenantRepository.php":2183357087,"src\/Repositories\/SegmentTenantRepository.php":4017256874,"src\/Repositories\/Campaigns\/PostgresCampaignTenantRepository.php":687676756,"src\/Repositories\/Campaigns\/BaseCampaignTenantRepository.php":3322151715,"src\/Repositories\/Campaigns\/MySqlCampaignTenantRepository.php":3211702238,"src\/Repositories\/Campaigns\/CampaignTenantRepositoryInterface.php":3044258004,"src\/Repositories\/Campaigns\/SqliteCampaignTenantRepository.php":752618084,"src\/Repositories\/MessageUrlRepository.php":520332968,"src\/Repositories\/BaseTenantRepository.php":3464483901,"src\/Listeners\/Webhooks\/HandleMailgunWebhook.php":508480186,"src\/Listeners\/Webhooks\/HandleSendgridWebhook.php":2195241036,"src\/Listeners\/Webhooks\/HandleSesWebhook.php":1514930979,"src\/Listeners\/Webhooks\/HandlePostmarkWebhook.php":1633073198,"src\/Listeners\/MessageDispatchHandler.php":3514540013,"src\/Services\/QuotaService.php":3720582295,"src\/Services\/Workspaces\/SendInvitation.php":3173336885,"src\/Services\/Workspaces\/AddWorkspaceMember.php":2951754652,"src\/Services\/Workspaces\/RemoveUserFromWorkspace.php":1894874548,"src\/Services\/Workspaces\/CreateWorkspace.php":3676529903,"src\/Services\/Workspaces\/AcceptInvitation.php":3970362876,"src\/Services\/Messages\/DispatchTestMessage.php":82730205,"src\/Services\/Messages\/MarkAsSent.php":3611214529,"src\/Services\/Messages\/ResolveEmailService.php":3697855227,"src\/Services\/Messages\/MessageTrackingOptions.php":2022358752,"src\/Services\/Messages\/RelayMessage.php":943777897,"src\/Services\/Messages\/DispatchMessage.php":4098833346,"src\/Services\/Messages\/MessageOptions.php":441844720,"src\/Services\/Webhooks\/EmailWebhookService.php":4148027466,"src\/Services\/Webhooks\/Mailgun\/WebhookVerifier.php":1769120066,"src\/Services\/Subscribers\/ApiSubscriberService.php":378793899,"src\/Services\/Subscribers\/ImportSubscriberService.php":3839923391,"src\/Services\/Subscribers\/Segments\/ApiSubscriberSegmentService.php":3998235018,"src\/Services\/Segments\/ApiSegmentSubscriberService.php":2982311498,"src\/Services\/Segments\/ApiSegmentService.php":4098631072,"src\/Services\/Campaigns\/CampaignDispatchService.php":1513872021,"src\/Services\/Campaigns\/CampaignStatisticsService.php":2101873625,"src\/Services\/Content\/MergeContent.php":3812284428,"src\/Services\/Helper.php":3273682296,"src\/Services\/Templates\/TemplateService.php":2140165200,"src\/Factories\/MailAdapterFactory.php":2655495567,"src\/Models\/CampaignStatus.php":3579786638,"src\/Models\/EmailServiceType.php":4191611666,"src\/Models\/Workspace.php":2656358466,"src\/Models\/EmailService.php":597585726,"src\/Models\/User.php":3658292469,"src\/Models\/Subscriber.php":2469698271,"src\/Models\/UnsubscribeEventType.php":1462800983,"src\/Models\/Invitation.php":690254896,"src\/Models\/BaseModel.php":4169817253,"src\/Models\/Template.php":806389561,"src\/Models\/Segment.php":4146847716,"src\/Models\/Subscription.php":2794321122,"src\/Models\/MessageFailure.php":1302806817,"src\/Models\/MessageUrl.php":2259379933,"src\/Models\/Message.php":1715070373,"src\/Models\/Campaign.php":1442081003,"src\/Exceptions\/Handler.php":2905627596,"src\/Events\/MessageDispatchEvent.php":301345637,"src\/Events\/Webhooks\/MailgunWebhookReceived.php":3881941755,"src\/Events\/Webhooks\/PostmarkWebhookReceived.php":3896170533,"src\/Events\/Webhooks\/SesWebhookReceived.php":743580678,"src\/Events\/Webhooks\/SendgridWebhookReceived.php":641948760,"src\/Events\/SubscriberAddedEvent.php":2226178055,"src\/Rules\/CanAccessSubscriber.php":1821529708,"src\/Rules\/CanAccessSegment.php":2886742344,"src\/Rules\/ValidInvitation.php":1919343115,"src\/Rules\/NotEmpty.php":881473860,"src\/Providers\/RouteServiceProvider.php":478969985,"src\/Providers\/EventServiceProvider.php":1209388468,"src\/Providers\/FormServiceProvider.php":1015303618,"src\/Providers\/SendportalAppServiceProvider.php":4286129681,"src\/Facades\/Helper.php":4106765437,"src\/Traits\/SecondsToHms.php":1549572817,"src\/Traits\/ResolvesDatabaseDriver.php":2784887599,"src\/Traits\/NormalizeTags.php":3993386615,"src\/Traits\/ThrottlesSending.php":1616950802,"src\/Traits\/HasWorkspaces.php":959401559,"src\/Traits\/ScheduledAt.php":4210545466,"src\/Traits\/ChecksInvitations.php":1292936512,"src\/Traits\/Uuid.php":1070796280,"config\/config.php":3284073876,"database\/factories\/EmailServiceFactory.php":98771028,"database\/factories\/InvitationFactory.php":87011664,"database\/factories\/UserFactory.php":462382854,"database\/factories\/MessageFactory.php":1438262214,"database\/factories\/SegmentFactory.php":3001303380,"database\/factories\/CampaignFactory.php":292229003,"database\/factories\/SubscriberFactory.php":736716877,"database\/factories\/TemplateFactory.php":3401919933,"database\/factories\/WorkspaceFactory.php":2487381381,"database\/migrations\/2017_04_11_133343_create_email_service_tables.php":131230242,"database\/migrations\/2019_07_30_153117_create_message_urls_table.php":375655402,"database\/migrations\/2017_04_28_223915_create_campaigns_table.php":3706508056,"database\/migrations\/2017_04_28_223840_create_subscribers_table.php":467982134,"database\/migrations\/2019_08_19_000000_create_failed_jobs_table.php":1910101684,"database\/migrations\/2017_04_11_000000_create_workspaces_table.php":167376516,"database\/migrations\/2019_08_24_114758_adjust_users_table.php":844901304,"database\/migrations\/2019_07_10_194325_create_messages_table.php":748935844,"database\/migrations\/2017_04_28_223029_create_campaign_statuses_table.php":64947054,"database\/migrations\/2020_06_16_072116_adjust_campaign_content.php":3013201675,"database\/migrations\/2017_04_28_223854_create_segment_subscriber_table.php":1648290932,"database\/migrations\/2020_01_23_153845_create_message_failures_table.php":2300201577,"database\/migrations\/2017_04_12_6000_create_unsubscribed_table.php":2234240014,"database\/migrations\/2020_06_16_072137_adjust_template_content.php":869559510,"database\/migrations\/2017_04_28_223844_create_segments_table.php":1418574083,"database\/migrations\/2014_10_12_000000_create_users_table.php":2307441707,"database\/migrations\/2017_05_02_104440_create_campaign_segment_table.php":2739174255,"database\/migrations\/2014_10_12_100000_create_password_resets_table.php":2899799885,"database\/migrations\/2017_04_11_100000_create_invitations_table.php":1137353567,"database\/migrations\/2017_04_28_223906_create_templates_table.php":2287907578,"tests\/Feature\/Webhooks\/MailjetWebhooksTest.php":1071702843,"tests\/Unit\/Http\/Requests\/EmailServiceRequestTest.php":3585395267,"src\/Adapters\/MailjetAdapter.php":955812295,"src\/Http\/Requests\/EmailServiceRequest.php":1802382918,"src\/Http\/Controllers\/Api\/Webhooks\/MailjetWebhooksController.php":2105386302,"src\/Listeners\/Webhooks\/HandleMailjetWebhook.php":1085085614,"src\/Events\/Webhooks\/MailjetWebhookReceived.php":4190624551,"database\/migrations\/2020_08_04_085127_add_mailjet_email_service.php":2434307927,"tests\/Feature\/EmailServices\/TestEmailServiceControllerTest.php":967111362,"src\/Http\/Requests\/EmailServiceTestRequest.php":1239986769,"src\/Http\/Controllers\/EmailServices\/TestEmailServiceController.php":1218444026,"src\/Http\/Controllers\/Api\/PingController.php":1901035083}} \ No newline at end of file diff --git a/src/Http/Controllers/Segments/SegmentsController.php b/src/Http/Controllers/Segments/SegmentsController.php index 90172792..7bec30e4 100644 --- a/src/Http/Controllers/Segments/SegmentsController.php +++ b/src/Http/Controllers/Segments/SegmentsController.php @@ -6,7 +6,6 @@ use Exception; use Illuminate\Http\RedirectResponse; -use Illuminate\Http\Request; use Illuminate\View\View; use Sendportal\Base\Http\Controllers\Controller; use Sendportal\Base\Http\Requests\SegmentRequest; diff --git a/tests/Feature/Subscribers/SubscribersControllerTest.php b/tests/Feature/Subscribers/SubscribersControllerTest.php index 5d6f08a6..1e1a11fa 100644 --- a/tests/Feature/Subscribers/SubscribersControllerTest.php +++ b/tests/Feature/Subscribers/SubscribersControllerTest.php @@ -124,7 +124,7 @@ public function the_show_view_is_accessible_by_an_authenticated_user() } /** @test */ - function the_subscribers_index_lists_subscribers() + public function the_subscribers_index_lists_subscribers() { [$workspace, $josh] = $this->createUserAndWorkspace(); $subscriber = factory(Subscriber::class, 5)->create([ @@ -141,7 +141,7 @@ function the_subscribers_index_lists_subscribers() } /** @test */ - function the_subscribers_index_can_be_filtered_by_segments() + public function the_subscribers_index_can_be_filtered_by_segments() { [$workspace, $josh] = $this->createUserAndWorkspace(); From d0261c0a475ad9dd3ef452fde0f870cd315aa8cb Mon Sep 17 00:00:00 2001 From: will Date: Fri, 4 Sep 2020 11:56:17 +0100 Subject: [PATCH 4/6] Hide segment filter when there are no segments --- resources/views/subscribers/index.blade.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/resources/views/subscribers/index.blade.php b/resources/views/subscribers/index.blade.php index 55240ac8..9a7d54c6 100644 --- a/resources/views/subscribers/index.blade.php +++ b/resources/views/subscribers/index.blade.php @@ -25,13 +25,15 @@
-
- -
+ @if(count($segments)) +
+ +
+ @endif From 43686ffc8020c9a32ececb04a5d6512be6b4ce62 Mon Sep 17 00:00:00 2001 From: JonoB Date: Fri, 2 Oct 2020 14:58:35 +0100 Subject: [PATCH 5/6] Wi --- public/app.css | 1232 +++++++++++++++++++++++++++++++++++++- public/mix-manifest.json | 2 +- resources/sass/app.scss | 4 + 3 files changed, 1236 insertions(+), 2 deletions(-) diff --git a/public/app.css b/public/app.css index ae0e2e48..68290d94 100644 --- a/public/app.css +++ b/public/app.css @@ -1 +1,1231 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);.hide{display:none!important}.no-underline,.no-underline:hover{text-decoration:none}.cursor-move{cursor:move}.grow{transition:transform .2s ease}.grow:hover{transform:scale(1.15)}.p-4-half{padding:2.3rem!important}.pl-4-half{padding-left:2.3rem!important}.pb-4-half,.pr-4-half{padding-right:2.3rem!important}.pt-4-half{padding-top:2.3rem!important}pre{white-space:pre-wrap;word-wrap:break-word;text-align:justify}span.required{color:red}.border-light{border-color:#dee2e6!important}.abc-checkbox{cursor:default;padding-left:4px}.abc-checkbox label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-checkbox label:before{content:"";width:17px;height:17px;border:1px solid #dee2e6;border-radius:3px;background-color:#fff;transition:border .15s ease-in-out,color .15s ease-in-out}.abc-checkbox label:after,.abc-checkbox label:before{cursor:pointer;display:inline-block;position:absolute;top:2px;left:0;margin-left:-20px}.abc-checkbox label:after{width:16px;height:16px;padding-left:3px;padding-top:1px;font-size:11px;color:#6c757d}.abc-checkbox input[type=checkbox],.abc-checkbox input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-checkbox input[type=checkbox]:focus+label:before,.abc-checkbox input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-checkbox input[type=checkbox]:checked+label:after,.abc-checkbox input[type=radio]:checked+label:after{font-family:Font Awesome\ 5 Pro;content:"\F00C"}.abc-checkbox input[type=checkbox]:indeterminate+label:after,.abc-checkbox input[type=radio]:indeterminate+label:after{display:block;content:"";width:10px;height:3px;background-color:#555;border-radius:2px;margin-left:-16.5px;margin-top:7px}.abc-checkbox input[type=checkbox]:disabled+label,.abc-checkbox input[type=radio]:disabled+label{opacity:.65}.abc-checkbox input[type=checkbox]:disabled+label:before,.abc-checkbox input[type=radio]:disabled+label:before{background-color:#6c757d;cursor:not-allowed}.abc-checkbox input[type=checkbox]:disabled+label:after,.abc-checkbox input[type=radio]:disabled+label:after{cursor:not-allowed}.abc-checkbox.abc-checkbox-circle label:before{border-radius:50%}.abc-checkbox.checkbox-inline{margin-top:0}.abc-checkbox-primary input[type=checkbox]:checked+label:before,.abc-checkbox-primary input[type=radio]:checked+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:checked+label:after,.abc-checkbox-primary input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-danger input[type=checkbox]:checked+label:before,.abc-checkbox-danger input[type=radio]:checked+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:checked+label:after,.abc-checkbox-danger input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-info input[type=checkbox]:checked+label:before,.abc-checkbox-info input[type=radio]:checked+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:checked+label:after,.abc-checkbox-info input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-warning input[type=checkbox]:checked+label:before,.abc-checkbox-warning input[type=radio]:checked+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:checked+label:after,.abc-checkbox-warning input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-success input[type=checkbox]:checked+label:before,.abc-checkbox-success input[type=radio]:checked+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:checked+label:after,.abc-checkbox-success input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:before,.abc-checkbox-primary input[type=radio]:indeterminate+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:after,.abc-checkbox-primary input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:before,.abc-checkbox-danger input[type=radio]:indeterminate+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:after,.abc-checkbox-danger input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-info input[type=checkbox]:indeterminate+label:before,.abc-checkbox-info input[type=radio]:indeterminate+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:indeterminate+label:after,.abc-checkbox-info input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:before,.abc-checkbox-warning input[type=radio]:indeterminate+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:after,.abc-checkbox-warning input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-success input[type=checkbox]:indeterminate+label:before,.abc-checkbox-success input[type=radio]:indeterminate+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:indeterminate+label:after,.abc-checkbox-success input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-radio{cursor:default;padding-left:4px}.abc-radio label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-radio label:before{content:"";width:17px;height:17px;top:2px;left:0;border:1px solid #dee2e6;border-radius:50%;background-color:#fff;transition:border .15s ease-in-out}.abc-radio label:after,.abc-radio label:before{cursor:pointer;display:inline-block;position:absolute;margin-left:-20px}.abc-radio label:after{content:" ";width:11px;height:11px;left:3px;top:5px;border-radius:50%;background-color:#6c757d;transform:scale(0);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33)}.abc-radio input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-radio input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-radio input[type=radio]:checked+label:after{transform:scale(1)}.abc-radio input[type=radio]:disabled+label{opacity:.65}.abc-radio input[type=radio]:disabled+label:after,.abc-radio input[type=radio]:disabled+label:before{cursor:not-allowed}.abc-radio.radio-inline{margin-top:0}.abc-radio-primary input[type=radio]+label:after{background-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:before{border-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:after{background-color:#009ad9}.abc-radio-danger input[type=radio]+label:after{background-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:before{border-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:after{background-color:#e3342f}.abc-radio-info input[type=radio]+label:after{background-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:before{border-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:after{background-color:#0a92dd}.abc-radio-warning input[type=radio]+label:after{background-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:before{border-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:after{background-color:#f6993f}.abc-radio-success input[type=radio]+label:after{background-color:#38c172}.abc-radio-success input[type=radio]:checked+label:before{border-color:#38c172}.abc-radio-success input[type=radio]:checked+label:after{background-color:#38c172}label .form-check-input.is-invalid .abc-checkbox:before,label .form-check-input.is-invalid .abc-radio:before,label .was-validated .form-check-input:invalid .abc-checkbox:before,label .was-validated .form-check-input:invalid .abc-radio:before{border-color:#e3342f}.form-control{border:1px solid #dee2e6}.form-control:focus{border-color:#1e2442;box-shadow:none}.form-check-label,.form-control{font-size:.85rem}.form-row .form-group label{margin-bottom:.1rem}.input-group-text{font-size:.85rem}.input-group-prepend{min-width:40px}@media (min-width:576px){.card-filters .form-group{margin-bottom:0}}.form-control.datepicker{padding:.25rem .5rem}.form-control::-moz-placeholder{color:#8b97a3}.form-control:-ms-input-placeholder{color:#8b97a3}.form-control::-ms-input-placeholder{color:#8b97a3}.form-control::placeholder{color:#8b97a3}::-moz-placeholder{color:#8b97a3;opacity:1;font-style:italic}:-ms-input-placeholder{color:#8b97a3;font-style:italic}::-ms-input-placeholder{color:#8b97a3;font-style:italic}::placeholder{color:#8b97a3;font-style:italic}.select2-container .select2-search--inline .select2-search__field::-moz-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::placeholder{padding-top:5px}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}button:disabled{cursor:not-allowed}.btn-primary{background-color:#5d63ff;border-color:#5d63ff;color:#fff}.btn-primary .badge{color:#bddbff}.btn-primary:hover{background-color:#6c72ff;border-color:#6c72ff}.btn-secondary{background-color:#d9e2ec;border-color:#edf2f5;color:#5d63ff}.btn-secondary:hover{background-color:#cfdae7;border-color:#e3ebf0;color:#5d63ff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#e3ebf0;border-color:#e3ebf0;color:#5d63ff}.btn-light{color:#495057;background-color:#f8f9fb;border:1px solid #dee2e6}.btn-light:hover{color:#40464c;background-color:#eef1f5;border:1px solid #d5dadf}a.btn-link{color:#0056b3}.btn-filter{padding:.26rem 1rem!important}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#474d54;background-color:#f5f6f8;border-color:#dae0e5}.btn-outline-primary{color:#5d63ff;border-color:#5d63ff}.btn-xs{padding:.4rem;font-size:.7rem;line-height:.5;border-radius:.2rem}.btn-wide{padding-left:1rem!important;padding-right:1rem!important}.btn-group-sm>.btn,.btn-sm{padding:.4rem 1rem;line-height:1.5}.btn .badge{color:#969fa8;top:auto}.btn-group .btn{border:1px solid #e1e4e7;color:#495057}.btn-group .btn-primary{color:#fff}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;padding:.2rem .5rem}.btn-group-md>.btn,.btn-md{font-size:.8rem;padding:.35rem .75rem}.page-signin-alt .signin-password{position:relative}.page-signin-alt .signin-password .forgot{position:absolute;right:7px;top:7px;color:#555;background:#f0f4f7;border-radius:2px;line-height:25px;padding:0 7px;font-size:12px}.sidebar.modal .close{position:absolute;right:5px;top:2px;color:#fff;text-shadow:0 1px 0 #fff;opacity:.8}.modal-left .modal-dialog{position:fixed;margin:auto;width:200px;height:100%;transform:translateZ(0)}.modal-left .modal-content{overflow-y:auto}.modal-left.fade .modal-dialog{left:-200px;transition:opacity .2s linear,left .2s ease-out}.modal-left.fade.show .modal-dialog{left:0}.card-table .table{margin-bottom:0}.card-table .table th{border-top:none}.table thead th{border-bottom:1px solid #dee2e6}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.03)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}table.table-hover-reset tr:hover{background-color:inherit;opacity:1}.table th,.table tr.bold td{font-weight:700}.table th{background-color:#fdfdfd;color:#1e2442}.table td,.table th{padding:.8rem;border-top:1px solid #e9edf1}.table-hover tbody tr:hover{background-color:#f6fafc}@supports (font-variation-settings:normal){html{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif}}body,html{height:100%}body{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.85rem;overflow-x:hidden;overflow-y:auto;background-color:#f0f4f7;color:#555}a{color:#0056b3}h1{font-weight:300;font-size:2.2rem;margin-bottom:20px}.col-0{width:0}#content-wrapper{min-width:100vw}@media (min-width:992px){#content-wrapper{min-width:0;width:100%}}.bg-purple-100{background-color:#1e2442!important}.bg-purple-500{background-color:#5d63ff!important}a.color-purple-500,a.color-purple-500:active,a.color-purple-500:hover{color:#1e2442}.color-purple-500{color:#5d63ff}.color-gray-100{color:#eceff2!important}.color-gray-200{color:#dee2e6!important}.color-gray-300{color:#ced4da!important}.color-gray-400{color:#adb5bd!important}.color-gray-500{color:#8b97a3!important}.color-gray-600{color:#6c757d!important}.color-gray-700{color:#495057!important}.color-gray-800{color:#343a40!important}.fw-25{flex:0 0 25px}.fw-80{flex:0 0 80px}.fw-160{flex:0 0 160px}.bg-trial-header{background-color:#ffe4af}.main-header .workspace-select{line-height:24px}.main-header .user-dropdown{border:1px solid transparent;line-height:24px}.main-header .dropdown-item:hover .fas{color:#1e2442}.main-header .dropdown-toggle:after{display:none}@media (min-width:576px){.main-header .workspace-select{border:1px solid rgba(107,120,133,.1);box-shadow:0 1px 1px rgba(0,0,0,.04);border-radius:4px;line-height:24px}}.navbar-expand .navbar-nav .nav-link{padding-right:0}.navbar{background-color:#fff;border:none}.dropdown-menu{font-size:.85rem;background:#fff;border:1px solid rgba(43,49,55,.07);box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.02),0 10px 18px rgba(43,49,55,.25);border-radius:4px;width:12.5rem}.nav-pills a.nav-link{border-radius:0;color:#1e2442;padding:.4rem .8rem .3rem;margin-right:.5rem}.nav-pills a.nav-link.active{background-color:transparent;color:#1e2442}.nav-pills a.nav-link.active,.nav-pills a.nav-link:hover{border-bottom:4px solid #5d63ff;border-radius:4px}.sidebar{flex:0 0 225px;transition:transform .1s ease-in-out,width .1s ease-in-out,margin .1s ease-in-out}.sidebar .sidebar-inner{margin:0 1.5rem}.sidebar ul{margin:0;padding:0}.sidebar li{white-space:nowrap;overflow:hidden}.sidebar li.nav-item{color:#fff;margin-bottom:.2rem;padding:0}.sidebar li.nav-item a.nav-link{color:#fff;font-weight:400;font-size:.9rem;padding:.7rem 0 .7em 1.2rem;border-left:6px solid #1e2442;border-radius:6px}.sidebar li.nav-item a.nav-link .fas{color:#7c97a4}.sidebar li.nav-item a.nav-link:hover{background:#2e3765;border-left-color:#2e3765}.sidebar li.nav-item.active a.nav-link{color:#fff;background:#2e3765;border-left-color:#5d63ff}.sidebar li.nav-item.active a.nav-link .fas{color:#fff}.sidebar .metismenu ul a{padding:5px 0 5px 40px}.main-wrapper{background-color:#f4f8ff;transition:transform .3s ease-in-out,width .3s ease-in-out,margin .3s ease-in-out}.card{border-radius:4px;box-shadow:0 3px 5px rgba(0,0,0,.1);border:none;margin-bottom:16px}.card .card-header{background-color:#fff;font-weight:600;padding:1.25rem;border-bottom:1px solid #dee2e6;font-size:1.3rem}.card .card-header .card-filters{margin-top:1rem;padding-top:1.25rem;padding-left:1.25rem;padding-right:1.25rem;border-top:1px solid #edeff2}.card .card-header .h5,.card .card-header h5{font-size:1.2rem;margin-bottom:0;margin-top:.2rem;color:#8b97a3}.card .card-body{background-color:#fff}.card .card-table{padding:0}.widget{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:.25rem;border-bottom:3px solid #b1b9ff}.widget .h2{font-weight:400}.widget .fal{color:#8b97a3}.error-listing .card,.error-listing .card .card-body{padding-top:0;padding-bottom:0}.error-listing .card .row{border-bottom:1px solid #ebedef;padding-top:1rem;padding-bottom:1rem}.error-listing .card .row:last-of-type{border-bottom:none}.error-listing .card .error-name{font-weight:700}.error-listing .card .error-name span{font-weight:400;color:#8b97a3;font-size:.7rem}ul.pagination{margin-bottom:0}ul.pagination .page-item.active .page-link{background-color:#1e2442;border-color:#1e2442}ul.pagination .page-link{color:#1e2442}.alert ul{margin-bottom:0}.sub-plans label{line-height:24px}.select2{width:100%!important}.select2-container--default .select2-selection--multiple{border:1px solid #dee2e6}.select2-container .select2-selection--multiple{min-height:30px}.select2-container--default .select2-selection--multiple .select2-selection__choice{margin-top:3px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #1e2442;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.select2-container .select2-search--inline .select2-search__field{margin-top:2px}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#1e2442;box-shadow:none}.empty-table-text{margin:0 2rem;text-align:center;color:#777;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.badge{letter-spacing:.075em;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.badge-light{background-color:#eceff2;color:#495057}.badge-success{background-color:#d7f5ea;color:#306955}.badge-danger{background-color:#ffebee;color:#cf1124}.badge-warning{background-color:#ffefe6;color:#cb6e17}.badge-info{background-color:#e6f6ff;color:#0a558c}.note-editor.note-frame{border:1px solid #dee2e6}.filter-option-inner-inner{font-size:.85rem}#segmentFilterSelector button{padding:.25rem .5rem!important} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);@charset "UTF-8"; + +.hide { + display: none !important; +} + +.no-underline, +.no-underline:hover { + text-decoration: none; +} + +.cursor-move { + cursor: move; +} + +.grow { + -webkit-transition: -webkit-transform 0.2s ease; + transition: -webkit-transform 0.2s ease; + transition: transform 0.2s ease; + transition: transform 0.2s ease, -webkit-transform 0.2s ease; +} + +.grow:hover { + -webkit-transform: scale(1.15); + transform: scale(1.15); +} + +.p-4-half { + padding: 2.3rem !important; +} + +.pl-4-half { + padding-left: 2.3rem !important; +} + +.pr-4-half { + padding-right: 2.3rem !important; +} + +.pb-4-half { + padding-right: 2.3rem !important; +} + +.pt-4-half { + padding-top: 2.3rem !important; +} + +pre { + white-space: pre-wrap; + word-wrap: break-word; + text-align: justify; +} + +span.required { + color: red; +} + +.border-light { + border-color: #dee2e6 !important; +} + +.abc-checkbox { + cursor: default; + padding-left: 4px; +} + +.abc-checkbox label { + cursor: pointer; + display: inline; + vertical-align: top; + position: relative; + padding-left: 5px; +} + +.abc-checkbox label::before { + cursor: pointer; + content: ""; + display: inline-block; + position: absolute; + width: 17px; + height: 17px; + top: 2px; + left: 0; + margin-left: -20px; + border: 1px solid #dee2e6; + border-radius: 3px; + background-color: #fff; + -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; + transition: border 0.15s ease-in-out, color 0.15s ease-in-out; +} + +.abc-checkbox label::after { + cursor: pointer; + display: inline-block; + position: absolute; + width: 16px; + height: 16px; + left: 0; + top: 2px; + margin-left: -20px; + padding-left: 3px; + padding-top: 1px; + font-size: 11px; + color: #6c757d; +} + +.abc-checkbox input[type=checkbox], +.abc-checkbox input[type=radio] { + position: static; + margin-left: 0; + cursor: pointer; + opacity: 0; + z-index: 1; +} + +.abc-checkbox input[type=checkbox]:focus + label::before, +.abc-checkbox input[type=radio]:focus + label::before { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.abc-checkbox input[type=checkbox]:checked + label::after, +.abc-checkbox input[type=radio]:checked + label::after { + font-family: "Font Awesome 5 Pro"; + content: "\F00C"; +} + +.abc-checkbox input[type=checkbox]:indeterminate + label::after, +.abc-checkbox input[type=radio]:indeterminate + label::after { + display: block; + content: ""; + width: 10px; + height: 3px; + background-color: #555555; + border-radius: 2px; + margin-left: -16.5px; + margin-top: 7px; +} + +.abc-checkbox input[type=checkbox]:disabled + label, +.abc-checkbox input[type=radio]:disabled + label { + opacity: 0.65; +} + +.abc-checkbox input[type=checkbox]:disabled + label::before, +.abc-checkbox input[type=radio]:disabled + label::before { + background-color: #6c757d; + cursor: not-allowed; +} + +.abc-checkbox input[type=checkbox]:disabled + label::after, +.abc-checkbox input[type=radio]:disabled + label::after { + cursor: not-allowed; +} + +.abc-checkbox.abc-checkbox-circle label::before { + border-radius: 50%; +} + +.abc-checkbox.checkbox-inline { + margin-top: 0; +} + +.abc-checkbox-primary input[type=checkbox]:checked + label::before, +.abc-checkbox-primary input[type=radio]:checked + label::before { + background-color: #009ad9; + border-color: #009ad9; +} + +.abc-checkbox-primary input[type=checkbox]:checked + label::after, +.abc-checkbox-primary input[type=radio]:checked + label::after { + color: #fff; +} + +.abc-checkbox-danger input[type=checkbox]:checked + label::before, +.abc-checkbox-danger input[type=radio]:checked + label::before { + background-color: #e3342f; + border-color: #e3342f; +} + +.abc-checkbox-danger input[type=checkbox]:checked + label::after, +.abc-checkbox-danger input[type=radio]:checked + label::after { + color: #fff; +} + +.abc-checkbox-info input[type=checkbox]:checked + label::before, +.abc-checkbox-info input[type=radio]:checked + label::before { + background-color: #0a92dd; + border-color: #0a92dd; +} + +.abc-checkbox-info input[type=checkbox]:checked + label::after, +.abc-checkbox-info input[type=radio]:checked + label::after { + color: #fff; +} + +.abc-checkbox-warning input[type=checkbox]:checked + label::before, +.abc-checkbox-warning input[type=radio]:checked + label::before { + background-color: #f6993f; + border-color: #f6993f; +} + +.abc-checkbox-warning input[type=checkbox]:checked + label::after, +.abc-checkbox-warning input[type=radio]:checked + label::after { + color: #fff; +} + +.abc-checkbox-success input[type=checkbox]:checked + label::before, +.abc-checkbox-success input[type=radio]:checked + label::before { + background-color: #38c172; + border-color: #38c172; +} + +.abc-checkbox-success input[type=checkbox]:checked + label::after, +.abc-checkbox-success input[type=radio]:checked + label::after { + color: #fff; +} + +.abc-checkbox-primary input[type=checkbox]:indeterminate + label::before, +.abc-checkbox-primary input[type=radio]:indeterminate + label::before { + background-color: #009ad9; + border-color: #009ad9; +} + +.abc-checkbox-primary input[type=checkbox]:indeterminate + label::after, +.abc-checkbox-primary input[type=radio]:indeterminate + label::after { + background-color: #fff; +} + +.abc-checkbox-danger input[type=checkbox]:indeterminate + label::before, +.abc-checkbox-danger input[type=radio]:indeterminate + label::before { + background-color: #e3342f; + border-color: #e3342f; +} + +.abc-checkbox-danger input[type=checkbox]:indeterminate + label::after, +.abc-checkbox-danger input[type=radio]:indeterminate + label::after { + background-color: #fff; +} + +.abc-checkbox-info input[type=checkbox]:indeterminate + label::before, +.abc-checkbox-info input[type=radio]:indeterminate + label::before { + background-color: #0a92dd; + border-color: #0a92dd; +} + +.abc-checkbox-info input[type=checkbox]:indeterminate + label::after, +.abc-checkbox-info input[type=radio]:indeterminate + label::after { + background-color: #fff; +} + +.abc-checkbox-warning input[type=checkbox]:indeterminate + label::before, +.abc-checkbox-warning input[type=radio]:indeterminate + label::before { + background-color: #f6993f; + border-color: #f6993f; +} + +.abc-checkbox-warning input[type=checkbox]:indeterminate + label::after, +.abc-checkbox-warning input[type=radio]:indeterminate + label::after { + background-color: #fff; +} + +.abc-checkbox-success input[type=checkbox]:indeterminate + label::before, +.abc-checkbox-success input[type=radio]:indeterminate + label::before { + background-color: #38c172; + border-color: #38c172; +} + +.abc-checkbox-success input[type=checkbox]:indeterminate + label::after, +.abc-checkbox-success input[type=radio]:indeterminate + label::after { + background-color: #fff; +} + +.abc-radio { + cursor: default; + padding-left: 4px; +} + +.abc-radio label { + cursor: pointer; + display: inline; + vertical-align: top; + position: relative; + padding-left: 5px; +} + +.abc-radio label::before { + cursor: pointer; + content: ""; + display: inline-block; + position: absolute; + width: 17px; + height: 17px; + top: 2px; + left: 0; + margin-left: -20px; + border: 1px solid #dee2e6; + border-radius: 50%; + background-color: #fff; + -webkit-transition: border 0.15s ease-in-out; + transition: border 0.15s ease-in-out; +} + +.abc-radio label::after { + cursor: pointer; + display: inline-block; + position: absolute; + content: " "; + width: 11px; + height: 11px; + left: 3px; + top: 5px; + margin-left: -20px; + border-radius: 50%; + background-color: #6c757d; + -webkit-transform: scale(0, 0); + transform: scale(0, 0); + -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); + transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); + transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); + transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33), -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); +} + +.abc-radio input[type=radio] { + position: static; + margin-left: 0; + cursor: pointer; + opacity: 0; + z-index: 1; +} + +.abc-radio input[type=radio]:focus + label::before { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.abc-radio input[type=radio]:checked + label::after { + -webkit-transform: scale(1, 1); + transform: scale(1, 1); +} + +.abc-radio input[type=radio]:disabled + label { + opacity: 0.65; +} + +.abc-radio input[type=radio]:disabled + label::before { + cursor: not-allowed; +} + +.abc-radio input[type=radio]:disabled + label::after { + cursor: not-allowed; +} + +.abc-radio.radio-inline { + margin-top: 0; +} + +.abc-radio-primary input[type=radio] + label::after { + background-color: #009ad9; +} + +.abc-radio-primary input[type=radio]:checked + label::before { + border-color: #009ad9; +} + +.abc-radio-primary input[type=radio]:checked + label::after { + background-color: #009ad9; +} + +.abc-radio-danger input[type=radio] + label::after { + background-color: #e3342f; +} + +.abc-radio-danger input[type=radio]:checked + label::before { + border-color: #e3342f; +} + +.abc-radio-danger input[type=radio]:checked + label::after { + background-color: #e3342f; +} + +.abc-radio-info input[type=radio] + label::after { + background-color: #0a92dd; +} + +.abc-radio-info input[type=radio]:checked + label::before { + border-color: #0a92dd; +} + +.abc-radio-info input[type=radio]:checked + label::after { + background-color: #0a92dd; +} + +.abc-radio-warning input[type=radio] + label::after { + background-color: #f6993f; +} + +.abc-radio-warning input[type=radio]:checked + label::before { + border-color: #f6993f; +} + +.abc-radio-warning input[type=radio]:checked + label::after { + background-color: #f6993f; +} + +.abc-radio-success input[type=radio] + label::after { + background-color: #38c172; +} + +.abc-radio-success input[type=radio]:checked + label::before { + border-color: #38c172; +} + +.abc-radio-success input[type=radio]:checked + label::after { + background-color: #38c172; +} + +label .was-validated .form-check-input:invalid .abc-checkbox:before, +label .was-validated .form-check-input:invalid .abc-radio:before, +label .form-check-input.is-invalid .abc-checkbox:before, +label .form-check-input.is-invalid .abc-radio:before { + border-color: #e3342f; +} + +.form-control { + border: 1px solid #dee2e6; +} + +.form-control:focus { + border-color: #1E2442; + box-shadow: none; +} + +.form-control, +.form-check-label { + font-size: 0.85rem; +} + +.form-row .form-group label { + margin-bottom: 0.1rem; +} + +.input-group-text { + font-size: 0.85rem; +} + +.input-group-prepend { + min-width: 40px; +} + +@media (min-width: 576px) { + .card-filters .form-group { + margin-bottom: 0; + } +} + +.form-control.datepicker { + padding: 0.25rem 0.5rem; +} + +.form-control::-webkit-input-placeholder { + color: #8B97A3; +} + +.form-control::-moz-placeholder { + color: #8B97A3; +} + +.form-control:-ms-input-placeholder { + color: #8B97A3; +} + +.form-control::-ms-input-placeholder { + color: #8B97A3; +} + +.form-control::placeholder { + color: #8B97A3; +} + +::-webkit-input-placeholder { + /* WebKit, Blink, Edge */ + color: #8B97A3; + font-style: italic; +} + +::-moz-placeholder { + /* Mozilla Firefox 19+ */ + color: #8B97A3; + opacity: 1; + font-style: italic; +} + +:-ms-input-placeholder { + /* Internet Explorer 10-11 */ + color: #8B97A3; + font-style: italic; +} + +::-ms-input-placeholder { + /* Microsoft Edge */ + color: #8B97A3; + font-style: italic; +} + +::placeholder { + /* Most modern browsers support this now. */ + color: #8B97A3; + font-style: italic; +} + +.select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder { + padding-top: 5px; +} + +.select2-container .select2-search--inline .select2-search__field::-moz-placeholder { + padding-top: 5px; +} + +.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder { + padding-top: 5px; +} + +.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder { + padding-top: 5px; +} + +.select2-container .select2-search--inline .select2-search__field::placeholder { + padding-top: 5px; +} + +.btn:focus { + box-shadow: none; +} + +.btn-primary:not(:disabled):not(.disabled).active:focus, +.btn-primary:not(:disabled):not(.disabled):active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: none; +} + +button:disabled { + cursor: not-allowed; +} + +.btn-primary { + background-color: #5D63FF; + border-color: #5D63FF; + color: #ffffff; +} + +.btn-primary .badge { + color: #BDDBFF; +} + +.btn-primary:hover { + background-color: #6c72ff; + border-color: #6c72ff; +} + +.btn-secondary { + background-color: #D9E2EC; + border-color: #edf2f5; + color: #5D63FF; +} + +.btn-secondary:hover { + background-color: #cfdae7; + border-color: #e3ebf0; + color: #5D63FF; +} + +.btn-secondary:not(:disabled):not(.disabled).active, +.btn-secondary:not(:disabled):not(.disabled):active, +.show > .btn-secondary.dropdown-toggle { + background-color: #e3ebf0; + border-color: #e3ebf0; + color: #5D63FF; +} + +.btn-light { + color: #495057; + background-color: #f8f9fb; + border: 1px solid #dee2e6; +} + +.btn-light:hover { + color: #40464c; + background-color: #eef1f5; + border: 1px solid #d5dadf; +} + +a.btn-link { + color: #0056b3; +} + +.btn-filter { + padding: 0.26rem 1rem !important; +} + +.btn-light:not(:disabled):not(.disabled).active, +.btn-light:not(:disabled):not(.disabled):active, +.show > .btn-light.dropdown-toggle { + color: #474d54; + background-color: #f5f6f8; + border-color: #dae0e5; +} + +.btn-outline-primary { + color: #5D63FF; + border-color: #5D63FF; +} + +.btn-xs { + padding: 0.4rem 0.4rem; + font-size: 0.7rem; + line-height: 0.5; + border-radius: 0.2rem; +} + +.btn-wide { + padding-left: 1rem !important; + padding-right: 1rem !important; +} + +.btn-group-sm > .btn, +.btn-sm { + padding: 0.4rem 1rem; + line-height: 1.5; +} + +.btn .badge { + color: #969FA8; + top: auto; +} + +.btn-group .btn { + border: 1px solid #E1E4E7; + color: #495057; +} + +.btn-group .btn-primary { + color: #ffffff; +} + +.btn-group-sm > .btn, +.btn-sm { + font-size: 0.75rem; + padding: 0.2rem 0.5rem; +} + +.btn-group-md > .btn, +.btn-md { + font-size: 0.8rem; + padding: 0.35rem 0.75rem; +} + +.page-signin-alt .signin-password { + position: relative; +} + +.page-signin-alt .signin-password .forgot { + position: absolute; + right: 7px; + top: 7px; + color: #555; + background: #F0F4F7; + border-radius: 2px; + line-height: 25px; + padding: 0 7px; + font-size: 12px; +} + +/* + * Sidebar + */ + +.sidebar.modal .close { + position: absolute; + right: 5px; + top: 2px; + color: #ffffff; + text-shadow: 0 1px 0 #fff; + opacity: 0.8; +} + +.modal-left .modal-dialog { + position: fixed; + margin: auto; + width: 200px; + height: 100%; + -webkit-transform: translate3d(0%, 0, 0); + transform: translate3d(0%, 0, 0); +} + +.modal-left .modal-content { + overflow-y: auto; +} + +.modal-left.fade .modal-dialog { + left: -200px; + -webkit-transition: opacity 0.2s linear, left 0.2s ease-out; + transition: opacity 0.2s linear, left 0.2s ease-out; +} + +.modal-left.fade.show .modal-dialog { + left: 0; +} + +.card-table .table { + margin-bottom: 0; +} + +.card-table .table th { + border-top: none; +} + +.table thead th { + border-bottom: 1px solid #dee2e6; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.03); +} + +/* restore specificity of hover style */ + +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +table.table-hover-reset tr:hover { + background-color: inherit; + opacity: 1; +} + +.table tr.bold td { + font-weight: bold; +} + +.table th { + background-color: #fdfdfd; + font-weight: bold; + color: #1E2442; +} + +.table td, +.table th { + padding: 0.8rem 0.8rem; + border-top: 1px solid #e9edf1; +} + +.table-hover tbody tr:hover { + background-color: #f6fafc; +} + +@supports (font-variation-settings: normal) { + html { + font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; + } +} + +html { + height: 100%; +} + +body { + font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 0.85rem; + height: 100%; + overflow-x: hidden; + overflow-y: auto; + background-color: #F0F4F7; + color: #555; +} + +a { + color: #0056b3; +} + +h1 { + font-weight: 300; + font-size: 2.2rem; + margin-bottom: 20px; +} + +.col-0 { + width: 0; +} + +#content-wrapper { + min-width: 100vw; +} + +@media (min-width: 992px) { + #content-wrapper { + min-width: 0; + width: 100%; + } +} + +.bg-purple-100 { + background-color: #1E2442 !important; +} + +.bg-purple-500 { + background-color: #5D63FF !important; +} + +a.color-purple-500 { + color: #1E2442; +} + +a.color-purple-500:hover, +a.color-purple-500:active { + color: #1E2442; +} + +.color-purple-500 { + color: #5D63FF; +} + +.color-gray-100 { + color: #eceff2 !important; +} + +.color-gray-200 { + color: #dee2e6 !important; +} + +.color-gray-300 { + color: #ced4da !important; +} + +.color-gray-400 { + color: #adb5bd !important; +} + +.color-gray-500 { + color: #8B97A3 !important; +} + +.color-gray-600 { + color: #6c757d !important; +} + +.color-gray-700 { + color: #495057 !important; +} + +.color-gray-800 { + color: #343a40 !important; +} + +.fw-25 { + -webkit-box-flex: 0; + flex: 0 0 25px; +} + +.fw-80 { + -webkit-box-flex: 0; + flex: 0 0 80px; +} + +.fw-160 { + -webkit-box-flex: 0; + flex: 0 0 160px; +} + +/* Header */ + +.bg-trial-header { + background-color: #ffe4af; +} + +.main-header .workspace-select { + line-height: 24px; +} + +.main-header .user-dropdown { + border: 1px solid transparent; + line-height: 24px; +} + +.main-header .dropdown-item:hover .fas { + color: #1E2442; +} + +.main-header .dropdown-toggle::after { + display: none; +} + +@media (min-width: 576px) { + .main-header .workspace-select { + border: 1px solid rgba(107, 120, 133, 0.1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + border-radius: 4px; + line-height: 24px; + } +} + +/* + * Navbar + */ + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0; +} + +.navbar { + background-color: #ffffff; + border: none; +} + +.dropdown-menu { + font-size: 0.85rem; + background: #ffffff; + border: 1px solid rgba(43, 49, 55, 0.07); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.02), 0 10px 18px rgba(43, 49, 55, 0.25); + border-radius: 4px; + width: 12.5rem; +} + +.nav-pills a.nav-link { + border-radius: 0; + color: #1E2442; + padding: 0.4rem 0.8rem 0.3rem; + margin-right: 0.5rem; +} + +.nav-pills a.nav-link.active { + background-color: transparent; + border-bottom: 4px solid #5D63FF; + color: #1E2442; + border-radius: 4px; +} + +.nav-pills a.nav-link:hover { + border-bottom: 4px solid #5D63FF; + border-radius: 4px; +} + +/* + * Sidebar + */ + +.sidebar { + -webkit-box-flex: 0; + flex: 0 0 225px; + transition: transform 0.1s ease-in-out, width 0.1s ease-in-out, margin 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; +} + +.sidebar .sidebar-inner { + margin: 0 1.5rem; +} + +.sidebar ul { + margin: 0; + padding: 0; +} + +.sidebar li { + white-space: nowrap; + overflow: hidden; +} + +.sidebar li.nav-item { + color: #ffffff; + margin-bottom: 0.2rem; + padding: 0; +} + +.sidebar li.nav-item a.nav-link { + color: #ffffff; + font-weight: normal; + font-size: 0.9rem; + padding: 0.7rem 0 0.7em 1.2rem; + border-left: 6px solid; + border-left-color: #1E2442; + border-radius: 6px; +} + +.sidebar li.nav-item a.nav-link .fas { + color: #7c97a4; +} + +.sidebar li.nav-item a.nav-link:hover { + background: #2e3765; + border-left-color: #2e3765; +} + +.sidebar li.nav-item.active a.nav-link { + color: #ffffff; + background: #2e3765; + border-left-color: #5D63FF; +} + +.sidebar li.nav-item.active a.nav-link .fas { + color: #ffffff; +} + +.sidebar .metismenu ul a { + padding: 5px 0 5px 40px; +} + +/* + * Content + */ + +.main-wrapper { + background-color: #f4f8ff; + transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; +} + +.card { + border-radius: 4px; + box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); + border: none; + margin-bottom: 16px; +} + +.card .card-header { + background-color: #ffffff; + border-bottom: none; + font-weight: 600; + padding: 1.25rem; + border-bottom: 1px solid #dee2e6; + font-size: 1.3rem; +} + +.card .card-header .card-filters { + margin-top: 1rem; + padding-top: 1.25rem; + padding-left: 1.25rem; + padding-right: 1.25rem; + border-top: 1px solid #EDEFF2; +} + +.card .card-header h5, +.card .card-header .h5 { + font-size: 1.2rem; + margin-bottom: 0; + margin-top: 0.2rem; + color: #8B97A3; +} + +.card .card-body { + background-color: #ffffff; +} + +.card .card-table { + padding: 0; +} + +.widget { + position: relative; + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border-radius: 0.25rem; + border-bottom: 3px solid #B1B9FF; +} + +.widget .h2 { + font-weight: 400; +} + +.widget .fal { + color: #8B97A3; +} + +.error-listing .card { + padding-top: 0; + padding-bottom: 0; +} + +.error-listing .card .card-body { + padding-top: 0; + padding-bottom: 0; +} + +.error-listing .card .row { + border-bottom: 1px solid #EBEDEF; + padding-top: 1rem; + padding-bottom: 1rem; +} + +.error-listing .card .row:last-of-type { + border-bottom: none; +} + +.error-listing .card .error-name { + font-weight: bold; +} + +.error-listing .card .error-name span { + font-weight: normal; + color: #8B97A3; + font-size: 0.7rem; +} + +/* + * Pagination + */ + +ul.pagination { + margin-bottom: 0; +} + +ul.pagination .page-item.active .page-link { + background-color: #1E2442; + border-color: #1E2442; +} + +ul.pagination .page-link { + color: #1E2442; +} + +/* + * Buttons + */ + +.alert ul { + margin-bottom: 0; +} + +.sub-plans label { + line-height: 24px; +} + +/*---- Select 2 ----*/ + +.select2 { + width: 100% !important; +} + +.select2-container--default .select2-selection--multiple { + border: 1px solid #dee2e6; +} + +.select2-container .select2-selection--multiple { + min-height: 30px; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice { + margin-top: 3px; +} + +.select2-container--default.select2-container--focus .select2-selection--multiple { + border: 1px solid #1E2442; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.select2-container .select2-search--inline .select2-search__field { + margin-top: 2px; +} + +.select2-container--default.select2-container--focus .select2-selection--multiple { + border-color: #1E2442; + box-shadow: none; +} + +.empty-table-text { + margin: 0 2rem; + text-align: center; + color: #777777; + font-size: 0.75rem; + text-transform: uppercase; + letter-spacing: 0.1em; +} + +/*---- Badges ----*/ + +.badge { + letter-spacing: 0.075em; + padding: 0.25rem 0.5rem; + border-radius: 4px; + font-size: 0.75rem; +} + +.badge-light { + background-color: #eceff2; + color: #495057; +} + +.badge-success { + background-color: #d7f5ea; + color: #306955; +} + +.badge-danger { + background-color: #ffebee; + color: #CF1124; +} + +.badge-warning { + background-color: #FFEFE6; + color: #CB6E17; +} + +.badge-info { + background-color: #E6F6FF; + color: #0A558C; +} + +/*---- Summernote ----*/ + +.note-editor.note-frame { + border: 1px solid #dee2e6; +} + +.bootstrap-select > .dropdown-toggle { + background-color: #ffffff; +} + +.filter-option-inner-inner { + font-size: 0.85rem; +} + +#segmentFilterSelector button { + padding: 0.25rem 0.5rem !important; +} + diff --git a/public/mix-manifest.json b/public/mix-manifest.json index a0d4fc29..afc34481 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,3 +1,3 @@ { - "/app.css": "/app.css?id=53c68304d34550530c1d" + "/app.css": "/app.css?id=a375f765624c239f0678" } diff --git a/resources/sass/app.scss b/resources/sass/app.scss index 23e41bad..fd19e48e 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -475,6 +475,10 @@ ul.pagination { border: 1px solid $gray-200; } +.bootstrap-select > .dropdown-toggle { + background-color: $white; +} + .filter-option-inner-inner { font-size: .85rem; } From b13e271c66774cdc37000f4f32e47518d1f4138f Mon Sep 17 00:00:00 2001 From: mauricius Date: Mon, 5 Oct 2020 11:43:18 +0200 Subject: [PATCH 6/6] Fix bottom scrollbar --- public/app.css | 1232 +------------------ public/mix-manifest.json | 2 +- resources/sass/app.scss | 1 - resources/views/subscribers/index.blade.php | 2 +- 4 files changed, 3 insertions(+), 1234 deletions(-) diff --git a/public/app.css b/public/app.css index 68290d94..75353322 100644 --- a/public/app.css +++ b/public/app.css @@ -1,1231 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);@charset "UTF-8"; - -.hide { - display: none !important; -} - -.no-underline, -.no-underline:hover { - text-decoration: none; -} - -.cursor-move { - cursor: move; -} - -.grow { - -webkit-transition: -webkit-transform 0.2s ease; - transition: -webkit-transform 0.2s ease; - transition: transform 0.2s ease; - transition: transform 0.2s ease, -webkit-transform 0.2s ease; -} - -.grow:hover { - -webkit-transform: scale(1.15); - transform: scale(1.15); -} - -.p-4-half { - padding: 2.3rem !important; -} - -.pl-4-half { - padding-left: 2.3rem !important; -} - -.pr-4-half { - padding-right: 2.3rem !important; -} - -.pb-4-half { - padding-right: 2.3rem !important; -} - -.pt-4-half { - padding-top: 2.3rem !important; -} - -pre { - white-space: pre-wrap; - word-wrap: break-word; - text-align: justify; -} - -span.required { - color: red; -} - -.border-light { - border-color: #dee2e6 !important; -} - -.abc-checkbox { - cursor: default; - padding-left: 4px; -} - -.abc-checkbox label { - cursor: pointer; - display: inline; - vertical-align: top; - position: relative; - padding-left: 5px; -} - -.abc-checkbox label::before { - cursor: pointer; - content: ""; - display: inline-block; - position: absolute; - width: 17px; - height: 17px; - top: 2px; - left: 0; - margin-left: -20px; - border: 1px solid #dee2e6; - border-radius: 3px; - background-color: #fff; - -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; - transition: border 0.15s ease-in-out, color 0.15s ease-in-out; -} - -.abc-checkbox label::after { - cursor: pointer; - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - left: 0; - top: 2px; - margin-left: -20px; - padding-left: 3px; - padding-top: 1px; - font-size: 11px; - color: #6c757d; -} - -.abc-checkbox input[type=checkbox], -.abc-checkbox input[type=radio] { - position: static; - margin-left: 0; - cursor: pointer; - opacity: 0; - z-index: 1; -} - -.abc-checkbox input[type=checkbox]:focus + label::before, -.abc-checkbox input[type=radio]:focus + label::before { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.abc-checkbox input[type=checkbox]:checked + label::after, -.abc-checkbox input[type=radio]:checked + label::after { - font-family: "Font Awesome 5 Pro"; - content: "\F00C"; -} - -.abc-checkbox input[type=checkbox]:indeterminate + label::after, -.abc-checkbox input[type=radio]:indeterminate + label::after { - display: block; - content: ""; - width: 10px; - height: 3px; - background-color: #555555; - border-radius: 2px; - margin-left: -16.5px; - margin-top: 7px; -} - -.abc-checkbox input[type=checkbox]:disabled + label, -.abc-checkbox input[type=radio]:disabled + label { - opacity: 0.65; -} - -.abc-checkbox input[type=checkbox]:disabled + label::before, -.abc-checkbox input[type=radio]:disabled + label::before { - background-color: #6c757d; - cursor: not-allowed; -} - -.abc-checkbox input[type=checkbox]:disabled + label::after, -.abc-checkbox input[type=radio]:disabled + label::after { - cursor: not-allowed; -} - -.abc-checkbox.abc-checkbox-circle label::before { - border-radius: 50%; -} - -.abc-checkbox.checkbox-inline { - margin-top: 0; -} - -.abc-checkbox-primary input[type=checkbox]:checked + label::before, -.abc-checkbox-primary input[type=radio]:checked + label::before { - background-color: #009ad9; - border-color: #009ad9; -} - -.abc-checkbox-primary input[type=checkbox]:checked + label::after, -.abc-checkbox-primary input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-danger input[type=checkbox]:checked + label::before, -.abc-checkbox-danger input[type=radio]:checked + label::before { - background-color: #e3342f; - border-color: #e3342f; -} - -.abc-checkbox-danger input[type=checkbox]:checked + label::after, -.abc-checkbox-danger input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-info input[type=checkbox]:checked + label::before, -.abc-checkbox-info input[type=radio]:checked + label::before { - background-color: #0a92dd; - border-color: #0a92dd; -} - -.abc-checkbox-info input[type=checkbox]:checked + label::after, -.abc-checkbox-info input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-warning input[type=checkbox]:checked + label::before, -.abc-checkbox-warning input[type=radio]:checked + label::before { - background-color: #f6993f; - border-color: #f6993f; -} - -.abc-checkbox-warning input[type=checkbox]:checked + label::after, -.abc-checkbox-warning input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-success input[type=checkbox]:checked + label::before, -.abc-checkbox-success input[type=radio]:checked + label::before { - background-color: #38c172; - border-color: #38c172; -} - -.abc-checkbox-success input[type=checkbox]:checked + label::after, -.abc-checkbox-success input[type=radio]:checked + label::after { - color: #fff; -} - -.abc-checkbox-primary input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-primary input[type=radio]:indeterminate + label::before { - background-color: #009ad9; - border-color: #009ad9; -} - -.abc-checkbox-primary input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-primary input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-danger input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-danger input[type=radio]:indeterminate + label::before { - background-color: #e3342f; - border-color: #e3342f; -} - -.abc-checkbox-danger input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-danger input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-info input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-info input[type=radio]:indeterminate + label::before { - background-color: #0a92dd; - border-color: #0a92dd; -} - -.abc-checkbox-info input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-info input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-warning input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-warning input[type=radio]:indeterminate + label::before { - background-color: #f6993f; - border-color: #f6993f; -} - -.abc-checkbox-warning input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-warning input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-checkbox-success input[type=checkbox]:indeterminate + label::before, -.abc-checkbox-success input[type=radio]:indeterminate + label::before { - background-color: #38c172; - border-color: #38c172; -} - -.abc-checkbox-success input[type=checkbox]:indeterminate + label::after, -.abc-checkbox-success input[type=radio]:indeterminate + label::after { - background-color: #fff; -} - -.abc-radio { - cursor: default; - padding-left: 4px; -} - -.abc-radio label { - cursor: pointer; - display: inline; - vertical-align: top; - position: relative; - padding-left: 5px; -} - -.abc-radio label::before { - cursor: pointer; - content: ""; - display: inline-block; - position: absolute; - width: 17px; - height: 17px; - top: 2px; - left: 0; - margin-left: -20px; - border: 1px solid #dee2e6; - border-radius: 50%; - background-color: #fff; - -webkit-transition: border 0.15s ease-in-out; - transition: border 0.15s ease-in-out; -} - -.abc-radio label::after { - cursor: pointer; - display: inline-block; - position: absolute; - content: " "; - width: 11px; - height: 11px; - left: 3px; - top: 5px; - margin-left: -20px; - border-radius: 50%; - background-color: #6c757d; - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); - transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33), -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); -} - -.abc-radio input[type=radio] { - position: static; - margin-left: 0; - cursor: pointer; - opacity: 0; - z-index: 1; -} - -.abc-radio input[type=radio]:focus + label::before { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.abc-radio input[type=radio]:checked + label::after { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); -} - -.abc-radio input[type=radio]:disabled + label { - opacity: 0.65; -} - -.abc-radio input[type=radio]:disabled + label::before { - cursor: not-allowed; -} - -.abc-radio input[type=radio]:disabled + label::after { - cursor: not-allowed; -} - -.abc-radio.radio-inline { - margin-top: 0; -} - -.abc-radio-primary input[type=radio] + label::after { - background-color: #009ad9; -} - -.abc-radio-primary input[type=radio]:checked + label::before { - border-color: #009ad9; -} - -.abc-radio-primary input[type=radio]:checked + label::after { - background-color: #009ad9; -} - -.abc-radio-danger input[type=radio] + label::after { - background-color: #e3342f; -} - -.abc-radio-danger input[type=radio]:checked + label::before { - border-color: #e3342f; -} - -.abc-radio-danger input[type=radio]:checked + label::after { - background-color: #e3342f; -} - -.abc-radio-info input[type=radio] + label::after { - background-color: #0a92dd; -} - -.abc-radio-info input[type=radio]:checked + label::before { - border-color: #0a92dd; -} - -.abc-radio-info input[type=radio]:checked + label::after { - background-color: #0a92dd; -} - -.abc-radio-warning input[type=radio] + label::after { - background-color: #f6993f; -} - -.abc-radio-warning input[type=radio]:checked + label::before { - border-color: #f6993f; -} - -.abc-radio-warning input[type=radio]:checked + label::after { - background-color: #f6993f; -} - -.abc-radio-success input[type=radio] + label::after { - background-color: #38c172; -} - -.abc-radio-success input[type=radio]:checked + label::before { - border-color: #38c172; -} - -.abc-radio-success input[type=radio]:checked + label::after { - background-color: #38c172; -} - -label .was-validated .form-check-input:invalid .abc-checkbox:before, -label .was-validated .form-check-input:invalid .abc-radio:before, -label .form-check-input.is-invalid .abc-checkbox:before, -label .form-check-input.is-invalid .abc-radio:before { - border-color: #e3342f; -} - -.form-control { - border: 1px solid #dee2e6; -} - -.form-control:focus { - border-color: #1E2442; - box-shadow: none; -} - -.form-control, -.form-check-label { - font-size: 0.85rem; -} - -.form-row .form-group label { - margin-bottom: 0.1rem; -} - -.input-group-text { - font-size: 0.85rem; -} - -.input-group-prepend { - min-width: 40px; -} - -@media (min-width: 576px) { - .card-filters .form-group { - margin-bottom: 0; - } -} - -.form-control.datepicker { - padding: 0.25rem 0.5rem; -} - -.form-control::-webkit-input-placeholder { - color: #8B97A3; -} - -.form-control::-moz-placeholder { - color: #8B97A3; -} - -.form-control:-ms-input-placeholder { - color: #8B97A3; -} - -.form-control::-ms-input-placeholder { - color: #8B97A3; -} - -.form-control::placeholder { - color: #8B97A3; -} - -::-webkit-input-placeholder { - /* WebKit, Blink, Edge */ - color: #8B97A3; - font-style: italic; -} - -::-moz-placeholder { - /* Mozilla Firefox 19+ */ - color: #8B97A3; - opacity: 1; - font-style: italic; -} - -:-ms-input-placeholder { - /* Internet Explorer 10-11 */ - color: #8B97A3; - font-style: italic; -} - -::-ms-input-placeholder { - /* Microsoft Edge */ - color: #8B97A3; - font-style: italic; -} - -::placeholder { - /* Most modern browsers support this now. */ - color: #8B97A3; - font-style: italic; -} - -.select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::-moz-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder { - padding-top: 5px; -} - -.select2-container .select2-search--inline .select2-search__field::placeholder { - padding-top: 5px; -} - -.btn:focus { - box-shadow: none; -} - -.btn-primary:not(:disabled):not(.disabled).active:focus, -.btn-primary:not(:disabled):not(.disabled):active:focus, -.show > .btn-primary.dropdown-toggle:focus { - box-shadow: none; -} - -button:disabled { - cursor: not-allowed; -} - -.btn-primary { - background-color: #5D63FF; - border-color: #5D63FF; - color: #ffffff; -} - -.btn-primary .badge { - color: #BDDBFF; -} - -.btn-primary:hover { - background-color: #6c72ff; - border-color: #6c72ff; -} - -.btn-secondary { - background-color: #D9E2EC; - border-color: #edf2f5; - color: #5D63FF; -} - -.btn-secondary:hover { - background-color: #cfdae7; - border-color: #e3ebf0; - color: #5D63FF; -} - -.btn-secondary:not(:disabled):not(.disabled).active, -.btn-secondary:not(:disabled):not(.disabled):active, -.show > .btn-secondary.dropdown-toggle { - background-color: #e3ebf0; - border-color: #e3ebf0; - color: #5D63FF; -} - -.btn-light { - color: #495057; - background-color: #f8f9fb; - border: 1px solid #dee2e6; -} - -.btn-light:hover { - color: #40464c; - background-color: #eef1f5; - border: 1px solid #d5dadf; -} - -a.btn-link { - color: #0056b3; -} - -.btn-filter { - padding: 0.26rem 1rem !important; -} - -.btn-light:not(:disabled):not(.disabled).active, -.btn-light:not(:disabled):not(.disabled):active, -.show > .btn-light.dropdown-toggle { - color: #474d54; - background-color: #f5f6f8; - border-color: #dae0e5; -} - -.btn-outline-primary { - color: #5D63FF; - border-color: #5D63FF; -} - -.btn-xs { - padding: 0.4rem 0.4rem; - font-size: 0.7rem; - line-height: 0.5; - border-radius: 0.2rem; -} - -.btn-wide { - padding-left: 1rem !important; - padding-right: 1rem !important; -} - -.btn-group-sm > .btn, -.btn-sm { - padding: 0.4rem 1rem; - line-height: 1.5; -} - -.btn .badge { - color: #969FA8; - top: auto; -} - -.btn-group .btn { - border: 1px solid #E1E4E7; - color: #495057; -} - -.btn-group .btn-primary { - color: #ffffff; -} - -.btn-group-sm > .btn, -.btn-sm { - font-size: 0.75rem; - padding: 0.2rem 0.5rem; -} - -.btn-group-md > .btn, -.btn-md { - font-size: 0.8rem; - padding: 0.35rem 0.75rem; -} - -.page-signin-alt .signin-password { - position: relative; -} - -.page-signin-alt .signin-password .forgot { - position: absolute; - right: 7px; - top: 7px; - color: #555; - background: #F0F4F7; - border-radius: 2px; - line-height: 25px; - padding: 0 7px; - font-size: 12px; -} - -/* - * Sidebar - */ - -.sidebar.modal .close { - position: absolute; - right: 5px; - top: 2px; - color: #ffffff; - text-shadow: 0 1px 0 #fff; - opacity: 0.8; -} - -.modal-left .modal-dialog { - position: fixed; - margin: auto; - width: 200px; - height: 100%; - -webkit-transform: translate3d(0%, 0, 0); - transform: translate3d(0%, 0, 0); -} - -.modal-left .modal-content { - overflow-y: auto; -} - -.modal-left.fade .modal-dialog { - left: -200px; - -webkit-transition: opacity 0.2s linear, left 0.2s ease-out; - transition: opacity 0.2s linear, left 0.2s ease-out; -} - -.modal-left.fade.show .modal-dialog { - left: 0; -} - -.card-table .table { - margin-bottom: 0; -} - -.card-table .table th { - border-top: none; -} - -.table thead th { - border-bottom: 1px solid #dee2e6; -} - -.table-striped tbody tr:nth-of-type(odd) { - background-color: rgba(0, 0, 0, 0.03); -} - -/* restore specificity of hover style */ - -.table-hover tbody tr:hover { - background-color: rgba(0, 0, 0, 0.075); -} - -table.table-hover-reset tr:hover { - background-color: inherit; - opacity: 1; -} - -.table tr.bold td { - font-weight: bold; -} - -.table th { - background-color: #fdfdfd; - font-weight: bold; - color: #1E2442; -} - -.table td, -.table th { - padding: 0.8rem 0.8rem; - border-top: 1px solid #e9edf1; -} - -.table-hover tbody tr:hover { - background-color: #f6fafc; -} - -@supports (font-variation-settings: normal) { - html { - font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; - } -} - -html { - height: 100%; -} - -body { - font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 0.85rem; - height: 100%; - overflow-x: hidden; - overflow-y: auto; - background-color: #F0F4F7; - color: #555; -} - -a { - color: #0056b3; -} - -h1 { - font-weight: 300; - font-size: 2.2rem; - margin-bottom: 20px; -} - -.col-0 { - width: 0; -} - -#content-wrapper { - min-width: 100vw; -} - -@media (min-width: 992px) { - #content-wrapper { - min-width: 0; - width: 100%; - } -} - -.bg-purple-100 { - background-color: #1E2442 !important; -} - -.bg-purple-500 { - background-color: #5D63FF !important; -} - -a.color-purple-500 { - color: #1E2442; -} - -a.color-purple-500:hover, -a.color-purple-500:active { - color: #1E2442; -} - -.color-purple-500 { - color: #5D63FF; -} - -.color-gray-100 { - color: #eceff2 !important; -} - -.color-gray-200 { - color: #dee2e6 !important; -} - -.color-gray-300 { - color: #ced4da !important; -} - -.color-gray-400 { - color: #adb5bd !important; -} - -.color-gray-500 { - color: #8B97A3 !important; -} - -.color-gray-600 { - color: #6c757d !important; -} - -.color-gray-700 { - color: #495057 !important; -} - -.color-gray-800 { - color: #343a40 !important; -} - -.fw-25 { - -webkit-box-flex: 0; - flex: 0 0 25px; -} - -.fw-80 { - -webkit-box-flex: 0; - flex: 0 0 80px; -} - -.fw-160 { - -webkit-box-flex: 0; - flex: 0 0 160px; -} - -/* Header */ - -.bg-trial-header { - background-color: #ffe4af; -} - -.main-header .workspace-select { - line-height: 24px; -} - -.main-header .user-dropdown { - border: 1px solid transparent; - line-height: 24px; -} - -.main-header .dropdown-item:hover .fas { - color: #1E2442; -} - -.main-header .dropdown-toggle::after { - display: none; -} - -@media (min-width: 576px) { - .main-header .workspace-select { - border: 1px solid rgba(107, 120, 133, 0.1); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - border-radius: 4px; - line-height: 24px; - } -} - -/* - * Navbar - */ - -.navbar-expand .navbar-nav .nav-link { - padding-right: 0; -} - -.navbar { - background-color: #ffffff; - border: none; -} - -.dropdown-menu { - font-size: 0.85rem; - background: #ffffff; - border: 1px solid rgba(43, 49, 55, 0.07); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.02), 0 10px 18px rgba(43, 49, 55, 0.25); - border-radius: 4px; - width: 12.5rem; -} - -.nav-pills a.nav-link { - border-radius: 0; - color: #1E2442; - padding: 0.4rem 0.8rem 0.3rem; - margin-right: 0.5rem; -} - -.nav-pills a.nav-link.active { - background-color: transparent; - border-bottom: 4px solid #5D63FF; - color: #1E2442; - border-radius: 4px; -} - -.nav-pills a.nav-link:hover { - border-bottom: 4px solid #5D63FF; - border-radius: 4px; -} - -/* - * Sidebar - */ - -.sidebar { - -webkit-box-flex: 0; - flex: 0 0 225px; - transition: transform 0.1s ease-in-out, width 0.1s ease-in-out, margin 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; -} - -.sidebar .sidebar-inner { - margin: 0 1.5rem; -} - -.sidebar ul { - margin: 0; - padding: 0; -} - -.sidebar li { - white-space: nowrap; - overflow: hidden; -} - -.sidebar li.nav-item { - color: #ffffff; - margin-bottom: 0.2rem; - padding: 0; -} - -.sidebar li.nav-item a.nav-link { - color: #ffffff; - font-weight: normal; - font-size: 0.9rem; - padding: 0.7rem 0 0.7em 1.2rem; - border-left: 6px solid; - border-left-color: #1E2442; - border-radius: 6px; -} - -.sidebar li.nav-item a.nav-link .fas { - color: #7c97a4; -} - -.sidebar li.nav-item a.nav-link:hover { - background: #2e3765; - border-left-color: #2e3765; -} - -.sidebar li.nav-item.active a.nav-link { - color: #ffffff; - background: #2e3765; - border-left-color: #5D63FF; -} - -.sidebar li.nav-item.active a.nav-link .fas { - color: #ffffff; -} - -.sidebar .metismenu ul a { - padding: 5px 0 5px 40px; -} - -/* - * Content - */ - -.main-wrapper { - background-color: #f4f8ff; - transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, margin 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; -} - -.card { - border-radius: 4px; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); - border: none; - margin-bottom: 16px; -} - -.card .card-header { - background-color: #ffffff; - border-bottom: none; - font-weight: 600; - padding: 1.25rem; - border-bottom: 1px solid #dee2e6; - font-size: 1.3rem; -} - -.card .card-header .card-filters { - margin-top: 1rem; - padding-top: 1.25rem; - padding-left: 1.25rem; - padding-right: 1.25rem; - border-top: 1px solid #EDEFF2; -} - -.card .card-header h5, -.card .card-header .h5 { - font-size: 1.2rem; - margin-bottom: 0; - margin-top: 0.2rem; - color: #8B97A3; -} - -.card .card-body { - background-color: #ffffff; -} - -.card .card-table { - padding: 0; -} - -.widget { - position: relative; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - min-width: 0; - word-wrap: break-word; - background-color: #fff; - background-clip: border-box; - border-radius: 0.25rem; - border-bottom: 3px solid #B1B9FF; -} - -.widget .h2 { - font-weight: 400; -} - -.widget .fal { - color: #8B97A3; -} - -.error-listing .card { - padding-top: 0; - padding-bottom: 0; -} - -.error-listing .card .card-body { - padding-top: 0; - padding-bottom: 0; -} - -.error-listing .card .row { - border-bottom: 1px solid #EBEDEF; - padding-top: 1rem; - padding-bottom: 1rem; -} - -.error-listing .card .row:last-of-type { - border-bottom: none; -} - -.error-listing .card .error-name { - font-weight: bold; -} - -.error-listing .card .error-name span { - font-weight: normal; - color: #8B97A3; - font-size: 0.7rem; -} - -/* - * Pagination - */ - -ul.pagination { - margin-bottom: 0; -} - -ul.pagination .page-item.active .page-link { - background-color: #1E2442; - border-color: #1E2442; -} - -ul.pagination .page-link { - color: #1E2442; -} - -/* - * Buttons - */ - -.alert ul { - margin-bottom: 0; -} - -.sub-plans label { - line-height: 24px; -} - -/*---- Select 2 ----*/ - -.select2 { - width: 100% !important; -} - -.select2-container--default .select2-selection--multiple { - border: 1px solid #dee2e6; -} - -.select2-container .select2-selection--multiple { - min-height: 30px; -} - -.select2-container--default .select2-selection--multiple .select2-selection__choice { - margin-top: 3px; -} - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border: 1px solid #1E2442; - box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); -} - -.select2-container .select2-search--inline .select2-search__field { - margin-top: 2px; -} - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border-color: #1E2442; - box-shadow: none; -} - -.empty-table-text { - margin: 0 2rem; - text-align: center; - color: #777777; - font-size: 0.75rem; - text-transform: uppercase; - letter-spacing: 0.1em; -} - -/*---- Badges ----*/ - -.badge { - letter-spacing: 0.075em; - padding: 0.25rem 0.5rem; - border-radius: 4px; - font-size: 0.75rem; -} - -.badge-light { - background-color: #eceff2; - color: #495057; -} - -.badge-success { - background-color: #d7f5ea; - color: #306955; -} - -.badge-danger { - background-color: #ffebee; - color: #CF1124; -} - -.badge-warning { - background-color: #FFEFE6; - color: #CB6E17; -} - -.badge-info { - background-color: #E6F6FF; - color: #0A558C; -} - -/*---- Summernote ----*/ - -.note-editor.note-frame { - border: 1px solid #dee2e6; -} - -.bootstrap-select > .dropdown-toggle { - background-color: #ffffff; -} - -.filter-option-inner-inner { - font-size: 0.85rem; -} - -#segmentFilterSelector button { - padding: 0.25rem 0.5rem !important; -} - +@import url(https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap);.hide{display:none!important}.no-underline,.no-underline:hover{text-decoration:none}.cursor-move{cursor:move}.grow{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.grow:hover{-webkit-transform:scale(1.15);transform:scale(1.15)}.p-4-half{padding:2.3rem!important}.pl-4-half{padding-left:2.3rem!important}.pb-4-half,.pr-4-half{padding-right:2.3rem!important}.pt-4-half{padding-top:2.3rem!important}pre{white-space:pre-wrap;word-wrap:break-word;text-align:justify}span.required{color:red}.border-light{border-color:#dee2e6!important}.abc-checkbox{cursor:default;padding-left:4px}.abc-checkbox label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-checkbox label:before{content:"";width:17px;height:17px;border:1px solid #dee2e6;border-radius:3px;background-color:#fff;-webkit-transition:border .15s ease-in-out,color .15s ease-in-out;transition:border .15s ease-in-out,color .15s ease-in-out}.abc-checkbox label:after,.abc-checkbox label:before{cursor:pointer;display:inline-block;position:absolute;top:2px;left:0;margin-left:-20px}.abc-checkbox label:after{width:16px;height:16px;padding-left:3px;padding-top:1px;font-size:11px;color:#6c757d}.abc-checkbox input[type=checkbox],.abc-checkbox input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-checkbox input[type=checkbox]:focus+label:before,.abc-checkbox input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-checkbox input[type=checkbox]:checked+label:after,.abc-checkbox input[type=radio]:checked+label:after{font-family:Font Awesome\ 5 Pro;content:"\F00C"}.abc-checkbox input[type=checkbox]:indeterminate+label:after,.abc-checkbox input[type=radio]:indeterminate+label:after{display:block;content:"";width:10px;height:3px;background-color:#555;border-radius:2px;margin-left:-16.5px;margin-top:7px}.abc-checkbox input[type=checkbox]:disabled+label,.abc-checkbox input[type=radio]:disabled+label{opacity:.65}.abc-checkbox input[type=checkbox]:disabled+label:before,.abc-checkbox input[type=radio]:disabled+label:before{background-color:#6c757d;cursor:not-allowed}.abc-checkbox input[type=checkbox]:disabled+label:after,.abc-checkbox input[type=radio]:disabled+label:after{cursor:not-allowed}.abc-checkbox.abc-checkbox-circle label:before{border-radius:50%}.abc-checkbox.checkbox-inline{margin-top:0}.abc-checkbox-primary input[type=checkbox]:checked+label:before,.abc-checkbox-primary input[type=radio]:checked+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:checked+label:after,.abc-checkbox-primary input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-danger input[type=checkbox]:checked+label:before,.abc-checkbox-danger input[type=radio]:checked+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:checked+label:after,.abc-checkbox-danger input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-info input[type=checkbox]:checked+label:before,.abc-checkbox-info input[type=radio]:checked+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:checked+label:after,.abc-checkbox-info input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-warning input[type=checkbox]:checked+label:before,.abc-checkbox-warning input[type=radio]:checked+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:checked+label:after,.abc-checkbox-warning input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-success input[type=checkbox]:checked+label:before,.abc-checkbox-success input[type=radio]:checked+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:checked+label:after,.abc-checkbox-success input[type=radio]:checked+label:after{color:#fff}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:before,.abc-checkbox-primary input[type=radio]:indeterminate+label:before{background-color:#009ad9;border-color:#009ad9}.abc-checkbox-primary input[type=checkbox]:indeterminate+label:after,.abc-checkbox-primary input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:before,.abc-checkbox-danger input[type=radio]:indeterminate+label:before{background-color:#e3342f;border-color:#e3342f}.abc-checkbox-danger input[type=checkbox]:indeterminate+label:after,.abc-checkbox-danger input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-info input[type=checkbox]:indeterminate+label:before,.abc-checkbox-info input[type=radio]:indeterminate+label:before{background-color:#0a92dd;border-color:#0a92dd}.abc-checkbox-info input[type=checkbox]:indeterminate+label:after,.abc-checkbox-info input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:before,.abc-checkbox-warning input[type=radio]:indeterminate+label:before{background-color:#f6993f;border-color:#f6993f}.abc-checkbox-warning input[type=checkbox]:indeterminate+label:after,.abc-checkbox-warning input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-checkbox-success input[type=checkbox]:indeterminate+label:before,.abc-checkbox-success input[type=radio]:indeterminate+label:before{background-color:#38c172;border-color:#38c172}.abc-checkbox-success input[type=checkbox]:indeterminate+label:after,.abc-checkbox-success input[type=radio]:indeterminate+label:after{background-color:#fff}.abc-radio{cursor:default;padding-left:4px}.abc-radio label{cursor:pointer;display:inline;vertical-align:top;position:relative;padding-left:5px}.abc-radio label:before{content:"";width:17px;height:17px;top:2px;left:0;border:1px solid #dee2e6;border-radius:50%;background-color:#fff;-webkit-transition:border .15s ease-in-out;transition:border .15s ease-in-out}.abc-radio label:after,.abc-radio label:before{cursor:pointer;display:inline-block;position:absolute;margin-left:-20px}.abc-radio label:after{content:" ";width:11px;height:11px;left:3px;top:5px;border-radius:50%;background-color:#6c757d;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .1s cubic-bezier(.8,-.33,.2,1.33);transition:-webkit-transform .1s cubic-bezier(.8,-.33,.2,1.33);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33);transition:transform .1s cubic-bezier(.8,-.33,.2,1.33),-webkit-transform .1s cubic-bezier(.8,-.33,.2,1.33)}.abc-radio input[type=radio]{position:static;margin-left:0;cursor:pointer;opacity:0;z-index:1}.abc-radio input[type=radio]:focus+label:before{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.abc-radio input[type=radio]:checked+label:after{-webkit-transform:scale(1);transform:scale(1)}.abc-radio input[type=radio]:disabled+label{opacity:.65}.abc-radio input[type=radio]:disabled+label:after,.abc-radio input[type=radio]:disabled+label:before{cursor:not-allowed}.abc-radio.radio-inline{margin-top:0}.abc-radio-primary input[type=radio]+label:after{background-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:before{border-color:#009ad9}.abc-radio-primary input[type=radio]:checked+label:after{background-color:#009ad9}.abc-radio-danger input[type=radio]+label:after{background-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:before{border-color:#e3342f}.abc-radio-danger input[type=radio]:checked+label:after{background-color:#e3342f}.abc-radio-info input[type=radio]+label:after{background-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:before{border-color:#0a92dd}.abc-radio-info input[type=radio]:checked+label:after{background-color:#0a92dd}.abc-radio-warning input[type=radio]+label:after{background-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:before{border-color:#f6993f}.abc-radio-warning input[type=radio]:checked+label:after{background-color:#f6993f}.abc-radio-success input[type=radio]+label:after{background-color:#38c172}.abc-radio-success input[type=radio]:checked+label:before{border-color:#38c172}.abc-radio-success input[type=radio]:checked+label:after{background-color:#38c172}label .form-check-input.is-invalid .abc-checkbox:before,label .form-check-input.is-invalid .abc-radio:before,label .was-validated .form-check-input:invalid .abc-checkbox:before,label .was-validated .form-check-input:invalid .abc-radio:before{border-color:#e3342f}.form-control{border:1px solid #dee2e6}.form-control:focus{border-color:#1e2442;box-shadow:none}.form-check-label,.form-control{font-size:.85rem}.form-row .form-group label{margin-bottom:.1rem}.input-group-text{font-size:.85rem}.input-group-prepend{min-width:40px}@media (min-width:576px){.card-filters .form-group{margin-bottom:0}}.form-control.datepicker{padding:.25rem .5rem}.form-control::-webkit-input-placeholder{color:#8b97a3}.form-control::-moz-placeholder{color:#8b97a3}.form-control:-ms-input-placeholder{color:#8b97a3}.form-control::-ms-input-placeholder{color:#8b97a3}.form-control::placeholder{color:#8b97a3}::-webkit-input-placeholder{color:#8b97a3;font-style:italic}::-moz-placeholder{color:#8b97a3;opacity:1;font-style:italic}:-ms-input-placeholder{color:#8b97a3;font-style:italic}::-ms-input-placeholder{color:#8b97a3;font-style:italic}::placeholder{color:#8b97a3;font-style:italic}.select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-moz-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder{padding-top:5px}.select2-container .select2-search--inline .select2-search__field::placeholder{padding-top:5px}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:none}button:disabled{cursor:not-allowed}.btn-primary{background-color:#5d63ff;border-color:#5d63ff;color:#fff}.btn-primary .badge{color:#bddbff}.btn-primary:hover{background-color:#6c72ff;border-color:#6c72ff}.btn-secondary{background-color:#d9e2ec;border-color:#edf2f5;color:#5d63ff}.btn-secondary:hover{background-color:#cfdae7;border-color:#e3ebf0;color:#5d63ff}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{background-color:#e3ebf0;border-color:#e3ebf0;color:#5d63ff}.btn-light{color:#495057;background-color:#f8f9fb;border:1px solid #dee2e6}.btn-light:hover{color:#40464c;background-color:#eef1f5;border:1px solid #d5dadf}a.btn-link{color:#0056b3}.btn-filter{padding:.26rem 1rem!important}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#474d54;background-color:#f5f6f8;border-color:#dae0e5}.btn-outline-primary{color:#5d63ff;border-color:#5d63ff}.btn-xs{padding:.4rem;font-size:.7rem;line-height:.5;border-radius:.2rem}.btn-wide{padding-left:1rem!important;padding-right:1rem!important}.btn-group-sm>.btn,.btn-sm{padding:.4rem 1rem;line-height:1.5}.btn .badge{color:#969fa8;top:auto}.btn-group .btn{border:1px solid #e1e4e7;color:#495057}.btn-group .btn-primary{color:#fff}.btn-group-sm>.btn,.btn-sm{font-size:.75rem;padding:.2rem .5rem}.btn-group-md>.btn,.btn-md{font-size:.8rem;padding:.35rem .75rem}.page-signin-alt .signin-password{position:relative}.page-signin-alt .signin-password .forgot{position:absolute;right:7px;top:7px;color:#555;background:#f0f4f7;border-radius:2px;line-height:25px;padding:0 7px;font-size:12px}.sidebar.modal .close{position:absolute;right:5px;top:2px;color:#fff;text-shadow:0 1px 0 #fff;opacity:.8}.modal-left .modal-dialog{position:fixed;margin:auto;width:200px;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}.modal-left .modal-content{overflow-y:auto}.modal-left.fade .modal-dialog{left:-200px;-webkit-transition:opacity .2s linear,left .2s ease-out;transition:opacity .2s linear,left .2s ease-out}.modal-left.fade.show .modal-dialog{left:0}.card-table .table{margin-bottom:0}.card-table .table th{border-top:none}.table thead th{border-bottom:1px solid #dee2e6}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.03)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}table.table-hover-reset tr:hover{background-color:inherit;opacity:1}.table th,.table tr.bold td{font-weight:700}.table th{background-color:#fdfdfd;color:#1e2442}.table td,.table th{padding:.8rem;border-top:1px solid #e9edf1}.table-hover tbody tr:hover{background-color:#f6fafc}@supports (font-variation-settings:normal){html{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif}}body,html{height:100%}body{font-family:Nunito,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.85rem;overflow-x:hidden;overflow-y:auto;background-color:#f0f4f7;color:#555}a{color:#0056b3}h1{font-weight:300;font-size:2.2rem;margin-bottom:20px}.col-0{width:0}#content-wrapper{min-width:100vw}@media (min-width:992px){#content-wrapper{min-width:0;width:100%}}.bg-purple-100{background-color:#1e2442!important}.bg-purple-500{background-color:#5d63ff!important}a.color-purple-500,a.color-purple-500:active,a.color-purple-500:hover{color:#1e2442}.color-purple-500{color:#5d63ff}.color-gray-100{color:#eceff2!important}.color-gray-200{color:#dee2e6!important}.color-gray-300{color:#ced4da!important}.color-gray-400{color:#adb5bd!important}.color-gray-500{color:#8b97a3!important}.color-gray-600{color:#6c757d!important}.color-gray-700{color:#495057!important}.color-gray-800{color:#343a40!important}.fw-25{flex:0 0 25px}.fw-25,.fw-80{-webkit-box-flex:0}.fw-80{flex:0 0 80px}.fw-160{-webkit-box-flex:0;flex:0 0 160px}.bg-trial-header{background-color:#ffe4af}.main-header .workspace-select{line-height:24px}.main-header .user-dropdown{border:1px solid transparent;line-height:24px}.main-header .dropdown-item:hover .fas{color:#1e2442}.main-header .dropdown-toggle:after{display:none}@media (min-width:576px){.main-header .workspace-select{border:1px solid rgba(107,120,133,.1);box-shadow:0 1px 1px rgba(0,0,0,.04);border-radius:4px;line-height:24px}}.navbar-expand .navbar-nav .nav-link{padding-right:0}.navbar{background-color:#fff;border:none}.dropdown-menu{font-size:.85rem;background:#fff;border:1px solid rgba(43,49,55,.07);box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.02),0 10px 18px rgba(43,49,55,.25);border-radius:4px}.nav-pills a.nav-link{border-radius:0;color:#1e2442;padding:.4rem .8rem .3rem;margin-right:.5rem}.nav-pills a.nav-link.active{background-color:transparent;color:#1e2442}.nav-pills a.nav-link.active,.nav-pills a.nav-link:hover{border-bottom:4px solid #5d63ff;border-radius:4px}.sidebar{-webkit-box-flex:0;flex:0 0 225px;transition:transform .1s ease-in-out,width .1s ease-in-out,margin .1s ease-in-out,-webkit-transform .1s ease-in-out}.sidebar .sidebar-inner{margin:0 1.5rem}.sidebar ul{margin:0;padding:0}.sidebar li{white-space:nowrap;overflow:hidden}.sidebar li.nav-item{color:#fff;margin-bottom:.2rem;padding:0}.sidebar li.nav-item a.nav-link{color:#fff;font-weight:400;font-size:.9rem;padding:.7rem 0 .7em 1.2rem;border-left:6px solid #1e2442;border-radius:6px}.sidebar li.nav-item a.nav-link .fas{color:#7c97a4}.sidebar li.nav-item a.nav-link:hover{background:#2e3765;border-left-color:#2e3765}.sidebar li.nav-item.active a.nav-link{color:#fff;background:#2e3765;border-left-color:#5d63ff}.sidebar li.nav-item.active a.nav-link .fas{color:#fff}.sidebar .metismenu ul a{padding:5px 0 5px 40px}.main-wrapper{background-color:#f4f8ff;transition:transform .3s ease-in-out,width .3s ease-in-out,margin .3s ease-in-out,-webkit-transform .3s ease-in-out}.card{border-radius:4px;box-shadow:0 3px 5px rgba(0,0,0,.1);border:none;margin-bottom:16px}.card .card-header{background-color:#fff;font-weight:600;padding:1.25rem;border-bottom:1px solid #dee2e6;font-size:1.3rem}.card .card-header .card-filters{margin-top:1rem;padding-top:1.25rem;padding-left:1.25rem;padding-right:1.25rem;border-top:1px solid #edeff2}.card .card-header .h5,.card .card-header h5{font-size:1.2rem;margin-bottom:0;margin-top:.2rem;color:#8b97a3}.card .card-body{background-color:#fff}.card .card-table{padding:0}.widget{position:relative;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:.25rem;border-bottom:3px solid #b1b9ff}.widget .h2{font-weight:400}.widget .fal{color:#8b97a3}.error-listing .card,.error-listing .card .card-body{padding-top:0;padding-bottom:0}.error-listing .card .row{border-bottom:1px solid #ebedef;padding-top:1rem;padding-bottom:1rem}.error-listing .card .row:last-of-type{border-bottom:none}.error-listing .card .error-name{font-weight:700}.error-listing .card .error-name span{font-weight:400;color:#8b97a3;font-size:.7rem}ul.pagination{margin-bottom:0}ul.pagination .page-item.active .page-link{background-color:#1e2442;border-color:#1e2442}ul.pagination .page-link{color:#1e2442}.alert ul{margin-bottom:0}.sub-plans label{line-height:24px}.select2{width:100%!important}.select2-container--default .select2-selection--multiple{border:1px solid #dee2e6}.select2-container .select2-selection--multiple{min-height:30px}.select2-container--default .select2-selection--multiple .select2-selection__choice{margin-top:3px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #1e2442;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.select2-container .select2-search--inline .select2-search__field{margin-top:2px}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#1e2442;box-shadow:none}.empty-table-text{margin:0 2rem;text-align:center;color:#777;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}.badge{letter-spacing:.075em;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.badge-light{background-color:#eceff2;color:#495057}.badge-success{background-color:#d7f5ea;color:#306955}.badge-danger{background-color:#ffebee;color:#cf1124}.badge-warning{background-color:#ffefe6;color:#cb6e17}.badge-info{background-color:#e6f6ff;color:#0a558c}.note-editor.note-frame{border:1px solid #dee2e6}.bootstrap-select>.dropdown-toggle{background-color:#fff}.filter-option-inner-inner{font-size:.85rem}#segmentFilterSelector button{padding:.25rem .5rem!important} \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index afc34481..56dc0ad4 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,3 +1,3 @@ { - "/app.css": "/app.css?id=a375f765624c239f0678" + "/app.css": "/app.css?id=fdfdbbc67e911948e90e" } diff --git a/resources/sass/app.scss b/resources/sass/app.scss index fd19e48e..c72070f2 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -174,7 +174,6 @@ a.color-purple-500 { border: 1px solid rgba(43, 49, 55, 0.07); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.02), 0 10px 18px rgba(43, 49, 55, 0.25); border-radius: $radius; - width: 12.5rem; } .nav-pills { diff --git a/resources/views/subscribers/index.blade.php b/resources/views/subscribers/index.blade.php index 9a7d54c6..55f6cc32 100644 --- a/resources/views/subscribers/index.blade.php +++ b/resources/views/subscribers/index.blade.php @@ -27,7 +27,7 @@ @if(count($segments))
- @foreach($segments as $segmentId => $segmentName) @endforeach