Skip to content

Commit 2289b83

Browse files
authored
Merge pull request #9793 from awesomemotive/release/3.5.0
Release 3.5.0
2 parents 6fb4021 + c0cfc5b commit 2289b83

File tree

276 files changed

+11364
-4959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+11364
-4959
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ module.exports = function ( grunt ) {
6666
'!includes/blocks/package-lock.json',
6767
'languages/**',
6868
'libraries/**',
69+
'pro/**',
6970
'templates/**',
7071
'src/**',
7172
'!src/Lite/**',
7273
'*.php',
73-
'*.txt',
7474
'!vendor/**',
7575
'vendor/autoload.php',
7676
'vendor/composer/**',
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
@use "~@wordpress/base-styles/breakpoints" as wp-breakpoints;
2+
3+
.edd-item-info.customer-info {
4+
input[type="text"],
5+
input[type="password"],
6+
input[type="tel"],
7+
select {
8+
width: 200px;
9+
box-shadow: none;
10+
transition: none;
11+
border: 1px solid #ddd;
12+
font-size: 13px;
13+
padding: 2px 4px;
14+
}
15+
}
16+
17+
.customer-info {
18+
display: flex;
19+
gap: 1em;
20+
21+
.customer-name {
22+
font-size: 24px;
23+
font-weight: 600;
24+
}
25+
26+
.customer-name.editable {
27+
margin-bottom: 6px;
28+
}
29+
30+
.customer-main-wrapper input[name="customerinfo[name]"] {
31+
font-size: 24px;
32+
}
33+
34+
.customer-address-wrapper {
35+
margin-top: -3px;
36+
margin-right: 50px;
37+
width: 202px;
38+
margin-left: auto;
39+
order: 2;
40+
}
41+
42+
.customer-address {
43+
span[data-key="address"],
44+
span[data-key="address2"],
45+
span[data-key="country"] {
46+
display: block;
47+
}
48+
}
49+
50+
@media screen and (max-width: wp-breakpoints.$break-small) {
51+
flex-wrap: wrap;
52+
53+
.customer-name {
54+
font-size: 16px;
55+
}
56+
57+
.customer-address-wrapper {
58+
margin: 0;
59+
width: 100%;
60+
}
61+
}
62+
}
63+
64+
.customer-edit-link a {
65+
font-weight: normal;
66+
text-decoration: none;
67+
}
68+
69+
.disconnect-user a {
70+
color: #aaa;
71+
font-size: 20px;
72+
}
73+
74+
#customer-edit-actions {
75+
padding: 3px;
76+
line-height: 28px;
77+
text-align: center;
78+
79+
.button-secondary {
80+
margin-right: 5px;
81+
}
82+
83+
.cancel {
84+
padding: 5px;
85+
}
86+
}
87+
88+
.customer-main-wrapper .info-item > .edd-toggle {
89+
margin-top: 8px;
90+
}
91+
92+
@media screen and (max-width: wp-breakpoints.$break-small) {
93+
.edd-sections-wrap .section-wrap {
94+
.customer-id {
95+
display: none;
96+
}
97+
}
98+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "details";
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@use "../../variables/icons" as icons;
2+
3+
.edd-select {
4+
& option {
5+
&[disabled] {
6+
color: #666;
7+
cursor: not-allowed;
8+
}
9+
}
10+
}

assets/css/admin/forms/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
@use "general";
44
@use "multicheck";
55
@use "form-fields";
6+
@use "select";

assets/css/admin/general/_upgrade.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
color: colors.$edd-pro-upgrade;
66
font-weight: 600;
77
text-decoration: none;
8+
9+
&.button-link,
10+
&.button-link:hover {
11+
color: colors.$edd-pro-upgrade !important;
12+
text-decoration: none !important;
13+
}
814
}
915

1016
.button.edd-pro-upgrade,
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
11
.edd-order-customer__actions {
22
margin-bottom: 2em;
33
}
4+
5+
.order-customer-info {
6+
.customer-details-wrap {
7+
margin: 15px 0;
8+
align-items: center;
9+
gap: 10px;
10+
11+
.spinner {
12+
margin: 0;
13+
}
14+
}
15+
16+
.customer-details {
17+
display: flex;
18+
flex-direction: column;
19+
}
20+
21+
.customer-details .customer-since {
22+
color: #666;
23+
display: block;
24+
margin: 4px 0 6px;
25+
}
26+
27+
.customer-details > span {
28+
margin-bottom: 5px;
29+
}
30+
}

assets/css/admin/promos/_overlay.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
right: 0;
1313
bottom: 0;
1414
left: 160px;
15-
z-index: 110;
15+
z-index: 9999;
1616
justify-content: center;
1717
align-items: center;
1818

assets/css/admin/sections/style.scss

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555

5656
.customer-section:not(:last-child) {
5757
border-bottom: 1px solid #eee;
58+
padding-bottom: 20px;
5859
}
5960

6061
.customer-section table {
@@ -75,41 +76,18 @@
7576
}
7677

7778
.avatar-wrap {
78-
float: left;
79-
padding-right: 10px;
8079
text-align: center;
8180
}
8281

8382
img.avatar {
8483
border-radius: 5px;
8584
}
8685

87-
.customer-main-wrapper {
88-
float: left;
89-
}
90-
91-
.customer-main-wrapper input[name="customerinfo[name]"] {
92-
font-size: 24px;
93-
}
94-
95-
.customer-address-wrapper {
96-
float: right;
97-
margin-top: -3px;
98-
margin-right: 50px;
99-
width: 202px;
100-
}
101-
10286
.info-wrapper {
10387
min-height: 125px;
10488
overflow: visible;
10589
}
10690

107-
.customer-address span[data-key="address"],
108-
.customer-address span[data-key="address2"],
109-
.customer-address span[data-key="country"] {
110-
display: block;
111-
}
112-
11391
a.delete {
11492
color: #ff0000;
11593
margin-right: 5px;
@@ -159,29 +137,11 @@
159137

160138
@media screen and (max-width: 656px) {
161139
.edd-sections-wrap .section-wrap {
162-
.customer-address-wrapper {
163-
float: none;
164-
position: absolute;
165-
top: 84px;
166-
left: 165px;
167-
max-width: 200px;
168-
}
169-
170-
.customer-main-wrapper {
171-
float: none;
172-
position: absolute;
173-
left: 165px;
174-
}
175-
176140
#edd-item-stats-wrapper {
177141
padding-left: 0;
178142
padding-right: 0;
179143
}
180144

181-
.customer-section {
182-
margin-bottom: 0;
183-
}
184-
185145
.widefat td.no-items,
186146
.widefat td.column-primary,
187147
.widefat th.column-primary {
@@ -190,10 +150,6 @@
190150
overflow: hidden;
191151
text-align: left;
192152
}
193-
194-
.customer-id {
195-
display: none;
196-
}
197153
}
198154
}
199155

assets/css/admin/settings/_subnav.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,4 @@
4848
font-weight: 600;
4949
}
5050
}
51-
52-
&__wrapper + .notice {
53-
margin-left: 0;
54-
}
5551
}

0 commit comments

Comments
 (0)