first commit
This commit is contained in:
382
modules/roy_content/css/admin.css
Normal file
382
modules/roy_content/css/admin.css
Normal file
@@ -0,0 +1,382 @@
|
||||
#content.bootstrap .panel.roy_content {
|
||||
background: #ffffff;
|
||||
border:none;
|
||||
padding:40px;
|
||||
}
|
||||
.roy_content label.control-label {
|
||||
font-weight: 600;
|
||||
color:#1c1c1c;
|
||||
}
|
||||
.rc_title {
|
||||
border-bottom:2px solid #fafafa;
|
||||
color:#98a4be;
|
||||
font-size:18px;
|
||||
padding-bottom:14px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.rc_help {
|
||||
background: #fafafa;
|
||||
border-radius: 0px;
|
||||
padding:30px 30px 20px 80px;
|
||||
color:#000;
|
||||
position: relative;
|
||||
margin-bottom:24px;
|
||||
font-size:14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.rc_help:before {
|
||||
content: '!';
|
||||
font-weight: bold;
|
||||
font-size:20px;
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
top:20px;
|
||||
left:20px;
|
||||
color:#702cd6;
|
||||
background: #ffffff;
|
||||
border:2px solid #702cd6;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.lang-items {
|
||||
position:relative;
|
||||
border:none;
|
||||
padding:0 0 22px;
|
||||
}
|
||||
.lang-flag a {
|
||||
background: #fafafa!important;
|
||||
color:#999999!important;
|
||||
border-radius: 6px!important;
|
||||
border:none!important;
|
||||
}
|
||||
.lang-flag.active a {
|
||||
background: #ffffff!important;
|
||||
color:#444444!important;
|
||||
box-shadow: 0 4px 22px 0px rgba(0, 0, 0, 0.11);
|
||||
}
|
||||
|
||||
.new-item .button {
|
||||
display:block;
|
||||
float:left;
|
||||
font-size:18px;
|
||||
line-height:32px;
|
||||
margin-bottom:20px;
|
||||
cursor:pointer;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.new-item .button i {
|
||||
margin-right:10px;
|
||||
color:#3aca8d;
|
||||
font-size:28px;
|
||||
}
|
||||
|
||||
.new-item .item-container .button {
|
||||
float:right;
|
||||
margin-left:10px;
|
||||
cursor:pointer;
|
||||
font-size:14px;
|
||||
line-height:18px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.new-item .item-container .button i {
|
||||
margin-right:5px;
|
||||
font-size:14px;
|
||||
color:#3aca8d;
|
||||
}
|
||||
.lang-tabs {
|
||||
position:relative;
|
||||
z-index:99;
|
||||
}
|
||||
.lang-tabs li {
|
||||
border:1px solid #f3f3f3;
|
||||
border-bottom:none;
|
||||
background:#FAFAFA;
|
||||
float:left;
|
||||
padding:15px;
|
||||
font-size:14px;
|
||||
line-height:24px;
|
||||
margin-right:5px;
|
||||
cursor:pointer;
|
||||
margin-bottom:0;
|
||||
}
|
||||
.lang-tabs li img {
|
||||
vertical-align:baseline;
|
||||
margin-right:5px;
|
||||
margin-bottom:-2px;
|
||||
}
|
||||
.lang-tabs li.active {
|
||||
background:#f4f4f4;
|
||||
border:1px solid #e9e9e9;
|
||||
border-bottom:none;
|
||||
padding-bottom:16px;
|
||||
}
|
||||
|
||||
|
||||
h4.hook-title {
|
||||
background:#f2f2f2;
|
||||
color: #000000;
|
||||
font-weight: normal;
|
||||
font-size: 1.6em;
|
||||
padding:16px 20px;
|
||||
border-radius: 5px;
|
||||
margin:20px 0 10px 0!important;
|
||||
text-transform:capitalize;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.new-item button.button-new-item {
|
||||
background: #ffffff; /* Old browsers */
|
||||
color: #000!important;
|
||||
font-size:17px!important;
|
||||
font-weight: 600;
|
||||
padding:16px 30px!important;
|
||||
border:2px solid #000!important;
|
||||
border-radius: 0;
|
||||
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
box-shadow: 0 8px 42px 0px rgba(0, 0, 0, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 30px;
|
||||
|
||||
}
|
||||
.new-item button.button-new-item:hover {
|
||||
background:#ffffff!important;
|
||||
color: #3515be!important;
|
||||
border:2px solid #3515be!important;
|
||||
box-shadow: 0 14px 62px 0px rgba(53, 21, 190, 0.48)!important;
|
||||
}
|
||||
.new-item button.button-new-item svg {
|
||||
margin-right:12px;
|
||||
}
|
||||
|
||||
#items {
|
||||
padding-left:0;
|
||||
}
|
||||
.item.well {
|
||||
color: #888;
|
||||
margin:0 0 8px 0!important;
|
||||
padding:22px;
|
||||
border:none;
|
||||
box-shadow: none;
|
||||
background:#f2f2f2!important;
|
||||
line-height:25px;
|
||||
overflow:hidden;
|
||||
clear:both;
|
||||
border-radius: 5px;
|
||||
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
}
|
||||
.item.well:hover {
|
||||
cursor: move; /* fallback if grab cursor is unsupported */
|
||||
cursor: grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: -webkit-grab;
|
||||
}
|
||||
.item.well.ui-sortable-helper {
|
||||
cursor: grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: -webkit-grabbing;
|
||||
}
|
||||
|
||||
.item .item-order {
|
||||
/* display:inline-block; */
|
||||
width:30px;
|
||||
margin-right:20px;
|
||||
padding-right:20px;
|
||||
border-right:2px solid #e5e5e5;
|
||||
text-align:right;
|
||||
font-size:16px;
|
||||
margin-bottom: 10px;
|
||||
font-weight:600;
|
||||
}
|
||||
.item .preview.img-thumbnail {
|
||||
margin-top:18px;
|
||||
/* padding:6px; */
|
||||
border-radius: 6px;
|
||||
max-height: 120px;
|
||||
border:none;
|
||||
/* box-shadow:0 0 16px rgba(0, 0, 0, 0.07); */
|
||||
}
|
||||
.item .icon-sort:before {
|
||||
margin-right:10px;
|
||||
width:25px;
|
||||
text-align:center;
|
||||
cursor:move;
|
||||
font-size:18px;
|
||||
line-height:25px;
|
||||
}
|
||||
.item .item-title {
|
||||
display:inline-block;
|
||||
font-size:16px;
|
||||
color: #1c1c1c;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.item .item-container {
|
||||
display:none;
|
||||
margin-top:10px;
|
||||
/* border-top:1px solid #ccc; */
|
||||
line-height:normal;
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
padding-top:10px;
|
||||
}
|
||||
.new-item .item-container {
|
||||
display:none;
|
||||
}
|
||||
.item .image-display, .new-item .image-display {
|
||||
text-align:center;
|
||||
}
|
||||
.item .image-display img, .new-item .image-display img {
|
||||
max-width:400px;
|
||||
max-height:500px;
|
||||
}
|
||||
.item .item-html, .new-item .item-html {
|
||||
float:left;
|
||||
}
|
||||
.item .displayed_flag, .new-item .displayed_flag {
|
||||
margin:0 0 0 10px;
|
||||
}
|
||||
.item .normal { font-weight:normal;}
|
||||
|
||||
|
||||
.rb-admin .checkbox .control-label {
|
||||
margin-left:-24px;
|
||||
line-height: 26px;
|
||||
padding-top:0;
|
||||
outline: none;
|
||||
font-weight: 600;
|
||||
color:#1c1c1c;
|
||||
}
|
||||
|
||||
.rb-admin input[type="checkbox"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-moz-opacity: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: relative;
|
||||
margin-left:0;
|
||||
margin-right:12px;
|
||||
outline: none!important;
|
||||
}
|
||||
|
||||
.rb-admin input[type="checkbox"]:before{
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 2px solid #cccccc;
|
||||
content: "";
|
||||
background: #ffffff;
|
||||
border-radius: 50%;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rb-admin input[type="checkbox"]:after{
|
||||
display: inline-block;
|
||||
content: ' ';
|
||||
font-family: "FontAwesome";
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 26px;
|
||||
font-size: 11px;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
background: transparent;
|
||||
font-weight: normal!important;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.rb-admin input[type="checkbox"]:checked:before{
|
||||
border-color: #3515be;
|
||||
}
|
||||
.rb-admin input[type="checkbox"]:checked:after{
|
||||
background: #3515be;
|
||||
font-weight: 400!important;
|
||||
box-shadow: 4px 5px 22px 0px rgba(53, 21, 190, 0.48)!important;
|
||||
content: '\f00c'; }
|
||||
|
||||
#mColorPicker {
|
||||
width:auto!important;
|
||||
height:auto!important;
|
||||
border:#e5e5e5!important;
|
||||
margin-left:48px!important;
|
||||
margin-top:-42px!important;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-moz-box-shadow: 0 0 16px rgba(0,0,0,0.15);
|
||||
-webkit-box-shadow: 0 0 16px rgba(0,0,0,0.115);
|
||||
box-shadow: 0 0 16px rgba(0,0,0,0.15);
|
||||
}
|
||||
#mColorPickerWrapper {
|
||||
padding:8px!important;
|
||||
background: #ffffff!important;
|
||||
border:none!important;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
#mColorPickerFooter {
|
||||
display:none!important;
|
||||
background: #ffffff!important;
|
||||
}
|
||||
#mColorPickerInput {
|
||||
color:#000000;
|
||||
border-color:#e5e5e5!important;
|
||||
padding:3px;
|
||||
margin-left:0!important;
|
||||
}
|
||||
#mColorPickerSwatches {
|
||||
border-right:none!important;
|
||||
}
|
||||
.color-inside {
|
||||
display: flex;
|
||||
}
|
||||
.rb-admin .mColorPickerTrigger {
|
||||
z-index: 10;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 1px solid #e5e5e5;
|
||||
background-color: #fff;
|
||||
margin-left: 0;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
line-height: 42px;
|
||||
-webkit-transition: all 0.2s ease;
|
||||
-ms-transition: all 0.2s ease;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.rb-admin .mColorPickerTrigger img {
|
||||
}
|
||||
.rb-admin .mColorPickerTrigger:hover {
|
||||
}
|
||||
.rb-admin .mPastColor {
|
||||
border: none!important;
|
||||
width: 10%!important;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.rb-admin input[type="text"],
|
||||
.rb-admin select {
|
||||
background: #ffffff;
|
||||
border:2px solid #eeeeee;
|
||||
height:40px;
|
||||
position: relative;
|
||||
font-weight: 600;
|
||||
color:#1c1c1c;
|
||||
}
|
||||
219
modules/roy_content/css/hooks.css
Normal file
219
modules/roy_content/css/hooks.css
Normal file
@@ -0,0 +1,219 @@
|
||||
/* Top and Home hooks CSS */
|
||||
.roycontent {
|
||||
clear:both;
|
||||
}
|
||||
#roycontent_left.roycontent {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.roycontent ul {
|
||||
display: block;
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
/* li styles */
|
||||
.roycontent ul li {
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
float:left;
|
||||
overflow: hidden;
|
||||
margin-bottom:30px; /* instead of margin of banners wrapper */
|
||||
padding:0 15px; }
|
||||
.roycontent ul li.col-xs-12 {
|
||||
max-width:100%;
|
||||
padding:0 15px;
|
||||
width: auto; }
|
||||
.roycontent ul li .li-cont {
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
.roycontent ul li .li-cont a.item-link {
|
||||
position: static; }
|
||||
|
||||
.side-column .roycontent ul li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@media (max-width:767px) {
|
||||
#roycontent_top {
|
||||
margin-top:20px;
|
||||
}
|
||||
#roycontent_top ul,
|
||||
#roycontent_home ul {
|
||||
display:inline-block;
|
||||
}
|
||||
.roycontent ul li {
|
||||
max-width:100%;
|
||||
width: 100%;
|
||||
margin-bottom:0!important;
|
||||
} }
|
||||
|
||||
.roycontent ul li img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height:auto; }
|
||||
|
||||
/* MASK styles */
|
||||
.item-title-top {
|
||||
top:50%;
|
||||
position:absolute;
|
||||
width:100%;
|
||||
text-align:center;
|
||||
margin:0;
|
||||
z-index:2;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-moz-transform: translateY(-50%);
|
||||
-o-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
}
|
||||
@media (min-width: 640px) and (max-width:991px) {
|
||||
.item-title-top {
|
||||
font-size:16px;
|
||||
line-height:16px;
|
||||
} }
|
||||
@media (max-width:639px) {
|
||||
.item-title-top {
|
||||
font-size:18px;
|
||||
line-height:18px;
|
||||
} }
|
||||
|
||||
.roycontent ul li:hover .item-title-top.href {
|
||||
margin-top:-10px;
|
||||
opacity:0;
|
||||
}
|
||||
|
||||
.roycontent .bview-first img {
|
||||
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
}
|
||||
@media (min-width:992px) {
|
||||
.roycontent li.hover:hover img.href {
|
||||
-webkit-transform: scale(1.08, 1.08);
|
||||
-moz-transform: scale(1.08, 1.08);
|
||||
-o-transform: scale(1.08, 1.08);
|
||||
-ms-transform: scale(1.08, 1.08);
|
||||
transform: scale(1.08, 1.08);
|
||||
} }
|
||||
|
||||
.bview .mask {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.roycontent .bview.bview-first .mask {
|
||||
opacity:0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
display:block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
text-align:center;
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
-webkit-transition: -webkit-transform .15s .1s,opacity .15s ease-in-out;
|
||||
-moz-transition: -moz-transform .15s .1s,opacity .15s ease-in-out;
|
||||
transition: transform .15s .1s,opacity .15s ease-in-out;
|
||||
}
|
||||
.roycontent .bview-first:hover .mask {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
-webkit-transition: -webkit-transform .4s cubic-bezier(.36,.76,0,.88),opacity .16s ease-out;
|
||||
-moz-transition: -moz-transform .4s cubic-bezier(.36,.76,0,.88),opacity .16s ease-out;
|
||||
transition: transform .4s cubic-bezier(.36,.76,0,.88),opacity .16s ease-out;
|
||||
}
|
||||
.roycontent .bview.bview-first .mask .content {
|
||||
position: absolute;
|
||||
padding:0 20px;
|
||||
width:100%;
|
||||
top:50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-moz-transform: translateY(-50%);
|
||||
-o-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.roycontent .bview.bview-first .mask .content h2 {
|
||||
font-size:22px;
|
||||
font-weight:600;
|
||||
margin-bottom:20px;
|
||||
}
|
||||
.roycontent .bview.bview-first .mask .content p {
|
||||
font-size:13px;
|
||||
line-height: 17px;
|
||||
padding:0 30px;
|
||||
}
|
||||
|
||||
@media (max-width:991px) {
|
||||
.roycontent .bview .mask {
|
||||
display:none!important; }
|
||||
.roycontent li.hover:hover img {
|
||||
transform: none;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
||||
.roycontent > .row > .container {
|
||||
padding:0!important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (min-width:640px) {
|
||||
.roycontent .fit_content {
|
||||
display:none!important;
|
||||
}
|
||||
.roycontent .hide_desktop {
|
||||
display:none!important; }
|
||||
}
|
||||
@media (max-width:639px) {
|
||||
.roycontent .hide_mobile {
|
||||
display:none!important; }
|
||||
.roycontent .fit_content {
|
||||
padding:40px 20px;
|
||||
position: relative;
|
||||
z-index:2;
|
||||
}
|
||||
.roycontent .fit_content .item-title {
|
||||
font-size: 22px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.roycontent .fit_mobile img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
width: auto;
|
||||
max-width: none;
|
||||
min-height: 100%;
|
||||
overflow-x: hidden;
|
||||
z-index: 1;
|
||||
-webkit-transform: translateX(-50%);
|
||||
-moz-transform: translateX(-50%);
|
||||
-o-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
} }
|
||||
|
||||
|
||||
/* Left hook CSS */
|
||||
#roycontent_left ul li{
|
||||
margin-bottom:8px;
|
||||
padding-left:15px;
|
||||
padding-right:15px;
|
||||
}
|
||||
|
||||
/* Right hook CSS */
|
||||
#roycontent_right ul li{
|
||||
margin-bottom:8px;
|
||||
}
|
||||
|
||||
/* Footer hook CSS */
|
||||
#roycontent_footer {
|
||||
float: left;
|
||||
max-width: 100%;
|
||||
width:100%;
|
||||
position:relative;
|
||||
margin-bottom:10px; }
|
||||
36
modules/roy_content/css/index.php
Normal file
36
modules/roy_content/css/index.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../');
|
||||
exit;
|
||||
Reference in New Issue
Block a user