Skip to content

Commit

Permalink
Release 3.17.4 (PR #7208)
Browse files Browse the repository at this point in the history
  • Loading branch information
wordpressfan authored Dec 30, 2024
2 parents d63767c + dfe5a7a commit ec8a36f
Show file tree
Hide file tree
Showing 74 changed files with 3,062 additions and 839 deletions.
154 changes: 143 additions & 11 deletions assets/css/wpr-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,9 @@ a:focus, button:focus {

.wpr-Popin-Upgrade .wpr-Popin-flex {
justify-content: space-between;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 15px;
}

.wpr-Popin-Upgrade .wpr-Popin-flex > div {
Expand All @@ -1016,13 +1019,10 @@ a:focus, button:focus {
border-radius: 24px;
display: flex;
flex-direction: column;
margin: 0 16px 0 0;
padding: 24px;
text-align: center;
width: 50%;
}
.wpr-Popin-Upgrade .wpr-Popin-flex > div:last-child {
margin-right: 0;
flex: 0.5;
margin: 0;
}
@media (max-width: 783px) {
.wpr-Popin-Upgrade .wpr-Popin-flex > div {
Expand All @@ -1031,7 +1031,7 @@ a:focus, button:focus {
}
}

.wpr-Upgrade-Plus .wpr-upgrade-title::before {
.wpr-upgrade-item:first-child .wpr-upgrade-title::before {
content: url(../img/plus.svg);
display: block;
width: 117px;
Expand All @@ -1042,7 +1042,7 @@ a:focus, button:focus {
transform: translateX(-50%);
}

.wpr-Upgrade-Infinite .wpr-upgrade-title::before {
.wpr-upgrade-item:nth-child(2) .wpr-upgrade-title::before {
content: url(../img/infinite.svg);
display: block;
width: 48px;
Expand Down Expand Up @@ -1099,14 +1099,20 @@ div.wpr-upgrade-websites {
line-height: 1;
font-weight: bold;
margin: 0 0 24px 0;
width: 100%;
}
div.wpr-upgrade-websites.notstacked {
padding: 16px 0;
margin: 0 0 16px;
}

.wpr-upgrade-link {
background: #fff;
border: 1px solid #F56F46;
border-radius: 800px;
color: #F56F46;
display: block;
display: flex;
align-items: center;
font-size: 1rem;
line-height: 1.125;
font-weight: bold;
Expand All @@ -1117,10 +1123,17 @@ div.wpr-upgrade-websites {
background: #F56F46;
color: #fff;
}
.wpr-upgrade-link:hover:after {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M11.2 2.8a.8.8 0 00-1.3 1L12.6 7h-11a.8.8 0 100 1.7h11L10 12a.8.8 0 101.3 1L15 8.6a.8.8 0 000-1.2l-3.8-4.5z'/%3E%3C/svg%3E");
}
.wpr-upgrade-link::after {
content: "→";
font-weight: normal;
margin-left: 8px;
content: "";
display: inline-block;
margin: 0 0 0 0.89em;
height: 16px;
width: 16px;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F56F46'%3E%3Cpath d='M11.2 2.8a.8.8 0 00-1.3 1L12.6 7h-11a.8.8 0 100 1.7h11L10 12a.8.8 0 101.3 1L15 8.6a.8.8 0 000-1.2l-3.8-4.5z'/%3E%3C/svg%3E");
vertical-align: -10%;
}

/*-----------------------------------------------*\
Expand Down Expand Up @@ -3147,4 +3160,123 @@ div.wpr-tutorial-item {
.wpr-field--categorizedmultiselect {
padding-right: 80px;
}
}
.custom-select {
position: relative;
width: 60%;
max-width: 100%;
color: #000;
margin: 0 auto !important;
}

.select-button {
width: 100%;
background-color: #fff;
padding: 0.65rem;
border: 1px solid #caced1;
border-radius: 1rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}

.selected-value {
text-align: center;
flex: 1;
}

.custom-select-arrow {
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #000;
transition: transform ease-in-out 0.3s;
}

.select-dropdown {
position: absolute;
z-index: 1;
list-style: none;
width: 100%;
border: 1px solid #caced1;
padding: 10px 0;
margin-top: 10px;
max-height: 200px;
overflow-y: auto;
opacity: 0;
visibility: hidden;
border-radius: 16px;
background-color: #fff;
transition: all 0.5s ease;
transform: translateY(-20px);
box-shadow: 0px 24px 40px rgba(0, 0, 0, 0.15);
font-weight: normal;
}

.select-dropdown:focus-within {
box-shadow: 0 10px 25px rgba(94, 108, 233, 0.6);
}

.select-dropdown li {
position: relative;
cursor: pointer;
display: flex;
gap: 1rem;
align-items: center;
justify-content: center;
}
.select-dropdown li:last-child {
margin-bottom: 0;
}

.select-dropdown li label {
width: 100%;
padding: 8px 10px;
cursor: pointer;
display: flex;
gap: 1rem;
align-items: center;
text-align: center;
flex: 1;
justify-content: center;
}

.select-dropdown::-webkit-scrollbar {
width: 7px;
}

.select-dropdown::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 25px;
}

.select-dropdown::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 25px;
}

.select-dropdown li:hover,
.select-dropdown li.active,
.select-dropdown input:checked ~ label {
background-color: #f2f2f2;
}

.select-dropdown input:focus ~ label {
background-color: #dfdfdf;
}

.select-dropdown input[type=radio] {
position: absolute;
left: 0;
opacity: 0;
}

.custom-select.active .custom-select-arrow {
transform: rotate(180deg);
}

.custom-select.active .select-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
2 changes: 1 addition & 1 deletion assets/css/wpr-admin.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit ec8a36f

Please sign in to comment.