Skip to content

Commit

Permalink
Adding /packages directory to release
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Nov 27, 2023
1 parent a1cfb39 commit a30cc18
Show file tree
Hide file tree
Showing 307 changed files with 76,891 additions and 0 deletions.
938 changes: 938 additions & 0 deletions packages/woocommerce-eu-tax-helper/src/Helper.php

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions packages/woocommerce-germanized-dhl/assets/css/admin.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.germanized-create-label {
.wc-gzd-shipment-im-additional-services {
p.label {
margin-top: 10px;
width: 100%;
display: block;
margin-bottom: 5px;
font-weight: bold;
}
}

.wc-gzd-dhl-im-product-data {
margin-top: 2em;
min-width: 700px;
margin-left: -1rem !important;
margin-right: -1rem !important;

.column {
padding-left: 1rem !important;
padding-right: 1rem !important;

p:first-child {
margin-top: 1.5em !important;
}
}

.wc-gzd-dhl-im-product-price {
background: #ffd633;
border-radius: 4px;
padding: .5em 1em;

.amount {
font-size: 18px;
font-weight: bold;
}
.price-suffix {
display: block;
font-size: 11px;
line-height: 15px;
}
}

.col-dimensions {
color: #999;
}

.col-preview {
.image-preview {
img {
height: auto;
max-height: 140px;
}
}
}

.wc-gzd-dhl-im-product-information-text, .wc-gzd-dhl-im-product-description {
font-size: 11px;
color: #999;
line-height: 1.5em;
}
}
}
218 changes: 218 additions & 0 deletions packages/woocommerce-germanized-dhl/assets/css/parcel-finder.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
#dhl-parcel-finder-wrapper {
backface-visibility: hidden;
transform: translateZ(0);
width: 100%;
height: 100%;
left: 0;
position: fixed;
top: 0;
z-index: 99992;
visibility: hidden;

* {
box-sizing: border-box;
}

#dhl-parcel-finder-bg-overlay {
background: #1e1e1e;
opacity: 0;
transition-duration: inherit;
transition-property: opacity;
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}

&.open {
visibility: visible;

#dhl-parcel-finder-bg-overlay {
opacity: .87;
transition-timing-function: cubic-bezier(.22,.61,.36,1);
}
}

#dhl-parcel-finder-inner {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
overflow: hidden;
z-index: 99994;
}

#dhl-parcel-finder-inner-wrapper {
padding: 6px 6px 0;
display: block;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
height: 100%;
left: 0;
outline: none;
overflow: auto;
-webkit-overflow-scrolling: touch;
position: absolute;
text-align: center;
top: 0;
transition-property: transform,opacity;
white-space: normal;
width: 100%;
z-index: 99994;

&::before {
content: "";
display: inline-block;
height: 100%;
margin-right: -.25em;
vertical-align: middle;
width: 0;
}

#dhl-parcel-finder {
width: 95%;
height: 95%;
display: inline-block;
background: #fff;
margin: 0 0 6px;
max-width: 100%;
overflow: auto;
padding: 34px;
position: relative;
text-align: left;
vertical-align: middle;
}
}

.dhl-parcel-finder-close {
background: transparent;
border: 0;
border-radius: 0;
color: #555;
cursor: pointer;
height: 44px;
margin: 0;
padding: 6px;
position: absolute;
right: 0;
top: 0;
width: 44px;
z-index: 10;

svg {
fill: transparent;
opacity: .8;
stroke: currentColor;
stroke-width: 1.5;
transition: stroke .1s;
}
}

#dhl-parcel-finder-map {
width: 100%;
height: 85%;
position: relative !important;

#parcel-content {

#bodyContent {
line-height: 1.5em;
}

address {
margin-bottom: 0;
}

.parcel-title {
padding-top: 0;
margin-bottom: .5em;
}

.parcel-subtitle {
font-size: 0.8125rem;
color: #767676;
font-weight: 800;
letter-spacing: 0.15em;
text-transform: uppercase;
padding: 1em 0 0;
}

.dhl-parcelshop-select-btn {
width: 100%;
margin-top: 10px;
}
}
}

form#dhl-parcel-finder-form {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;

.form-field {
margin-right: 1.5em;

&.large {
min-width: 20%;
}

&.finder-pickup-type {
margin-right: 25px;
min-width: 150px;
display: flex;
align-items: center;

&.hidden {
display: none;
}

.icon {
width: 40px;
height: 40px;
display: inline-block;
background-repeat: no-repeat;
background-size: contain;
margin-left: 10px;
}
}

&#dhl-search-button {
text-align: right;
margin-right: 0;

.button {
width: 100%;
margin: 0;
}
}
}
}
}

@media( max-width: 700px ) {
#dhl-parcel-finder-wrapper {
form#dhl-parcel-finder-form {
.form-field {
width: 100%;
margin-right: 0;

&.packstation, &.parcelshop {
width: auto;
margin-right: 1.5em;
}

&#dhl-search-button {
text-align: left;

.button {
width: 100%;
margin: 0;
}
}
}
}
}
}
Loading

0 comments on commit a30cc18

Please sign in to comment.