installed plugin Easy Digital Downloads version 3.1.0.3

This commit is contained in:
2022-11-27 15:03:07 +00:00
committed by Gitium
parent 555673545b
commit c5dce2cec6
1200 changed files with 238970 additions and 0 deletions

View File

@ -0,0 +1,43 @@
.chosen-container {
font-size: 14px;
}
.chosen-container-multi .search-field,
.chosen-container-single .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
background: $white url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
background-size: 16px 16px;
border: 1px solid $wp-input-border;
box-shadow: 0 0 0 transparent;
color: $wp-input-text;
}
.chosen-container-multi .chosen-choices,
.chosen-container-single .chosen-single {
border-radius: 4px;
border-color: $wp-input-border;
}
.chosen-container-multi.chosen-with-drop .chosen-choices,
.chosen-container-active.chosen-with-drop .chosen-single {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.chosen-container-single.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-single,
.chosen-container-multi.chosen-container-active.chosen-dropup .chosen-choices {
border-radius: 0 0 4px 4px;
border-width: 0 1px 0 1px;
z-index: 1011;
}
.chosen-container .chosen-drop {
position: absolute;
top: 100%;
z-index: 1010;
width: 100%;
border-radius: 0 0 4px 4px;
border-width: 0 1px 0 1px;
border-color: transparent;
background: $white;
outline: 2px solid transparent;
}

View File

@ -0,0 +1,24 @@
/* WordPress Color Schemes */
:root {
@include edd-admin-colors();
}
.chosen-container.chosen-container-active .chosen-single,
.chosen-container.chosen-container-active .chosen-choices,
.chosen-with-drop.chosen-dropup .chosen-drop {
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.chosen-with-drop.chosen-dropup .chosen-single,
.chosen-container-active.chosen-dropup .chosen-choices,
.chosen-container .chosen-drop {
border-color: var(--wp-admin-theme-color);
box-shadow: 0 1px 0 1px var(--wp-admin-theme-color);
}
.chosen-container .chosen-results li.highlighted {
background-color: var(--wp-admin-theme-color);
}

View File

@ -0,0 +1,20 @@
.edd-select-chosen {
width: 100%;
max-width: 300px;
}
.edd-select-chosen.edd-customer-select {
width: 100% !important;
}
.edd-select-chosen.edd-time {
width: 55px;
max-width: 55px;
}
@media screen and (max-width: $break-medium) {
.edd-select-chosen.edd-time {
width: 70px;
max-width: 70px;
}
}

View File

@ -0,0 +1,67 @@
.chosen-container-multi {
.search-field {
border: none;
}
&.chosen-with-drop .chosen-choices {
border-bottom-color: transparent;
}
.chosen-choices li.search-field {
min-width: 100px !important;
width: 100%;
}
.chosen-choices li.search-field input[type=text] {
color: $wp-input-text;
font-family: unset;
height: unset;
margin: 0;
padding: 3px 10px;
width: 100% !important;
}
.spinner {
position: absolute;
top: 4px;
right: -4px;
}
.chosen-choices li.search-choice {
margin: 3px 5px 3px 0;
padding: 5px 22px 5px 5px;
border: 1px solid $wp-input-border;
max-width: 100%;
border-radius: 4px;
background: #f4f4f4;
box-shadow: none;
color: $wp-input-text;
cursor: default;
}
.chosen-choices li.search-choice .search-choice-close {
position: absolute;
top: 4px;
right: 3px;
display: block;
width: 15px;
height: 15px;
}
.chosen-choices li.search-choice .search-choice-close:before {
height: 15px;
width: 15px;
position: absolute;
top: 0;
right: 0;
color: $wp-input-text;
font-family: 'dashicons';
content: '\f158';
font-size: 15px;
line-height: 1;
}
.chosen-choices li.search-choice .search-choice-close:hover:before {
color: $wp-text;
}
}

View File

@ -0,0 +1,16 @@
.chosen-container .chosen-results {
color: $wp-text;
position: relative;
overflow-x: hidden;
overflow-y: auto;
margin: 0 4px 4px 0;
padding: 0 0 0 4px;
max-height: 240px;
}
.chosen-container .chosen-results li.highlighted {
background-image: none;
border-radius: 4px;
color: $white;
}

View File

@ -0,0 +1,54 @@
.chosen-container-single .chosen-single div b {
background-image: none;
}
.chosen-container-single .chosen-search:after {
display: block;
position: absolute;
right: 6px;
top: 50%;
font-family: dashicons;
font-size: 17px;
content: '\f179';
transform: translateY(-50%);
}
.chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single {
border-radius: 4px 4px 0 0;
}
.chosen-container-single .chosen-single div {
width: 26px;
}
.chosen-container-single .chosen-default {
color: $wp-input-text;
}
.chosen-container-active .chosen-single {
border-color: transparent;
outline: 2px solid transparent;
}
.chosen-container-single .chosen-search input[type=text] {
margin: 1px 0;
padding: 4px 20px 4px 5px;
width: 100% !important;
height: auto;
outline: 0;
border: 1px solid $wp-input-border;
border-radius: 4px;
line-height: normal;
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
}
.chosen-container-single .chosen-single,
.chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single {
min-height: 30px;
@media screen and (max-width: $break-medium) {
font-size: 16px;
line-height: 1.625;
min-height: 40px;
padding: 5px 8px;
}
}

View File

@ -0,0 +1,17 @@
/* Chosen styles
-------------------------------------------------------------- */
@import "~@wordpress/base-styles/colors";
@import "~@wordpress/base-styles/variables";
@import "~@wordpress/base-styles/mixins";
@import "~@wordpress/base-styles/breakpoints";
@import "~@wordpress/base-styles/animations";
@import "../../variables/colors";
@import "../../variables/mixins";
@import 'base';
@import 'single';
@import 'multi';
@import 'results';
@import 'colors';
@import 'edd';

View File

@ -0,0 +1,349 @@
/* Date Picker Default Styles */
.edd-datepicker {
padding: 0;
margin: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background-color: #fff;
border: 1px solid #dfdfdf;
border-top: none;
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
min-width: 17em;
width: auto;
z-index: 1000 !important;
}
.edd-datepicker * {
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.edd-datepicker table {
font-size: 13px;
margin: 0;
border: none;
border-collapse: collapse;
}
.edd-datepicker .ui-widget-header,
.edd-datepicker .ui-datepicker-header {
background-image: none;
border: none;
color: #fff;
font-weight: normal;
padding: .2em 0;
}
.edd-datepicker .ui-datepicker-header .ui-state-hover {
background: transparent;
border-color: transparent;
cursor: pointer;
}
.edd-datepicker .ui-datepicker-title {
margin: 0;
padding: 10px 0;
color: #fff;
font-size: 14px;
line-height: 14px;
text-align: center;
}
.edd-datepicker .ui-datepicker-prev,
.edd-datepicker .ui-datepicker-next {
position: relative;
top: 0;
height: 34px;
width: 34px;
}
.edd-datepicker .ui-state-hover.ui-datepicker-prev,
.edd-datepicker .ui-state-hover.ui-datepicker-next {
border: none;
}
.edd-datepicker .ui-datepicker-prev,
.edd-datepicker .ui-datepicker-prev-hover {
left: 0;
}
.edd-datepicker .ui-datepicker-next,
.edd-datepicker .ui-datepicker-next-hover {
right: 0;
}
.edd-datepicker .ui-datepicker-next span,
.edd-datepicker .ui-datepicker-prev span {
display: none;
}
.edd-datepicker .ui-datepicker-prev {
float: left;
}
.edd-datepicker .ui-datepicker-next {
float: right;
}
.edd-datepicker .ui-datepicker-prev:before,
.edd-datepicker .ui-datepicker-next:before {
font: normal 20px/34px 'dashicons';
padding-left: 7px;
color: #fff;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
width: 34px;
height: 34px;
}
.edd-datepicker .ui-datepicker-prev:before {
content: '\f341';
}
.edd-datepicker .ui-datepicker-next:before {
content: '\f345';
}
.edd-datepicker .ui-datepicker-prev-hover:before,
.edd-datepicker .ui-datepicker-next-hover:before {
opacity: 0.7;
}
.edd-datepicker select.ui-datepicker-month,
.edd-datepicker select.ui-datepicker-year {
width: 33%;
}
.edd-datepicker thead {
color: #fff;
font-weight: 600;
}
.edd-datepicker th {
padding: 10px;
}
.edd-datepicker td {
padding: 0;
border: 1px solid #f4f4f4;
}
.edd-datepicker td.ui-datepicker-other-month {
border: transparent;
}
.edd-datepicker tr:first-of-type td {
border-top: 1px solid #f0f0f0;
}
.edd-datepicker td.ui-datepicker-week-end {
background-color: #f4f4f4;
border: 1px solid #f0f0f0;
}
.edd-datepicker td.ui-datepicker-today {
background-color: #f0f0c0;
}
.edd-datepicker td.ui-datepicker-current-day {
background: #bbdd88;
}
.edd-datepicker td .ui-state-default {
background: transparent;
border: none;
text-align: center;
text-decoration: none;
width: auto;
display: block;
padding: 5px 10px;
font-weight: normal;
color: #444;
}
.edd-datepicker td.ui-state-disabled .ui-state-default {
opacity: 0.5;
}
/* Default Color Scheme */
.edd-datepicker .ui-widget-header,
.edd-datepicker .ui-datepicker-header {
background: #00a0d2;
}
.edd-datepicker thead {
background: #32373c;
}
.edd-datepicker td .ui-state-hover {
background: #0073aa;
color: #fff;
}
/* WordPress Color Schemes */
/* Fresh */
.admin-color-fresh .edd-datepicker .ui-widget-header,
.admin-color-fresh .edd-datepicker .ui-datepicker-header {
background: #00a0d2;
}
.admin-color-fresh .edd-datepicker thead {
background: #32373c;
}
.admin-color-fresh .edd-datepicker td .ui-state-hover {
background: #0073aa;
color: #fff;
}
/* Blue */
.admin-color-blue .edd-datepicker .ui-widget-header,
.admin-color-blue .edd-datepicker .ui-datepicker-header {
background: #52accc;
}
.admin-color-blue .edd-datepicker thead {
background: #4796b3;
}
.admin-color-blue .edd-datepicker td .ui-state-hover {
background: #096484;
color: #fff;
}
/* Coffee */
.admin-color-coffee .edd-datepicker .ui-widget-header,
.admin-color-coffee .edd-datepicker .ui-datepicker-header {
background: #59524c;
}
.admin-color-coffee .edd-datepicker thead {
background: #46403c;
}
.admin-color-coffee .edd-datepicker td .ui-state-hover {
background: #c7a589;
color: #fff;
}
/* Ectoplasm */
.admin-color-ectoplasm .edd-datepicker .ui-widget-header,
.admin-color-ectoplasm .edd-datepicker .ui-datepicker-header {
background: #523f6d;
}
.admin-color-ectoplasm .edd-datepicker thead {
background: #413256;
}
.admin-color-ectoplasm .edd-datepicker td .ui-state-hover {
background: #a3b745;
color: #fff;
}
/* Midnight */
.admin-color-midnight .edd-datepicker .ui-widget-header,
.admin-color-midnight .edd-datepicker .ui-datepicker-header {
background: #363b3f;
}
.admin-color-midnight .edd-datepicker thead {
background: #26292c;
}
.admin-color-midnight .edd-datepicker td .ui-state-hover {
background: #e14d43;
color: #fff;
}
/* Ocean */
.admin-color-ocean .edd-datepicker .ui-widget-header,
.admin-color-ocean .edd-datepicker .ui-datepicker-header {
background: #738e96;
}
.admin-color-ocean .edd-datepicker thead {
background: #627c83;
}
.admin-color-ocean .edd-datepicker td .ui-state-hover {
background: #9ebaa0;
color: #fff;
}
/* Sunrise */
.admin-color-sunrise .edd-datepicker .ui-widget-header,
.admin-color-sunrise .edd-datepicker .ui-datepicker-header,
.admin-color-sunrise .edd-datepicker .ui-datepicker-header .ui-state-hover {
background: #cf4944;
}
.admin-color-sunrise .edd-datepicker th {
border-color: #be3631;
background: #be3631;
}
.admin-color-sunrise .edd-datepicker td .ui-state-hover {
background: #dd823b;
color: #fff;
}
/* Light */
.admin-color-light .edd-datepicker .ui-widget-header,
.admin-color-light .edd-datepicker .ui-datepicker-header {
background: #e5e5e5;
}
.admin-color-light .edd-datepicker thead {
background: #888;
}
.admin-color-light .edd-datepicker .ui-datepicker-title,
.admin-color-light .edd-datepicker td .ui-state-default,
.admin-color-light .edd-datepicker .ui-datepicker-prev:before,
.admin-color-light .edd-datepicker .ui-datepicker-next:before {
color: #555;
}
.admin-color-light .edd-datepicker td .ui-state-hover {
background: #e5e5e5;
}
/* bbPress Color Schemes */
/* Evergreen */
.admin-color-bbp-evergreen .edd-datepicker .ui-widget-header,
.admin-color-bbp-evergreen .edd-datepicker .ui-datepicker-header {
background: #56b274;
}
.admin-color-bbp-evergreen .edd-datepicker thead {
background: #36533f;
}
.admin-color-bbp-evergreen .edd-datepicker td .ui-state-hover {
background: #446950;
color: #fff;
}
/* Mint */
.admin-color-bbp-mint .edd-datepicker .ui-widget-header,
.admin-color-bbp-mint .edd-datepicker .ui-datepicker-header {
background: #4ca26a;
}
.admin-color-bbp-mint .edd-datepicker thead {
background: #4f6d59;
}
.admin-color-bbp-mint .edd-datepicker td .ui-state-hover {
background: #5fb37c;
color: #fff;
}

View File

@ -0,0 +1,41 @@
.edd-custom-price-option {
&-sections-wrap {
display: none;
border-width: 0 1px 1px;
border-style: solid;
border-color: $wp-border;
box-sizing: border-box;
width: 100%;
}
&-section {
display: block;
padding: 10px 8px;
border-bottom: 1px solid rgba( 222, 222, 222, 0.3 );
&-title {
display: block;
font-weight: 600;
padding: 0 0 10px;
}
&-content {
display: flex;
gap: 12px;
margin-bottom: 6px;
}
&:last-child {
border-bottom: none;
}
}
}
.toggle-custom-price-option-section {
color: $wp-gray-40;
&:hover {
color: $wp-text;
}
}

View File

@ -0,0 +1,30 @@
#edd_product_settings {
.edd-product-options__title,
.inside strong {
border-top: 1px solid $wp-border;
border-bottom: 1px solid $wp-border;
background-color: $wp-alternate;
display: flex;
font-weight: 600;
margin: 0 -12px 16px;
padding: 8px 12px;
justify-content: space-between;
align-items: center;
}
.edd-product-options-wrapper:first-of-type .edd-product-options__title,
.inside div:first-child strong {
margin-top: -8px;
}
.edd-product-options__title .edd-help-tip,
.inside strong .edd-help-tip {
font-size: 20px;
}
.label--block {
display: block;
margin: 0 0 4px;
}
}

View File

@ -0,0 +1,188 @@
.edd_repeatable_row.ui-sortable-placeholder {
line-height: 0;
padding: 0;
margin: 0;
box-sizing: border-box;
border: 1px dashed $wp-border;
visibility: visible !important;
}
.edd-add-repeatable-row {
border-top: 1px solid $wp-border;
padding: 12px;
margin: 15px -12px -12px -12px;
display: flex;
justify-content: flex-end;
align-items: center;
}
.edd_repeatable_row input[type="text"].large-text {
width: 100%;
}
.edd_variable_prices_wrapper:not(:first-child),
.edd_repeatable_upload_wrapper:not(:first-child) {
margin-top: 12px;
}
.edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row {
display: none;
}
.edd-repeatable-row-actions {
color: $wp-gray-40;
a {
text-decoration: none;
width: auto;
cursor: pointer;
}
}
.edd-repeatable-row-header,
.edd-bundle-products-header {
clear: both;
background: $wp-gray-0;
border: 1px solid $wp-border;
display: flex;
justify-content: space-between;
}
.edd-repeatable-row-header {
cursor: move;
}
.edd_repeatable_row:hover .edd-repeatable-row-header,
.edd_repeatable_row:hover .edd-repeatable-row-standard-fields {
border-color: $wp-border;
}
.edd-repeatable-row-header:before,
.edd-repeatable-row-header:after,
.edd-bundled-product-row:before,
.edd-bundled-product-row:after {
content: '';
display: table;
}
.edd-repeatable-row-header:after,
.edd-bundled-product-row:after {
clear: both;
}
.edd-repeatable-row-title,
.edd-bundle-products-header {
font-weight: 600;
}
.edd-repeatable-row-title,
.edd-repeatable-row-actions,
.edd-bundle-products-header {
padding: 8px;
box-sizing: border-box;
}
.edd-repeatable-row-actions {
flex-grow: 1;
text-align: right;
}
.edd-repeatable-row-actions .edd-remove-row,
.edd-bundled-product-row .edd-remove-row {
width: auto;
cursor: pointer;
}
.edd-repeatable-row-standard-fields,
.edd-bundled-product-row {
padding: 8px;
border-width: 0 1px 1px;
border-style: solid;
border-color: $wp-border;
display: flex;
justify-content: space-between;
align-items: center;
gap: 18px;
}
/* @todo: remove these when .edd-form-row has been fully implemented */
.edd-repeatable-row-standard-fields .edd-form-group,
.edd-bundled-product-row .edd-form-group {
margin-bottom: 0;
display: inline-flex;
flex-direction: column;
flex-grow: 1;
justify-content: space-between;
}
.edd-repeatable-row-setting-label .edd-help-tip {
display: inline-block;
margin-left: 4px;
}
.edd-bundled-product-item-reorder {
min-width: 30px;
.edd-product-file-reorder {
font-size: 20px;
cursor: move;
color: $wp-gray-5;
font-family: "dashicons";
content: "\f545";
transition: .2s color;
&:hover {
color: $wp-gray-20;
}
}
}
.edd-bundled-product-actions {
align-self: center;
}
#edd_products .edd-select,
.edd_repeatable_upload_wrapper .pricing select,
.edd_repeatable_product_wrapper .edd-select {
min-width: 100%;
max-width: 200px;
}
.edd_repeatable_product_wrapper td {
overflow: visible;
}
@media screen and (max-width: $break-mobile) {
.edd-bundle-products-header,
.edd-repeatable-row-header,
.edd-repeatable-row-standard-fields,
.edd-bundled-product-row {
flex-wrap: wrap;
}
.edd-repeatable-row-standard-fields .edd-form-group,
.edd-bundled-product-row .edd-form-group {
margin-left: 0 !important;
margin-bottom: 24px;
}
}
/* still used by extensions - Software Licensing upgrade paths, Custom Prices */
.edd_remove_repeatable {
border: none;
cursor: pointer;
display: inline-block;
padding: 0;
overflow: hidden;
margin: 8px 0 0 0;
text-indent: -9999px;
width: 10px;
height: 10px;
}
.edd_remove_repeatable:active,
.edd_remove_repeatable:hover,
.edd_remove_repeatable:focus {
background-position: -10px 0 !important;
}

View File

@ -0,0 +1,27 @@
.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container {
position: relative;
width: 100%;
+span:first-child {
width: 100%;
}
}
.edd_repeatable_upload_field {
padding-right: 32px;
}
.edd_upload_file button {
background: $wp-gray-0;
border: none;
border-left: 1px solid $wp-border;
padding: 0 4px;
position: absolute;
height: calc(100% - 4px);
overflow: hidden;
top: 2px;
right: 2px;
display: inline-flex;
justify-content: center;
align-items: center;
}

View File

@ -0,0 +1,4 @@
@import "prices";
@import "product_settings";
@import "repeatable_row";
@import "upload";

View File

@ -0,0 +1,63 @@
/**
* EDD Admin CSS
*
* @package EDD
* @subpackage Admin Email Tags CSS
* @copyright Copyright (c) 2015, Pippin Williamson
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/
.edd-email-tags-filter {
margin: -15px -15px 15px;
padding: 15px;
border-bottom: 1px solid #ddd;
background: #f3f3f3;
}
.edd-email-tags-filter-search {
padding: 10px;
width: 100%;
font-size: 20px;
}
.edd-email-tags-list {
margin: 0;
}
.edd-email-tags-list-item {
margin-bottom: 15px;
}
.edd-email-tags-list-item::last-child {
margin-bottom: 0;
}
.edd-email-tags-list-button {
cursor: pointer;
color: #666;
text-align: left;
padding: 0.8rem;
width: 100%;
background: none;
border: 1px solid #ddd;
border-radius: 3px;
}
.edd-email-tags-list-button:hover {
background: #fafafa;
}
.edd-email-tags-list-button strong {
color: #444;
font-size: 14px;
margin-bottom: 8px;
}
.edd-email-tags-list-button code {
margin-left: 10px;
}
.edd-email-tags-list-button span {
display: block;
margin-top: 10px;
}

View File

@ -0,0 +1,143 @@
/* Extension Manager
------------------------------------------------------------- */
.edd-extension-manager__card {
background-color: #fff;
padding: 2em;
margin: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.edd-extension-manager__card-group .edd-extension-manager__card {
float: left;
max-width: 360px;
margin: 1em;
}
@supports(grid-area: auto) {
.edd-extension-manager__card-group {
display: grid;
grid-template-columns: auto;
gap: 1em;
margin-top: 24px;
}
.edd-extension-manager__card-group .edd-extension-manager__card {
float: none;
margin: 0;
max-width: unset;
}
}
.inside .edd-extension-manager__card {
padding: 0;
}
.edd-extension-manager__title {
margin: 0 0 1em 0;
}
.edd-extension-manager__group {
display: grid;
}
.edd-extension-manager__step {
grid-area: 1/-1;
margin: 0;
}
.edd-extension-manager__step:not(:first-of-type) {
display: none;
}
.edd-extension-manager__step .button {
display: table;
margin: 0 auto;
text-align: center;
white-space: normal;
}
td .edd-extension-manager__step .button {
display: inline-block;
}
.edd-extension-manager__body {
display: grid;
gap: 1.5em;
grid-template-rows: auto 1fr;
flex-grow: 1;
}
.edd-extension-manager__image img {
display: block;
margin: 0 auto;
max-width: 500px;
width: 100%;
}
.edd-extension-manager__features ul {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.edd-extension-manager__features .dashicons-yes {
color: #008a20;
margin-right: .25em;
}
.edd-extension-manager__body .notice {
max-width: 320px;
}
/* Extension Manager Style Variations
--------------------------------------- */
.edd-extension-manager__card--horizontal {
margin: 24px 0;
max-width: 700px;
}
.edd-extension-manager__card--detailed {
background-color: transparent;
max-width: 700px;
}
.edd-extension-manager__card--detailed-2col {
background-color: transparent;
max-width: 900px;
}
.edd-extension-manager__card--detailed .edd-extension-manager__title,
.edd-extension-manager__card--detailed-2col .edd-extension-manager__title {
border-bottom: 1px solid #ccc;
padding-bottom: 1em;
}
@media screen and (min-width: 601px) {
.edd-extension-manager__card-group {
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.edd-extension-manager__card--horizontal .edd-extension-manager__body {
grid-template-columns: minmax(0, 300px) 1fr;
grid-template-rows: 1fr auto;
grid-auto-flow: column;
}
.edd-extension-manager__card--horizontal .edd-extension-manager__image {
grid-row: 1 / 4;
}
.edd-extension-manager__features,
.edd-extension-manager__card--horizontal .edd-extension-manager__description {
align-self: center;
}
}
@media screen and (min-width: 783px) {
.edd-extension-manager__card--detailed-2col .edd-extension-manager__body {
grid-template-columns: minmax(0, 375px) 1fr;
grid-auto-flow: column;
}
}

View File

@ -0,0 +1,86 @@
/**
* Form Group
*
* <div class="edd-form-group">
* <label class="edd-form-group__label">Label</label>
* <div class="edd-form-group__control">
* <input type="text" class="edd-form-group__input" />
* </div>
* <p class="edd-form-group__help">Help</p>
* </div>
*
*
* <fieldset class="edd-form-group">
* <legend class="edd-form-group__label">Label</label>
*
* <div class="edd-form-group__control">
* <input type="radio" class="edd-form-group__input" />
* <label>Radio 1</label>
* </div>
*
* <div class="edd-form-group__control">
* <input type="radio" class="edd-form-group__input" />
* <label>Radio 2</label>
* </div>
* </fieldset>
*
*/
.edd-form-group {
margin-bottom: 16px;
&:last-of-type {
margin-bottom: 0;
}
}
.edd-form-group__label,
.edd-form-group>label {
display: block;
font-weight: 600;
margin-bottom: 8px;
padding: 0;
}
.edd-form-group__control {
margin-bottom: 12px;
max-width: 100%;
&.is-radio,
&.is-check {
margin-top: 4px;
}
&:last-of-type {
margin-bottom: 0;
}
&--is-inline {
display: inline-flex;
align-items: flex-end;
}
}
.edd-form-group__input {
max-width: 100%;
&[type="checkbox"],
&[type="radio"] {
margin-top: 0;
+label {
display: unset;
}
}
}
select.edd-form-group__input {
max-width: 100%;
}
.edd-form-group__help {
color: $wp-gray-50;
font-size: 13px;
font-style: italic;
line-height: initial;
margin: 8px 0 0;
}

View File

@ -0,0 +1,20 @@
.edd-form-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
&__column {
display: inline-flex;
flex-direction: column;
justify-content: flex-end;
&.edd-form-group {
margin-bottom: 0;
}
}
label,
label.edd-form-group__label {
margin-bottom: 8px;
}
}

View File

@ -0,0 +1,2 @@
@import "form-group";
@import "form-row";

View File

@ -0,0 +1,21 @@
/* PayPal Connect
-------------------------------------------------------------- */
.edd-paypal-account-status ul {
margin-left: 25px;
}
.edd-paypal-account-status > li {
margin-bottom: 1em;
}
.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) {
list-style: disc;
list-style-position: inside;
}
.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) li {
margin: .25em 0;
}
.edd-paypal-account-status .dashicons-yes {
color: #008a20;
}
.edd-paypal-account-status .dashicons-no {
color: #d63638;
}

View File

@ -0,0 +1,13 @@
.edd-item-header-small {
padding-bottom: 20px;
border-bottom: 1px solid #e5e5e5;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 6px;
span {
font-weight: 600;
font-size: 15px;
}
}

View File

@ -0,0 +1 @@
@import "item-header";

View File

@ -0,0 +1,64 @@
/**
* EDD Admin Menu CSS
*
* @package EDD
* @subpackage Admin CSS
* @copyright Copyright (c) 2015, Pippin Williamson
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/
@import "~@wordpress/base-styles/breakpoints";
@import "../variables/colors";
/* Submenu Styles
-------------------------------------------------------------- */
#menu-posts-download a[href^="edit.php?post_type=download"] {
&:hover,
&:focus {
box-shadow: inset 4px 0 0 0 currentColor;
transition: box-shadow .1s linear;
}
}
/* Secondary Separators */
#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,
#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,
#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,
#menu-posts-download li:nth-last-child(2) a:after {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
display: block;
float: left;
margin: 13px -15px 8px;
content: '';
width: calc(100% + 26px);
@media screen and (max-width: $break-medium) {
margin: 20px -20px 8px -20px;
width: calc(100% + 30px);
}
}
#adminmenu #menu-posts-download {
/* WordPress 5.7 fix for left-shadow on hover */
ul.wp-submenu-wrap li {
clear: both;
}
a.wp-has-current-submenu:after {
display: none;
}
}
/* Show Submenu Arrow */
ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before {
right: 0;
border: solid 8px transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: $wp-gray-0;
margin-top: 2px;
}

View File

@ -0,0 +1,123 @@
/* Notifications
-------------------------------------------------------------- */
.edd-overlay {
position: fixed;
z-index: 1052;
top: 0;
right: 0;
bottom: 0;
left: 160px;
background-color: #141b38;
opacity: .5;
transition: .5s;
}
.edd-slide-in {
transform: translateX(100%) !important;
-webkit-transform: translateX(100%) !important;
}
#edd-notifications-panel {
background-color: white;
height: 100%;
width: 100%;
max-width: 570px;
position: fixed;
z-index: 1053;
top: 0;
right: 0;
bottom: 0;
overflow-x: hidden;
transition: .5s;
transform: translateX(0%);
-webkit-transform: translateX(0%);
}
body.admin-bar #edd-notifications-panel {
top: 32px;
}
@media screen and (max-width: 600px) {
body.admin-bar #edd-notifications-panel {
top: 46px;
}
}
#edd-notifications-header {
display: flex;
align-items: center;
padding: 0 30px;
color: #fff;
background-color: #0c5d95;
}
#edd-notifications-header h3 {
color: #fff;
flex: 1;
}
#edd-notifications-header .edd-close {
background: none;
border: none;
color: #fff;
cursor: pointer;
}
#edd-notifications-body {
padding: 30px;
}
.edd-notification {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.edd-notification--icon {
color: #00aa63;
}
.edd-notification--icon.edd-notification--icon-info {
color: #005ae0;
}
.edd-notification--icon.edd-notification--icon-warning {
color: #f18200;
}
.edd-notification--icon.edd-notification--icon-error {
color: #df2a4a;
}
.edd-notification--body {
flex: 1;
}
.edd-notification--header {
align-items: center;
display: flex;
justify-content: space-between;
gap: 5px;
margin-bottom: 7px;
}
.edd-notification--title {
color: #141b38;
flex: 1;
font-size: 16px;
font-weight: 600;
margin: 0;
}
.edd-notification--date {
color: #71747e;
font-size: 12px;
}
.edd-notification--actions {
flex-wrap: wrap;
display: flex;
align-items: center;
gap: 5px;
margin-top: 10px;
}
.edd-notification--dismiss {
background: none !important;
border: none !important;
box-shadow: none !important;
color: #71747e !important;
cursor: pointer;
padding: 0 10px;
text-decoration: underline;
}
.edd-notification--dismiss:hover {
text-decoration: none;
}

View File

@ -0,0 +1,124 @@
$fixed-column-width: 80px;
#edd-submit-refund-status {
text-align: center;
font-size: 1.2em;
.edd-submit-refund-message {
&:before{
font-family: dashicons;
font-size: 1.5em;
vertical-align: middle;
color: #fff;
border-radius: 16px;
margin: 5px;
}
&.success:before {
content: "\f147";
background-color: $wp-green-50;
padding-right: 1px;
}
&.fail {
display: block;
margin-bottom: 16px;
&::before {
content: "\f335";
background-color: $wp-red-50;
}
}
}
}
.refund-items {
td,
th.check-column {
vertical-align: baseline;
}
.column-amount,
.column-quantity,
.column-subtotal,
.column-tax,
.column-discount,
.column-total {
width: $fixed-column-width;
}
.edd-form-group__control {
display: flex;
align-items: center;
select,
input {
background-color: transparent;
border: 0;
border-bottom: 1px solid;
border-radius: 0;
box-shadow: none;
text-align: right;
width: 100%;
&:disabled {
border-bottom: none;
}
&:focus {
border-bottom: 1px solid var(--wp-admin-theme-color-darker-10);
box-shadow: 0 1px 0 var(--wp-admin-theme-color-darker-10);
}
}
select[data-original="1"] {
background: transparent;
}
select,
.is-before + span > input {
text-align: left;
}
}
.edd-refund-submit-line-total {
background-color: $white !important;
td {
text-align: right;
}
}
.edd-refund-submit-line-total-amount {
display: inline-block;
margin-left: 20px;
text-align: left;
width: $fixed-column-width;
}
#edd-refund-submit-subtotal td {
border-top: 2px solid $wp-border;
}
@media screen and ( max-width: 782px ) {
td.column-total {
margin-bottom: 16px;
}
.edd-refund-submit-line-total-amount {
padding-right: 16px;
width: unset;
}
}
}
.edd-submit-refund-actions {
margin: 16px 0 0;
}
.did-refund {
.refund-items,
.edd-submit-refund-actions {
display: none;
}
}

View File

@ -0,0 +1,2 @@
@import "refunds-modal";

View File

@ -0,0 +1,92 @@
.edd-admin-notice-top-of-page {
font-size: 15px;
line-height: 1.4;
color: #fff;
margin-left: -20px;
padding: 12px 32px 12px 20px;
background: #2d6ca2;
display: none;
@media screen and ( min-width: 783px ) {
padding: 10px 46px 10px 22px;
}
@media screen and ( min-width: 961px ) {
text-align: center;
}
a {
color: #fff;
&:hover {
text-decoration: none;
}
}
.button-link {
position: absolute;
top: 48px;
right: -1px;
font-size: 20px;
color: #fff;
font-weight: bold;
text-decoration: none;
margin-left: 5px;
padding: 6px 10px;
&:hover, &:active, &:focus {
color: #fff;
text-decoration: none;
}
@media screen and ( min-width: 601px ) {
top: 1px;
}
@media screen and ( min-width: 783px ) {
right: 9px;
}
}
}
/* Five Star Review Request
------------------------------------------------------------- */
#edd-admin-notice-five-star-review {
display: grid;
}
#edd_dashboard_sales .edd-promo-notice {
border-bottom: 1px solid #c3c4c7;
}
.edd-review-actions {
display: flex;
gap: 6px;
margin: 0 0 16px 0;
}
.edd-promo-notice .edd-peeking {
align-self: flex-end;
justify-self: flex-end;
margin-right: 16px;
margin-bottom: -1px;
}
@media screen and (max-width: 782px) {
#edd-admin-notice-five-star-review.notice .edd-peeking {
margin-bottom: -6px;
}
}
@media screen and (min-width: 400px) {
.edd-promo-notice .edd-peeking {
justify-self: flex-start;
margin-right: 0;
margin-left: 200px;
}
}
.edd-review-step,
.edd-promo-notice .edd-peeking {
grid-area: 1/-1;
}

View File

@ -0,0 +1,129 @@
#edd-filters {
padding: 10px;
margin: 0;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
.filter-items {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
float: none;
flex-grow: 1;
.edd-date-range-options {
display: inline-block;
margin: 10px 0;
}
}
> p {
color: $gray-700;
}
input[type="text"].edd_datepicker,
input[type="number"] {
max-width: 105px;
}
input[type="number"],
.button-secondary {
margin-bottom: 0;
}
.search-form {
margin: 0;
}
@media screen and ( max-width: 480px ) {
span {
margin: 2px 0;
}
}
}
#edd-advanced-filters {
position: relative;
.inside {
z-index: 99;
position: absolute;
top: 29px;
right: 0;
border: 1px solid $gray-200;
padding: 0;
background: $white;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
min-width: 285px;
opacity: 0;
visibility: hidden;
}
fieldset {
display: block;
padding: 10px 15px 15px;
margin: 10px 0;
&:not(:last-of-type) {
border-bottom: 1px solid $gray-200;
}
&:last-of-type {
padding-bottom: 5px;
}
&.edd-add-on-filters {
label,
span,
p,
div {
display: block;
margin-bottom: 2px;
}
}
}
div.edd-select-chosen:not(:last-child) {
margin-bottom: 10px;
}
&.open {
.edd-advanced-filters-button {
background: $gray-200;
border-color: $gray-600;
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
-webkit-transform: translateY(1px);
transform: translateY(1px);
}
.inside {
visibility: visible;
opacity: 1;
-webkit-transition: opacity 0.2s ease-in;
-moz-transition: opacity 0.2s ease-in;
-o-transition: opacity 0.2s ease-in;
transition: opacity 0.2s ease-in;
}
}
}
.download_page_edd-reports {
#edd-filters {
margin-bottom: -1px;
box-shadow: none;
@media screen and ( max-width: 782px ) {
gap: 0;
}
}
}
.edd-old-log-filters {
margin-top: -30px;
margin-left: 2px;
}

View File

@ -0,0 +1,26 @@
@media screen and (min-width: $break-small) {
#edd-reports-charts-wrap {
display: -ms-grid;
display: grid;
grid-template-columns: repeat(2, minmax(200px, 50%));
grid-gap: 20px;
}
.edd-reports-chart {
margin-bottom: 0;
}
.edd-reports-chart-line {
grid-column: 1 / span 2;
}
}
.edd-reports-chart {
height: 500px;
max-height: 700px;
}
.chart-timezone {
font-size: .75rem;
color: #CCCCCC;
}

View File

@ -0,0 +1,27 @@
.edd-mobile-link {
line-height: 32px;
a {
text-decoration: none;
&:before,
&:after {
display: inline-block;
-webkit-font-smoothing: antialiased;
font: normal 20px/30px "dashicons";
vertical-align: top;
margin: 1px 0 0 0;
padding: 0;
}
&:before {
content: "\f470";
color: $gray-700;
margin-right: -3px;
}
&:after {
content: "\f504";
}
}
}

View File

@ -0,0 +1,145 @@
#edd-reports-tiles-wrap #dashboard-widgets .sortable-placeholder {
padding: 0;
margin: 0 0 20px 0;
line-height: 0;
box-sizing: border-box;
height: 110px;
}
#edd-reports-tiles-wrap #dashboard-widgets #primary-sortables {
margin-left: 0;
}
#edd-reports-tiles-wrap #dashboard-widgets #tertiary-sortables {
margin-right: 0;
}
#edd-reports-tiles-wrap {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 20px;
}
.edd-reports-tile {
text-align: center;
padding: 20px 10px 35px 10px;
display: flex;
flex-direction: column;
justify-content: center;
border: 1px solid #e5e5e5;
background: #fafafa;
position: relative;
box-sizing: border-box;
gap: .5em;
>span:not(.tile-compare) {
width: 100%;
}
}
.edd-reports-tile .tile-label {
text-align: center;
text-transform: uppercase;
font-size: 12px;
font-weight: normal;
color: $wp-gray-2;
}
.edd-reports-tile .tile-value {
color: #333;
font-size: 2em;
line-height: 1;
transition: all .2s ease-in-out;
display: flex;
justify-content: center;
flex-direction: column;
gap: .25em;
}
.edd-reports-tile:hover {
border: 1px solid #aaa;
}
.edd-reports-tile:hover .tile-value:not(.tile-no-data) {
transform: scale(1.05);
}
.edd-reports-tile .tile-amount {
color: rgb(39, 148, 218);
}
.edd-reports-tile .tile-number {
color: rgb(153, 102, 255);
}
.edd-reports-tile .tile-amount,
.edd-reports-tile .tile-number {
color: #fff;
}
.edd-reports-tile .tile-value.tile-no-data {
color: #ddd;
}
.edd-reports-tile .tile-value.tile-url {
font-size: 1.5em;
}
.edd-reports-tile .tile-relative {
font-size: 12px;
font-weight: normal;
color: #888;
}
.edd-reports-tile span.dashicons {
display: inline-block;
font-size: 30px;
line-height: 20px;
height: 20px;
width: 20px;
position: relative;
top: 4px;
left: -5px;
margin-left: -5px;
color: $wp-inactive;
}
.edd-reports-tile .tile-relative {
span.dashicons {
top: -5px;
left: -3px;
margin-left: 0px;
}
span.dashicons-arrow-down,
span.dashicons-arrow-up.reverse {
color: $wp-red-50;
}
span.dashicons-arrow-up,
span.dashicons-arrow-down.reverse {
color: $wp-green-50;
}
}
.edd-reports-tile .tile-compare {
position: absolute;
right: 0;
bottom: 0;
color: #aaa;
font-size: 11px;
line-height: 1em;
background-color: #fff;
border-left: 1px solid #e5e5e5;
border-top: 1px solid #e5e5e5;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top-left-radius: 8px;
padding: 4px 0 0 9px;
margin: 0 -1px -1px 0;
}
.edd-reports-tile:hover .tile-compare {
border-left: 1px solid #bbb;
border-top: 1px solid #bbb;
color: #777;
}

View File

@ -0,0 +1,11 @@
@import "~@wordpress/base-styles/colors";
@import "~@wordpress/base-styles/variables";
@import "~@wordpress/base-styles/mixins";
@import "~@wordpress/base-styles/breakpoints";
@import "~@wordpress/base-styles/animations";
@import "../../variables/colors";
@import "filter";
@import "layout";
@import "mobile-link";
@import "tiles";

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
.edd-tax-rate-table-add {
th select,
th input[type="text"],
th input[type="number"] {
width: 100%;
margin: 0;
padding: 4px;
}
#tax_rate_region_global {
margin-right: 4px;
margin-bottom: 8px;
}
@media screen and (max-width: $break-medium) {
display: block;
th {
display: block;
}
.screen-reader-text {
display: block;
width: unset;
clip: unset;
height: unset;
clip-path: unset;
margin: 0 0 12px;
position: relative;
}
}
}

View File

@ -0,0 +1,110 @@
#edd-admin-tax-rates {
margin: 1em 0 0;
table {
border-collapse: collapse;
}
.tablenav.top {
display: flex;
justify-content: space-between;
}
.edd-admin-tax-rates__tablenav--left {
display: inline-flex;
}
th:not(.check-column) {
padding: 15px 10px;
width: unset;
}
.chosen-container {
width: 100% !important;
}
tbody tr:not(:last-of-type) {
border-bottom: 1px solid $gray-200;
}
tfoot.add-new th {
font-weight: normal;
padding: 12px 8px 10px 8px;
}
/**
* [1] Due to the inability to reset the <tbody> child views the "empty" view
* can only be appended to the parent. This means duplicates may be added.
*
* This can be removed once changes are immediately reflected with Backbone.sync()
*/
.edd-tax-rate-row--is-empty + .edd-tax-rate-row--is-empty, /* [1] */
.edd-tax-rate-row--inactive {
display: none;
}
.has-inactive .edd-tax-rate-row--inactive {
display: table-row;
}
.edd-tax-rate-row--is-empty td {
background-color: $wp-alternate;
}
.edd-tax-rate-row--inactive td {
color: $wp-inactive;
background-color: $wp-alternate;
}
.edd-tax-rate-table-add {
background-color: $wp-alternate;
}
@media screen and (max-width: 782px) {
thead th:not(.edd-tax-rates-table-rate),
tfoot:not(.add-new) th:not(.edd-tax-rates-table-rate) {
display: none;
}
thead tr,
tfoot:not(.add-new) tr,
.edd-tax-rate-row {
display: grid;
grid-template-columns: 2.5em 1fr;
grid-template-rows: 1fr;
grid-gap: 0 16px;
}
th.edd-tax-rates-table-rate {
padding-left: 12px;
}
.edd-tax-rates-table-checkbox {
grid-row: 1 / 5;
}
tbody td {
padding-left: 35% !important;
}
td:before {
content: attr(data-colname);
display: block;
width: 32%;
position: absolute;
}
.tablenav.top {
flex-wrap: wrap;
}
.edd-admin-tax-rates__tablenav--left {
margin-bottom: 16px;
}
.edd-admin-tax-rates__tablenav--left select {
margin-right: 6px;
}
}
}

View File

@ -0,0 +1,9 @@
@import "~@wordpress/base-styles/colors";
@import "~@wordpress/base-styles/variables";
@import "~@wordpress/base-styles/mixins";
@import "~@wordpress/base-styles/breakpoints";
@import "~@wordpress/base-styles/animations";
@import "../../variables/colors";
@import "base";
@import "add";

View File

@ -0,0 +1,22 @@
#edd-migration-progress {
.dashicons-minus {
color: $gray-600;
}
.dashicons-yes {
color: green;
}
.dashicons-update:before {
animation: rotation 2s infinite linear;
display: block;
}
}
#edd-v3-migration-remove-legacy-data-submit-wrap {
display: flex;
align-items: center;
gap: 6px;
.button {
margin: 0;
}
}