first commit
This commit is contained in:
32
modules/inpostshipping/views/css/admin/index.php
Normal file
32
modules/inpostshipping/views/css/admin/index.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
83
modules/inpostshipping/views/css/admin/loader.css
Normal file
83
modules/inpostshipping/views/css/admin/loader.css
Normal file
@@ -0,0 +1,83 @@
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
.inpost-loader-animation {
|
||||
--block-size: 18vmin;
|
||||
--loader-size-half: calc(var(--loader-size) / 2);
|
||||
--loader-size-half-neg: calc(var(--loader-size-half) * -1);
|
||||
--dot-size: 10px;
|
||||
--dot-size-half: calc(var(--dot-size) / 2);
|
||||
--dot-size-half-neg: calc(var(--dot-size-half) * -1);
|
||||
--loader-size: calc(var(--block-size) / 3);
|
||||
--anim-duration: 1.2s;
|
||||
aspect-ratio: 1 / 1;
|
||||
border: 1px solid rgba(0, 175, 240, 0.5);
|
||||
border-radius: 50%;
|
||||
animation: inpost-loader-animation calc(var(--anim-duration) * 3) linear infinite;
|
||||
|
||||
position: relative;
|
||||
width: var(--loader-size);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.inpost-loader-animation::before,
|
||||
.inpost-loader-animation::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: var(--dot-size);
|
||||
aspect-ratio: 1 / 1;
|
||||
background: #00aff0;
|
||||
border-radius: 50%;
|
||||
top: var(--dot-size-half-neg);
|
||||
left: calc(50% - var(--dot-size-half));
|
||||
animation: inpost-loader-animation var(--anim-duration) cubic-bezier(0.27, 0.08, 0.26, 0.7) infinite;
|
||||
transform-origin: center calc(var(--loader-size-half) + var(--dot-size-half) - 1px);
|
||||
}
|
||||
|
||||
.inpost-loader-animation::after {
|
||||
animation-delay: calc(var(--anim-duration) / 3 * -1);
|
||||
}
|
||||
|
||||
@keyframes inpost-loader-animation {
|
||||
100% {
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
.inpost-loader{
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1051;
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
|
||||
.inpost-loader.active{
|
||||
display: flex;
|
||||
}
|
||||
73
modules/inpostshipping/views/css/admin/nav-tabs.css
Normal file
73
modules/inpostshipping/views/css/admin/nav-tabs.css
Normal file
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
#content.bootstrap {
|
||||
padding-top: 160px;
|
||||
}
|
||||
|
||||
.bootstrap .page-head {
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
.page-head-tabs {
|
||||
padding-left: 210px;
|
||||
background-color: #fff;
|
||||
clear: left
|
||||
}
|
||||
|
||||
.page-sidebar-closed .page-head-tabs {
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-bottom: 1.375rem !important;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.page-head-tabs {
|
||||
padding-left: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.bootstrap .page-head .page-head-tabs ul {
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
font-weight: 400
|
||||
}
|
||||
.bootstrap .page-head .page-head-tabs li {
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
.bootstrap .page-head .page-head-tabs li a {
|
||||
box-sizing: border-box;
|
||||
color: #6c868e;
|
||||
font-size: .875rem;
|
||||
line-height: 1.5;
|
||||
padding: .9375rem 1.25rem;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.bootstrap .page-head .page-head-tabs li a.current {
|
||||
background-color: #f4f9fb;
|
||||
border-bottom: 3px solid #3ed2f0;
|
||||
color: #363a41
|
||||
}
|
||||
40
modules/inpostshipping/views/css/admin/orders.css
Normal file
40
modules/inpostshipping/views/css/admin/orders.css
Normal file
@@ -0,0 +1,40 @@
|
||||
#widget-modal {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
/* fix easypack.css styles */
|
||||
#widget-modal__map:not(.mobile) {
|
||||
overflow: unset !important;
|
||||
}
|
||||
|
||||
#easypack-search {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (min-width:768px) {
|
||||
.d-md-block {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
#new-dispatch-point-data {
|
||||
border: 1px solid #c7d6db;
|
||||
border-radius: 5px;
|
||||
padding-top: 0.5rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
@media print{
|
||||
.d-md-block.d-print-none {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.js-inpost-show-map{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.js-inpost-locker-address{
|
||||
margin-top: 1rem;
|
||||
}
|
||||
26
modules/inpostshipping/views/css/admin/table-fix.css
Normal file
26
modules/inpostshipping/views/css/admin/table-fix.css
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
.bootstrap .panel {
|
||||
width: unset;
|
||||
min-width: 100%;
|
||||
}
|
||||
129
modules/inpostshipping/views/css/front.css
Normal file
129
modules/inpostshipping/views/css/front.css
Normal file
@@ -0,0 +1,129 @@
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
.inpost-shipping-container{
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 15px;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.inpost-shipping-button{
|
||||
color: #3c3c3c;
|
||||
font-weight: 600;
|
||||
background-color: #ffcd00;
|
||||
border-color: #ffcd00;
|
||||
}
|
||||
|
||||
.inpost-shipping-button:hover,
|
||||
.inpost-shipping-button:focus,
|
||||
.inpost-shipping-button.focus{
|
||||
color: #3c3c3c;
|
||||
background-color: #ff7615;
|
||||
border-color: #ff7615;
|
||||
}
|
||||
|
||||
.widget-modal{
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.inpost-shipping-backdrop{
|
||||
background-color: rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-info.hidden{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-info{
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-name{
|
||||
margin-bottom: 0;
|
||||
color: #3c3c3c;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-address{
|
||||
color: #3c3c3c;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.box .inpost-shipping-machine-address{
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.inpost-shipping-subheader{
|
||||
margin-bottom: 0;
|
||||
color: #3c3c3c;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.inpost-shipping-label{
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.easypack-widget .map-list-row{
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.inpost-shipping-customer{
|
||||
margin-bottom: 0;
|
||||
color: #3c3c3c;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-customer-info{
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 576px){
|
||||
.inpost-shipping-machine-customer-info{
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.inpost-shipping-machine-customer-info.hidden{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.inpost-shipping-customer-change-wrapper{
|
||||
margin-bottom: 0;
|
||||
text-align: right;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.inpost-shipping-customer-change{
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.inpost-shipping-customer-change-form{
|
||||
padding-top: 20px;
|
||||
display: none;
|
||||
}
|
||||
32
modules/inpostshipping/views/css/index.php
Normal file
32
modules/inpostshipping/views/css/index.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright 2021-2022 InPost S.A.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Licensed under the EUPL-1.2 or later.
|
||||
* You may not use this work except in compliance with the Licence.
|
||||
*
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://joinup.ec.europa.eu/software/page/eupl
|
||||
* It is also bundled with this package in the file LICENSE.txt
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the Licence is distributed on an AS IS basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the Licence for the specific language governing permissions
|
||||
* and limitations under the Licence.
|
||||
*
|
||||
* @author InPost S.A.
|
||||
* @copyright 2021-2022 InPost S.A.
|
||||
* @license https://joinup.ec.europa.eu/software/page/eupl
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
Reference in New Issue
Block a user