This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!--
/**
* Magezon
*
* This source file is subject to the Magezon Software License, which is available at https://www.magezon.com/license.
* Do not edit or add to this file if you wish to upgrade the to newer versions in the future.
* If you wish to customize this module for your needs.
* Please refer to https://www.magezon.com for more information.
*
* @category Magezon
* @package Magezon_Core
* @copyright Copyright (C) 2019 Magezon (https://www.magezon.com)
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="Magezon_Core::css/styles.css"/>
</head>
</page>
+18
View File
@@ -0,0 +1,18 @@
var config = {
map: {
"*": {
"mgz.owlcarousel": "Magezon_Core/js/owl.carousel.min"
}
},
shim: {
"mgz.owlcarousel": {
deps:['jquery']
},
"Magezon_Core/js/owl.carousel.min": {
deps:['jquery']
},
'Magezon_Core/js/jquery-scrolltofixed-min': {
deps: ['jquery']
}
}
};
@@ -0,0 +1,7 @@
<?php if ($block->getChildHtml()):?>
<div class="page-actions">
<div class="page-actions-buttons" <?php /* @escapeNotVerified */ echo $block->getUiId('content-header') ?>>
<?php echo $block->getChildHtml(); ?>
</div>
</div>
<?php endif; ?>
+5
View File
@@ -0,0 +1,5 @@
<?php if (!empty($block->getChildHtml())) { ?>
<div class="mgz-ui-component-container">
<?php echo $block->getChildHtml(); ?>
</div>
<?php } ?>
+925
View File
@@ -0,0 +1,925 @@
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
max-width: 100%;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1280px;
}
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
float: left;
}
.col-xs-12 {
width: 100%;
}
.col-xs-11 {
width: 91.66666667%;
}
.col-xs-10 {
width: 83.33333333%;
}
.col-xs-9 {
width: 75%;
}
.col-xs-8 {
width: 66.66666667%;
}
.col-xs-7 {
width: 58.33333333%;
}
.col-xs-6 {
width: 50%;
}
.col-xs-5 {
width: 41.66666667%;
}
.col-xs-4 {
width: 33.33333333%;
}
.col-xs-3 {
width: 25%;
}
.col-xs-2 {
width: 16.66666667%;
}
.col-xs-1 {
width: 8.33333333%;
}
.col-xs-pull-12 {
right: 100%;
}
.col-xs-pull-11 {
right: 91.66666667%;
}
.col-xs-pull-10 {
right: 83.33333333%;
}
.col-xs-pull-9 {
right: 75%;
}
.col-xs-pull-8 {
right: 66.66666667%;
}
.col-xs-pull-7 {
right: 58.33333333%;
}
.col-xs-pull-6 {
right: 50%;
}
.col-xs-pull-5 {
right: 41.66666667%;
}
.col-xs-pull-4 {
right: 33.33333333%;
}
.col-xs-pull-3 {
right: 25%;
}
.col-xs-pull-2 {
right: 16.66666667%;
}
.col-xs-pull-1 {
right: 8.33333333%;
}
.col-xs-pull-0 {
right: auto;
}
.col-xs-push-12 {
left: 100%;
}
.col-xs-push-11 {
left: 91.66666667%;
}
.col-xs-push-10 {
left: 83.33333333%;
}
.col-xs-push-9 {
left: 75%;
}
.col-xs-push-8 {
left: 66.66666667%;
}
.col-xs-push-7 {
left: 58.33333333%;
}
.col-xs-push-6 {
left: 50%;
}
.col-xs-push-5 {
left: 41.66666667%;
}
.col-xs-push-4 {
left: 33.33333333%;
}
.col-xs-push-3 {
left: 25%;
}
.col-xs-push-2 {
left: 16.66666667%;
}
.col-xs-push-1 {
left: 8.33333333%;
}
.col-xs-push-0 {
left: auto;
}
.col-xs-offset-12 {
margin-left: 100%;
}
.col-xs-offset-11 {
margin-left: 91.66666667%;
}
.col-xs-offset-10 {
margin-left: 83.33333333%;
}
.col-xs-offset-9 {
margin-left: 75%;
}
.col-xs-offset-8 {
margin-left: 66.66666667%;
}
.col-xs-offset-7 {
margin-left: 58.33333333%;
}
.col-xs-offset-6 {
margin-left: 50%;
}
.col-xs-offset-5 {
margin-left: 41.66666667%;
}
.col-xs-offset-4 {
margin-left: 33.33333333%;
}
.col-xs-offset-3 {
margin-left: 25%;
}
.col-xs-offset-2 {
margin-left: 16.66666667%;
}
.col-xs-offset-1 {
margin-left: 8.33333333%;
}
.col-xs-offset-0 {
margin-left: 0%;
}
@media (min-width: 768px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
.col-sm-12 {
width: 100%;
}
.col-sm-11 {
width: 91.66666667%;
}
.col-sm-10 {
width: 83.33333333%;
}
.col-sm-9 {
width: 75%;
}
.col-sm-8 {
width: 66.66666667%;
}
.col-sm-7 {
width: 58.33333333%;
}
.col-sm-6 {
width: 50%;
}
.col-sm-5 {
width: 41.66666667%;
}
.col-sm-4 {
width: 33.33333333%;
}
.col-sm-3 {
width: 25%;
}
.col-sm-2 {
width: 16.66666667%;
}
.col-sm-1 {
width: 8.33333333%;
}
.col-sm-pull-12 {
right: 100%;
}
.col-sm-pull-11 {
right: 91.66666667%;
}
.col-sm-pull-10 {
right: 83.33333333%;
}
.col-sm-pull-9 {
right: 75%;
}
.col-sm-pull-8 {
right: 66.66666667%;
}
.col-sm-pull-7 {
right: 58.33333333%;
}
.col-sm-pull-6 {
right: 50%;
}
.col-sm-pull-5 {
right: 41.66666667%;
}
.col-sm-pull-4 {
right: 33.33333333%;
}
.col-sm-pull-3 {
right: 25%;
}
.col-sm-pull-2 {
right: 16.66666667%;
}
.col-sm-pull-1 {
right: 8.33333333%;
}
.col-sm-pull-0 {
right: auto;
}
.col-sm-push-12 {
left: 100%;
}
.col-sm-push-11 {
left: 91.66666667%;
}
.col-sm-push-10 {
left: 83.33333333%;
}
.col-sm-push-9 {
left: 75%;
}
.col-sm-push-8 {
left: 66.66666667%;
}
.col-sm-push-7 {
left: 58.33333333%;
}
.col-sm-push-6 {
left: 50%;
}
.col-sm-push-5 {
left: 41.66666667%;
}
.col-sm-push-4 {
left: 33.33333333%;
}
.col-sm-push-3 {
left: 25%;
}
.col-sm-push-2 {
left: 16.66666667%;
}
.col-sm-push-1 {
left: 8.33333333%;
}
.col-sm-push-0 {
left: auto;
}
.col-sm-offset-12 {
margin-left: 100%;
}
.col-sm-offset-11 {
margin-left: 91.66666667%;
}
.col-sm-offset-10 {
margin-left: 83.33333333%;
}
.col-sm-offset-9 {
margin-left: 75%;
}
.col-sm-offset-8 {
margin-left: 66.66666667%;
}
.col-sm-offset-7 {
margin-left: 58.33333333%;
}
.col-sm-offset-6 {
margin-left: 50%;
}
.col-sm-offset-5 {
margin-left: 41.66666667%;
}
.col-sm-offset-4 {
margin-left: 33.33333333%;
}
.col-sm-offset-3 {
margin-left: 25%;
}
.col-sm-offset-2 {
margin-left: 16.66666667%;
}
.col-sm-offset-1 {
margin-left: 8.33333333%;
}
.col-sm-offset-0 {
margin-left: 0%;
}
}
@media (min-width: 992px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left;
}
.col-md-12 {
width: 100%;
}
.col-md-11 {
width: 91.66666667%;
}
.col-md-10 {
width: 83.33333333%;
}
.col-md-9 {
width: 75%;
}
.col-md-8 {
width: 66.66666667%;
}
.col-md-7 {
width: 58.33333333%;
}
.col-md-6 {
width: 50%;
}
.col-md-5 {
width: 41.66666667%;
}
.col-md-4 {
width: 33.33333333%;
}
.col-md-3 {
width: 25%;
}
.col-md-2 {
width: 16.66666667%;
}
.col-md-1 {
width: 8.33333333%;
}
.col-md-pull-12 {
right: 100%;
}
.col-md-pull-11 {
right: 91.66666667%;
}
.col-md-pull-10 {
right: 83.33333333%;
}
.col-md-pull-9 {
right: 75%;
}
.col-md-pull-8 {
right: 66.66666667%;
}
.col-md-pull-7 {
right: 58.33333333%;
}
.col-md-pull-6 {
right: 50%;
}
.col-md-pull-5 {
right: 41.66666667%;
}
.col-md-pull-4 {
right: 33.33333333%;
}
.col-md-pull-3 {
right: 25%;
}
.col-md-pull-2 {
right: 16.66666667%;
}
.col-md-pull-1 {
right: 8.33333333%;
}
.col-md-pull-0 {
right: auto;
}
.col-md-push-12 {
left: 100%;
}
.col-md-push-11 {
left: 91.66666667%;
}
.col-md-push-10 {
left: 83.33333333%;
}
.col-md-push-9 {
left: 75%;
}
.col-md-push-8 {
left: 66.66666667%;
}
.col-md-push-7 {
left: 58.33333333%;
}
.col-md-push-6 {
left: 50%;
}
.col-md-push-5 {
left: 41.66666667%;
}
.col-md-push-4 {
left: 33.33333333%;
}
.col-md-push-3 {
left: 25%;
}
.col-md-push-2 {
left: 16.66666667%;
}
.col-md-push-1 {
left: 8.33333333%;
}
.col-md-push-0 {
left: auto;
}
.col-md-offset-12 {
margin-left: 100%;
}
.col-md-offset-11 {
margin-left: 91.66666667%;
}
.col-md-offset-10 {
margin-left: 83.33333333%;
}
.col-md-offset-9 {
margin-left: 75%;
}
.col-md-offset-8 {
margin-left: 66.66666667%;
}
.col-md-offset-7 {
margin-left: 58.33333333%;
}
.col-md-offset-6 {
margin-left: 50%;
}
.col-md-offset-5 {
margin-left: 41.66666667%;
}
.col-md-offset-4 {
margin-left: 33.33333333%;
}
.col-md-offset-3 {
margin-left: 25%;
}
.col-md-offset-2 {
margin-left: 16.66666667%;
}
.col-md-offset-1 {
margin-left: 8.33333333%;
}
.col-md-offset-0 {
margin-left: 0%;
}
}
@media (min-width: 1200px) {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
}
.col-lg-12 {
width: 100%;
}
.col-lg-11 {
width: 91.66666667%;
}
.col-lg-10 {
width: 83.33333333%;
}
.col-lg-9 {
width: 75%;
}
.col-lg-8 {
width: 66.66666667%;
}
.col-lg-7 {
width: 58.33333333%;
}
.col-lg-6 {
width: 50%;
}
.col-lg-5 {
width: 41.66666667%;
}
.col-lg-4 {
width: 33.33333333%;
}
.col-lg-3 {
width: 25%;
}
.col-lg-2 {
width: 16.66666667%;
}
.col-lg-1 {
width: 8.33333333%;
}
.col-lg-pull-12 {
right: 100%;
}
.col-lg-pull-11 {
right: 91.66666667%;
}
.col-lg-pull-10 {
right: 83.33333333%;
}
.col-lg-pull-9 {
right: 75%;
}
.col-lg-pull-8 {
right: 66.66666667%;
}
.col-lg-pull-7 {
right: 58.33333333%;
}
.col-lg-pull-6 {
right: 50%;
}
.col-lg-pull-5 {
right: 41.66666667%;
}
.col-lg-pull-4 {
right: 33.33333333%;
}
.col-lg-pull-3 {
right: 25%;
}
.col-lg-pull-2 {
right: 16.66666667%;
}
.col-lg-pull-1 {
right: 8.33333333%;
}
.col-lg-pull-0 {
right: auto;
}
.col-lg-push-12 {
left: 100%;
}
.col-lg-push-11 {
left: 91.66666667%;
}
.col-lg-push-10 {
left: 83.33333333%;
}
.col-lg-push-9 {
left: 75%;
}
.col-lg-push-8 {
left: 66.66666667%;
}
.col-lg-push-7 {
left: 58.33333333%;
}
.col-lg-push-6 {
left: 50%;
}
.col-lg-push-5 {
left: 41.66666667%;
}
.col-lg-push-4 {
left: 33.33333333%;
}
.col-lg-push-3 {
left: 25%;
}
.col-lg-push-2 {
left: 16.66666667%;
}
.col-lg-push-1 {
left: 8.33333333%;
}
.col-lg-push-0 {
left: auto;
}
.col-lg-offset-12 {
margin-left: 100%;
}
.col-lg-offset-11 {
margin-left: 91.66666667%;
}
.col-lg-offset-10 {
margin-left: 83.33333333%;
}
.col-lg-offset-9 {
margin-left: 75%;
}
.col-lg-offset-8 {
margin-left: 66.66666667%;
}
.col-lg-offset-7 {
margin-left: 58.33333333%;
}
.col-lg-offset-6 {
margin-left: 50%;
}
.col-lg-offset-5 {
margin-left: 41.66666667%;
}
.col-lg-offset-4 {
margin-left: 33.33333333%;
}
.col-lg-offset-3 {
margin-left: 25%;
}
.col-lg-offset-2 {
margin-left: 16.66666667%;
}
.col-lg-offset-1 {
margin-left: 8.33333333%;
}
.col-lg-offset-0 {
margin-left: 0%;
}
}
.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after {
content: " ";
display: table;
}
.clearfix:after,
.container:after,
.container-fluid:after,
.row:after {
clear: both;
}
.row {
margin-left: -15px;
margin-right: -15px;
}
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.hidden {
display: none !important;
}
.affix {
position: fixed;
}
@-ms-viewport {
width: device-width;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: 767px) {
.visible-xs {
display: block !important;
}
table.visible-xs {
display: table;
}
tr.visible-xs {
display: table-row !important;
}
th.visible-xs,
td.visible-xs {
display: table-cell !important;
}
}
@media (max-width: 767px) {
.visible-xs-block {
display: block !important;
}
}
@media (max-width: 767px) {
.visible-xs-inline {
display: inline !important;
}
}
@media (max-width: 767px) {
.visible-xs-inline-block {
display: inline-block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm {
display: block !important;
}
table.visible-sm {
display: table;
}
tr.visible-sm {
display: table-row !important;
}
th.visible-sm,
td.visible-sm {
display: table-cell !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-block {
display: block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline {
display: inline !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline-block {
display: inline-block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md {
display: block !important;
}
table.visible-md {
display: table;
}
tr.visible-md {
display: table-row !important;
}
th.visible-md,
td.visible-md {
display: table-cell !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-block {
display: block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline {
display: inline !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1200px) {
.visible-lg {
display: block !important;
}
table.visible-lg {
display: table;
}
tr.visible-lg {
display: table-row !important;
}
th.visible-lg,
td.visible-lg {
display: table-cell !important;
}
}
@media (min-width: 1200px) {
.visible-lg-block {
display: block !important;
}
}
@media (min-width: 1200px) {
.visible-lg-inline {
display: inline !important;
}
}
@media (min-width: 1200px) {
.visible-lg-inline-block {
display: inline-block !important;
}
}
@media (max-width: 767px) {
.hidden-xs {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.hidden-sm {
display: none !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.hidden-md {
display: none !important;
}
}
@media (min-width: 1200px) {
.hidden-lg {
display: none !important;
}
}
.visible-print {
display: none !important;
}
@media print {
.visible-print {
display: block !important;
}
table.visible-print {
display: table;
}
tr.visible-print {
display: table-row !important;
}
th.visible-print,
td.visible-print {
display: table-cell !important;
}
}
.visible-print-block {
display: none !important;
}
@media print {
.visible-print-block {
display: block !important;
}
}
.visible-print-inline {
display: none !important;
}
@media print {
.visible-print-inline {
display: inline !important;
}
}
.visible-print-inline-block {
display: none !important;
}
@media print {
.visible-print-inline-block {
display: inline-block !important;
}
}
@media print {
.hidden-print {
display: none !important;
}
}
@@ -0,0 +1,663 @@
/* Magnific Popup CSS */
.mfp-bg {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1042;
overflow: hidden;
position: fixed;
background: #000;
opacity: 0.5;
}
.mfp-wrap {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1043;
position: fixed;
outline: none !important;
-webkit-backface-visibility: hidden;
}
.mfp-container {
text-align: center;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
padding: 0 8px;
box-sizing: border-box;
}
.mfp-container:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
display: none;
}
.mfp-content {
position: relative;
display: inline-block;
vertical-align: middle;
margin: 0 auto;
text-align: left;
z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
width: 100%;
cursor: auto;
}
.mfp-ajax-cur {
cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
cursor: -moz-zoom-out;
cursor: -webkit-zoom-out;
cursor: zoom-out;
}
.mfp-zoom {
cursor: pointer;
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.mfp-loading.mfp-figure {
display: none;
}
.mfp-hide {
display: none !important;
}
.mfp-preloader {
color: #CCC;
position: absolute;
top: 50%;
width: auto;
text-align: center;
margin-top: -0.5em;
left: 8px;
right: 8px;
z-index: 1044;
}
.mfp-preloader a {
color: #CCC;
}
.mfp-preloader a:hover {
color: #FFF;
}
.mfp-s-ready .mfp-preloader {
display: none;
}
.mfp-s-error .mfp-content {
display: none;
}
button.mfp-close,
button.mfp-arrow {
overflow: visible;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
display: block;
outline: none;
padding: 0;
z-index: 1046;
box-shadow: none;
touch-action: manipulation;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
.mfp-close {
width: 44px;
height: 44px;
line-height: 44px;
position: absolute;
right: 0;
top: 0;
text-decoration: none;
text-align: center;
opacity: 0.65;
padding: 0 0 18px 10px;
color: #FFF;
font-style: normal;
font-size: 30px;
font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
opacity: 1;
}
.mfp-close:active {
top: 1px;
}
.mfp-close-btn-in .mfp-close {
color: #333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
color: #FFF;
right: -6px;
text-align: right;
padding-right: 6px;
width: 100%;
}
.mfp-counter {
position: absolute;
top: 0;
right: 0;
color: #CCC;
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.mfp-arrow {
position: absolute;
opacity: 0.65;
margin: 0;
top: 50%;
margin-top: -55px;
padding: 0;
width: 90px;
height: 110px;
-webkit-tap-highlight-color: transparent;
}
.mfp-arrow:active {
margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
left: 0;
top: 0;
margin-top: 35px;
margin-left: 35px;
border: medium inset transparent;
}
.mfp-arrow:after {
border-top-width: 13px;
border-bottom-width: 13px;
top: 8px;
}
.mfp-arrow:before {
border-top-width: 21px;
border-bottom-width: 21px;
opacity: 0.7;
}
.mfp-arrow-left {
left: 0;
}
.mfp-arrow-left:after {
border-right: 17px solid #FFF;
margin-left: 31px;
}
.mfp-arrow-left:before {
margin-left: 25px;
border-right: 27px solid #3F3F3F;
}
.mfp-arrow-right {
right: 0;
}
.mfp-arrow-right:after {
border-left: 17px solid #FFF;
margin-left: 39px;
}
.mfp-arrow-right:before {
border-left: 27px solid #3F3F3F;
}
.mfp-iframe-holder {
padding-top: 40px;
padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
line-height: 0;
width: 100%;
max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
top: -40px;
}
.mfp-iframe-scaler {
width: 100%;
height: 0;
overflow: hidden;
padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: #000;
}
/* Main image in popup */
img.mfp-img {
width: auto;
max-width: 100%;
height: auto;
display: block;
line-height: 0;
box-sizing: border-box;
padding: 40px 0 40px;
margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
line-height: 0;
}
.mfp-figure:after {
content: '';
position: absolute;
left: 0;
top: 40px;
bottom: 40px;
display: block;
right: 0;
width: auto;
height: auto;
z-index: -1;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: #444;
}
.mfp-figure small {
color: #BDBDBD;
display: block;
font-size: 12px;
line-height: 14px;
}
.mfp-figure figure {
margin: 0;
}
.mfp-bottom-bar {
margin-top: -36px;
position: absolute;
top: 100%;
left: 0;
width: 100%;
cursor: auto;
}
.mfp-title {
text-align: left;
line-height: 18px;
color: #F3F3F3;
word-wrap: break-word;
padding-right: 36px;
}
.mfp-image-holder .mfp-content {
max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
/**
* Remove all paddings around the image on small screen
*/
.mfp-img-mobile .mfp-image-holder {
padding-left: 0;
padding-right: 0;
}
.mfp-img-mobile img.mfp-img {
padding: 0;
}
.mfp-img-mobile .mfp-figure:after {
top: 0;
bottom: 0;
}
.mfp-img-mobile .mfp-figure small {
display: inline;
margin-left: 5px;
}
.mfp-img-mobile .mfp-bottom-bar {
background: rgba(0, 0, 0, 0.6);
bottom: 0;
margin: 0;
top: auto;
padding: 3px 5px;
position: fixed;
box-sizing: border-box;
}
.mfp-img-mobile .mfp-bottom-bar:empty {
padding: 0;
}
.mfp-img-mobile .mfp-counter {
right: 5px;
top: 3px;
}
.mfp-img-mobile .mfp-close {
top: 0;
right: 0;
width: 35px;
height: 35px;
line-height: 35px;
background: rgba(0, 0, 0, 0.6);
position: fixed;
text-align: center;
padding: 0;
}
}
@media all and (max-width: 900px) {
.mfp-arrow {
-webkit-transform: scale(0.75);
transform: scale(0.75);
}
.mfp-arrow-left {
-webkit-transform-origin: 0;
transform-origin: 0;
}
.mfp-arrow-right {
-webkit-transform-origin: 100%;
transform-origin: 100%;
}
.mfp-container {
padding-left: 6px;
padding-right: 6px;
}
}
/*
====== Zoom effect ======
*/
.mfp-zoom-in {
/* start state */
/* animate in */
/* animate out */
}
.mfp-zoom-in .mfp-with-anim {
opacity: 0;
transition: all 0.2s ease-in-out;
transform: scale(0.5);
}
.mfp-zoom-in.mfp-bg {
opacity: 0;
transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
opacity: 1;
transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
transform: scale(0.5);
opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== Newspaper effect ======
*/
.mfp-newspaper {
/* start state */
/* animate in */
/* animate out */
}
.mfp-newspaper .mfp-with-anim {
opacity: 0;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.5s;
transform: scale(0) rotate(500deg);
}
.mfp-newspaper.mfp-bg {
opacity: 0;
transition: all 0.5s;
}
.mfp-newspaper.mfp-ready .mfp-with-anim {
opacity: 1;
transform: scale(1) rotate(0deg);
}
.mfp-newspaper.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-newspaper.mfp-removing .mfp-with-anim {
transform: scale(0) rotate(500deg);
opacity: 0;
}
.mfp-newspaper.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== Move-horizontal effect ======
*/
.mfp-move-horizontal {
/* start state */
/* animate in */
/* animate out */
}
.mfp-move-horizontal .mfp-with-anim {
opacity: 0;
transition: all 0.3s;
transform: translateX(-50px);
}
.mfp-move-horizontal.mfp-bg {
opacity: 0;
transition: all 0.3s;
}
.mfp-move-horizontal.mfp-ready .mfp-with-anim {
opacity: 1;
transform: translateX(0);
}
.mfp-move-horizontal.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-move-horizontal.mfp-removing .mfp-with-anim {
transform: translateX(50px);
opacity: 0;
}
.mfp-move-horizontal.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== Move-from-top effect ======
*/
.mfp-move-from-top {
/* start state */
/* animate in */
/* animate out */
}
.mfp-move-from-top .mfp-content {
vertical-align: top;
}
.mfp-move-from-top .mfp-with-anim {
opacity: 0;
transition: all 0.2s;
transform: translateY(-100px);
}
.mfp-move-from-top.mfp-bg {
opacity: 0;
transition: all 0.2s;
}
.mfp-move-from-top.mfp-ready .mfp-with-anim {
opacity: 1;
transform: translateY(0);
}
.mfp-move-from-top.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-move-from-top.mfp-removing .mfp-with-anim {
transform: translateY(-50px);
opacity: 0;
}
.mfp-move-from-top.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== 3d unfold ======
*/
.mfp-3d-unfold {
/* start state */
/* animate in */
/* animate out */
}
.mfp-3d-unfold .mfp-content {
perspective: 2000px;
}
.mfp-3d-unfold .mfp-with-anim {
opacity: 0;
transition: all 0.3s ease-in-out;
transform-style: preserve-3d;
transform: rotateY(-60deg);
}
.mfp-3d-unfold.mfp-bg {
opacity: 0;
transition: all 0.5s;
}
.mfp-3d-unfold.mfp-ready .mfp-with-anim {
opacity: 1;
transform: rotateY(0deg);
}
.mfp-3d-unfold.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-3d-unfold.mfp-removing .mfp-with-anim {
transform: rotateY(60deg);
opacity: 0;
}
.mfp-3d-unfold.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== Zoom-out effect ======
*/
.mfp-zoom-out {
/* start state */
/* animate in */
/* animate out */
}
.mfp-zoom-out .mfp-with-anim {
opacity: 0;
transition: all 0.3s ease-in-out;
transform: scale(1.3);
}
.mfp-zoom-out.mfp-bg {
opacity: 0;
transition: all 0.3s ease-out;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
opacity: 1;
transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
transform: scale(1.3);
opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
opacity: 0;
}
/*
====== "Hinge" close effect ======
*/
@keyframes hinge {
0% {
transform: rotate(0);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
20%,
60% {
transform: rotate(80deg);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
40% {
transform: rotate(60deg);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
80% {
transform: rotate(60deg) translateY(0);
opacity: 1;
transform-origin: top left;
animation-timing-function: ease-in-out;
}
100% {
transform: translateY(700px);
opacity: 0;
}
}
.hinge {
animation-duration: 1s;
animation-name: hinge;
}
.mfp-with-fade .mfp-content,
.mfp-with-fade.mfp-bg {
opacity: 0;
transition: opacity 0.5s ease-out;
}
.mfp-with-fade.mfp-ready .mfp-content {
opacity: 1;
}
.mfp-with-fade.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-with-fade.mfp-removing.mfp-bg {
opacity: 0;
}
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
opacity: 0;
-webkit-backface-visibility: hidden;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.mfp-with-zoom.mfp-ready .mfp-container {
opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
opacity: 0.5;
}
.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
opacity: 0;
}
@@ -0,0 +1,38 @@
.mgz-email-grid {
border-bottom: 1px solid #e4e4e4;
margin-top: 20px;
width: 100%;
thead {
th {
background-color: #514943;
border: .1rem solid #8a837f;
border-left-color: transparent;
color: #FFF;
padding: 10px;
}
}
td {
border-left: 0.1rem dashed #d6d6d6;
border-right: 0.1rem dashed #d6d6d6;
color: #303030;
padding: 10px;
&.first {
border-left-style: solid;
}
&.last {
border-right-style: solid;
}
}
tr.odd td {
background-color: #f5f5f5;
}
.a-center {
text-align: center;
}
}
@@ -0,0 +1,56 @@
@import 'module/_checkbox-radio.less';
@import 'module/_actions-switcher.less';
@import 'module/_mixins.less';
.magezon-icon {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'Magezon-Icons' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
display: inline-block;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.MgzFontAwesome {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.mgz-text-left {
text-align: left;
}
.mgz-text-right {
text-align: right;
}
.mgz-text-center {
text-align: center;
}
.mgz-text-justify {
text-align: justify;
}
.mgz-hidden {
display: none;
}
.mgz-hide {
display: none;
}
.mgz-visible {
display: block;
}
.mgz_fit {
width: 1% !important;
}
.mgz_center {
text-align: center;
}
@@ -0,0 +1,146 @@
// /**
// * Copyright © Magento, Inc. All rights reserved.
// * See COPYING.txt for license details.
// */
//
// Yes/no switcher
// _____________________________________________
//
// Variables
// _____________________________________________
@mgz-toggle-color-gray89: #e3e3e3;
@mgz-toggle-color-white: #fff;
@mgz-toggle-color-green-apple: #79a22e;
@mgz-toggle-disabled__opacity: .5;
@mgz-toggle-color-gray65-lighten: #aaa6a0;
@mgz-toggle-action__height: 3.2rem;
@mgz-toggle-field-size__m: 34rem;
@mgz-toggle-actions-switcher-speed: .2s;
@mgz-toggle-color-blue-pure: #007bdb;
@mgz-toggle-field-control__focus__border-color: @mgz-toggle-color-blue-pure;
@mgz-toggle-color-tomato-brick: #e22626;
@mgz-toggle-field-error-control__border-color: @mgz-toggle-color-tomato-brick;
@mgz-toggle-actions-switcher__background-color: @mgz-toggle-color-gray89;
@mgz-toggle-actions-switcher__border-radius: 12px;
@mgz-toggle-actions-switcher__border: 1px solid @mgz-toggle-color-gray65-lighten;
@mgz-toggle-actions-switcher__height: 22px;
@mgz-toggle-actions-switcher__width: 37px;
@mgz-toggle-actions-switcher-control__background-color: @mgz-toggle-color-white;
@mgz-toggle-actions-switcher-handler__background-color: @mgz-toggle-color-white;
@mgz-toggle-actions-switcher-handler__height: @mgz-toggle-actions-switcher__height;
@mgz-toggle-actions-switcher-handler__width: @mgz-toggle-actions-switcher__height;
//
.mgz__actions-switch {
display: inline-block;
position: relative;
vertical-align: middle;
.admin__field-control & {
line-height: @mgz-toggle-action__height;
}
+ .admin__field-service {
min-width: @mgz-toggle-field-size__m;
}
}
.mgz__actions-switch-checkbox {
&:extend(.abs-visually-hidden all);
position: absolute !important;
._disabled &,
&.disabled {
+ .mgz__actions-switch-label {
cursor: not-allowed;
opacity: @mgz-toggle-disabled__opacity;
pointer-events: none;
}
}
&:checked {
+ .mgz__actions-switch-label {
&:before {
left: (@mgz-toggle-actions-switcher__width - @mgz-toggle-actions-switcher-handler__width);
}
&:after {
background: @mgz-toggle-color-green-apple;
}
.mgz__actions-switch-text {
&:before {
content: attr(data-text-on);
}
}
}
}
._error & {
+ .mgz__actions-switch-label {
&:before,
&:after {
border-color: @mgz-toggle-field-error-control__border-color;
}
}
}
}
.mgz__actions-switch-label {
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
cursor: pointer;
display: inline-block;
height: @mgz-toggle-actions-switcher__height;
line-height: @mgz-toggle-actions-switcher__height;
position: relative;
user-select: none;
vertical-align: middle;
&:before,
&:after {
left: 0;
position: absolute;
right: auto;
top: 0;
}
&:before {
background: @mgz-toggle-actions-switcher-handler__background-color;
border: @mgz-toggle-actions-switcher__border;
border-radius: 100%;
content: '';
display: block;
height: @mgz-toggle-actions-switcher-handler__height;
transition: left @mgz-toggle-actions-switcher-speed ease-in 0s;
width: @mgz-toggle-actions-switcher-handler__width;
z-index: 1;
}
&:after {
background: @mgz-toggle-actions-switcher__background-color;
border: @mgz-toggle-actions-switcher__border;
border-radius: @mgz-toggle-actions-switcher__border-radius;
content: '';
display: block;
height: @mgz-toggle-actions-switcher__height;
transition: background @mgz-toggle-actions-switcher-speed ease-in 0s;
width: @mgz-toggle-actions-switcher__width;
z-index: 0;
}
}
.mgz__actions-switch-text {
&:before {
content: attr(data-text-off);
padding-left: (@mgz-toggle-actions-switcher__width + 10);
white-space: nowrap;
}
}
@@ -0,0 +1,193 @@
// /**
// * Copyright © Magento, Inc. All rights reserved.
// * See COPYING.txt for license details.
// */
@mgz-control-checkbox-radio__background-color: #FFF;
@mgz-field-control__border-color: #adadad;
@mgz-control-checkbox-radio__size: 1.6rem;
@mgz-field-label__indent: 1rem;
@mgz-control-checkbox-radio-mark__color: #514943;
@mgz-field-control__color: #303030;
@mgz-field-control__disabled__background-color: #e9e9e9;
@mgz-field-control__focus__border-color: #007bdb;
@mgz-field-control__hover__border-color: darken(#adadad, 15%);
@mgz-smooth__border-color: border-color .1s linear;
@mgz-icon-check-mage__content: '\e62d';
//
// Variables
// _____________________________________________
.bfb-checkbox-item,
.bfb-radio-item {
margin-top: 0.7rem;
}
// Checkbox & radio
.mgz-control-radio,
.mgz-control-checkbox {
cursor: pointer;
opacity: .01; // hack for successful selenium tests
overflow: hidden;
position: absolute !important;
vertical-align: top;
&:after { // ToDo UI: Should be deleted with old styles that generate styles for this element
display: none;
}
+ label {
cursor: pointer;
display: inline-block;
vertical-align: sub;
&:before {
.magezon-icon();
.mgz-box-sizing(border-box);
background-color: @mgz-control-checkbox-radio__background-color;
border: 1px solid @mgz-field-control__border-color;
color: transparent;
float: left;
height: @mgz-control-checkbox-radio__size;
text-align: center;
vertical-align: top;
width: @mgz-control-checkbox-radio__size;
}
}
// Label with text content
+ label {
padding-left: @mgz-control-checkbox-radio__size + @mgz-field-label__indent - .4;
&:before {
margin: 1px 0 0 -(@mgz-control-checkbox-radio__size + @mgz-field-label__indent - .4);
}
}
// Checked state
&:checked {
+ label {
&:before {
color: @mgz-control-checkbox-radio-mark__color;
}
}
}
// Disabled state
&.disabled,
&[disabled] {
+ label {
color: @mgz-field-control__color;
cursor: default;
opacity: .5;
&:before {
background-color: @mgz-field-control__disabled__background-color;
border-color: @mgz-field-control__border-color;
cursor: default;
}
}
}
&:not([disabled]),
&:not(.disabled) {
// Focus state
&:focus {
+ label {
&:before {
._keyfocus & {
border-color: @mgz-field-control__focus__border-color;
}
}
}
}
// Hover state
&:hover {
+ label {
&:before {
border-color: @mgz-field-control__hover__border-color;
}
}
}
}
}
// Radio
.mgz-control-radio {
+ label {
&:before {
border-radius: @mgz-control-checkbox-radio__size;
content: '';
transition: @mgz-smooth__border-color, color .1s ease-in;
}
}
// Discard extend line-height 1, to fix animation
&.mgz-control-radio {
+ label {
&:before {
line-height: 140%;
}
}
}
// Radio checked state
&:checked {
+ label {
position: relative;
&:after {
background-color: @mgz-control-checkbox-radio-mark__color;
border-radius: 50%;
content: '';
height: 10px;
left: 3px;
position: absolute;
top: 4px;
width: 10px;
}
}
&:not([disabled]),
&:not(.disabled) {
// Prevent hover effects for checked radio
&:hover {
cursor: default;
+ label {
cursor: default;
&:before {
border-color: @mgz-field-control__border-color;
}
}
}
}
}
}
// Checkbox
.mgz-control-checkbox {
+ label {
&:before {
&:extend(.abs-icon all);
border-radius: 1px;
content: '';
font-size: 0;
transition: font-size .1s ease-out, color .1s ease-out, @mgz-smooth__border-color;
}
}
&:checked {
+ label {
&:before {
content: @mgz-icon-check-mage__content;
font-size: 1.1rem;
line-height: 125%;
}
}
}
}
@@ -0,0 +1,189 @@
.mgz-text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) {
text-shadow: @string;
}
.mgz-box-shadow (@string) {
-webkit-box-shadow: @string;
-moz-box-shadow: @string;
box-shadow: @string;
}
.mgz-drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
-moz-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
}
.mgz-inner-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: inset @x @y @blur @spread rgba(0, 0, 0, @alpha);
-moz-box-shadow: inset @x @y @blur @spread rgba(0, 0, 0, @alpha);
box-shadow: inset @x @y @blur @spread rgba(0, 0, 0, @alpha);
}
.mgz-box-sizing (@type: border-box) {
-webkit-box-sizing: @type;
-moz-box-sizing: @type;
box-sizing: @type;
}
.mgz-border-radius (@radius: 5px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.mgz-border-radiuses (@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) {
-webkit-border-top-right-radius: @topright;
-webkit-border-bottom-right-radius: @bottomright;
-webkit-border-bottom-left-radius: @bottomleft;
-webkit-border-top-left-radius: @topleft;
-moz-border-radius-topright: @topright;
-moz-border-radius-bottomright: @bottomright;
-moz-border-radius-bottomleft: @bottomleft;
-moz-border-radius-topleft: @topleft;
border-top-right-radius: @topright;
border-bottom-right-radius: @bottomright;
border-bottom-left-radius: @bottomleft;
border-top-left-radius: @topleft;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.mgz-opacity (@opacity: 0.5) {
-webkit-opacity: @opacity;
-moz-opacity: @opacity;
opacity: @opacity;
}
.mgz-gradient (@startColor: #eee, @endColor: white) {
background-color: @startColor;
background: -webkit-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
background: -webkit-linear-gradient(top, @startColor, @endColor);
background: -moz-linear-gradient(top, @startColor, @endColor);
background: -ms-linear-gradient(top, @startColor, @endColor);
background: -o-linear-gradient(top, @startColor, @endColor);
}
.mgz-horizontal-gradient (@startColor: #eee, @endColor: white) {
background-color: @startColor;
background-image: -webkit-gradient(linear, left top, right top, from(@startColor), to(@endColor));
background-image: -webkit-linear-gradient(left, @startColor, @endColor);
background-image: -moz-linear-gradient(left, @startColor, @endColor);
background-image: -ms-linear-gradient(left, @startColor, @endColor);
background-image: -o-linear-gradient(left, @startColor, @endColor);
}
.mgz-animation (@name, @duration: 300ms, @delay: 0, @ease: ease) {
-webkit-animation: @name @duration @delay @ease;
-moz-animation: @name @duration @delay @ease;
-ms-animation: @name @duration @delay @ease;
}
.mgz-transition (@transition) {
-webkit-transition: @transition;
-moz-transition: @transition;
-ms-transition: @transition;
-o-transition: @transition;
}
.mgz-transform(@string) {
-webkit-transform: @string;
-moz-transform: @string;
-ms-transform: @string;
-o-transform: @string;
}
.mgz-scale (@factor) {
-webkit-transform: scale(@factor);
-moz-transform: scale(@factor);
-ms-transform: scale(@factor);
-o-transform: scale(@factor);
}
.mgz-rotate (@deg) {
-webkit-transform: rotate(@deg);
-moz-transform: rotate(@deg);
-ms-transform: rotate(@deg);
-o-transform: rotate(@deg);
}
.mgz-skew (@deg, @deg2) {
-webkit-transform: skew(@deg, @deg2);
-moz-transform: skew(@deg, @deg2);
-ms-transform: skew(@deg, @deg2);
-o-transform: skew(@deg, @deg2);
}
.mgz-translate (@x, @y:0) {
-webkit-transform: translate(@x, @y);
-moz-transform: translate(@x, @y);
-ms-transform: translate(@x, @y);
-o-transform: translate(@x, @y);
}
.mgz-translate3d (@x, @y: 0, @z: 0) {
-webkit-transform: translate3d(@x, @y, @z);
-moz-transform: translate3d(@x, @y, @z);
-ms-transform: translate3d(@x, @y, @z);
-o-transform: translate3d(@x, @y, @z);
}
.mgz-perspective (@value: 1000) {
-webkit-perspective: @value;
-moz-perspective: @value;
-ms-perspective: @value;
perspective: @value;
}
.mgz-transform-origin (@x:center, @y:center) {
-webkit-transform-origin: @x @y;
-moz-transform-origin: @x @y;
-ms-transform-origin: @x @y;
-o-transform-origin: @x @y;
}
.mgzFlex {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.mgz-center (@percent: 50%) {
.mgz-transform(translate(-@percent,-@percent));
position: absolute;
top: @percent;
left: @percent;
}
//
// Clearfix
// ---------------------------------------------
.mgz-clearfix() {
&:before,
&:after {
content: " ";
display: table;
clear: both;
}
}
.mgz-invisible {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
+412
View File
@@ -0,0 +1,412 @@
@font-face {
font-family: 'Magento-Icons';
src: url('../fonts/Magento-Icons/Magento-Icons.eot');
src: url('../fonts/Magento-Icons/Magento-Icons.eot?#iefix') format('embedded-opentype'), url('../fonts/Magento-Icons/Magento-Icons.woff2') format('woff2'), url('../fonts/Magento-Icons/Magento-Icons.woff') format('woff'), url('../fonts/Magento-Icons/Magento-Icons.ttf') format('truetype'), url('../fonts/Magento-Icons/Magento-Icons.svg#Magento-Icons') format('svg');
font-weight: normal;
font-style: normal;
}
.spinner {
display: inline-block;
font-size: 4rem;
height: 1em;
margin-right: 1.5rem;
position: relative;
width: 1em;
}
.spinner > span {
-webkit-transform: scale(0.4);
-moz-transform: scale(0.4);
-ms-transform: scale(0.4);
transform: scale(0.4);
-webkit-animation-name: fade;
-moz-animation-name: fade;
-ms-animation-name: fade;
animation-name: fade;
-webkit-animation-duration: .72s;
-moz-animation-duration: .72s;
-ms-animation-duration: .72s;
animation-duration: .72s;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-ms-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: normal;
-moz-animation-direction: normal;
-ms-animation-direction: normal;
animation-direction: normal;
background-color: #fff;
border-radius: 6px;
clip: rect(0 0.28571429em 0.1em 0);
height: .1em;
margin-top: .5em;
position: absolute;
width: 1em;
}
.spinner > span:nth-child(1) {
-webkit-animation-delay: 0.27s;
-moz-animation-delay: 0.27s;
-ms-animation-delay: 0.27s;
animation-delay: 0.27s;
-webkit-transform: rotate(-315deg);
-moz-transform: rotate(-315deg);
-ms-transform: rotate(-315deg);
transform: rotate(-315deg);
}
.spinner > span:nth-child(2) {
-webkit-animation-delay: 0.36s;
-moz-animation-delay: 0.36s;
-ms-animation-delay: 0.36s;
animation-delay: 0.36s;
-webkit-transform: rotate(-270deg);
-moz-transform: rotate(-270deg);
-ms-transform: rotate(-270deg);
transform: rotate(-270deg);
}
.spinner > span:nth-child(3) {
-webkit-animation-delay: 0.45s;
-moz-animation-delay: 0.45s;
-ms-animation-delay: 0.45s;
animation-delay: 0.45s;
-webkit-transform: rotate(-225deg);
-moz-transform: rotate(-225deg);
-ms-transform: rotate(-225deg);
transform: rotate(-225deg);
}
.spinner > span:nth-child(4) {
-webkit-animation-delay: 0.54s;
-moz-animation-delay: 0.54s;
-ms-animation-delay: 0.54s;
animation-delay: 0.54s;
-webkit-transform: rotate(-180deg);
-moz-transform: rotate(-180deg);
-ms-transform: rotate(-180deg);
transform: rotate(-180deg);
}
.spinner > span:nth-child(5) {
-webkit-animation-delay: 0.63s;
-moz-animation-delay: 0.63s;
-ms-animation-delay: 0.63s;
animation-delay: 0.63s;
-webkit-transform: rotate(-135deg);
-moz-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.spinner > span:nth-child(6) {
-webkit-animation-delay: 0.72s;
-moz-animation-delay: 0.72s;
-ms-animation-delay: 0.72s;
animation-delay: 0.72s;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.spinner > span:nth-child(7) {
-webkit-animation-delay: 0.81s;
-moz-animation-delay: 0.81s;
-ms-animation-delay: 0.81s;
animation-delay: 0.81s;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.spinner > span:nth-child(8) {
-webkit-animation-delay: 0.9;
-moz-animation-delay: 0.9;
-ms-animation-delay: 0.9;
animation-delay: 0.9;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
@-moz-keyframes fade {
0% {
background-color: #514943;
}
100% {
background-color: #fff;
}
}
@-webkit-keyframes fade {
0% {
background-color: #514943;
}
100% {
background-color: #fff;
}
}
@-ms-keyframes fade {
0% {
background-color: #514943;
}
100% {
background-color: #fff;
}
}
@keyframes fade {
0% {
background-color: #514943;
}
100% {
background-color: #fff;
}
}
form.loading .mgz__spinner {
display: block;
}
.mgz__spinner {
display: none;
position: relative;
width: 186px;
height: 20px;
margin: auto;
position: absolute;
left: 45%;
top: 15px;
}
.mgz__spinner .spinner-item {
position: absolute;
top: 0;
background-color: #d8d8d8;
width: 20px;
height: 20px;
animation-name: bounce_fountainG;
-o-animation-name: bounce_fountainG;
-ms-animation-name: bounce_fountainG;
-webkit-animation-name: bounce_fountainG;
-moz-animation-name: bounce_fountainG;
animation-duration: 0.645s;
-o-animation-duration: 0.645s;
-ms-animation-duration: 0.645s;
-webkit-animation-duration: 0.645s;
-moz-animation-duration: 0.645s;
animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;
-ms-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
animation-direction: normal;
-o-animation-direction: normal;
-ms-animation-direction: normal;
-webkit-animation-direction: normal;
-moz-animation-direction: normal;
transform: scale(0.3);
-o-transform: scale(0.3);
-ms-transform: scale(0.3);
-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
border-radius: 15px;
-o-border-radius: 15px;
-ms-border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
}
.mgz__spinner .spinner-item.spinner-item-1 {
left: 0;
animation-delay: 0.256s;
-o-animation-delay: 0.256s;
-ms-animation-delay: 0.256s;
-webkit-animation-delay: 0.256s;
-moz-animation-delay: 0.256s;
}
.mgz__spinner .spinner-item.spinner-item-2 {
left: 20px;
animation-delay: 0.3225s;
-o-animation-delay: 0.3225s;
-ms-animation-delay: 0.3225s;
-webkit-animation-delay: 0.3225s;
-moz-animation-delay: 0.3225s;
}
.mgz__spinner .spinner-item.spinner-item-3 {
left: 40px;
animation-delay: 0.389s;
-o-animation-delay: 0.389s;
-ms-animation-delay: 0.389s;
-webkit-animation-delay: 0.389s;
-moz-animation-delay: 0.389s;
}
.mgz__spinner .spinner-item.spinner-item-4 {
left: 60px;
animation-delay: 0.4555s;
-o-animation-delay: 0.4555s;
-ms-animation-delay: 0.4555s;
-webkit-animation-delay: 0.4555s;
-moz-animation-delay: 0.4555s;
}
.mgz__spinner .spinner-item.spinner-item-5 {
left: 80px;
animation-delay: 0.522s;
-o-animation-delay: 0.522s;
-ms-animation-delay: 0.522s;
-webkit-animation-delay: 0.522s;
-moz-animation-delay: 0.522s;
}
.mgz__spinner .spinner-item.spinner-item-6 {
left: 100px;
animation-delay: 0.5885s;
-o-animation-delay: 0.5885s;
-ms-animation-delay: 0.5885s;
-webkit-animation-delay: 0.5885s;
-moz-animation-delay: 0.5885s;
}
.mgz__spinner .spinner-item.spinner-item-7 {
left: 120px;
animation-delay: 0.645s;
-o-animation-delay: 0.645s;
-ms-animation-delay: 0.645s;
-webkit-animation-delay: 0.645s;
-moz-animation-delay: 0.645s;
}
.mgz__spinner .spinner-item.spinner-item-8 {
left: 140px;
animation-delay: 0.7115s;
-o-animation-delay: 0.7115s;
-ms-animation-delay: 0.7115s;
-webkit-animation-delay: 0.7115s;
-moz-animation-delay: 0.7115s;
}
@keyframes bounce_fountainG {
0% {
transform: scale(1);
background-color: #d8d8d8;
}
100% {
transform: scale(0.3);
background-color: #d8d8d8;
}
}
@-o-keyframes bounce_fountainG {
0% {
-o-transform: scale(1);
background-color: #d8d8d8;
}
100% {
-o-transform: scale(0.3);
background-color: #d8d8d8;
}
}
@-ms-keyframes bounce_fountainG {
0% {
-ms-transform: scale(1);
background-color: #d8d8d8;
}
100% {
-ms-transform: scale(0.3);
background-color: #d8d8d8;
}
}
@-webkit-keyframes bounce_fountainG {
0% {
-webkit-transform: scale(1);
background-color: #d8d8d8;
}
100% {
-webkit-transform: scale(0.3);
background-color: #d8d8d8;
}
}
@-moz-keyframes bounce_fountainG {
0% {
-moz-transform: scale(1);
background-color: #d8d8d8;
}
100% {
-moz-transform: scale(0.3);
background-color: #d8d8d8;
}
}
.mgz__page-actions.page-main-actions {
margin: 0 0 3rem;
background: #f8f8f8;
border-bottom: 1px solid #e3e3e3;
border-top: 1px solid #e3e3e3;
padding: 1.5rem;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons {
float: right;
justify-content: flex-end;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button {
background-color: transparent;
text-shadow: none;
color: #41362f;
font-size: 1.6rem;
letter-spacing: .025em;
padding-bottom: .8875em;
padding-top: .8875em;
border-color: transparent;
box-shadow: none;
margin-left: 1.3rem;
font-weight: 600;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button.primary {
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
background-color: #eb5202;
border-color: #eb5202;
color: #fff;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button.primary:hover {
background-color: #ba4000;
border-color: #b84002;
box-shadow: 0 0 0 1px #007bdb;
color: #fff;
text-decoration: none;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button.action-secondary {
background-color: #514943;
border-color: #514943;
color: #fff;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button.action-secondary:hover {
background-color: #35302c;
border-color: #35302c;
box-shadow: 0 0 0 1px #007bdb;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons > button.back {
float: left;
-ms-flex-order: -1;
-webkit-order: -1;
order: -1;
margin-left: 1.3rem;
}
@media (max-width: 480px) {
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons {
display: block;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button.back {
margin: 0;
}
}
.mgz__page-actions.page-main-actions .page-actions:before,
.mgz__page-actions.page-main-actions .page-actions:after {
content: '';
display: table;
clear: both;
}
.mgz__page-actions.page-main-actions .page-actions #back:before {
content: '\e626';
margin-right: .5em;
position: relative;
top: 1px;
font-family: 'Magento-Icons';
}
@media (max-width: 480px) {
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons {
text-align: center;
}
.mgz__page-actions.page-main-actions .page-actions .page-actions-buttons button {
margin-left: 0;
}
}
.sidebar {
max-width: 100%;
}
+287
View File
@@ -0,0 +1,287 @@
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
.swatch-attribute-label {
font-weight: bold;
position: relative;
}
.swatch-attribute-label.required {
padding-right: 10px;
}
.swatch-attribute-label[data-required="1"]:after {
content: '*';
color: red;
position: absolute;
right: -11px;
top: -2px;
font-weight: bold;
font-size: 1em;
}
.swatch-attribute-selected-option {
color: #646464;
padding-left: 17px;
}
.swatch-attribute-options {
margin-top: 10px;
}
.swatch-option {
/*width: 30px;*/
padding: 1px 2px;
min-width: 30px;
max-width: 90px;
height: 20px;
float: left;
margin: 0 10px 5px 0;
text-align: center;
cursor: pointer;
position: relative;
border: 1px solid rgb(218, 218, 218);
overflow: hidden;
text-overflow: ellipsis;
}
.swatch-option.text {
background: #F0F0F0;
color: #686868;
font-size: 12px;
font-weight: 700;
line-height: 20px;
padding: 4px 8px;
min-width: 22px;
margin-right: 7px;
}
.swatch-option.selected {
outline: 2px solid #ff5501;
border: 1px solid #fff;
color: #333;
}
.swatch-option.text.selected {
background-color: #FFF !important;
}
.clearfix:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.swatch-attribute.size .swatch-option, .swatch-attribute.manufacturer .swatch-option {
background: rgb(240, 240, 240);
color: rgb(148, 148, 148);
}
.swatch-attribute.size .swatch-option.selected, .swatch-attribute.manufacturer .swatch-option.selected {
color: black;
background: #fff;
border: 1px solid #fff;
}
.swatch-option:not(.disabled):hover {
outline: 1px solid #999;
border: 1px solid #fff;
color: #333;
}
.swatch-option.image:not(.disabled):hover,
.swatch-option.color:not(.disabled):hover {
outline: 2px solid #ee0000;
border: 1px solid #fff;
}
.swatch-option.disabled {
cursor: default;
}
.swatch-option.disabled:after {
content: '';
position: absolute;
left: 0;
right: 0;
top:0;
bottom: 0;
background: -moz-linear-gradient(to left top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 46%, rgba(255,82,22,1) 47%, rgba(255,82,22,1) 53%, rgba(255,255,255,1) 54%, rgba(255,255,255,1) 57%, rgba(255,255,255,0) 58%, rgba(255,255,255,0) 100%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(42%,rgba(255,255,255,0)), color-stop(43%,rgba(255,255,255,1)), color-stop(46%,rgba(255,255,255,1)), color-stop(47%,rgba(255,82,22,1)), color-stop(53%,rgba(255,82,22,1)), color-stop(54%,rgba(255,255,255,1)), color-stop(57%,rgba(255,255,255,1)), color-stop(58%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0)));
background: -webkit-linear-gradient(to left top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,1) 43%,rgba(255,255,255,1) 46%,rgba(255,82,22,1) 47%,rgba(255,82,22,1) 53%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 57%,rgba(255,255,255,0) 58%,rgba(255,255,255,0) 100%);
background: -o-linear-gradient(to left top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,1) 43%,rgba(255,255,255,1) 46%,rgba(255,82,22,1) 47%,rgba(255,82,22,1) 53%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 57%,rgba(255,255,255,0) 58%,rgba(255,255,255,0) 100%);
background: -ms-linear-gradient(to left top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,1) 43%,rgba(255,255,255,1) 46%,rgba(255,82,22,1) 47%,rgba(255,82,22,1) 53%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 57%,rgba(255,255,255,0) 58%,rgba(255,255,255,0) 100%);
background: linear-gradient(to left top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,1) 43%,rgba(255,255,255,1) 46%,rgba(255,82,22,1) 47%,rgba(255,82,22,1) 53%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 57%,rgba(255,255,255,0) 58%,rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.swatch-option-tooltip {
max-width: 140px;
/*max-height: 160px;*/
max-height: 100%;
min-height: 20px;
min-width: 20px;
position: absolute;
padding: 5px;
background: #fff;
color: rgb(148, 148, 148);
border: 1px solid #adadad;
display: none;
z-index: 999;
text-align: center;
}
.swatch-option-tooltip .corner,
.swatch-option-tooltip-layered .corner {
left: 40%;
position: absolute;
bottom: 0;
height: 8px;
}
.swatch-option-tooltip .corner:after,
.swatch-option-tooltip-layered .corner:after {
content: '';
position: relative;
top: 1px;
left: -15px;
width: 0;
height: 0;
border-style: solid;
border-width: 7px 7.5px 0 7.5px;
border-color: #fff transparent transparent transparent;
font-size: 1px;
}
.swatch-option-tooltip .corner:before,
.swatch-option-tooltip-layered .corner:before {
content: '';
position: relative;
top: 2px;
left: 0;
width: 0;
height: 0;
border-style: solid;
border-width: 8px 8.5px 0 8.5px;
border-color: #adadad transparent transparent transparent;
font-size: 1px;
}
.swatch-option-tooltip .image,
.swatch-option-tooltip-layered .image {
display: block;
height: 130px;
width: 130px;
/*margin: 0 0 5px;*/
margin: 0 auto;
}
.swatch-option-tooltip .title {
max-width: 140px;
min-height: 20px;
max-height: 200px;
color: rgb(40, 40, 40);
text-align: center;
display: block;
overflow: hidden;
}
.swatch-opt {
margin: 20px 0;
}
.swatch-more {
display: inline-block;
margin: 2px 0;
text-decoration: none !important;
position: static;
z-index: 1;
}
/* Layered Features */
.swatch-option-link-layered {
position: relative;
margin: 0 !important;
padding: 0 !important;
}
.swatch-option-link-layered:focus > div {
box-shadow: 0 0 3px 1px #68a8e0;
}
.swatch-option-tooltip-layered {
width: 140px;
position: absolute;
background: #fff;
color: rgb(148, 148, 148);
border: 1px solid #adadad;
display: none;
z-index: 999;
left: -47px;
}
.swatch-visual-tooltip-layered {
height: 160px;
top: -170px;
}
.swatch-textual-tooltip-layered {
height: 30px;
top: -40px;
}
.swatch-option-link-layered:hover > .swatch-option-tooltip-layered {
display: block;
}
.swatch-attribute-options .swatch-option-tooltip-layered .title {
width: 100%;
height: 20px;
position: absolute;
bottom: -5px;
left: 0;
color: rgb(40, 40, 40);
text-align: center;
margin-bottom: 10px;
}
.swatch-option-disabled:after {
content: '';
position: absolute;
width: 42px;
height: 2px;
background: red;
transform: rotate(-30deg);
-o-transform: rotate(-30deg);
-moz-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
-webkit-transform: rotate(-30deg);
z-index: 995;
left: -4px;
top: 10px;
}
.swatch-option-disabled {
outline: none !important;
cursor: default;
border: 0;
}
/* Bugfix for Add To Cart button */
.swatch-opt-listing {
margin-bottom: 10px;
}
.swatch-option-loading {
content: url("../images/loader-2.gif");
}
.swatch-input {
left: -1000px;
position: absolute;
visibility: hidden;
}
+1
View File
@@ -0,0 +1 @@
<svg version="1.1" width="23" height="24" viewBox="0 0 23 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g xmlns="http://www.w3.org/2000/svg" id="obj_2"><g id="obj_3" transform="matrix(1,0,0,1,-0.002,5.148)" opacity="1" display="inline"><path d="M 0.985 5.46 C 0.985 11.088 5.547 15.651 11.176 15.651 C 16.805 15.651 21.368 11.088 21.368 5.46 C 21.368 3.452 20.786 1.579 19.783 0 C 21.424 1.95 22.415 4.466 22.415 7.216 C 22.415 13.405 17.397 18.422 11.207 18.422 C 5.017 18.422 0 13.405 0 7.216 C 0 4.606 0.891 2.205 2.387 0.302 C 1.496 1.814 0.985 3.577 0.985 5.46 Z " fill-opacity="1" fill="#aaa6a0" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g><g id="obj_4" transform="matrix(1,0,0,1,1.749,1.102)" opacity="1" display="inline"><path d="M 10.95 0.832 C 6.196 0.832 2.341 4.687 2.341 9.441 C 2.341 14.198 6.196 18.051 10.95 18.051 C 12.647 18.051 14.229 17.559 15.562 16.712 C 13.916 18.099 11.789 18.936 9.468 18.936 C 4.239 18.936 0 14.696 0 9.467 C 0 4.239 4.239 0 9.468 0 C 11.672 0 13.7 0.753 15.309 2.016 C 14.03 1.263 12.541 0.832 10.95 0.832 Z " fill-opacity="1" fill="#aaa6a0" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g><g id="obj_5" transform="matrix(1,0,0,1,4.873,2.801)" opacity="1" display="inline"><path d="M 11.9118 13.6639 C 14.6748 10.9009 14.6748 6.4197 11.9118 3.6556 C 9.1469 0.8925 4.6659 0.8925 1.903 3.6556 C 0.917 4.6416 0.282 5.8467 0 7.1137 C 0.152 5.3507 0.901 3.6296 2.251 2.2786 C 5.2899 -0.7595 10.2178 -0.7595 13.2568 2.2786 C 16.2957 5.3187 16.2957 10.2458 13.2568 13.2859 C 11.9758 14.567 10.3588 15.308 8.6889 15.51 C 9.8698 15.203 10.9868 14.588 11.9118 13.6639 Z " fill-opacity="1" fill="#aaa6a0" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1 @@
<svg version="1.1" width="23" height="24" viewBox="0 0 23 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g xmlns="http://www.w3.org/2000/svg" id="obj_2"><g id="obj_3" transform="matrix(1,0,0,1,-0.002,5.148)" opacity="1" display="inline"><path d="M 0.985 5.46 C 0.985 11.088 5.547 15.651 11.176 15.651 C 16.805 15.651 21.368 11.088 21.368 5.46 C 21.368 3.452 20.786 1.579 19.783 0 C 21.424 1.95 22.415 4.466 22.415 7.216 C 22.415 13.405 17.397 18.422 11.207 18.422 C 5.017 18.422 0 13.405 0 7.216 C 0 4.606 0.891 2.205 2.387 0.302 C 1.496 1.814 0.985 3.577 0.985 5.46 Z " fill-opacity="1" fill="#ffffff" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g><g id="obj_4" transform="matrix(1,0,0,1,1.749,1.102)" opacity="1" display="inline"><path d="M 10.95 0.832 C 6.196 0.832 2.341 4.687 2.341 9.441 C 2.341 14.198 6.196 18.051 10.95 18.051 C 12.647 18.051 14.229 17.559 15.562 16.712 C 13.916 18.099 11.789 18.936 9.468 18.936 C 4.239 18.936 0 14.696 0 9.467 C 0 4.239 4.239 0 9.468 0 C 11.672 0 13.7 0.753 15.309 2.016 C 14.03 1.263 12.541 0.832 10.95 0.832 Z " fill-opacity="1" fill="#ffffff" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g><g id="obj_5" transform="matrix(1,0,0,1,4.873,2.801)" opacity="1" display="inline"><path d="M 11.9118 13.6639 C 14.6748 10.9009 14.6748 6.4197 11.9118 3.6556 C 9.1469 0.8925 4.6659 0.8925 1.903 3.6556 C 0.917 4.6416 0.282 5.8467 0 7.1137 C 0.152 5.3507 0.901 3.6296 2.251 2.2786 C 5.2899 -0.7595 10.2178 -0.7595 13.2568 2.2786 C 16.2957 5.3187 16.2957 10.2458 13.2568 13.2859 C 11.9758 14.567 10.3588 15.308 8.6889 15.51 C 9.8698 15.203 10.9868 14.588 11.9118 13.6639 Z " fill-opacity="1" fill="#ffffff" stroke="none" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter"/><defs/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+580
View File
@@ -0,0 +1,580 @@
/*
* ScrollToFixed
* https://github.com/bigspotteddog/ScrollToFixed
*
* Copyright (c) 2011 Joseph Cava-Lynch
* MIT license
*/
(function($) {
$.isScrollToFixed = function(el) {
return !!$(el).data('ScrollToFixed');
};
$.ScrollToFixed = function(el, options) {
// To avoid scope issues, use 'base' instead of 'this' to reference this
// class from internal events and functions.
var base = this;
// Access to jQuery and DOM versions of element.
base.$el = $(el);
base.el = el;
// Add a reverse reference to the DOM object.
base.$el.data('ScrollToFixed', base);
// A flag so we know if the scroll has been reset.
var isReset = false;
// The element that was given to us to fix if scrolled above the top of
// the page.
var target = base.$el;
var position;
var originalPosition;
var originalFloat;
var originalOffsetTop;
var originalZIndex;
// The offset top of the element when resetScroll was called. This is
// used to determine if we have scrolled past the top of the element.
var offsetTop = 0;
// The offset left of the element when resetScroll was called. This is
// used to move the element left or right relative to the horizontal
// scroll.
var offsetLeft = 0;
var originalOffsetLeft = -1;
// This last offset used to move the element horizontally. This is used
// to determine if we need to move the element because we would not want
// to do that for no reason.
var lastOffsetLeft = -1;
// This is the element used to fill the void left by the target element
// when it goes fixed; otherwise, everything below it moves up the page.
var spacer = null;
var spacerClass;
var className;
// Capture the original offsets for the target element. This needs to be
// called whenever the page size changes or when the page is first
// scrolled. For some reason, calling this before the page is first
// scrolled causes the element to become fixed too late.
function resetScroll() {
// Set the element to it original positioning.
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
// Reset the last offset used to determine if the page has moved
// horizontally.
lastOffsetLeft = -1;
// Capture the offset top of the target element.
offsetTop = target.offset().top;
// Capture the offset left of the target element.
offsetLeft = target.offset().left;
// If the offsets option is on, alter the left offset.
if (base.options.offsets) {
offsetLeft += (target.offset().left - target.position().left);
}
if (originalOffsetLeft == -1) {
originalOffsetLeft = offsetLeft;
}
position = target.css('position');
// Set that this has been called at least once.
isReset = true;
if (base.options.bottom != -1) {
target.trigger('preFixed.ScrollToFixed');
setFixed();
target.trigger('fixed.ScrollToFixed');
}
}
function getLimit() {
var limit = base.options.limit;
if (!limit) return 0;
if (typeof(limit) === 'function') {
return limit.apply(target);
}
return limit;
}
function isValid() {
if (base.options.minTop) {
if ($(window).scrollTop() > base.options.minTop) {
return true;
}
return false;
} else {
return true;
}
}
// Returns whether the target element is fixed or not.
function isFixed() {
return position === 'fixed';
}
// Returns whether the target element is absolute or not.
function isAbsolute() {
return position === 'absolute';
}
function isUnfixed() {
return !(isFixed() || isAbsolute());
}
// Sets the target element to fixed. Also, sets the spacer to fill the
// void left by the target element.
function setFixed() {
// Only fix the target element and the spacer if we need to.
if (!isFixed()) {
//get REAL dimensions (decimal fix)
//Ref. http://stackoverflow.com/questions/3603065/how-to-make-jquery-to-not-round-value-returned-by-width
var dimensions = target[0].getBoundingClientRect();
// Set the spacer to fill the height and width of the target
// element, then display it.
spacer.css({
'display' : target.css('display'),
'width' : dimensions.width,
'height' : dimensions.height,
'float' : target.css('float')
});
// Set the target element to fixed and set its width so it does
// not fill the rest of the page horizontally. Also, set its top
// to the margin top specified in the options.
cssOptions={
'z-index' : base.options.zIndex,
'position' : 'fixed',
'top' : base.options.bottom == -1?getMarginTop():'',
'bottom' : base.options.bottom == -1?'':base.options.bottom,
'margin-left' : '0px'
}
if (!base.options.dontSetWidth){ cssOptions['width']=target.css('width'); };
target.css(cssOptions);
target.addClass(base.options.baseClassName);
if (base.options.className) {
target.addClass(base.options.className);
}
position = 'fixed';
}
}
function setAbsolute() {
var top = getLimit();
var left = offsetLeft;
if (base.options.removeOffsets) {
left = '';
top = top - offsetTop;
}
cssOptions={
'position' : 'absolute',
'top' : top,
'left' : left,
'margin-left' : '0px',
'bottom' : ''
}
if (!base.options.dontSetWidth){ cssOptions['width']=target.css('width'); };
target.css(cssOptions);
position = 'absolute';
}
// Sets the target element back to unfixed. Also, hides the spacer.
function setUnfixed() {
// Only unfix the target element and the spacer if we need to.
if (!isUnfixed()) {
lastOffsetLeft = -1;
// Hide the spacer now that the target element will fill the
// space.
spacer.css('display', 'none');
// Remove the style attributes that were added to the target.
// This will reverse the target back to the its original style.
target.css({
'z-index' : originalZIndex,
'width' : '',
'position' : originalPosition,
'left' : '',
'top' : originalOffsetTop,
'margin-left' : ''
});
target.removeClass('scroll-to-fixed-fixed');
if (base.options.className) {
target.removeClass(base.options.className);
}
position = null;
}
}
// Moves the target element left or right relative to the horizontal
// scroll position.
function setLeft(x) {
// Only if the scroll is not what it was last time we did this.
if (x != lastOffsetLeft) {
// Move the target element horizontally relative to its original
// horizontal position.
target.css('left', offsetLeft - x);
// Hold the last horizontal position set.
lastOffsetLeft = x;
}
}
function getMarginTop() {
var marginTop = base.options.marginTop;
if (!marginTop) return 0;
if (typeof(marginTop) === 'function') {
return marginTop.apply(target);
}
return marginTop;
}
// Checks to see if we need to do something based on new scroll position
// of the page.
function checkScroll() {
if (!$.isScrollToFixed(target) || target.is(':hidden')) return;
var wasReset = isReset;
var wasUnfixed = isUnfixed();
// If resetScroll has not yet been called, call it. This only
// happens once.
if (!isReset) {
resetScroll();
} else if (isUnfixed()) {
// if the offset has changed since the last scroll,
// we need to get it again.
// Capture the offset top of the target element.
offsetTop = target.offset().top;
// Capture the offset left of the target element.
offsetLeft = target.offset().left;
}
// Grab the current horizontal scroll position.
var x = $(window).scrollLeft();
// Grab the current vertical scroll position.
var y = $(window).scrollTop();
// Get the limit, if there is one.
var limit = getLimit();
// If the vertical scroll position, plus the optional margin, would
// put the target element at the specified limit, set the target
// element to absolute.
if (base.options.minWidth && $(window).width() < base.options.minWidth) {
if (!isUnfixed() || !wasReset) {
postPosition();
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
}
} else if (base.options.maxWidth && $(window).width() > base.options.maxWidth) {
if (!isUnfixed() || !wasReset) {
postPosition();
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
}
} else if (base.options.bottom == -1) {
// If the vertical scroll position, plus the optional margin, would
// put the target element at the specified limit, set the target
// element to absolute.
if (limit > 0 && y >= limit - getMarginTop()) {
if (!wasUnfixed && (!isAbsolute() || !wasReset)) {
postPosition();
target.trigger('preAbsolute.ScrollToFixed');
setAbsolute();
target.trigger('unfixed.ScrollToFixed');
}
// If the vertical scroll position, plus the optional margin, would
// put the target element above the top of the page, set the target
// element to fixed.
} else if (y >= offsetTop - getMarginTop() && isValid()) {
if (!isFixed() || !wasReset) {
postPosition();
target.trigger('preFixed.ScrollToFixed');
// Set the target element to fixed.
setFixed();
// Reset the last offset left because we just went fixed.
lastOffsetLeft = -1;
target.trigger('fixed.ScrollToFixed');
}
// If the page has been scrolled horizontally as well, move the
// target element accordingly.
setLeft(x);
} else {
// Set the target element to unfixed, placing it where it was
// before.
if (!isUnfixed() || !wasReset) {
postPosition();
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
}
}
} else {
if (limit > 0) {
if (y + $(window).height() - target.outerHeight(true) >= limit - (getMarginTop() || -getBottom())) {
if (isFixed()) {
postPosition();
target.trigger('preUnfixed.ScrollToFixed');
if (originalPosition === 'absolute') {
setAbsolute();
} else {
setUnfixed();
}
target.trigger('unfixed.ScrollToFixed');
}
} else {
if (!isFixed()) {
postPosition();
target.trigger('preFixed.ScrollToFixed');
setFixed();
}
setLeft(x);
target.trigger('fixed.ScrollToFixed');
}
} else {
setLeft(x);
}
}
}
function getBottom() {
if (!base.options.bottom) return 0;
return base.options.bottom;
}
function postPosition() {
var position = target.css('position');
if (position == 'absolute') {
target.trigger('postAbsolute.ScrollToFixed');
} else if (position == 'fixed') {
target.trigger('postFixed.ScrollToFixed');
} else {
target.trigger('postUnfixed.ScrollToFixed');
}
}
var windowResize = function(event) {
// Check if the element is visible before updating it's position, which
// improves behavior with responsive designs where this element is hidden.
if(target.is(':visible')) {
isReset = false;
checkScroll();
} else {
// Ensure the spacer is hidden
setUnfixed();
}
}
var windowScroll = function(event) {
(!!window.requestAnimationFrame) ? requestAnimationFrame(checkScroll) : checkScroll();
}
// From: http://kangax.github.com/cft/#IS_POSITION_FIXED_SUPPORTED
var isPositionFixedSupported = function() {
var container = document.body;
if (document.createElement && container && container.appendChild && container.removeChild) {
var el = document.createElement('div');
if (!el.getBoundingClientRect) return null;
el.innerHTML = 'x';
el.style.cssText = 'position:fixed;top:100px;';
container.appendChild(el);
var originalHeight = container.style.height,
originalScrollTop = container.scrollTop;
container.style.height = '3000px';
container.scrollTop = 500;
var elementTop = el.getBoundingClientRect().top;
container.style.height = originalHeight;
var isSupported = (elementTop === 100);
container.removeChild(el);
container.scrollTop = originalScrollTop;
return isSupported;
}
return null;
}
var preventDefault = function(e) {
e = e || window.event;
if (e.preventDefault) {
e.preventDefault();
}
e.returnValue = false;
}
// Initializes this plugin. Captures the options passed in, turns this
// off for devices that do not support fixed position, adds the spacer,
// and binds to the window scroll and resize events.
base.init = function() {
// Capture the options for this plugin.
base.options = $.extend({}, $.ScrollToFixed.defaultOptions, options);
originalZIndex = target.css('z-index')
// Turn off this functionality for devices that do not support it.
// if (!(base.options && base.options.dontCheckForPositionFixedSupport)) {
// var fixedSupported = isPositionFixedSupported();
// if (!fixedSupported) return;
// }
// Put the target element on top of everything that could be below
// it. This reduces flicker when the target element is transitioning
// to fixed.
base.$el.css('z-index', base.options.zIndex);
// Create a spacer element to fill the void left by the target
// element when it goes fixed.
spacer = $('<div />');
position = target.css('position');
originalPosition = target.css('position');
originalFloat = target.css('float');
originalOffsetTop = target.css('top');
// Place the spacer right after the target element.
if (isUnfixed()) base.$el.after(spacer);
// Reset the target element offsets when the window is resized, then
// check to see if we need to fix or unfix the target element.
$(window).bind('resize.ScrollToFixed', windowResize);
// When the window scrolls, check to see if we need to fix or unfix
// the target element.
$(window).bind('scroll.ScrollToFixed', windowScroll);
// For touch devices, call checkScroll directlly rather than
// rAF wrapped windowScroll to animate the element
if ('ontouchmove' in window) {
$(window).bind('touchmove.ScrollToFixed', checkScroll);
}
if (base.options.preFixed) {
target.bind('preFixed.ScrollToFixed', base.options.preFixed);
}
if (base.options.postFixed) {
target.bind('postFixed.ScrollToFixed', base.options.postFixed);
}
if (base.options.preUnfixed) {
target.bind('preUnfixed.ScrollToFixed', base.options.preUnfixed);
}
if (base.options.postUnfixed) {
target.bind('postUnfixed.ScrollToFixed', base.options.postUnfixed);
}
if (base.options.preAbsolute) {
target.bind('preAbsolute.ScrollToFixed', base.options.preAbsolute);
}
if (base.options.postAbsolute) {
target.bind('postAbsolute.ScrollToFixed', base.options.postAbsolute);
}
if (base.options.fixed) {
target.bind('fixed.ScrollToFixed', base.options.fixed);
}
if (base.options.unfixed) {
target.bind('unfixed.ScrollToFixed', base.options.unfixed);
}
if (base.options.spacerClass) {
spacer.addClass(base.options.spacerClass);
}
target.bind('resize.ScrollToFixed', function() {
spacer.height(target.height());
});
target.bind('scroll.ScrollToFixed', function() {
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
checkScroll();
});
target.bind('detach.ScrollToFixed', function(ev) {
preventDefault(ev);
target.trigger('preUnfixed.ScrollToFixed');
setUnfixed();
target.trigger('unfixed.ScrollToFixed');
$(window).unbind('resize.ScrollToFixed', windowResize);
$(window).unbind('scroll.ScrollToFixed', windowScroll);
target.unbind('.ScrollToFixed');
//remove spacer from dom
spacer.remove();
base.$el.removeData('ScrollToFixed');
});
// Reset everything.
windowResize();
};
// Initialize the plugin.
base.init();
};
// Sets the option defaults.
$.ScrollToFixed.defaultOptions = {
minTop: 0,
marginTop : 0,
limit : 0,
bottom : -1,
zIndex : 1000,
baseClassName: 'scroll-to-fixed-fixed'
};
// Returns enhanced elements that will fix to the top of the page when the
// page is scrolled.
$.fn.scrollToFixed = function(options) {
return this.each(function() {
(new $.ScrollToFixed(this, options));
});
};
})(jQuery);
File diff suppressed because one or more lines are too long
+101
View File
@@ -0,0 +1,101 @@
define([
"jquery",
"Magento_Ui/js/modal/prompt",
"Magento_Ui/js/modal/confirm",
"Magento_Ui/js/modal/alert",
"Magento_Ui/js/modal/modal",
"jquery/jstree/jquery.jstree",
"mage/mage",
"mage/adminhtml/browser"
], function($, prompt, confirm, alert){
window.MgzMediabrowserUtility = {
windowId: 'modal_dialog_message',
getMaxZIndex: function() {
var max = 0, i;
var cn = document.body.childNodes;
for (i = 0; i < cn.length; i++) {
var el = cn[i];
var zIndex = el.nodeType == 1 ? parseInt(el.style.zIndex, 10) || 0 : 0;
if (zIndex < 10000) {
max = Math.max(max, zIndex);
}
}
return max + 10;
},
openDialog: function(url, width, height, title, options) {
var windowId = this.windowId,
content = '<div class="popup-window magento-message" "id="' + windowId + '"></div>',
self = this;
if (this.modal) {
this.modal.html($(content).html());
if (options) {
this.modal.modal('option', 'closed', options.closed);
}
} else {
this.modal = $(content).modal($.extend({
title: title || 'Insert File...',
modalClass: 'magento',
type: 'slide',
buttons: []
}, options));
}
this.modal.modal('openModal');
$.ajax({
url: url,
type: 'get',
context: $(this),
showLoader: true
}).done(function(data) {
self.modal.html(data).trigger('contentUpdated');
});
},
closeDialog: function() {
this.modal.modal('closeModal');
}
};
$.widget("mage.mgzmediabrowser", $.mage.mediabrowser, {
eventPrefix: "mgzmediabrowser",
insert: function(event) {
var fileRow = $(event.currentTarget);
if (!fileRow.prop('id')) {
return false;
}
var targetEl = this.getTargetElement();
if (!targetEl.length) {
MgzMediabrowserUtility.closeDialog();
throw "Target element not found for content update";
}
return $.ajax({
url: this.options.onInsertUrl,
data: {
filename: fileRow.attr('id'),
node: this.activeNode.id,
store: this.options.storeId,
as_is: targetEl.is('textarea') ? 1 : 0,
form_key: FORM_KEY
},
context: this,
showLoader: true
}).done($.proxy(function(data) {
if (targetEl.is('textarea')) {
this.insertAtCursor(targetEl.get(0), data);
} else {
targetEl.val(data);
}
MgzMediabrowserUtility.closeDialog();
targetEl.focus();
jQuery(targetEl).change();
}, this));
},
});
return $.mage.mgzmediabrowser;
});
@@ -0,0 +1,112 @@
.mgz__page-actions {
&.page-main-actions {
margin: 0 0 3rem;
background: #f8f8f8;
border-bottom: 1px solid #e3e3e3;
border-top: 1px solid #e3e3e3;
padding: 1.5rem;
.page-actions {
.page-actions-buttons {
float: right;
justify-content: flex-end;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
button {
background-color: transparent;
text-shadow: none;
color: #41362f;
font-size: 1.6rem;
letter-spacing: .025em;
padding-bottom: .8875em;
padding-top: .8875em;
border-color: transparent;
box-shadow: none;
margin-left: 1.3rem;
font-weight: 600;
&.primary {
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
background-color: #eb5202;
border-color: #eb5202;
color: #fff;
text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
&:hover {
background-color: #ba4000;
border-color: #b84002;
box-shadow: 0 0 0 1px #007bdb;
color: #fff;
text-decoration: none;
}
}
&.action-secondary {
background-color: #514943;
border-color: #514943;
color: #fff;
&:hover {
background-color: #35302c;
border-color: #35302c;
box-shadow: 0 0 0 1px #007bdb;
}
}
}
&>button.back {
float: left;
-ms-flex-order: -1;
-webkit-order: -1;
order: -1;
margin-left: 1.3rem;
}
@media (max-width: @screen__xs) {
display: block;
button {
&.back {
margin: 0;
}
}
}
}
&:before, &:after {
content: '';
display: table;
clear: both;
}
#back {
&:before {
content: '\e626';
margin-right: .5em;
position: relative;
top: 1px;
font-family: 'Magento-Icons'
}
}
}
}
}
@media (max-width: @screen__xs) {
.mgz__page-actions.page-main-actions {
.page-actions {
.page-actions-buttons {
text-align: center;
button {
margin-left: 0;
}
}
}
}
}
@@ -0,0 +1,308 @@
.spinner(@_animation_delay, @_animation_transform) {
-webkit-animation-delay: @_animation_delay;
-moz-animation-delay: @_animation_delay;
-ms-animation-delay: @_animation_delay;
animation-delay: @_animation_delay;
-webkit-transform: rotate(@_animation_transform);
-moz-transform: rotate(@_animation_transform);
-ms-transform: rotate(@_animation_transform);
transform: rotate(@_animation_transform);
}
.spinner {
display: inline-block;
font-size: 4rem;
height: 1em;
margin-right: 1.5rem;
position: relative;
width: 1em;
> span {
-webkit-transform: scale(.4);
-moz-transform: scale(.4);
-ms-transform: scale(.4);
transform: scale(.4);
-webkit-animation-name: fade;
-moz-animation-name: fade;
-ms-animation-name: fade;
animation-name: fade;
-webkit-animation-duration: .72s;
-moz-animation-duration: .72s;
-ms-animation-duration: .72s;
animation-duration: .72s;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-ms-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: linear;
-moz-animation-direction: linear;
-ms-animation-direction: linear;
animation-direction: linear;
background-color: #fff;
border-radius: 6px;
clip: rect(0 .28571429em .1em 0);
height: .1em;
margin-top: .5em;
position: absolute;
width: 1em;
&:nth-child(1) {
.spinner(.27s, -315deg);
}
&:nth-child(2) {
.spinner(.36s, -270deg);
}
&:nth-child(3) {
.spinner(.45s, -225deg);
}
&:nth-child(4) {
.spinner(.54s, -180deg);
}
&:nth-child(5) {
.spinner(.63s, -135deg);
}
&:nth-child(6) {
.spinner(.72s, -90deg);
}
&:nth-child(7) {
.spinner(.8100000000000001s, -45deg);
}
&:nth-child(8) {
.spinner(.9, 0deg);
}
}
}
@-moz-keyframes fade {
0% {
background-color: #514943
}
100% {
background-color: #fff
}
}
@-webkit-keyframes fade {
0% {
background-color: #514943
}
100% {
background-color: #fff
}
}
@-ms-keyframes fade {
0% {
background-color: #514943
}
100% {
background-color: #fff
}
}
@keyframes fade {
0% {
background-color: #514943
}
100% {
background-color: #fff
}
}
form.loading .mgz__spinner {
display: block;
}
.mgz__spinner {
display: none;
position: relative;
width: 186px;
height: 20px;
margin: auto;
position: absolute;
left: 45%;
top: 15px;
}
.mgz__spinner .spinner-item {
position: absolute;
top: 0;
background-color: #d8d8d8;
width: 20px;
height: 20px;
animation-name: bounce_fountainG;
-o-animation-name: bounce_fountainG;
-ms-animation-name: bounce_fountainG;
-webkit-animation-name: bounce_fountainG;
-moz-animation-name: bounce_fountainG;
animation-duration: 0.645s;
-o-animation-duration: 0.645s;
-ms-animation-duration: 0.645s;
-webkit-animation-duration: 0.645s;
-moz-animation-duration: 0.645s;
animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;
-ms-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
animation-direction: normal;
-o-animation-direction: normal;
-ms-animation-direction: normal;
-webkit-animation-direction: normal;
-moz-animation-direction: normal;
transform: scale(.3);
-o-transform: scale(.3);
-ms-transform: scale(.3);
-webkit-transform: scale(.3);
-moz-transform: scale(.3);
border-radius: 15px;
-o-border-radius: 15px;
-ms-border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px
}
.mgz__spinner .spinner-item.spinner-item-1 {
left: 0;
animation-delay: 0.256s;
-o-animation-delay: 0.256s;
-ms-animation-delay: 0.256s;
-webkit-animation-delay: 0.256s;
-moz-animation-delay: 0.256s
}
.mgz__spinner .spinner-item.spinner-item-2 {
left: 20px;
animation-delay: 0.3225s;
-o-animation-delay: 0.3225s;
-ms-animation-delay: 0.3225s;
-webkit-animation-delay: 0.3225s;
-moz-animation-delay: 0.3225s
}
.mgz__spinner .spinner-item.spinner-item-3 {
left: 40px;
animation-delay: 0.389s;
-o-animation-delay: 0.389s;
-ms-animation-delay: 0.389s;
-webkit-animation-delay: 0.389s;
-moz-animation-delay: 0.389s
}
.mgz__spinner .spinner-item.spinner-item-4 {
left: 60px;
animation-delay: 0.4555s;
-o-animation-delay: 0.4555s;
-ms-animation-delay: 0.4555s;
-webkit-animation-delay: 0.4555s;
-moz-animation-delay: 0.4555s
}
.mgz__spinner .spinner-item.spinner-item-5 {
left: 80px;
animation-delay: 0.522s;
-o-animation-delay: 0.522s;
-ms-animation-delay: 0.522s;
-webkit-animation-delay: 0.522s;
-moz-animation-delay: 0.522s
}
.mgz__spinner .spinner-item.spinner-item-6 {
left: 100px;
animation-delay: 0.5885s;
-o-animation-delay: 0.5885s;
-ms-animation-delay: 0.5885s;
-webkit-animation-delay: 0.5885s;
-moz-animation-delay: 0.5885s
}
.mgz__spinner .spinner-item.spinner-item-7 {
left: 120px;
animation-delay: 0.645s;
-o-animation-delay: 0.645s;
-ms-animation-delay: 0.645s;
-webkit-animation-delay: 0.645s;
-moz-animation-delay: 0.645s
}
.mgz__spinner .spinner-item.spinner-item-8 {
left: 140px;
animation-delay: 0.7115s;
-o-animation-delay: 0.7115s;
-ms-animation-delay: 0.7115s;
-webkit-animation-delay: 0.7115s;
-moz-animation-delay: 0.7115s
}
@keyframes bounce_fountainG {
0% {
transform: scale(1);
background-color: #d8d8d8
}
100% {
transform: scale(.3);
background-color: #d8d8d8
}
}
@-o-keyframes bounce_fountainG {
0% {
-o-transform: scale(1);
background-color: #d8d8d8
}
100% {
-o-transform: scale(.3);
background-color: #d8d8d8
}
}
@-ms-keyframes bounce_fountainG {
0% {
-ms-transform: scale(1);
background-color: #d8d8d8
}
100% {
-ms-transform: scale(.3);
background-color: #d8d8d8
}
}
@-webkit-keyframes bounce_fountainG {
0% {
-webkit-transform: scale(1);
background-color: #d8d8d8
}
100% {
-webkit-transform: scale(.3);
background-color: #d8d8d8
}
}
@-moz-keyframes bounce_fountainG {
0% {
-moz-transform: scale(1);
background-color: #d8d8d8
}
100% {
-moz-transform: scale(.3);
background-color: #d8d8d8
}
}
+21
View File
@@ -0,0 +1,21 @@
@screen__xs: 480px;
@screen__s: 640px;
@screen__m: 768px;
@screen__l: 1024px;
@screen__xl: 1440px;
@font-face {
font-family: 'Magento-Icons';
src: url('../fonts/Magento-Icons/Magento-Icons.eot');
src: url('../fonts/Magento-Icons/Magento-Icons.eot?#iefix') format('embedded-opentype'), url('../fonts/Magento-Icons/Magento-Icons.woff2') format('woff2'), url('../fonts/Magento-Icons/Magento-Icons.woff') format('woff'), url('../fonts/Magento-Icons/Magento-Icons.ttf') format('truetype'), url('../fonts/Magento-Icons/Magento-Icons.svg#Magento-Icons') format('svg');
font-weight: normal;
font-style: normal;
}
@import "source/_spinner.less";
@import "source/_actions-bar.less";
.sidebar {
max-width: 100%;
}