ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="ox_newsletter_popup" remove="true"/>
</body>
</page>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="root">
<block class="Olegnax\NewsletterPopupBasic\Block\Popup"
name="ox_newsletter_popup"
template="Olegnax_NewsletterPopupBasic::popup/modal.phtml"
ifconfig="olegnax_newsletterpopupbasic/general/enable"
after="-">
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,196 @@
<?php
/**
* @author Olegnax
* @package Olegnax_NewsletterPopupBasic
* @copyright Copyright (c) 2023 Olegnax (http://olegnax.com/). All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
use Magento\Framework\Escaper;
use Magento\Framework\View\Element\Template;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\Layout;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\PositionH;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\PositionV;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\InputStyle;
/** @var array $appearance */
$appearance = $block->getData('appearance');
/** @var array $general */
$general = $block->getData('general');
/** @var Template $block */
/** @var Escaper $escaper */
?>
<?php if ($general['width']): ?>
.modal-popup.ox-newsletter-modal { width: <?= $escaper->escapeHtmlAttr($general['width']) ?>px}
<?php endif; ?>
<?php if ($general['height']): ?>
@media only screen and (min-width: 640px){
.modal-popup.ox-newsletter-modal .modal-inner-wrap{ height: <?= $escaper->escapeHtmlAttr($general['height']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_height']): ?>
@media only screen and (max-width: 639px){
.modal-popup.ox-newsletter-modal .col.-content{ height: 100%;
display: flex;
flex-direction: column;
}
.modal-popup.ox-newsletter-modal .ox-newsletter-modal__container,
.modal-popup.ox-newsletter-modal .modal-inner-wrap{height:100%}
.modal-popup.ox-newsletter-modal { height: <?= $escaper->escapeHtmlAttr($general['mobile_height']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_width']): ?>
@media only screen and (max-width: 639px){
.modal-popup.ox-newsletter-modal { width: <?= $escaper->escapeHtmlAttr($general['mobile_width']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_image_height']): ?>
@media only screen and (max-width: 639px){
.ox-newsletter-modal .-image { padding-bottom: <?= $escaper->escapeHtmlAttr($general['mobile_image_height']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_image_height'] === '0'): ?>
@media only screen and (max-width: 639px){
.ox-newsletter-modal .-image { display:none!important;}
}
<?php endif; ?>
<?php if ($general['position_h'] == PositionH::RIGHT): ?>
.modal-popup.ox-newsletter-modal { left:auto; right:20px;}
<?php endif; ?>
<?php if ($general['position_v'] == PositionV::BOTTOM): ?>
.modal-popup.ox-newsletter-modal { bottom:20px; top:auto; }
<?php endif; ?>
<?php $columnWidth = $escaper->escapeHtmlAttr($general['column_width']);
if ($general['layout'] != Layout::FULLWIDTH && $columnWidth): ?>
@media only screen and (min-width: 640px){
.ox-newsletter-modal .-columns .col.-image{
-ms-flex: 0 0 <?= $columnWidth ?>%;
flex: 0 0 <?= $columnWidth ?>%;
max-width: <?= $columnWidth ?>%;
}
.ox-newsletter-modal .-columns .col.-content{
-ms-flex: 0 0 <?= (100 - $columnWidth) ?>%;
flex: 0 0 <?= (100 - $columnWidth) ?>%;
max-width: <?= (100 - $columnWidth) ?>%;
}
}
<?php endif; ?>
<?php if ($general['padding'] != ''): ?>
.modal-popup.ox-newsletter-modal .modal-inner-wrap{ padding: <?= $escaper->escapeHtmlAttr($general['padding']) ?>px}
<?php endif; ?>
<?php if ($general['tablet_padding'] != ''): ?>
@media only screen and (min-width: 640px) and (max-width: 1024px){
.modal-popup.ox-newsletter-modal .modal-inner-wrap{ padding: <?= $escaper->escapeHtmlAttr($general['tablet_padding']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_padding'] != ''): ?>
@media only screen and (max-width: 639px){
.modal-popup.ox-newsletter-modal .modal-inner-wrap{ padding: <?= $escaper->escapeHtmlAttr($general['mobile_padding']) ?>px}
}
<?php endif; ?>
<?php if ($general['content_padding'] != ''): ?>
.ox-newsletter-modal .inner{ padding: <?= $escaper->escapeHtmlAttr($general['content_padding']) ?>px}
<?php endif; ?>
<?php if ($general['tablet_content_padding'] != ''): ?>
@media only screen and (min-width: 640px) and (max-width: 1024px){
.ox-newsletter-modal .inner{ padding: <?= $escaper->escapeHtmlAttr($general['tablet_content_padding']) ?>px}
}
<?php endif; ?>
<?php if ($general['mobile_content_padding'] != ''): ?>
@media only screen and (max-width: 639px){
.ox-newsletter-modal .inner{ padding: <?= $escaper->escapeHtmlAttr($general['mobile_content_padding']) ?>px}
}
<?php endif; ?>
<?php if ($appearance['background_color']): ?>
.modal-popup.ox-newsletter-modal .modal-inner-wrap{ background-color: <?= $appearance['background_color'] ?>}
<?php endif; ?>
<?php if ($appearance['bg_image_enabled'] && $appearance['background_image']): ?>
.modal-popup.ox-newsletter-modal .modal-inner-wrap{
<?= $block->getBackgroundImage() ?>
<?php if ($appearance['bg_position_y'] && $appearance['bg_position_x']): ?>
background-position: <?= $escaper->escapeHtmlAttr($appearance['bg_position_x']) ?> <?= $escaper->escapeHtmlAttr($appearance['bg_position_y']) ?>;
<?php endif; ?>
<?php if ($appearance['bg_repeat']): ?>
background-repeat: <?= $escaper->escapeHtmlAttr($appearance['bg_repeat']) ?>;
<?php endif; ?>
<?php if ($appearance['bg_size']): ?>
background-size: <?= $escaper->escapeHtmlAttr($appearance['bg_size']) ?>;
<?php endif; ?>
}
<?php endif; ?>
<?php if ($appearance['newsletter_text_color']): ?>
.modal-popup.ox-newsletter-modal .ox-newsletter-modal__container a,
.modal-popup.ox-newsletter-modal .ox-newsletter-modal__container{ color: <?= $appearance['newsletter_text_color'] ?>}
.ox-newsletter-modal__container a.ox-grey-underline{ border-color: <?= $appearance['newsletter_text_color'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_titles_color']): ?>
.ox-newsletter-modal__container h1,
.ox-newsletter-modal__container h2,
.ox-newsletter-modal__container h3,
.ox-newsletter-modal__container h4,
.ox-newsletter-modal__container h5,
.ox-newsletter-modal__container h6{ color: <?= $appearance['newsletter_titles_color'] ?>}
<?php endif; ?>
<?php if ($appearance['close_button_bg']): ?>
.modal-popup.ox-newsletter-modal .action-close{ background-color: <?= $appearance['close_button_bg'] ?> }
<?php endif; ?>
<?php if ($appearance['close_button_icon_color']): ?>
.modal-popup.ox-newsletter-modal .action-close:before { color: <?= $appearance['close_button_icon_color'] ?> }
<?php endif; ?>
<?php if ($appearance['close_button_bg_hover']): ?>
.modal-popup.ox-newsletter-modal .action-close:focus,
.modal-popup.ox-newsletter-modal .action-close:active,
.modal-popup.ox-newsletter-modal .action-close:hover{ background-color: <?= $appearance['close_button_bg_hover'] ?> }
<?php endif; ?>
<?php if ($appearance['close_button_icon_color_hover']): ?>
.modal-popup.ox-newsletter-modal .action-close:focus:before,
.modal-popup.ox-newsletter-modal .action-close:active:before,
.modal-popup.ox-newsletter-modal .action-close:hover:before{ color: <?= $appearance['close_button_icon_color_hover'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_button_color']): ?>
.ox-newsletter-modal .block.newsletter .action.primary { color: <?= $appearance['newsletter_button_color'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_button_hover']): ?>
.ox-newsletter-modal .block.newsletter .action.primary:focus,
.ox-newsletter-modal .block.newsletter .action.primary:active,
.ox-newsletter-modal .block.newsletter .action.primary:hover { color: <?= $appearance['newsletter_button_hover'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_button_bg']): ?>
.ox-newsletter-modal .block.newsletter .action.primary { background-color: <?= $appearance['newsletter_button_bg'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_button_hover_bg']): ?>
.ox-newsletter-modal .block.newsletter .action.primary:after { background-color: <?= $appearance['newsletter_button_hover_bg'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_input_bg']): ?>
.ox-newsletter-modal .block.newsletter input { background-color: <?= $appearance['newsletter_input_bg'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_input_border_color'] && $appearance['newsletter_input_style'] == InputStyle::NORMAL): ?>
.ox-newsletter-modal .block.newsletter input { border:1px solid; }
<?php endif; ?>
<?php if ($appearance['newsletter_input_border_color']): ?>
.ox-newsletter-modal .inputs-style--underlined .block.newsletter input,
.ox-newsletter-modal .block.newsletter input { border-color: <?= $appearance['newsletter_input_border_color'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_input_border_focus']): ?>
.ox-newsletter-modal .inputs-style--underlined .block.newsletter input:focus,
.ox-newsletter-modal .block.newsletter input:focus { border-color: <?= $appearance['newsletter_input_border_focus'] ?> }
<?php endif; ?>
<?php if ($appearance['newsletter_input_color']): ?>
.ox-newsletter-modal .block.newsletter input,
.ox-newsletter-modal .block.newsletter .newsletter .control:before { color: <?= $appearance['newsletter_input_color'] ?> }
.ox-newsletter-modal .block.newsletter input::-webkit-input-placeholder { color: <?= $appearance['newsletter_input_color'] ?> }
.ox-newsletter-modal .block.newsletter input::placeholder { color: <?= $appearance['newsletter_input_color'] ?> }
.ox-newsletter-modal .block.newsletter input:-ms-input-placeholder { color: <?= $appearance['newsletter_input_color'] ?> }
.ox-newsletter-modal .block.newsletter input::-ms-input-placeholder { color: <?= $appearance['newsletter_input_color'] ?> }
<?php endif; ?>
@@ -0,0 +1,245 @@
<?php
/**
* @author Olegnax
* @package Olegnax_HotSpotQuickview
* @copyright Copyright (c) 2023 Olegnax (http://olegnax.com/). All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
use Magento\Framework\Escaper;
use Magento\Framework\View\Element\Template;
use Olegnax\NewsletterPopupBasic\Helper\Helper;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\ManyTimes;
/** @var Template $block */
/** @var Escaper $escaper */
/** @var Helper $helper */
$helper = $this->helper(Helper::class);
$isLegacy = $helper->isLegacyCookies();
?>
<!--suppress JSValidateTypes, JSPotentiallyInvalidUsageOfThis -->
<script>
require([
'jquery',
'Magento_Ui/js/modal/modal',
'<?php echo $isLegacy ? 'jquery/jquery.cookie' : 'js-cookie/cookie-wrapper'?>'
], function ($, modal) {
'use strict'
function OxNewsletterPopup (element, options) {
// Options
this.options = {
many_times: 'once',
timeout: 1000,
timeoutDestroy: 50,
breakpoint: 1024,
showMobile: true,
vAlign: true,
hAlign: true,
enabled: true,
cookieExpire: 24,
cookieName: 'ox_load_newsletter_activity',
cookieNameAlways: 'ox_load_newsletter_activity_always',
disableSelector: '.ox-newsletter-disable__link',
dialogOptions: {
type: 'popup',
modalClass: 'ox-newsletter-modal',
modalVisibleClass: '_show',
responsive: false,
responsiveClass: '',
innerScroll: false,
parentModalClass: '',
overlayClass: 'ox-newsletter-modal__overlay',
clickableOverlay: false,
title: '',
buttons: []
},
storage: 'localStorage'
}
if (options.hasOwnProperty('dialogOptions')) {
options.dialogOptions = $.extend({}, this.options.dialogOptions, options.dialogOptions)
}
this.options = $.extend({}, this.options, options)
this.needReopen = false
this.eventNamespace = '.OxNewsletterPopup'
this.popup = null
this.timer = null
this.cookieE = parseInt(this.options.cookieExpire)
this.element = element
this.storage = false
var eventResize = 'resize',
eventClick = 'click',
eventDisable = 'disableForever'
// Valid options
if (10 > this.options.timeout) {
this.options.timeout = 10
}
try {
const storage = this.options.storage
this.html5_storage = (storage in window && window[storage] !== null)
window[storage].setItem('ox', 'test')
window[storage].removeItem('ox')
this.storage = window[storage]
} catch (err) {
this.storage = this.html5_storage = false
}
// Methods
this.getVariable = (always) => {
const varName = this.options[always ? 'cookieNameAlways' : 'cookieName']
if (this.storage) {
return (new Date()).getTime() < parseInt(this.storage.getItem(varName))
}
return '1' === $.cookie(varName)
}
this.setVariable = (always) => {
const varName = this.options[always ? 'cookieNameAlways' : 'cookieName']
if (this.storage) {
this.storage.setItem(varName, (new Date()).getTime() + this.cookieE * 86400)
}
$.cookie(varName, '1', { expires: this.cookieE })
}
this._isEnabled = function () {
if (this.options.enabled) {
switch (this.options.many_times) {
case '<?=ManyTimes::ONCE ?>':
this.options.enabled = !this.getVariable()
break
case '<?=ManyTimes::RANDOM ?>':
this.options.enabled = Math.round(Math.random() * 100) % 4 === 1
break
case '<?=ManyTimes::EVERYTIME ?>':
default:
this.options.enabled = true
break
}
if (this.options.enabled) {
this.options.enabled = !this.getVariable(true)
}
}
return this.options.enabled
}
this.show = function () {
var isOtherOpen = false
$('.modals-wrapper aside[role="dialog"]').each(function () {
let modal = $(this).find('[data-role="content"]').children().eq(0).data('mageModal')
if (modal) {
isOtherOpen = isOtherOpen || modal.options.isOpen
}
})
if (isOtherOpen) {
return
}
var that = this,
options = $.extend({}, this.options.dialogOptions, {
autoOpen: false,
modalCloseBtnHandler: function () {
this.modal.one(this.options.transitionEvent, function () {
that.destroy()
})
this.closeModal()
if (!this.options.transitionEvent) {
that.destroy()
}
}
})
this.popup = modal(options, this.element)
this.popup.__proto__._getVisibleCount = function () {
var modals = this.modalWrapper.find(this.options.modalBlock)
return modals.filter('.' + this.options.modalVisibleClass + ':not(.no-overlay)').length
}
this.popup.openModal()
this._alignCenter()
this.setVariable()
}
this._resize = function () {
this._alignCenter()
if (this.popup && !this.options.showMobile) {
if (this.popup.options.isOpen && this.options.breakpoint >= window.innerWidth) {
this.element.trigger('closeModal')
this.needReopen = true
} else if (this.needReopen) {
this.element.trigger('openModal')
this.needReopen = false
}
}
}
this._alignCenter = function () {
if (!this.popup)
return
if (this.options.hAlign) {
var modal_width = this.popup.modal.width()
if (modal_width && modal_width < window.innerWidth) {
this.popup.modal.css({
left: 'calc( 50% - ' + modal_width / 2 + 'px)'
})
} else {
this.popup.modal.css({
left: ''
})
}
}
if (this.options.vAlign) {
var modal_height = this.popup.modal.height()
if (modal_height && modal_height < window.innerHeight) {
this.popup.modal.css({
top: 'calc( 50% - ' + modal_height / 2 + 'px)'
})
} else {
this.popup.modal.css({
top: ''
})
}
}
}
this.destroy = function () {
setTimeout($.proxy(function () {
$(window).off(eventResize + this.eventNamespace)
if (this.popup) {
if (this.popup.options.isOpen) {
this.popup._removeKeyListener()
this.popup._close()
}
this.popup.destroy()
this.popup.modal.remove()
}
if (this.element.length) {
this.element.remove()
}
}, this), this.options.timeoutDestroy)
}
// Run
if (!this._isEnabled()) {
return this.destroy()
}
if (this.options.showMobile || this.options.breakpoint < window.innerWidth) {
if (this.timer)
clearTimeout(this.timer)
this.timer = setTimeout($.proxy(this.show, this), this.options.timeout)
}
$(window).off(eventResize + this.eventNamespace)
.on(eventResize + this.eventNamespace, $.proxy(this._resize, this))
$(this.element).off(eventDisable + this.eventNamespace)
.on(eventDisable + this.eventNamespace, $.proxy(function () {
this.setVariable(true)
this.element.trigger('closeModal')
}, this))
$(this.element).off(eventClick + this.eventNamespace, this.options.disableSelector)
.on(eventClick + this.eventNamespace, this.options.disableSelector, $.proxy(function (event) {
event.preventDefault()
this.element.trigger(eventDisable + this.eventNamespace)
}, this))
}
$('body').on('mousemove.oxNewsletter touchstart.oxNewsletter', function (e) {
$('body').off('mousemove.oxNewsletter touchstart.oxNewsletter')
new OxNewsletterPopup($('<?= $block->getSelector(); ?>'), <?= $block->getConfig(); ?>)
})
})
</script>
@@ -0,0 +1,42 @@
<?php
/**
* @author Olegnax
* @package Olegnax_NewsletterPopupBasic
* @copyright Copyright (c) 2023 Olegnax (http://olegnax.com/). All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
use Magento\Framework\Escaper;
use Olegnax\NewsletterPopupBasic\Block\Popup;
use Olegnax\NewsletterPopupBasic\Model\Config\Source\Layout;
$general = $block->getModuleConfig('general');
$layout = $general['layout'];
$classes = [];
$classes[] = $layout;
if ($layout != Layout::FULLWIDTH) {
$classes[] = '-columns';
}
$classes[] = 'inputs-style--' . $block->getModuleConfig('appearance/newsletter_input_style');
$classes[] = '-content-' . $general['content_position_h'];
$classes[] = '-content-' . $general['content_position_v'];
$classes[] = '-form-' . $general['form_layout'];
/** @var Popup $block */
/** @var Escaper $escaper */
?>
<div class="ox-newsletter-modal__container <?= implode(' ', $classes); ?>" style="display: none">
<?php if ($layout == Layout::COLUMNS_LEFT || $layout == Layout::COLUMNS_RIGHT): ?>
<div class="col -image"
style="<?= $escaper->escapeHtmlAttr($block->getBackgroundImage('content/column_image')) ?>"></div>
<?php endif; ?>
<div class="col -content">
<div class="inner">
<?= $block->getContent(); ?>
</div>
</div>
</div>
<div class="ox-newsletter-modal__overlay"></div>
<?= $block->createJs(); ?>
<?= $block->getStyle(); ?>
@@ -0,0 +1,230 @@
// /**
// * Copyright � Olegnax (http://olegnax.com/). All rights reserved.
// */
//
// Variables
// _____________________________________________
//
// Common
// _____________________________________________
& when (@media-common = true) {
.modal-popup.ox-newsletter-modal {
&.no-overlay{
z-index: 99999!important;
}
overflow: auto;
left: 20px;
right: auto;
bottom: auto;
top: 20px;
width: 960px;
max-width: ~"calc(100% - 40px)";
margin: auto;
max-height: ~"calc(100% - 40px)";
-webkit-transform: translateY(50px);
transform: translateY(50px);
opacity: 0;
-webkit-transition:none;
transition: none;
/*box-shadow: 0px 5px 30px -5px rgba(0, 0, 0, 0.11);*/
box-shadow: 0px 5px 70px rgba(0, 0, 0, 0.10);
will-change:transform;
.modal-inner-wrap {
overflow: hidden;
max-width: 100%;
width: 100%;
max-height: 100%;
margin: 0;
/*height:550px;*/
display: block;
position: static;
-webkit-transform: translateY(0);
transform: translateY(0);
background-attachment: local;
max-height: ~"calc(100vh - 40px)";
overflow-y: auto;
}
&._show {
-webkit-transition: opacity .4s ease, transform .7s ease;
transition: opacity .4s ease, transform .7s ease;
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
.modal-header {
padding: 0;
height: 0;
}
.modal-content {
padding: 0;
height: 100%;
}
.action-close {
z-index: 10;
}
.ox-newsletter-modal__overlay{
z-index: 99998;
}
}
.ox-newsletter-modal {
.-form-button-below {
.block.newsletter {
.form.subscribe {
flex-direction: column;
}
.action.primary {
width: 100%;
margin-top: 10px;
}
}
}
.col {
position: relative;
width: 100%;
-ms-flex-preferred-size: 0;
flex-basis: 0;
-ms-flex-positive: 1;
flex-grow: 1;
max-width: 100%;
&.-content {
padding:0;
}
}
.block.newsletter {
background: none;
padding: 0;
}
.-image {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: scroll;
height: 100%;
}
.inner {
width: 100%;
padding: 60px;
}
.-content-v-center .inner {
margin: auto;
}
.-content-v-bottom .inner {
margin-top: auto;
}
.-content-h-left .-content {
text-align: left;
}
.-content-h-center .-content {
text-align: center;
}
.-content-h-right .-content {
text-align: right;
}
}
.ox-unlock-newsletter{
position:relative;
.-form-wrapper{
padding:12px;
background:#fbe62d;
width: 100%;
.block.newsletter{
margin: 0;
}
}
}
}
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
.ox-newsletter-modal {
.-image {
padding-bottom: 70%;
}
.block.newsletter {
.form.subscribe {
flex-direction: column;
}
.action.primary {
width: 100%;
margin-top: 10px;
}
}
}
.ox-unlock-newsletter{
.-form-wrapper{
margin: 10px 0;
}
}
}
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
.ox-unlock-newsletter{
.-form-wrapper{
z-index: 2;
position: absolute;
top: 50%;
transform: translateY(-50%);
transition:all 0.2s ease;
}
&:hover{
.-form-wrapper{
width:70%;
}
}
}
.ox-newsletter-modal__container {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
height: 100%;
}
.ox-newsletter-modal {
&.modal-popup {
overflow: hidden;
}
.-columns {
.col {
padding: 0;
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
}
.-content{
max-height: ~"calc(100vh - 40px)";
overflow-y: auto;
}
}
.-columns-right {
.-image {
order: 2;
}
}
.-content {
height: 100%;
display: flex;
flex-direction: column;
}
}
}