init
This commit is contained in:
+715
@@ -0,0 +1,715 @@
|
||||
|
||||
|
||||
.mp-blog-view a,
|
||||
.mp-sidebar a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.mp-blog-rss {
|
||||
text-align: right;
|
||||
}
|
||||
.mp-blog-rss > a {
|
||||
display: inline-block;
|
||||
}
|
||||
.mp-post-info {
|
||||
color: #999999;
|
||||
font-size: 10px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
}
|
||||
.mp-post-info span {
|
||||
color: #6f6f6f;
|
||||
}
|
||||
.post-item-wraper {
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
.post-item-wraper:hover {
|
||||
border: 1px solid #eee;
|
||||
box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.post-info-wraper {
|
||||
padding: 20px 15px 10px 15px;
|
||||
}
|
||||
.post-list-item {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.post-short-description {
|
||||
max-width: 100%;
|
||||
}
|
||||
.post-short-description p {
|
||||
max-width: 100%;
|
||||
color: #666;
|
||||
}
|
||||
.post-post_content {
|
||||
margin: 10px 0 10px 0;
|
||||
font-size: 15px;
|
||||
color: #666;
|
||||
}
|
||||
.post-post_content img,.post-post_content video,.post-post_content iframe{
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.post-sharing-button {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
#sharing {
|
||||
padding: 20px 30px;
|
||||
background: #f6f6f6;
|
||||
margin-top: 40px;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
#sharing .share-col-left {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
}
|
||||
.about-admin h4.admin-title {
|
||||
width: 215px;
|
||||
float: left;
|
||||
}
|
||||
.block-blog-related {
|
||||
margin-top: 35px;
|
||||
}
|
||||
.block-blog-related .related-content-container {
|
||||
padding: 0 10px;
|
||||
}
|
||||
.block-blog-related .related-content-container .author-content-image {
|
||||
float: left;
|
||||
width: 135px;
|
||||
}
|
||||
.block-blog-related .related-content-container .author-content-information {
|
||||
float: left;
|
||||
padding-left: 20px;
|
||||
width: calc(100% - 155px);
|
||||
}
|
||||
.block-blog-related .related-content-container .author-content-information .author-name {
|
||||
font-size: 20px;
|
||||
}
|
||||
#post-reviews {
|
||||
margin-top: 50px;
|
||||
}
|
||||
a.mp-relate-link {
|
||||
background: #f55567;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
a.mp-relate-link img.img-responsive {
|
||||
margin: 0 auto;
|
||||
height: 200px;
|
||||
display: block;
|
||||
}
|
||||
.menu-archives {
|
||||
list-style: none;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.author-image {
|
||||
text-align: center;
|
||||
}
|
||||
.author-image img.img-responsive {
|
||||
border: none;
|
||||
padding-right: 7px;
|
||||
padding-left: 7px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.tab-content {
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
}
|
||||
.pager {
|
||||
text-align: center;
|
||||
}
|
||||
.pager span.toolbar-number {
|
||||
display: none;
|
||||
}
|
||||
.block-title p {
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
}
|
||||
.mp-sidebar {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.mp-sidebar .block-content {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.mp-sidebar .data.item.title {
|
||||
cursor: pointer;
|
||||
}
|
||||
.mp-sidebar .product.data.items > .item.content {
|
||||
padding: 20px 0 20px 10px !important;
|
||||
}
|
||||
.sidebar-tags {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
a.label.label-default.tags-list {
|
||||
background: #fff;
|
||||
border: 1px solid #bbb;
|
||||
color: inherit;
|
||||
font-weight: normal;
|
||||
font-size: 100%;
|
||||
border-radius: 1px;
|
||||
display: inline-block;
|
||||
margin-bottom: 5px;
|
||||
padding: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
ul.menu-categories li.category-item {
|
||||
list-style: none;
|
||||
}
|
||||
ul.menu-categories .category-level3 {
|
||||
display: none;
|
||||
padding-left: 15px;
|
||||
}
|
||||
ul.menu-categories .category-level4 {
|
||||
display: none;
|
||||
padding-left: 30px;
|
||||
}
|
||||
ul.menu-categories a.list-categories {
|
||||
color: inherit;
|
||||
margin-left: 8px;
|
||||
}
|
||||
ul.menu-categories i {
|
||||
cursor: pointer;
|
||||
}
|
||||
h2.list-title {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.list-post-tabs {
|
||||
padding: 5px 10px 5px 0;
|
||||
}
|
||||
.list-post-tabs:hover {
|
||||
background-color: #eee;
|
||||
}
|
||||
.list-post-tabs .post-left {
|
||||
float: left;
|
||||
width: 25%;
|
||||
}
|
||||
.list-post-tabs .post-right {
|
||||
float: left;
|
||||
width: 75%;
|
||||
padding-left: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.list-post-tabs .post-right span {
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
.list-post-tabs .post-right span.create-at {
|
||||
font-size: 12px;
|
||||
}
|
||||
.tab-pane.fade {
|
||||
border-left: 1px solid #ddd;
|
||||
border-right: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.fa.fa-angle-right {
|
||||
font-size: larger;
|
||||
}
|
||||
.sidebar .mpblog-search {
|
||||
float: none !important;
|
||||
padding: 0 !important;
|
||||
margin-bottom: 15px !important;
|
||||
width: 100%;
|
||||
}
|
||||
.autocomplete-suggestions {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #ddd;
|
||||
background: #FFF;
|
||||
cursor: default;
|
||||
overflow: auto;
|
||||
-webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
-moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
border-top: 0;
|
||||
padding: 10px 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.autocomplete-suggestions strong {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
.autocomplete-suggestion {
|
||||
padding: 2px 5px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.autocomplete-suggestion:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.autocomplete-suggestion .mpblog-suggestion {
|
||||
display: block;
|
||||
}
|
||||
.autocomplete-suggestion .mpblog-suggestion:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
.autocomplete-suggestion .mpblog-suggestion .mpblog-suggestion-left,
|
||||
.autocomplete-suggestion .mpblog-suggestion .mpblog-suggestion-right {
|
||||
float: left;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
.autocomplete-suggestion .mpblog-suggestion .mpblog-suggestion-left {
|
||||
max-width: 25%;
|
||||
}
|
||||
.autocomplete-suggestion .mpblog-suggestion .mpblog-suggestion-right.image-visible {
|
||||
max-width: calc(75% - 40px);
|
||||
}
|
||||
.autocomplete-no-suggestion {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.autocomplete-selected {
|
||||
background: #F0F0F0;
|
||||
}
|
||||
.autocomplete-group {
|
||||
padding: 2px 5px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
display: block;
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
.mpblog-product-des {
|
||||
color: #333333;
|
||||
}
|
||||
.mpblog-product-des p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
.mpblog-search {
|
||||
position: relative;
|
||||
}
|
||||
.mpblog-search button.action.search {
|
||||
display: inline-block;
|
||||
background: none !important;
|
||||
-moz-box-sizing: content-box;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
line-height: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 2px;
|
||||
z-index: 1;
|
||||
}
|
||||
.mpblog-search button.action.search :before {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: #8f8f8f;
|
||||
}
|
||||
.mpblog-search button.action.search span {
|
||||
border: 0;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.mpblog-search label[for="mpblog-search-box"] {
|
||||
display: none;
|
||||
}
|
||||
/* style comment */
|
||||
textarea.default-cmt__content__cmt-block__cmt-box__cmt-input {
|
||||
overflow: hidden !important;
|
||||
resize: none;
|
||||
min-height: 80px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.default-cmt__content__cmt-block__guest-box {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.show-cmt__cmt-row.is-reply {
|
||||
padding-left: 50px !important;
|
||||
}
|
||||
.default-cmt__content__cmt-block__cmt-box__cmt-btn {
|
||||
float: right;
|
||||
}
|
||||
.default-cmt__content__cmt-block__cmt-box__cmt-btn .default-cmt_loading {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.cmt-row__reply-row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.default-cmt__cmt-login {
|
||||
float: right;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
div.default-cmt__content__cmt-content {
|
||||
width: 100%;
|
||||
margin-top: 50px;
|
||||
float: left;
|
||||
}
|
||||
ul.default-cmt__content__cmt-content {
|
||||
list-style: none !important;
|
||||
}
|
||||
.cmt-row__cmt-content {
|
||||
font-size: 13px;
|
||||
}
|
||||
.cmt-row__cmt-interactions {
|
||||
font-size: 13px;
|
||||
}
|
||||
.cmt-row__cmt-content p {
|
||||
margin: 3px 0 !important;
|
||||
}
|
||||
.interactions__btn-actions {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
a.interactions__btn-actions.action {
|
||||
cursor: pointer;
|
||||
}
|
||||
.interactions__cmt-createdat {
|
||||
display: inline-block;
|
||||
color: #999;
|
||||
font-size: 13px;
|
||||
}
|
||||
.cmt-row.reply-row {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.reply-form__form-input {
|
||||
margin-bottom: 0 !important;
|
||||
position: relative;
|
||||
}
|
||||
.reply-form__form-input .default-cmt_loading {
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
.default-cmt__content__cmt-row.reply-row {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
li.default-cmt__content__cmt-content__cmt-row.cmt-row.reply-row {
|
||||
margin-top: 5px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
li.default-cmt__content__cmt-content__cmt-row.cmt-row {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 5px;
|
||||
border-top: 1px solid #f5f5f5;
|
||||
}
|
||||
.default-cmt__content__cmt-content ul:first-child {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
/* end style comment */
|
||||
.widget-title {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.author-social img.img-responsive {
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
}
|
||||
.share-col-right {
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
/*post view css*/
|
||||
.page-layout-1column .column.main {
|
||||
width: 100% !important;
|
||||
}
|
||||
/* Footer Copyright */
|
||||
.mp-footer {
|
||||
margin-top: 50px;
|
||||
font-size: 8px !important;
|
||||
display: block;
|
||||
clear: both;
|
||||
float: right;
|
||||
text-transform: inherit;
|
||||
}
|
||||
.mp-footer h3 {
|
||||
margin-top: 50px;
|
||||
font-size: 8px !important;
|
||||
display: block;
|
||||
clear: both;
|
||||
float: right;
|
||||
text-transform: inherit;
|
||||
}
|
||||
.mp-footer-links-light {
|
||||
color: #E8E8E8 !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
.mp-footer-links-light a {
|
||||
color: #E8E8E8 !important;
|
||||
}
|
||||
.post-image {
|
||||
min-height: 250px;
|
||||
position: relative;
|
||||
}
|
||||
.post-image img.img-responsive {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
border: none;
|
||||
}
|
||||
.mpblog-post-view{
|
||||
margin-left: 40px;
|
||||
}
|
||||
.mpblog-post-view .sidebar-additional{
|
||||
display: none;
|
||||
}
|
||||
.mpblog-post-view .post-view-image {
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
.post-item-wraper {
|
||||
padding: 10px !important;
|
||||
}
|
||||
@media only screen and (min-width: 600px) {
|
||||
.post-item-list .post-image {
|
||||
min-width: 250px;
|
||||
display: table-cell;
|
||||
}
|
||||
.post-item-list .post-info-wraper {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.post-info-wraper {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
}
|
||||
.post-info-wraper h2.mp-post-title {
|
||||
margin-top: 0;
|
||||
font-size: 20px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.post-list-content .limiter {
|
||||
display: block !important;
|
||||
}
|
||||
/** Yourstore theme */
|
||||
.mpblog-etheme-yourstore .post-list-container,
|
||||
.mpblog-etheme-yourstore .post-view,
|
||||
.mpblog-etheme-yourstore .mp-blog-rss {
|
||||
width: 85%;
|
||||
margin: auto;
|
||||
}
|
||||
.mpblog-etheme-yourstore .block-blog-related {
|
||||
border-bottom: solid 1px #dfdfdf;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.mpblog-etheme-yourstore .page-layout-2columns-right .post-list-content {
|
||||
border-right: solid 1px #dfdfdf;
|
||||
}
|
||||
.mpblog-etheme-yourstore .page-layout-2columns-left .post-list-content {
|
||||
border-left: solid 1px #dfdfdf;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.mpblog-etheme-yourstore .products-same-post li {
|
||||
height: 400px;
|
||||
width: 24.5% !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1440px) {
|
||||
.mpblog-etheme-yourstore .products-same-post li {
|
||||
height: 500px;
|
||||
width: 16.67% !important;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 640px) {
|
||||
.post-list-content .products-grid .product-item {
|
||||
width: 48%;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 640px) {
|
||||
.post-list-content .products-grid .product-item {
|
||||
width: 98%;
|
||||
}
|
||||
}
|
||||
.mp-sidebar {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.mp-sidebar .block-content {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.mp-sidebar .data.item.title {
|
||||
cursor: pointer;
|
||||
}
|
||||
.mp-sidebar .product.data.items > .item.content {
|
||||
padding: 20px 0 20px 10px !important;
|
||||
}
|
||||
.product.data.items {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.product.data.items:before,
|
||||
.product.data.items:after {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
.product.data.items:after {
|
||||
clear: both;
|
||||
}
|
||||
.product.data.items > .item.title {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.product.data.items > .item.title > .switch {
|
||||
height: 20px;
|
||||
display: block;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
.product.data.items > .item.content {
|
||||
margin-top: 20px;
|
||||
box-sizing: border-box;
|
||||
float: right;
|
||||
margin-left: -100%;
|
||||
width: 100%;
|
||||
}
|
||||
.product.data.items > .item.content:before,
|
||||
.product.data.items > .item.content:after {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
.product.data.items > .item.content:after {
|
||||
clear: both;
|
||||
}
|
||||
.product.data.items > .item.content.active {
|
||||
display: block;
|
||||
}
|
||||
.product.data.items > .item.title {
|
||||
margin: 0 -1px 0 0;
|
||||
}
|
||||
.product.data.items > .item.title > .switch {
|
||||
font-weight: 400;
|
||||
line-height: 40px;
|
||||
font-size: 14px;
|
||||
color: #6d6d6d;
|
||||
text-decoration: none;
|
||||
background: #f6f6f6;
|
||||
border: 1px solid #cccccc;
|
||||
border-bottom: none;
|
||||
height: 40px;
|
||||
padding: 1px 35px 1px 35px;
|
||||
}
|
||||
.product.data.items > .item.title > .switch:visited {
|
||||
color: #6d6d6d;
|
||||
text-decoration: none;
|
||||
}
|
||||
.product.data.items > .item.title > .switch:hover {
|
||||
color: #6d6d6d;
|
||||
text-decoration: none;
|
||||
}
|
||||
.product.data.items > .item.title > .switch:active {
|
||||
color: #333333;
|
||||
text-decoration: none;
|
||||
}
|
||||
.product.data.items > .item.title:not(.disabled) > .switch:focus,
|
||||
.product.data.items > .item.title:not(.disabled) > .switch:hover {
|
||||
background: #ffffff;
|
||||
}
|
||||
.product.data.items > .item.title:not(.disabled) > .switch:active,
|
||||
.product.data.items > .item.title.active > .switch,
|
||||
.product.data.items > .item.title.active > .switch:focus,
|
||||
.product.data.items > .item.title.active > .switch:hover {
|
||||
background: #ffffff;
|
||||
color: #333333;
|
||||
text-decoration: none;
|
||||
}
|
||||
.product.data.items > .item.title.active > .switch,
|
||||
.product.data.items > .item.title.active > .switch:focus,
|
||||
.product.data.items > .item.title.active > .switch:hover {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
.product.data.items > .item.content {
|
||||
background: #ffffff;
|
||||
margin-top: 43px;
|
||||
padding: 35px 35px 35px 35px;
|
||||
border: 1px solid #cccccc;
|
||||
}
|
||||
.product.data.items .item.title a:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#maincontent input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="url"],
|
||||
input[type="tel"],
|
||||
input[type="search"],
|
||||
input[type="number"],
|
||||
input[type*="date"],
|
||||
input[type="email"] {
|
||||
background: #ffffff;
|
||||
background-clip: padding-box;
|
||||
border: 1px solid #c2c2c2;
|
||||
border-radius: 1px;
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
height: 32px;
|
||||
line-height: 1.42857143;
|
||||
padding: 0 9px;
|
||||
vertical-align: baseline;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#maincontent h1 {
|
||||
font-weight: 300;
|
||||
line-height: 1.1;
|
||||
font-size: 2.6rem;
|
||||
|
||||
}
|
||||
#maincontent h2 {
|
||||
font-weight: 300;
|
||||
line-height: 1.1;
|
||||
font-size: 1.8rem;
|
||||
|
||||
}
|
||||
#maincontent h3 {
|
||||
font-weight: 600;
|
||||
line-height: 1.1;
|
||||
font-size: 1.8rem;
|
||||
|
||||
}
|
||||
#maincontent h4 {
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
font-size: 1.4rem;
|
||||
|
||||
}
|
||||
#maincontent h5 {
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
#maincontent p {
|
||||
margin-top: 0rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
@@ -0,0 +1,825 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
#mp-blog-review div {
|
||||
padding: 10px 20px;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
width: 155px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.mp-post-status {
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
font-size: 10px;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.mp-post-disapproved {
|
||||
background-color: #e67878;
|
||||
}
|
||||
|
||||
.mp-post-approved {
|
||||
background-color: #35a927;
|
||||
}
|
||||
|
||||
.mp-post-pending {
|
||||
background-color: #d7da1e;
|
||||
}
|
||||
|
||||
.mp-blog-new-post {
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.mp-blog-new-post button {
|
||||
float: right;
|
||||
margin: 10px;
|
||||
padding: 0px 0px
|
||||
}
|
||||
|
||||
.post-item-wraper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.post-info-action {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
float: right;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.sidebar.sidebar-main:before {
|
||||
content: unset !important;
|
||||
}
|
||||
|
||||
.post-info-action div {
|
||||
margin: 0 10px;
|
||||
width: 25px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mp-blog-new-post-popup .column.main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#mp_blog_post_form input#image {
|
||||
position: relative;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
.mp-field {
|
||||
display: flex;
|
||||
padding: 0 10%;
|
||||
}
|
||||
|
||||
.mp-field .label {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.mp-field > div {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mp-custom .mp-field {
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.mp-custom .field label.label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.admin__form-field-label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin: 0 0 .3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin__data-grid-filters-wrap .admin__form-field .admin__form-field .admin__form-field-label {
|
||||
border: 1px solid transparent;
|
||||
float: left;
|
||||
font-weight: normal;
|
||||
line-height: 1.36;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0.6rem;
|
||||
padding-right: 1em;
|
||||
padding-top: 0.6rem;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.admin__control-text {
|
||||
-webkit-appearance: none;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #adadad;
|
||||
border-radius: 1px;
|
||||
box-shadow: none;
|
||||
color: #303030;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
height: auto;
|
||||
line-height: 1.36;
|
||||
padding: 0.6rem 1rem 0.6rem;
|
||||
transition: border-color 0.1s linear;
|
||||
vertical-align: baseline;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.admin__data-grid-filters-wrap .admin__form-field-label,
|
||||
.admin__data-grid-filters-wrap .admin__control-text,
|
||||
.admin__data-grid-filters-wrap .admin__control-select,
|
||||
.admin__data-grid-filters-wrap .admin__action-multiselect,
|
||||
.admin__data-grid-filters-wrap .ui-datepicker .ui-datepicker-title select {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu {
|
||||
min-width: 34.7rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu .action-menu-item,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu .action-menu-item {
|
||||
margin-top: .1rem;
|
||||
}
|
||||
|
||||
.action-menu .item,
|
||||
.action-menu .action-menu-item,
|
||||
.abs-action-menu .action-submenu .item,
|
||||
.abs-action-menu .action-submenu .action-menu-item,
|
||||
.action-menu .action-submenu .item,
|
||||
.action-menu .action-submenu .action-menu-item,
|
||||
.actions-split .dropdown-menu .action-submenu .item,
|
||||
.actions-split .dropdown-menu .action-submenu .action-menu-item,
|
||||
.actions-split .action-menu .action-submenu .item,
|
||||
.actions-split .action-menu .action-submenu .action-menu-item {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
padding: .6875em 1em;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item {
|
||||
margin-left: 4.2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._expended:before {
|
||||
border-left: 1px dashed #a79d95;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
left: -1rem;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-dropdown {
|
||||
border-radius: 50%;
|
||||
height: 2.2rem;
|
||||
left: -2.2rem;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
width: 2.2rem;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin: 2px 5px 0 0;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap .action-menu-item {
|
||||
transition: background-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._expended .admin__action-multiselect-dropdown:before {
|
||||
line-height: 28px;
|
||||
content: '\e621';
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
[class*='admin__'] + label,
|
||||
[class*='admin__'] + label:after,
|
||||
[class*='admin__'] + label:before,
|
||||
[class*='admin__']:before,
|
||||
[class*='admin__']:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-dropdown:before {
|
||||
background: #ffffff;
|
||||
color: #a79d95;
|
||||
content: '\e622';
|
||||
font-size: 2.2rem;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._with-checkbox .admin__action-multiselect-label {
|
||||
padding-left: 2.6rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner {
|
||||
padding-left: 3.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner:before {
|
||||
left: 4.3rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:last-child:before {
|
||||
height: 2.1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:after,
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:before {
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:after {
|
||||
border-top: 1px dashed #a79d95;
|
||||
height: 1px;
|
||||
top: 2.1rem;
|
||||
width: 4.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:before {
|
||||
border-left: 1px dashed #a79d95;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._parent:after {
|
||||
width: 4.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:after {
|
||||
left: 3.2rem;
|
||||
width: 2.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:before {
|
||||
left: 3.2rem;
|
||||
top: 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root._parent:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:first-child:before {
|
||||
top: 2.1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:last-child:before {
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-label {
|
||||
line-height: 2.2rem;
|
||||
vertical-align: middle;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-label:before {
|
||||
left: 1rem;
|
||||
position: absolute;
|
||||
top: 1.4rem;
|
||||
}
|
||||
|
||||
.action-select-wrap {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select {
|
||||
padding-right: 3.2rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
background-color: #ffffff;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active:after,
|
||||
.action-select-wrap .action-select.active:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:after {
|
||||
border-color: #000000 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 0.5rem 0.4rem 0 0.4rem;
|
||||
content: '';
|
||||
height: 0;
|
||||
margin-top: -0.2rem;
|
||||
position: absolute;
|
||||
right: 1.2rem;
|
||||
top: 50%;
|
||||
transition: all .2s linear;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
._active .action-select-wrap .action-select:after,
|
||||
.active .action-select-wrap .action-select:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover:after {
|
||||
border-color: #000000 transparent transparent transparent;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover {
|
||||
border-color: #878787;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover:before {
|
||||
border-color: #878787;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:before {
|
||||
background-color: #e3e3e3;
|
||||
border: 1px solid #adadad;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 3.2rem;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active:before {
|
||||
border-color: #007bdb;
|
||||
border-left-color: #adadad;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select[disabled] {
|
||||
color: #41362f;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select[disabled]:after {
|
||||
border-color: #41362f transparent transparent transparent;
|
||||
}
|
||||
|
||||
.action-select-wrap._active {
|
||||
z-index: 500;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select:before {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu,
|
||||
.action-select-wrap .abs-action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu .action-submenu,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu {
|
||||
max-height: 45rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu ._disabled:hover,
|
||||
.action-select-wrap .abs-action-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .action-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu ._disabled:hover {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu ._disabled .action-menu-item,
|
||||
.action-select-wrap .abs-action-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .action-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu ._disabled .action-menu-item {
|
||||
cursor: default;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items > .action-menu,
|
||||
.action-select-wrap .action-menu-items > .abs-action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .dropdown-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .action-menu .action-submenu {
|
||||
min-width: 100%;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .abs-action-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .dropdown-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .action-menu .action-submenu .action-submenu {
|
||||
position: absolute;
|
||||
right: -100%;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb .action-close {
|
||||
bottom: 0;
|
||||
font-size: .5em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap {
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
display: block;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap .admin__action-multiselect {
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 3.2rem;
|
||||
padding-right: 3.6rem;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.admin__control-table-wrapper .admin__action-multiselect-wrap .admin__action-multiselect {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-text {
|
||||
padding: .6rem 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-wrap {
|
||||
border-bottom: 1px solid #e3e3e3;
|
||||
margin: 0 1rem;
|
||||
padding: 1rem 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search {
|
||||
padding-right: 3rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin__data-grid-action-bookmarks .admin__action-dropdown-menu .admin__control-text {
|
||||
font-size: 1.3rem;
|
||||
min-width: 15rem;
|
||||
width: calc(100% - 4rem);
|
||||
}
|
||||
|
||||
.admin__control-text {
|
||||
min-width: 4rem;
|
||||
}
|
||||
|
||||
button, input, optgroup, select, textarea, .block-footer .action-add {
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.admin__fieldset > .admin__field > .admin__field-control input[type="checkbox"] {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
input[type='checkbox'].admin__control-checkbox {
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
input[type='checkbox'] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin__scope-old input[type="checkbox"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
margin: 0 5px 0 0;
|
||||
position: relative;
|
||||
transition: all 0.1s ease-in;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.admin__scope-old input[type="radio"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
margin: 0 5px 0 0;
|
||||
position: relative;
|
||||
transition: all 0.1s ease-in;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-label {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
height: 1.3em;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 2.2rem;
|
||||
top: 1.7rem;
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
[class*='admin__'] + label, [class*='admin__'] + label:after,
|
||||
[class*='admin__'] + label:before, [class*='admin__']:before, [class*='admin__']:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin__control-checkbox + label:before, .mass-select-wrap select + label:before {
|
||||
border-radius: 1px;
|
||||
content: '';
|
||||
font-size: 0;
|
||||
transition: font-size 0.1s ease-out, color 0.1s ease-out, border-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__control-radio + label:before, .admin__control-checkbox + label:before, .mass-select-wrap select + label:before {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #adadad;
|
||||
color: transparent;
|
||||
float: left;
|
||||
height: 1.6rem;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 1.6rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb .action-close:before {
|
||||
position: absolute;
|
||||
top: -9px;
|
||||
right: -10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner-item._root .action-menu-item .admin__action-multiselect-label:before {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.admin__control-checkbox:checked + label:before, .mass-select-wrap select._checked + label:before {
|
||||
content: '\e610';
|
||||
font-size: 1.1rem;
|
||||
line-height: 125%;
|
||||
color: #000;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.admin__scope-old input[type=text] {
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #adadad;
|
||||
border-radius: 1px;
|
||||
padding: .6rem 1rem .6rem;
|
||||
color: #303030;
|
||||
background-color: #ffffff;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb:hover {
|
||||
border-color: #908379;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb {
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #a79d95;
|
||||
border-radius: 1px;
|
||||
display: inline-block;
|
||||
font-size: 1.2rem;
|
||||
margin: 0.3rem -4px 0.3rem 0.3rem;
|
||||
padding: 0.3rem 2.4rem 0.4rem 1rem;
|
||||
position: relative;
|
||||
transition: border-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner {
|
||||
margin-bottom: 0;
|
||||
max-height: 46rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner {
|
||||
list-style: none;
|
||||
max-height: none;
|
||||
overflow: hidden;
|
||||
padding-left: 2.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner ._hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-actions-wrap {
|
||||
border-top: 1px solid #e3e3e3;
|
||||
margin: 0 1rem;
|
||||
padding: 1rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-actions-wrap .action-default {
|
||||
font-size: 1.3rem;
|
||||
min-width: 13rem;
|
||||
}
|
||||
|
||||
.action-default, button, .block-footer .action-add, .block-footer .action-add {
|
||||
background: #e3e3e3;
|
||||
border-color: #adadad;
|
||||
color: #514943;
|
||||
}
|
||||
|
||||
.action-default, button {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
button, html input[type='button'], input[type='reset'], input[type='submit'], .block-footer .action-add {
|
||||
-webkit-appearance: button;
|
||||
appearance: button;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
margin-top: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap.action-select-wrap .action-menu,
|
||||
.admin__action-multiselect-wrap.action-select-wrap .abs-action-menu
|
||||
.action-submenu, .admin__action-multiselect-wrap.action-select-wrap
|
||||
.action-menu .action-submenu, .admin__action-multiselect-wrap.action-select-wrap
|
||||
.actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-wrap.action-select-wrap .actions-split .action-menu .action-submenu {
|
||||
max-height: none;
|
||||
overflow-y: inherit;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.action-menu._active,
|
||||
.abs-action-menu .action-submenu._active,
|
||||
.action-menu .action-submenu._active, .actions-split .dropdown-menu .action-submenu._active,
|
||||
.actions-split .action-menu .action-submenu._active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu {
|
||||
min-width: 34.7rem;
|
||||
}
|
||||
|
||||
.action-menu,
|
||||
.abs-action-menu .action-submenu, .action-menu .action-submenu,
|
||||
.actions-split .dropdown-menu .action-submenu, .actions-split .action-menu .action-submenu {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #007bdb;
|
||||
border-radius: 1px;
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
|
||||
color: #41362f;
|
||||
display: none;
|
||||
font-weight: 400;
|
||||
left: 0;
|
||||
list-style: none;
|
||||
margin: 2px 0 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.action-menu,
|
||||
.abs-action-menu .action-submenu,
|
||||
.action-menu .action-submenu,
|
||||
.actions-split .dropdown-menu .action-submenu,
|
||||
.actions-split .action-menu .action-submenu {
|
||||
left: 0;
|
||||
margin-top: 2px;
|
||||
right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin__form-field-control .admin__control-text,
|
||||
.admin__field-control .admin__control-text,
|
||||
.admin__form-field-control .admin__control-textarea,
|
||||
.admin__field-control .admin__control-textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin__control-checkbox {
|
||||
cursor: pointer;
|
||||
opacity: .01;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.action-close {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.action-close:before {
|
||||
content: '\e616';
|
||||
transition: color 0.1s linear;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.action-close > span {
|
||||
clip: rect(0, 0, 0, 0);
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-wrap input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
.fieldset > .field.required > .label:after, .fieldset > .fields > .field.required > .label:after, .fieldset > .field._required > .label:after, .fieldset > .fields > .field._required > .label:after {
|
||||
content: '*';
|
||||
color: #e02b27;
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0 0 5px;
|
||||
}
|
||||
@@ -0,0 +1,839 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
|
||||
.mp-post-status {
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
font-size: 10px;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.mp-post-disapproved {
|
||||
background-color: #e67878;
|
||||
}
|
||||
|
||||
.mp-post-approved {
|
||||
background-color: #35a927;
|
||||
}
|
||||
|
||||
.mp-post-pending {
|
||||
background-color: #d7da1e;
|
||||
}
|
||||
|
||||
.mp-blog-new-post {
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.mp-blog-new-post button {
|
||||
float: right;
|
||||
margin: 10px;
|
||||
padding: 10px 30px
|
||||
}
|
||||
|
||||
.post-item-wraper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.post-info-action {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
float: right;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.sidebar.sidebar-main:before {
|
||||
content: unset !important;
|
||||
}
|
||||
|
||||
.post-info-action div {
|
||||
margin: 0 10px;
|
||||
width: 25px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mp-blog-new-post-popup .column.main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#mp_blog_post_form input#image {
|
||||
position: relative;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
.mp-field {
|
||||
display: flex;
|
||||
padding: 0 10%;
|
||||
}
|
||||
|
||||
.mp-field .label {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.mp-field > div {
|
||||
width: 100%;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.mp-field .label {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mp-field {
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.modal-content {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.modal-content fieldset.fieldset {
|
||||
display: contents;
|
||||
}
|
||||
.modal-content .actions-toolbar {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
.mp-custom .mp-field {
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.mp-custom .field label.label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.admin__form-field-label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin: 0 0 .3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin__data-grid-filters-wrap .admin__form-field .admin__form-field .admin__form-field-label {
|
||||
border: 1px solid transparent;
|
||||
float: left;
|
||||
font-weight: normal;
|
||||
line-height: 1.36;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0.6rem;
|
||||
padding-right: 1em;
|
||||
padding-top: 0.6rem;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.admin__control-text {
|
||||
-webkit-appearance: none;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #adadad;
|
||||
border-radius: 1px;
|
||||
box-shadow: none;
|
||||
color: #303030;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
height: auto;
|
||||
line-height: 1.36;
|
||||
padding: 0.6rem 1rem 0.6rem;
|
||||
transition: border-color 0.1s linear;
|
||||
vertical-align: baseline;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.admin__data-grid-filters-wrap .admin__form-field-label,
|
||||
.admin__data-grid-filters-wrap .admin__control-text,
|
||||
.admin__data-grid-filters-wrap .admin__control-select,
|
||||
.admin__data-grid-filters-wrap .admin__action-multiselect,
|
||||
.admin__data-grid-filters-wrap .ui-datepicker .ui-datepicker-title select {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu {
|
||||
min-width: 34.7rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu .action-menu-item,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu .action-menu-item,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu .action-menu-item {
|
||||
margin-top: .1rem;
|
||||
}
|
||||
|
||||
.action-menu .item,
|
||||
.action-menu .action-menu-item,
|
||||
.abs-action-menu .action-submenu .item,
|
||||
.abs-action-menu .action-submenu .action-menu-item,
|
||||
.action-menu .action-submenu .item,
|
||||
.action-menu .action-submenu .action-menu-item,
|
||||
.actions-split .dropdown-menu .action-submenu .item,
|
||||
.actions-split .dropdown-menu .action-submenu .action-menu-item,
|
||||
.actions-split .action-menu .action-submenu .item,
|
||||
.actions-split .action-menu .action-submenu .action-menu-item {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
padding: .6875em 1em;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item {
|
||||
margin-left: 4.2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._expended:before {
|
||||
border-left: 1px dashed #a79d95;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
left: -1rem;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-dropdown {
|
||||
border-radius: 50%;
|
||||
height: 2.2rem;
|
||||
left: -2.2rem;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
width: 2.2rem;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin: 2px 5px 0 0;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap .action-menu-item {
|
||||
transition: background-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._expended .admin__action-multiselect-dropdown:before {
|
||||
line-height: 28px;
|
||||
content: '\e621';
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
[class*='admin__'] + label,
|
||||
[class*='admin__'] + label:after,
|
||||
[class*='admin__'] + label:before,
|
||||
[class*='admin__']:before,
|
||||
[class*='admin__']:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-dropdown:before {
|
||||
background: #ffffff;
|
||||
color: #a79d95;
|
||||
content: '\e622';
|
||||
font-size: 2.2rem;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu-item._with-checkbox .admin__action-multiselect-label {
|
||||
padding-left: 2.6rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner {
|
||||
padding-left: 3.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner:before {
|
||||
left: 4.3rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:last-child:before {
|
||||
height: 2.1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:after,
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:before {
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:after {
|
||||
border-top: 1px dashed #a79d95;
|
||||
height: 1px;
|
||||
top: 2.1rem;
|
||||
width: 4.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item:before {
|
||||
border-left: 1px dashed #a79d95;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._parent:after {
|
||||
width: 4.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:after {
|
||||
left: 3.2rem;
|
||||
width: 2.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:before {
|
||||
left: 3.2rem;
|
||||
top: 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root._parent:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:first-child:before {
|
||||
top: 2.1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-menu-inner-item._root:last-child:before {
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-label {
|
||||
line-height: 2.2rem;
|
||||
vertical-align: middle;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .admin__action-multiselect-label:before {
|
||||
left: 1rem;
|
||||
position: absolute;
|
||||
top: 1.4rem;
|
||||
}
|
||||
|
||||
.action-select-wrap {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select {
|
||||
padding-right: 3.2rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
background-color: #ffffff;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active:after,
|
||||
.action-select-wrap .action-select.active:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:after {
|
||||
border-color: #000000 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 0.5rem 0.4rem 0 0.4rem;
|
||||
content: '';
|
||||
height: 0;
|
||||
margin-top: -0.2rem;
|
||||
position: absolute;
|
||||
right: 1.2rem;
|
||||
top: 50%;
|
||||
transition: all .2s linear;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
._active .action-select-wrap .action-select:after,
|
||||
.active .action-select-wrap .action-select:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover:after {
|
||||
border-color: #000000 transparent transparent transparent;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover {
|
||||
border-color: #878787;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:hover:before {
|
||||
border-color: #878787;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select:before {
|
||||
background-color: #e3e3e3;
|
||||
border: 1px solid #adadad;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 3.2rem;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select._active:before {
|
||||
border-color: #007bdb;
|
||||
border-left-color: #adadad;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select[disabled] {
|
||||
color: #41362f;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-select[disabled]:after {
|
||||
border-color: #41362f transparent transparent transparent;
|
||||
}
|
||||
|
||||
.action-select-wrap._active {
|
||||
z-index: 500;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select:before {
|
||||
border-color: #007bdb;
|
||||
}
|
||||
|
||||
.action-select-wrap._active .action-select:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu,
|
||||
.action-select-wrap .abs-action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu .action-submenu,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu {
|
||||
max-height: 45rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu ._disabled:hover,
|
||||
.action-select-wrap .abs-action-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .action-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu ._disabled:hover,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu ._disabled:hover {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu ._disabled .action-menu-item,
|
||||
.action-select-wrap .abs-action-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .action-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .actions-split .dropdown-menu .action-submenu ._disabled .action-menu-item,
|
||||
.action-select-wrap .actions-split .action-menu .action-submenu ._disabled .action-menu-item {
|
||||
cursor: default;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items > .action-menu,
|
||||
.action-select-wrap .action-menu-items > .abs-action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .dropdown-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .action-menu .action-submenu {
|
||||
min-width: 100%;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .abs-action-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .action-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .dropdown-menu .action-submenu .action-submenu,
|
||||
.action-select-wrap .action-menu-items > .actions-split .action-menu .action-submenu .action-submenu {
|
||||
position: absolute;
|
||||
right: -100%;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb .action-close {
|
||||
bottom: 0;
|
||||
font-size: .5em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap {
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
display: block;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap .admin__action-multiselect {
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 3.2rem;
|
||||
padding-right: 3.6rem;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.admin__control-table-wrapper .admin__action-multiselect-wrap .admin__action-multiselect {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-text {
|
||||
padding: .6rem 1rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-wrap {
|
||||
border-bottom: 1px solid #e3e3e3;
|
||||
margin: 0 1rem;
|
||||
padding: 1rem 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search {
|
||||
padding-right: 3rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin__data-grid-action-bookmarks .admin__action-dropdown-menu .admin__control-text {
|
||||
font-size: 1.3rem;
|
||||
min-width: 15rem;
|
||||
width: calc(100% - 4rem);
|
||||
}
|
||||
|
||||
.admin__control-text {
|
||||
min-width: 4rem;
|
||||
}
|
||||
|
||||
button, input, optgroup, select, textarea, .block-footer .action-add {
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.admin__fieldset > .admin__field > .admin__field-control input[type="checkbox"] {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
input[type='checkbox'].admin__control-checkbox {
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
input[type='checkbox'] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin__scope-old input[type="checkbox"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
margin: 0 5px 0 0;
|
||||
position: relative;
|
||||
transition: all 0.1s ease-in;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.admin__scope-old input[type="radio"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #adadad;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
margin: 0 5px 0 0;
|
||||
position: relative;
|
||||
transition: all 0.1s ease-in;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-label {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
height: 1.3em;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 2.2rem;
|
||||
top: 1.7rem;
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
[class*='admin__'] + label, [class*='admin__'] + label:after,
|
||||
[class*='admin__'] + label:before, [class*='admin__']:before, [class*='admin__']:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin__control-checkbox + label:before, .mass-select-wrap select + label:before {
|
||||
border-radius: 1px;
|
||||
content: '';
|
||||
font-size: 0;
|
||||
transition: font-size 0.1s ease-out, color 0.1s ease-out, border-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__control-radio + label:before, .admin__control-checkbox + label:before, .mass-select-wrap select + label:before {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #adadad;
|
||||
color: transparent;
|
||||
float: left;
|
||||
height: 1.6rem;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 1.6rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb .action-close:before {
|
||||
position: absolute;
|
||||
top: -9px;
|
||||
right: -10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner-item._root .action-menu-item .admin__action-multiselect-label:before {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.admin__control-checkbox:checked + label:before, .mass-select-wrap select._checked + label:before {
|
||||
content: '\e610';
|
||||
font-size: 1.1rem;
|
||||
line-height: 125%;
|
||||
color: #000;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.admin__scope-old input[type=text] {
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #adadad;
|
||||
border-radius: 1px;
|
||||
padding: .6rem 1rem .6rem;
|
||||
color: #303030;
|
||||
background-color: #ffffff;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb:hover {
|
||||
border-color: #908379;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-crumb {
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #a79d95;
|
||||
border-radius: 1px;
|
||||
display: inline-block;
|
||||
font-size: 1.2rem;
|
||||
margin: 0.3rem -4px 0.3rem 0.3rem;
|
||||
padding: 0.3rem 2.4rem 0.4rem 1rem;
|
||||
position: relative;
|
||||
transition: border-color 0.1s linear;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner {
|
||||
margin-bottom: 0;
|
||||
max-height: 46rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner .admin__action-multiselect-menu-inner {
|
||||
list-style: none;
|
||||
max-height: none;
|
||||
overflow: hidden;
|
||||
padding-left: 2.2rem;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-menu-inner ._hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-actions-wrap {
|
||||
border-top: 1px solid #e3e3e3;
|
||||
margin: 0 1rem;
|
||||
padding: 1rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-actions-wrap .action-default {
|
||||
font-size: 1.3rem;
|
||||
min-width: 13rem;
|
||||
}
|
||||
|
||||
.action-default, button, .block-footer .action-add, .block-footer .action-add {
|
||||
background: #e3e3e3;
|
||||
border-color: #adadad;
|
||||
color: #514943;
|
||||
}
|
||||
|
||||
.action-default, button {
|
||||
border: 1px solid;
|
||||
border-radius: 0;
|
||||
display: inline-block;
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.36;
|
||||
padding: 0.6rem 1em 0.6rem;
|
||||
text-align: center;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
button, html input[type='button'], input[type='reset'], input[type='submit'], .block-footer .action-add {
|
||||
-webkit-appearance: button;
|
||||
appearance: button;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
margin-top: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-wrap.action-select-wrap .action-menu,
|
||||
.admin__action-multiselect-wrap.action-select-wrap .abs-action-menu
|
||||
.action-submenu, .admin__action-multiselect-wrap.action-select-wrap
|
||||
.action-menu .action-submenu, .admin__action-multiselect-wrap.action-select-wrap
|
||||
.actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-wrap.action-select-wrap .actions-split .action-menu .action-submenu {
|
||||
max-height: none;
|
||||
overflow-y: inherit;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.action-menu._active,
|
||||
.abs-action-menu .action-submenu._active,
|
||||
.action-menu .action-submenu._active, .actions-split .dropdown-menu .action-submenu._active,
|
||||
.actions-split .action-menu .action-submenu._active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-tree .action-menu,
|
||||
.admin__action-multiselect-tree .abs-action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .action-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .dropdown-menu .action-submenu,
|
||||
.admin__action-multiselect-tree .actions-split .action-menu .action-submenu {
|
||||
min-width: 34.7rem;
|
||||
}
|
||||
|
||||
.action-menu,
|
||||
.abs-action-menu .action-submenu, .action-menu .action-submenu,
|
||||
.actions-split .dropdown-menu .action-submenu, .actions-split .action-menu .action-submenu {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #007bdb;
|
||||
border-radius: 1px;
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
|
||||
color: #41362f;
|
||||
display: none;
|
||||
font-weight: 400;
|
||||
left: 0;
|
||||
list-style: none;
|
||||
margin: 2px 0 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.action-menu,
|
||||
.abs-action-menu .action-submenu,
|
||||
.action-menu .action-submenu,
|
||||
.actions-split .dropdown-menu .action-submenu,
|
||||
.actions-split .action-menu .action-submenu {
|
||||
left: 0;
|
||||
margin-top: 2px;
|
||||
right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin__form-field-control .admin__control-text,
|
||||
.admin__field-control .admin__control-text,
|
||||
.admin__form-field-control .admin__control-textarea,
|
||||
.admin__field-control .admin__control-textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin__control-checkbox {
|
||||
cursor: pointer;
|
||||
opacity: .01;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.action-close {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.action-close:before {
|
||||
content: '\e616';
|
||||
transition: color 0.1s linear;
|
||||
font-family: 'luma-icons';
|
||||
}
|
||||
|
||||
.action-close > span {
|
||||
clip: rect(0, 0, 0, 0);
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.admin__action-multiselect-search-wrap input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
|
||||
.mp-blog-icon:before {
|
||||
background-repeat: no-repeat;
|
||||
color: #999999;
|
||||
content: '';
|
||||
display: inline-flex;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
opacity: 50%;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
.mp-blog-calendar-times:before {
|
||||
background-image: url("../media/images/calendar-times.svg");
|
||||
}
|
||||
.mp-blog-user:before {
|
||||
background-image: url("../media/images/user.svg");
|
||||
}
|
||||
.mp-blog-comments:before {
|
||||
background-image: url("../media/images/comments.svg");
|
||||
}
|
||||
.mp-blog-traffic:before {
|
||||
background-image: url("../media/images/eye.svg");
|
||||
}
|
||||
.mp-blog-thumbs-up:before {
|
||||
background-image: url("../media/images/thumbs-up.svg");
|
||||
}
|
||||
@@ -0,0 +1,722 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
.mp-blog-view a,
|
||||
.mp-sidebar a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mp-blog-rss {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mp-post-info {
|
||||
color: #999999;
|
||||
font-size: 10px;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
|
||||
span {
|
||||
color: #6f6f6f;;
|
||||
}
|
||||
}
|
||||
|
||||
.post-item-wraper {
|
||||
border: 1px solid #eee;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid #eee;
|
||||
box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.post-info-wraper {
|
||||
padding: 20px 15px 10px 15px;
|
||||
}
|
||||
|
||||
.post-list-item {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.post-short-description {
|
||||
max-width: 100%;
|
||||
|
||||
p {
|
||||
max-width: 100%;
|
||||
//overflow: hidden;
|
||||
//text-overflow: ellipsis;
|
||||
//max-height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-post_content {
|
||||
margin: 10px 0 10px 0;
|
||||
font-size: 15px;
|
||||
color: #666;
|
||||
}
|
||||
.post-post_content img,.post-post_content video,.post-post_content iframe{
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.post-sharing-button {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
#sharing {
|
||||
padding: 20px 30px;
|
||||
background: #f6f6f6;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
#sharing .share-col-left {
|
||||
float: left;
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
.about-admin {
|
||||
h4.admin-title {
|
||||
width: 215px;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.block-blog-related {
|
||||
margin-top: 35px;
|
||||
|
||||
.related-content-container {
|
||||
padding: 0 10px;
|
||||
|
||||
.author-content-image {
|
||||
float: left;
|
||||
width: 135px;
|
||||
}
|
||||
|
||||
.author-content-information {
|
||||
float: left;
|
||||
padding-left: 20px;
|
||||
width: calc(~"100% - 155px");
|
||||
|
||||
.author-name {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#post-reviews {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
a.mp-relate-link {
|
||||
background: #f55567;
|
||||
color: #0a0a0a;
|
||||
|
||||
img.img-responsive {
|
||||
margin: 0 auto;
|
||||
height: 200px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-archives {
|
||||
list-style: none;
|
||||
padding-left: 8px;
|
||||
|
||||
a.list-archives {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.author-image {
|
||||
text-align: center;
|
||||
|
||||
img.img-responsive {
|
||||
border: none;
|
||||
padding-right: 7px;
|
||||
padding-left: 7px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.pager {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pager span.toolbar-number {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block-title p {
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.mp-sidebar {
|
||||
margin-bottom: 25px;
|
||||
|
||||
.block-content {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.data.item.title {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.product.data.items {
|
||||
> .item.content {
|
||||
padding: 20px 0 20px 10px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
||||
.mp-sidebar {
|
||||
.data.item.title {
|
||||
width: 50% !important;
|
||||
margin: 0 !important;
|
||||
|
||||
.data.switch {
|
||||
padding-left: 10px !important;
|
||||
padding-right: 10px !important;
|
||||
|
||||
div {
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#tab-label-popular {
|
||||
.data.switch {
|
||||
border-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-tags {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
a.label.label-default.tags-list {
|
||||
background: #fff;
|
||||
border: 1px solid #bbb;
|
||||
color: inherit;
|
||||
font-weight: normal;
|
||||
font-size: 100%;
|
||||
border-radius: 1px;
|
||||
display: inline-block;
|
||||
margin-bottom: 5px;
|
||||
padding: 10px;
|
||||
margin-right: 5px
|
||||
}
|
||||
|
||||
ul.menu-categories {
|
||||
li.category-item {
|
||||
list-style: none;
|
||||
//padding: 10px 0 5px 0;
|
||||
}
|
||||
|
||||
.category-level3 {
|
||||
display: none;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.category-level4 {
|
||||
display: none;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.list-categories {
|
||||
color: inherit;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
i {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
h2.list-title {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.list-post-tabs {
|
||||
padding: 5px 10px 5px 0;
|
||||
|
||||
&:hover {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.post-left {
|
||||
float: left;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.post-right {
|
||||
float: left;
|
||||
width: 75%;
|
||||
padding-left: 10px;
|
||||
box-sizing: border-box;
|
||||
|
||||
span {
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
|
||||
&.create-at {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab-pane.fade {
|
||||
border-left: 1px solid #ddd;
|
||||
border-right: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.fa.fa-angle-right {
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
.sidebar .mpblog-search {
|
||||
float: none !important;
|
||||
padding: 0 !important;
|
||||
margin-bottom: 15px !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.autocomplete-suggestions {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #ddd;
|
||||
background: #FFF;
|
||||
cursor: default;
|
||||
overflow: auto;
|
||||
-webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
-moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
|
||||
border-top: 0;
|
||||
padding: 10px 0;
|
||||
overflow-x: hidden;
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
.autocomplete-suggestion {
|
||||
padding: 2px 5px;
|
||||
border-bottom: 1px solid #eee;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.mpblog-suggestion {
|
||||
display: block;
|
||||
|
||||
&:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.mpblog-suggestion-left, .mpblog-suggestion-right {
|
||||
float: left;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.mpblog-suggestion-left {
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.mpblog-suggestion-right.image-visible {
|
||||
max-width: calc(~"75% - 40px");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.autocomplete-no-suggestion {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.autocomplete-selected {
|
||||
background: #F0F0F0;
|
||||
}
|
||||
|
||||
.autocomplete-group {
|
||||
padding: 2px 5px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
display: block;
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
|
||||
//@media (max-width: 767px) {
|
||||
// .autocomplete-suggestion .mpblog-suggestion .mpblog-suggestion-right {
|
||||
// max-width: calc(100% - 31%);
|
||||
// }
|
||||
//}
|
||||
|
||||
.mpblog-product-des {
|
||||
color: #333333;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.mpblog-search {
|
||||
position: relative;
|
||||
|
||||
button.action.search {
|
||||
display: inline-block;
|
||||
background: none !important;
|
||||
-moz-box-sizing: content-box;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
line-height: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 2px;
|
||||
z-index: 1;
|
||||
|
||||
:before {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: #8f8f8f;
|
||||
}
|
||||
|
||||
span {
|
||||
border: 0;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
label[for="mpblog-search-box"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* style comment */
|
||||
textarea.default-cmt__content__cmt-block__cmt-box__cmt-input {
|
||||
overflow: hidden !important;
|
||||
resize: none;
|
||||
min-height: 80px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.default-cmt__content__cmt-block__guest-box {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.show-cmt__cmt-row.is-reply {
|
||||
padding-left: 50px !important;
|
||||
}
|
||||
|
||||
.default-cmt__content__cmt-block__cmt-box__cmt-btn {
|
||||
float: right;
|
||||
|
||||
.default-cmt_loading {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmt-row__reply-row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.default-cmt__cmt-login {
|
||||
float: right;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
div.default-cmt__content__cmt-content {
|
||||
width: 100%;
|
||||
margin-top: 50px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
ul.default-cmt__content__cmt-content {
|
||||
list-style: none !important;
|
||||
}
|
||||
|
||||
.cmt-row__cmt-content {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.cmt-row__cmt-interactions {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.cmt-row__cmt-content p {
|
||||
margin: 3px 0 !important;
|
||||
}
|
||||
|
||||
.interactions__btn-actions {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a.interactions__btn-actions.action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.interactions__cmt-createdat {
|
||||
display: inline-block;
|
||||
color: #999;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.cmt-row.reply-row {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.reply-form__form-input {
|
||||
margin-bottom: 0 !important;
|
||||
position: relative;
|
||||
|
||||
.default-cmt_loading {
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.default-cmt__content__cmt-row.reply-row {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
li.default-cmt__content__cmt-content__cmt-row.cmt-row.reply-row {
|
||||
margin-top: 5px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
li.default-cmt__content__cmt-content__cmt-row.cmt-row {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 5px;
|
||||
border-top: 1px solid #f5f5f5;
|
||||
}
|
||||
|
||||
.default-cmt__content__cmt-content ul:first-child {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
/* end style comment */
|
||||
|
||||
.widget-title {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.author-social img.img-responsive {
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
.share-col-right {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/*post view css*/
|
||||
.page-layout-1column .column.main {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Footer Copyright */
|
||||
.mp-footer {
|
||||
margin-top: 50px;
|
||||
font-size: 8px !important;
|
||||
display: block;
|
||||
clear: both;
|
||||
float: right;
|
||||
text-transform: inherit;
|
||||
|
||||
h3 {
|
||||
margin-top: 50px;
|
||||
font-size: 8px !important;
|
||||
display: block;
|
||||
clear: both;
|
||||
float: right;
|
||||
text-transform: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.mp-footer-links-light {
|
||||
color: #E8E8E8 !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline;
|
||||
|
||||
a {
|
||||
color: #E8E8E8 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.post-image {
|
||||
min-height: 250px;
|
||||
position: relative;
|
||||
|
||||
img.img-responsive {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mpblog-post-view {
|
||||
.post-view-image {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
.post-item-list {
|
||||
.post-image {
|
||||
min-width: 250px;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.post-info-wraper {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-info-wraper {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
|
||||
h2.mp-post-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.post-list-content {
|
||||
.limiter {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/** Yourstore theme */
|
||||
.mpblog-etheme-yourstore {
|
||||
.post-list-container,
|
||||
.post-view,
|
||||
.mp-blog-rss {
|
||||
width: 85%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.block-blog-related {
|
||||
border-bottom: solid 1px #dfdfdf;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.mpblog-etheme-yourstore {
|
||||
.page-layout-2columns-right .post-list-content {
|
||||
border-right: solid 1px #dfdfdf;
|
||||
}
|
||||
|
||||
.page-layout-2columns-left .post-list-content {
|
||||
border-left: solid 1px #dfdfdf;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.mpblog-etheme-yourstore {
|
||||
.products-same-post li {
|
||||
height: 400px;
|
||||
width: 24.5% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
.mpblog-etheme-yourstore {
|
||||
.products-same-post li {
|
||||
height: 500px;
|
||||
width: 16.67% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 640px) {
|
||||
.post-list-content .products-grid .product-item {
|
||||
width: 48%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 640px) {
|
||||
.post-list-content .products-grid .product-item {
|
||||
width: 98%;
|
||||
}
|
||||
}
|
||||
/* mageplaza end blog style */
|
||||
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
|
||||
define([
|
||||
'jquery'
|
||||
], function ($) {
|
||||
"use strict";
|
||||
|
||||
var parentCategory = $(".mp-blog-expand-tree-2");
|
||||
var childCategory = $(".mp-blog-expand-tree-3");
|
||||
|
||||
parentCategory.click(function () {
|
||||
if ($(this).hasClass("mp-blog-expand-tree-2")) {
|
||||
$(this).parent().find(".category-level3").slideDown("fast");
|
||||
$(this).removeClass("mp-blog-expand-tree-2 fa fa-plus-square-o")
|
||||
.addClass("mp-blog-narrow-tree-2 fa fa-minus-square-o");
|
||||
} else {
|
||||
$(this).parent().find(".category-level4").slideUp("fast");
|
||||
$(this).parent().find(".category-level3").slideUp("fast");
|
||||
$(this).removeClass("mp-blog-narrow-tree-2 fa fa-minus-square-o")
|
||||
.addClass("mp-blog-expand-tree-2 fa fa-plus-square-o");
|
||||
$(this).parent().find(".mp-blog-narrow-tree-3")
|
||||
.removeClass("mp-blog-narrow-tree-3 fa fa-minus-square-o")
|
||||
.addClass("mp-blog-expand-tree-3 fa fa-plus-square-o");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
childCategory.click(function () {
|
||||
if ($(this).hasClass("mp-blog-expand-tree-3")) {
|
||||
$(this).parent().find(".category-level4").slideDown("fast");
|
||||
$(this).removeClass("mp-blog-expand-tree-3 fa fa-plus-square-o")
|
||||
.addClass("mp-blog-narrow-tree-3 fa fa-minus-square-o");
|
||||
} else {
|
||||
$(this).parent().find(".category-level4").slideUp("fast");
|
||||
$(this).removeClass("mp-blog-narrow-tree-3 fa fa-minus-square-o")
|
||||
.addClass("mp-blog-expand-tree-3 fa fa-plus-square-o");
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
+84
File diff suppressed because one or more lines are too long
+304
@@ -0,0 +1,304 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
|
||||
|
||||
require([
|
||||
'jquery'
|
||||
], function ($) {
|
||||
'use strict';
|
||||
|
||||
var cmtBox = $('.default-cmt__content__cmt-block__cmt-box__cmt-input'),
|
||||
submitCmt = $('.default-cmt__content__cmt-block__cmt-box__cmt-btn__btn-submit'),
|
||||
defaultCmt = $('ul.default-cmt__content__cmt-content:first'),
|
||||
likeBtn = defaultCmt.find('.btn-like'),
|
||||
replyBtn = defaultCmt.find('.btn-reply');
|
||||
|
||||
submitComment();
|
||||
likeComment(likeBtn);
|
||||
showReply(replyBtn);
|
||||
|
||||
$('li.default-cmt__content__cmt-content__cmt-row:first').css({'border-top': 'none'});
|
||||
$('.default-cmt__cmt-login__btn-login').click(function () {
|
||||
var socialPopup = $("[href$='social-login-popup']");
|
||||
|
||||
if (socialPopup.length) {
|
||||
socialPopup.first().trigger("click");
|
||||
} else {
|
||||
window.location.href = loginUrl;
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Check the guest name and email input is valid
|
||||
*
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function checkGuestFormValidate() {
|
||||
if (isLogged == 'No') {
|
||||
return $("#default-cmt__content__cmt-block__guest-form").valid();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* The comment submit button action
|
||||
*/
|
||||
function submitComment() {
|
||||
submitCmt.click(function () {
|
||||
$(".default-cmt__content__cmt-block__cmt-box").find('.messages').hide();
|
||||
if (checkGuestFormValidate()) {
|
||||
var cmtText = cmtBox.val();
|
||||
|
||||
if (cmtText.trim().length) {
|
||||
$('.default-cmt_loading').show();
|
||||
$(this).prop('disabled', true);
|
||||
var ajaxRequest = ajaxCommentActions(cmtText, submitCmt);
|
||||
ajaxRequest.done(function () {
|
||||
cmtBox.val('');
|
||||
$('.default-cmt_loading').hide();
|
||||
$(this).prop('disabled', false);
|
||||
}.bind(this));
|
||||
} else {
|
||||
$('.default-cmt__content__cmt-block__cmt-box__cmt-input').parent().append(messengerBox.cmt_warning);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//like action
|
||||
function likeComment(btn) {
|
||||
btn.each(function () {
|
||||
var likeEl = $(this);
|
||||
|
||||
likeEl.click(function () {
|
||||
var cmtId = $(this).attr('data-cmt-id'),
|
||||
cmtRowContainer = $(this).closest('.default-cmt__content__cmt-content__cmt-row');
|
||||
if (isLogged === 'Yes') {
|
||||
var likeCount = $(this).find('span').text();
|
||||
if ($(this).attr('click') === '1') {
|
||||
if ($(this).hasClass('mpblog-liked')) {
|
||||
$(this).css('color', '#333333');
|
||||
likeCount--;
|
||||
$(this).find('span').text((likeCount === 0) ? "" : likeCount);
|
||||
$(this).removeClass('mpblog-liked')
|
||||
|
||||
} else {
|
||||
likeCount++;
|
||||
$(this).find('span').text(likeCount);
|
||||
$(this).css('color', likedColor);
|
||||
$(this).addClass('mpblog-liked')
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: window.location.href,
|
||||
data: {cmtId: cmtId},
|
||||
success: function (response) {
|
||||
if (response.status === 'ok') {
|
||||
$(likeEl).attr('click', '1');
|
||||
} else if (response.status === 'error' && response.hasOwnProperty(error)) {
|
||||
defaultCmt.append(response.error);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
$(this).attr('click', '0');
|
||||
|
||||
} else {
|
||||
cmtRowContainer.append(messengerBox.login_warning);
|
||||
jQuery.fn.fadeOutAndRemove = function (speed) {
|
||||
$(this).fadeOut(speed, function () {
|
||||
$(this).remove();
|
||||
})
|
||||
};
|
||||
var removeNotification = function () {
|
||||
$('.message.error.message-error').fadeOutAndRemove('normal');
|
||||
};
|
||||
setTimeout(removeNotification, 3000);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
//show reply
|
||||
function showReply(btn) {
|
||||
btn.each(function () {
|
||||
|
||||
$(this).click(function () {
|
||||
var cmtId = (typeof $(this).closest('.default-cmt__content__cmt-content__cmt-row').parent().parent().parent().parent().attr('data-cmt-id') !== 'undefined') ? $(this).closest('.default-cmt__content__cmt-content__cmt-row').parent().parent().attr('data-cmt-id') : $(this).attr('data-cmt-id'),
|
||||
inputCmtID = $(this).attr('data-cmt-id'),
|
||||
cmtRowCmt = $("div").find('#cmt-row');
|
||||
var cmtRowContainer = $(this).closest('.default-cmt__content__cmt-content__cmt-row');
|
||||
if ($("li.cmt-row-" + cmtId).find("ul").length) {
|
||||
var cmtRowContainer = $("#cmt-id-" + cmtId + " ul:last-child");
|
||||
}
|
||||
var cmtRow = cmtRowContainer.find('.row__' + inputCmtID);
|
||||
var cmtName = $(".username__" + inputCmtID).text();
|
||||
|
||||
if (isLogged === 'Yes') {
|
||||
if (cmtRowCmt.length) {
|
||||
cmtRowCmt.toggle();
|
||||
$("#cmt-row").remove();
|
||||
}
|
||||
if (cmtRow.length) {
|
||||
cmtRow.toggle();
|
||||
$("#cmt-row").remove();
|
||||
} else {
|
||||
cmtRowContainer.append('<div id="cmt-row" class="cmt-row__reply-row row row__' + inputCmtID + ' col-md-12">' +
|
||||
'<div class="reply-form__form-input form-group col-xs-8 col-md-6">' +
|
||||
'<label for="reply_cmt' + inputCmtID + '"></label>' +
|
||||
'<input type="text" id="reply_cmt' + inputCmtID + '" class="form-group__input form-control" placeholder="Press enter to submit reply" value="' + cmtName + ' " autofocus onfocus="this.setSelectionRange(1000,1001);"/>' +
|
||||
'</div>' +
|
||||
'</div>');
|
||||
var input = $('#reply_cmt' + inputCmtID);
|
||||
input.closest('.form-group').append(
|
||||
$('.default-cmt__content__cmt-block__cmt-box__cmt-btn .default-cmt_loading').clone()
|
||||
);
|
||||
input.focus();
|
||||
submitReply(input, cmtId, cmtRowContainer);
|
||||
}
|
||||
} else {
|
||||
cmtRowContainer.append(messengerBox.login_warning);
|
||||
jQuery.fn.fadeOutAndRemove = function (speed) {
|
||||
$(this).fadeOut(speed, function () {
|
||||
$(this).remove();
|
||||
})
|
||||
};
|
||||
var removeNotification = function () {
|
||||
$('.message.error.message-error').fadeOutAndRemove('normal');
|
||||
};
|
||||
setTimeout(removeNotification, 3000);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
//submit reply
|
||||
function submitReply(input, replyId, parentComment) {
|
||||
input.keypress(function (e) {
|
||||
var text = input.val();
|
||||
if (text !== '') {
|
||||
if (e.keyCode === 13) {
|
||||
input.siblings('.default-cmt_loading').show();
|
||||
input.prop('disabled', true);
|
||||
var ajaxRequest = ajaxCommentActions(text, input, true, replyId, parentComment);
|
||||
ajaxRequest.done(function () {
|
||||
input.closest('.cmt-row__reply-row').hide();
|
||||
input.siblings('.default-cmt_loading').hide();
|
||||
input.prop('disabled', false);
|
||||
$("#cmt-row").remove();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//submit comment actions
|
||||
function ajaxCommentActions(cmtText, inputEl, checkReply, cmtId, parentComment) {
|
||||
var isReply = (typeof checkReply !== 'undefined') ? 1 : 0,
|
||||
replyId = (typeof cmtId !== 'undefined') ? cmtId : 0,
|
||||
displayReply = (typeof checkReply !== 'undefined');
|
||||
var guestName = $('#default-cmt__content__cmt-block__guest-box__name-input').val();
|
||||
var guestEmail = $('#default-cmt__content__cmt-block__guest-box__email-input').val();
|
||||
return $.ajax({
|
||||
type: 'POST',
|
||||
url: window.location.href,
|
||||
// async: false,
|
||||
data: {cmt_text: cmtText, isReply: isReply, replyId: replyId, guestName: guestName, guestEmail: guestEmail},
|
||||
success: function (response) {
|
||||
switch (response.status) {
|
||||
case 'duplicated':
|
||||
$('.default-cmt__content__cmt-block__cmt-box__cmt-input').parent().append(messengerBox.exist_email_warning);
|
||||
break;
|
||||
case 3:
|
||||
$('.default-cmt__content__cmt-block').prepend(messengerBox.comment_approve);
|
||||
break;
|
||||
case 1:
|
||||
displayComment(response, displayReply);
|
||||
var cmtCount = defaultCmt.find('li').length;
|
||||
$('.mp-cmt-count').text(cmtCount);
|
||||
inputEl.val('');
|
||||
break;
|
||||
case 'error':
|
||||
if (checkReply !== 'undefined') {
|
||||
parentComment.append(response.error);
|
||||
} else {
|
||||
defaultCmt.append(response.error);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// display comment
|
||||
function displayComment(cmt, isReply) {
|
||||
function htmlComment(text) {
|
||||
var html = '';
|
||||
var sub = text.split("\n");
|
||||
for (var i = 0; i < sub.length; i++) {
|
||||
html += '<p>' + sub[i] + '</p>';
|
||||
}
|
||||
return html;
|
||||
}
|
||||
var cmtRow = '<li style="width: 100%" id="cmt-id-' + cmt.cmt_id + '" class="default-cmt__content__cmt-content__cmt-row cmt-row-' + cmt.cmt_id + ' cmt-row col-m-12 '
|
||||
+ (isReply ? ('reply-row') : '') + '" data-cmt-id="' + cmt.cmt_id + '"' + (isReply ? ('data-reply-id="' + cmt.reply_cmt + '"') : '')
|
||||
+ '> <div class="cmt-row__cmt-username"> <span class="cmt-row__cmt-username username username__' + cmt.cmt_id + '">' + cmt.user_cmt
|
||||
+ '</span> </div> <div class="cmt-row__cmt-content"> <p>' + htmlComment(cmt.cmt_text)
|
||||
+ '</p> </div> <div class="cmt-row__cmt-interactions interactions"> <div class="interactions__btn-actions"> <a class="interactions__btn-actions action btn-like mpblog-like" data-cmt-id="'
|
||||
+ cmt.cmt_id + '" click="1"><i class="fa fa-thumbs-up" aria-hidden="true" style="margin-right: 3px"></i><span class="count-like__like-text"></span></a> <a class="interactions__btn-actions action btn-reply" data-cmt-id="'
|
||||
+ cmt.cmt_id + '">' + reply + '</a> </div> <div class="interactions__cmt-createdat"> <span>' + cmt.created_at + '</span> </div> </div> </li>';
|
||||
|
||||
if (isReply) {
|
||||
var replyCmtId = cmt.reply_cmt;
|
||||
var replyCmt = defaultCmt.find('.default-cmt__content__cmt-content__cmt-row');
|
||||
|
||||
replyCmt.each(function () {
|
||||
var cmtEl = $(this);
|
||||
if (cmtEl.attr('data-cmt-id') === replyCmtId) {
|
||||
var replyList = cmtEl.find('ul.default-cmt__content__cmt-content:first');
|
||||
|
||||
if (!replyList.length) {
|
||||
cmtRow = $('<ul class="default-cmt__content__cmt-content row">' + cmtRow + '</ul>');
|
||||
cmtEl.append(cmtRow);
|
||||
|
||||
likeComment(cmtRow.find('.btn-like'));
|
||||
showReply(cmtRow.find('.btn-reply'));
|
||||
} else {
|
||||
cmtRow = $(cmtRow);
|
||||
replyList.append(cmtRow);
|
||||
|
||||
likeComment(cmtRow.find('.btn-like'));
|
||||
showReply(cmtRow.find('.btn-reply'));
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
cmtRow = $(cmtRow);
|
||||
defaultCmt.append(cmtRow);
|
||||
|
||||
likeComment(cmtRow.find('.btn-like'));
|
||||
showReply(cmtRow.find('.btn-reply'));
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,90 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
define([
|
||||
'jquery',
|
||||
"mage/adminhtml/events",
|
||||
"mage/adminhtml/wysiwyg/tiny_mce/setup"
|
||||
], function ($) {
|
||||
'use strict';
|
||||
|
||||
return {
|
||||
config: function (nameEL, versionEditor, versionMagento, width) {
|
||||
var wysiwygcompany_description,
|
||||
config = {},
|
||||
editor;
|
||||
|
||||
if (typeof width === 'undefined') {
|
||||
width = '99%';
|
||||
}
|
||||
|
||||
if (versionMagento === "2") {
|
||||
$.extend(config, {
|
||||
settings: {
|
||||
theme_advanced_buttons1: 'bold,italic,|,justifyleft,justifycenter,justifyright,|,' +
|
||||
'fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,' +
|
||||
'bullist,numlist,|,code',
|
||||
theme_advanced_buttons2: null,
|
||||
theme_advanced_buttons3: null,
|
||||
theme_advanced_buttons4: null
|
||||
}
|
||||
});
|
||||
editor = new tinyMceWysiwygSetup(
|
||||
nameEL,
|
||||
config
|
||||
);
|
||||
editor.turnOn();
|
||||
$('#' + nameEL).addClass('wysiwyg-editor').data('wysiwygEditor', editor);
|
||||
} else if (versionEditor === "4") {
|
||||
wysiwygcompany_description = new wysiwygSetup(nameEL, {
|
||||
"width": width,
|
||||
"height": "200px",
|
||||
"plugins": [{"name": "image"}],
|
||||
"tinymce4": {
|
||||
"toolbar": "formatselect | bold italic underline | alignleft aligncenter alignright |" +
|
||||
" bullist numlist | link table charmap",
|
||||
"plugins": "advlist autolink lists link charmap media noneditable" +
|
||||
" table contextmenu paste code help table"
|
||||
}
|
||||
});
|
||||
wysiwygcompany_description.setup("exact");
|
||||
} else {
|
||||
$.extend(config, {
|
||||
settings: {
|
||||
theme_advanced_buttons1: 'bold,italic,|,justifyleft,justifycenter,justifyright,|,' +
|
||||
'fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,' +
|
||||
'bullist,numlist,|,code',
|
||||
theme_advanced_buttons2: null,
|
||||
theme_advanced_buttons3: null,
|
||||
theme_advanced_buttons4: null
|
||||
},
|
||||
tinymce : {
|
||||
content_css : null
|
||||
}
|
||||
});
|
||||
editor = new wysiwygSetup(
|
||||
nameEL,
|
||||
config
|
||||
);
|
||||
editor.setup("exact");
|
||||
$('#' + nameEL).addClass('wysiwyg-editor').data('wysiwygEditor', editor);
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1,193 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
define([
|
||||
'jquery'
|
||||
], function ($) {
|
||||
'use strict';
|
||||
|
||||
$.widget('mageplaza.mpBlogHelpfulRate', {
|
||||
options: {
|
||||
url: '',
|
||||
post_id: '',
|
||||
mode: ''
|
||||
},
|
||||
_create: function () {
|
||||
var post_id = this.options.post_id,
|
||||
url = this.options.url,
|
||||
self = this,
|
||||
subPostId = {};
|
||||
|
||||
if (self.options.mode === 1) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
data: {
|
||||
post_id: post_id,
|
||||
action: '3',
|
||||
mode: self.options.mode
|
||||
},
|
||||
showLoader: false,
|
||||
success: function (response) {
|
||||
if (response.status === 0) {
|
||||
self.disableReview(response.action);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (JSON.parse(self.getCookie('mpblog_post_data'))) {
|
||||
subPostId = JSON.parse(self.getCookie('mpblog_post_data'));
|
||||
if (typeof subPostId[post_id] !== "undefined") {
|
||||
self.disableReview(subPostId[post_id].type);
|
||||
}
|
||||
}
|
||||
|
||||
$('#mp-blog-review div').each(function () {
|
||||
var el = this;
|
||||
|
||||
|
||||
$(el).on('click', function () {
|
||||
var action = 0,
|
||||
currentPostIds = {},
|
||||
likeId = 0;
|
||||
|
||||
if (JSON.parse(self.getCookie('mpblog_post_data'))) {
|
||||
currentPostIds = JSON.parse(self.getCookie('mpblog_post_data'));
|
||||
}
|
||||
|
||||
if ($(this).hasClass('mp-blog-like')) {
|
||||
action = 1;
|
||||
}
|
||||
|
||||
if (typeof currentPostIds[post_id] !== "undefined" && self.options.mode === 0) {
|
||||
likeId = currentPostIds[post_id].likeId;
|
||||
self.enableReview(currentPostIds[post_id].type);
|
||||
if (action === currentPostIds[post_id].type) {
|
||||
delete currentPostIds[post_id];
|
||||
document.cookie = 'mpblog_post_data = ' + JSON.stringify(currentPostIds);
|
||||
} else {
|
||||
currentPostIds[post_id].type = action;
|
||||
self.disableReview(action);
|
||||
}
|
||||
}
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
data: {
|
||||
post_id: post_id,
|
||||
action: action,
|
||||
mode: self.options.mode,
|
||||
likeId: likeId
|
||||
},
|
||||
showLoader: true,
|
||||
success: function (response) {
|
||||
var storedPostIds,
|
||||
jsonStringIds;
|
||||
|
||||
if (response['postLike']
|
||||
&& self.options.mode === 0 && typeof currentPostIds[post_id] === "undefined") {
|
||||
storedPostIds =
|
||||
self.receiveCookiePostIds(post_id, action, response['postLike'], self);
|
||||
jsonStringIds = JSON.stringify(storedPostIds);
|
||||
document.cookie = 'mpblog_post_data = ' + jsonStringIds;
|
||||
}
|
||||
|
||||
if (response['status']) {
|
||||
if (response["sumLike"]) {
|
||||
$('#mp-blog-review .mp-blog-like .mp-blog-view')
|
||||
.text('(' + response["sumLike"] + ')');
|
||||
} else {
|
||||
$('#mp-blog-review .mp-blog-like .mp-blog-view')
|
||||
.text('');
|
||||
}
|
||||
if (response["sumDislike"]) {
|
||||
$('#mp-blog-review .mp-blog-dislike .mp-blog-view')
|
||||
.text('(' + response["sumDislike"] + ')');
|
||||
} else {
|
||||
$('#mp-blog-review .mp-blog-dislike .mp-blog-view')
|
||||
.text('');
|
||||
}
|
||||
}
|
||||
|
||||
if (response['status']) {
|
||||
self.enableAllReview();
|
||||
if (response['postLike']) {
|
||||
self.disableReview(action);
|
||||
}
|
||||
}
|
||||
|
||||
$('html, body').animate({
|
||||
scrollTop: $('body').offset().top
|
||||
}, 500);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
},
|
||||
disableReview: function (action) {
|
||||
if ('' + action === '1') {
|
||||
$('.mp-blog-like').css('background-color', '#658259');
|
||||
|
||||
} else {
|
||||
$('.mp-blog-dislike').css('background-color', '#9a6464');
|
||||
}
|
||||
},
|
||||
enableReview: function (action) {
|
||||
if ('' + action === '1') {
|
||||
$('.mp-blog-like').css('background-color', '#6AA84F');
|
||||
|
||||
} else {
|
||||
$('.mp-blog-dislike').css('background-color', '#EC3A3C');
|
||||
}
|
||||
},
|
||||
enableAllReview: function () {
|
||||
$('.mp-blog-like').css('background-color', '#6AA84F');
|
||||
$('.mp-blog-dislike').css('background-color', '#EC3A3C');
|
||||
|
||||
},
|
||||
getCookie: function (name) {
|
||||
var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
|
||||
|
||||
return v ? v[2] : null;
|
||||
},
|
||||
receiveCookiePostIds: function (postId, action, likeId, self) {
|
||||
var postData = {
|
||||
id: postId,
|
||||
type: action,
|
||||
likeId: likeId
|
||||
},
|
||||
receivedJsonStr = self.getCookie('mpblog_post_data'),
|
||||
postIds = JSON.parse(receivedJsonStr);
|
||||
|
||||
if (postIds == null) {
|
||||
postIds = {};
|
||||
}
|
||||
if (typeof postIds[postId] !== "undefined") {
|
||||
|
||||
return postIds;
|
||||
}
|
||||
postIds[postId] = postData;
|
||||
|
||||
return postIds;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
return $.mageplaza.mpBlogHelpfulRate;
|
||||
});
|
||||
+204
@@ -0,0 +1,204 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
define([
|
||||
'jquery',
|
||||
'mage/translate',
|
||||
'underscore',
|
||||
'Magento_Ui/js/modal/modal',
|
||||
'uiRegistry',
|
||||
'moment',
|
||||
"Mageplaza_Blog/js/get-editor"
|
||||
], function ($, $t, _, modal, registry, moment, editor) {
|
||||
'use strict';
|
||||
|
||||
$.widget('mageplaza.mpBlogManagePost', {
|
||||
options: {
|
||||
deleteUrl: '',
|
||||
basePubUrl: '',
|
||||
postDatas: {},
|
||||
editorVersion: '',
|
||||
magentoVersion: ''
|
||||
},
|
||||
_create: function () {
|
||||
var self = this,
|
||||
htmlPopup = $('#mp-blog-new-post-popup');
|
||||
|
||||
$('.mp-blog-new-post button').on('click', function () {
|
||||
self._AddNewPost(self, htmlPopup);
|
||||
});
|
||||
|
||||
$('.mpblog-post-edit').on('click', function () {
|
||||
self._EditPost(self, this, htmlPopup);
|
||||
});
|
||||
|
||||
$('.mpblog-post-duplicate').on('click', function () {
|
||||
self._DuplicatePost(self, this, htmlPopup);
|
||||
});
|
||||
|
||||
$('.mpblog-post-delete').on('click', function () {
|
||||
self._DeletePost(self, this);
|
||||
});
|
||||
},
|
||||
_AddNewPost: function (self, htmlPopup) {
|
||||
var options = {
|
||||
'type': 'popup',
|
||||
'title': $t('Add New Post'),
|
||||
'responsive': true,
|
||||
'innerScroll': true,
|
||||
'buttons': []
|
||||
};
|
||||
|
||||
self._resetForm('');
|
||||
self._openPopup(options, htmlPopup, self);
|
||||
},
|
||||
_resetForm: function (postContent) {
|
||||
var iframe = document.getElementById('post_content_ifr');
|
||||
|
||||
$('#mp_blog_post_form').trigger("reset");
|
||||
$('#short_description').empty();
|
||||
$('#post_content').empty();
|
||||
$('#post_id').removeAttr('value');
|
||||
|
||||
if (iframe){
|
||||
iframe.contentWindow.document.open();
|
||||
iframe.contentWindow.document.write(postContent);
|
||||
iframe.contentWindow.document.close();
|
||||
}
|
||||
|
||||
$('.mp-field .mp-image-link').remove();
|
||||
registry.get('customCategory').value('');
|
||||
registry.get('customTag').value('');
|
||||
registry.get('customTopic').value('');
|
||||
},
|
||||
_EditPost: function (self, click, htmlPopup) {
|
||||
var postId = $(click).parent().data('postid'),
|
||||
postData = self.options.postDatas[postId],
|
||||
pubUrl = self.options.basePubUrl,
|
||||
options = {
|
||||
'type': 'popup',
|
||||
'title': $t('Edit Post'),
|
||||
'responsive': true,
|
||||
'innerScroll': true,
|
||||
'buttons': []
|
||||
};
|
||||
if (htmlPopup.find('#mp_blog_post_form [name="name"]').length > 0) {
|
||||
self._resetForm(postData['post_content']);
|
||||
}
|
||||
self._openPopup(options, htmlPopup, self);
|
||||
self._setPopupFormData(postData, pubUrl, htmlPopup);
|
||||
},
|
||||
_setPopupFormData: function(postData, pubUrl, htmlPopup){
|
||||
_.each(postData, function (value, name) {
|
||||
var field = htmlPopup.find('#mp_blog_post_form [name="' + name + '"]'),
|
||||
imageEL,
|
||||
deleteEL,
|
||||
date;
|
||||
if (field.is('[type="file"]') && value) {
|
||||
imageEL = '<a class="mp-image-link" href="' + pubUrl + 'mageplaza/blog/post/' + value
|
||||
+ '" onclick="imagePreview(\'post_image_image\'); return false;" >' +
|
||||
'<img src="' + pubUrl + 'mageplaza/blog/post/' + value + '" id="post_image_image"' +
|
||||
' title="' + value + '" alt="' + value + '" height="22" width="22"' +
|
||||
' class="small-image-preview v-middle">' +
|
||||
'</a>';
|
||||
field.parent().prepend(imageEL);
|
||||
deleteEL = '<span class="delete-image">'
|
||||
+ '<input style="width: 8%" type="checkbox" name="image[delete]"'
|
||||
+ ' value="1" class="checkbox" id="post_image_delete">'
|
||||
+ '<label for="post_image_delete"> Delete Image</label>'
|
||||
+ '</span>';
|
||||
if (!field.parent().find('.delete-image').lenth) {
|
||||
field.parent().append(deleteEL);
|
||||
}
|
||||
} else if (field.is('[type="datetime-local"]')) {
|
||||
date = moment(value).format("YYYY-MM-DDTkk:mm");
|
||||
field.val(date);
|
||||
} else if (field.is('input') || field.is('select')) {
|
||||
field.val(value);
|
||||
} else if (field.is('textarea')) {
|
||||
field.html(value);
|
||||
}
|
||||
if (name === 'category_ids') {
|
||||
registry.get('customCategory').value(value);
|
||||
}
|
||||
if (name === 'tag_ids') {
|
||||
registry.get('customTag').value(value);
|
||||
}
|
||||
if (name === 'topic_ids') {
|
||||
registry.get('customTopic').value(value);
|
||||
}
|
||||
});
|
||||
},
|
||||
_DuplicatePost: function (self, click, htmlPopup) {
|
||||
var postId = $(click).parent().data('postid'),
|
||||
postData = self.options.postDatas[postId],
|
||||
pubUrl = self.options.basePubUrl,
|
||||
options = {
|
||||
'type': 'popup',
|
||||
'title': $t('Duplicate Post'),
|
||||
'responsive': true,
|
||||
'innerScroll': true,
|
||||
'buttons': []
|
||||
};
|
||||
|
||||
if (htmlPopup.find('#mp_blog_post_form [name="name"]').length > 0) {
|
||||
self._resetForm(postData['post_content']);
|
||||
}
|
||||
self._openPopup(options, htmlPopup, self);
|
||||
self._setPopupFormData(postData, pubUrl, htmlPopup);
|
||||
$('#post_id').removeAttr('value');
|
||||
$('#image').parent().append('<input type="hidden" name="image" value="'+postData["image"]+'" />');
|
||||
},
|
||||
_DeletePost: function (self, widget) {
|
||||
var url = self.options.deleteUrl,
|
||||
id = $(widget).parent().data('postid');
|
||||
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
data: {
|
||||
post_id: id
|
||||
},
|
||||
showLoader: true,
|
||||
success: function (result) {
|
||||
if (result['status'] === 1){
|
||||
$('.post-list-item[data-post-id="'+result['post_id']+'"]').remove();
|
||||
}
|
||||
},
|
||||
complete: function () {
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
_openPopup: function (options, htmlPopup, self) {
|
||||
var popupModal,
|
||||
editorVersion = self.options.editorVersion,
|
||||
magentoVersion = self.options.magentoVersion;
|
||||
|
||||
popupModal = modal(options, htmlPopup);
|
||||
popupModal.openModal();
|
||||
$('#mp_blog_post_form').trigger('contentUpdated');
|
||||
|
||||
editor.config('post_content', editorVersion, magentoVersion);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
return $.mageplaza.mpBlogManagePost;
|
||||
});
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
define([
|
||||
'jquery',
|
||||
"mage/adminhtml/events",
|
||||
"mage/adminhtml/wysiwyg/tiny_mce/setup"
|
||||
], function ($) {
|
||||
'use strict';
|
||||
|
||||
$.widget('mageplaza.mpBlogPostAction', {
|
||||
options: {},
|
||||
_create: function () {
|
||||
var self = this;
|
||||
|
||||
$('button.mpblog-action-new').on('click', function () {
|
||||
self._AddNew();
|
||||
});
|
||||
},
|
||||
_AddNew: function () {
|
||||
var form = $('#mp_blog_post_form'),
|
||||
formData = new FormData(form[0]),
|
||||
htmlPopup = $('#mp-blog-new-post-popup'),
|
||||
url = form.attr('action');
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
data: formData,
|
||||
cache: false,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
showLoader: true,
|
||||
success: function (result) {
|
||||
htmlPopup.data('mageModal').closeModal();
|
||||
if (result.status === 1) {
|
||||
setTimeout(function () {
|
||||
location.reload();
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
return $.mageplaza.mpBlogPostAction;
|
||||
});
|
||||
+9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,144 @@
|
||||
|
||||
<!-- ko ifnot: disableLabel -->
|
||||
<label class="admin__form-field-label" data-bind="attr: {for: uid}
|
||||
">
|
||||
<span translate="label"></span>
|
||||
</label>
|
||||
<!-- /ko -->
|
||||
<div class="admin__action-multiselect-wrap action-select-wrap" tabindex="0" data-bind="
|
||||
attr: {
|
||||
id: uid
|
||||
},
|
||||
css: {
|
||||
_active: listVisible,
|
||||
'admin__action-multiselect-tree': isTree()
|
||||
},
|
||||
event: {
|
||||
focusin: onFocusIn,
|
||||
focusout: onFocusOut,
|
||||
keydown: keydownSwitcher
|
||||
},
|
||||
outerClick: outerClick.bind($data)
|
||||
">
|
||||
<!-- ko ifnot: chipsEnabled -->
|
||||
<div class="action-select admin__action-multiselect" data-role="advanced-select" data-bind="
|
||||
css: {_active: multiselectFocus},
|
||||
click: function(data, event) {
|
||||
toggleListVisible(data, event)
|
||||
}
|
||||
">
|
||||
<div class="admin__action-multiselect-text" data-role="selected-option" data-bind="text: setCaption()">
|
||||
</div>
|
||||
<!-- ko foreach: { data: getSelected(), as: 'option'} -->
|
||||
<input type="hidden" name="category_id" data-bind="
|
||||
attr: {
|
||||
id: 'wk-cat-hide'+value,
|
||||
value: value
|
||||
}
|
||||
">
|
||||
<!-- /ko -->
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
<!-- ko if: chipsEnabled -->
|
||||
<div class="action-select admin__action-multiselect" data-role="advanced-select" data-bind="
|
||||
css: {_active: multiselectFocus},
|
||||
click: function(data, event) {
|
||||
toggleListVisible(data, event)
|
||||
}
|
||||
">
|
||||
<div class="admin__action-multiselect-text" data-bind="
|
||||
visible: !hasData(),
|
||||
i18n: selectedPlaceholders.defaultPlaceholder
|
||||
">
|
||||
</div>
|
||||
<!-- ko foreach: { data: getSelected(), as: 'option'} -->
|
||||
<span class="admin__action-multiselect-crumb">
|
||||
<span data-bind="text: label">
|
||||
</span>
|
||||
<button class="action-close" type="button" data-action="remove-selected-item" tabindex="-1" data-bind="click: $parent.removeSelected.bind($parent, value)
|
||||
">
|
||||
<span class="action-close-text" translate="'Close'"></span>
|
||||
</button>
|
||||
</span>
|
||||
<!-- /ko -->
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
<div class="action-menu" data-bind="css: { _active: listVisible }
|
||||
">
|
||||
<!-- ko if: filterOptions -->
|
||||
<div class="admin__action-multiselect-search-wrap">
|
||||
<input class="admin__control-text admin__action-multiselect-search" data-role="advanced-select-text"
|
||||
type="text" data-bind="
|
||||
event: {
|
||||
keydown: filterOptionsKeydown
|
||||
},
|
||||
attr: {id: uid+2},
|
||||
valueUpdate: 'afterkeydown',
|
||||
value: filterInputValue,
|
||||
hasFocus: filterOptionsFocus
|
||||
">
|
||||
<label class="admin__action-multiselect-search-label" data-action="advanced-select-search" data-bind="attr: {for: uid+2}
|
||||
">
|
||||
</label>
|
||||
<div if="itemsQuantity" data-bind="text: itemsQuantity" class="admin__action-multiselect-search-count">
|
||||
</div>
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
<ul class="admin__action-multiselect-menu-inner _root" data-bind="
|
||||
event: {
|
||||
mousemove: function(data, event){onMousemove($data, event)}
|
||||
}
|
||||
">
|
||||
<!-- ko foreach: { data: options, as: 'option'} -->
|
||||
<li class="admin__action-multiselect-menu-inner-item _root" data-bind="css: { _parent: $data.optgroup }"
|
||||
data-role="option-group">
|
||||
<div class="action-menu-item" data-bind="
|
||||
css: {
|
||||
_selected: $parent.isSelected(option.value),
|
||||
_hover: $parent.isHovered(option, $element),
|
||||
_expended: $parent.getLevelVisibility($data),
|
||||
_unclickable: $parent.isLabelDecoration($data),
|
||||
_last: $parent.addLastElement($data),
|
||||
'_with-checkbox': $parent.showCheckbox
|
||||
},
|
||||
click: function(data, event){
|
||||
$parent.toggleOptionSelected($data, event);
|
||||
},
|
||||
clickBubble: false
|
||||
">
|
||||
<!-- ko if: $data.optgroup && $parent.showOpenLevelsActionIcon-->
|
||||
<div class="admin__action-multiselect-dropdown" data-bind="
|
||||
click: function(event){
|
||||
$parent.openChildLevel($data, $element, event);
|
||||
},
|
||||
clickBubble: false
|
||||
">
|
||||
</div>
|
||||
<!-- /ko-->
|
||||
<!--ko if: $parent.showCheckbox-->
|
||||
<input class="admin__control-checkbox" type="checkbox" tabindex="-1"
|
||||
data-bind="attr: { 'checked': $parent.isSelected(option.value) }">
|
||||
<!-- /ko-->
|
||||
<label class="admin__action-multiselect-label">
|
||||
<span data-bind="text: option.label"></span>
|
||||
<span if="$parent.getPath(option)" class="admin__action-multiselect-item-path"
|
||||
data-bind="text: $parent.getPath(option)"></span>
|
||||
</label>
|
||||
</div>
|
||||
<!-- ko if: $data.optgroup -->
|
||||
<!-- ko template: {name: $parent.optgroupTmpl, data: {root: $parent, current: $data}} -->
|
||||
<!-- /ko -->
|
||||
<!-- /ko-->
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
</ul>
|
||||
<!-- ko if: $data.closeBtn -->
|
||||
<div class="admin__action-multiselect-actions-wrap">
|
||||
<button class="action-default" data-action="close-advanced-select" type="button"
|
||||
data-bind="click: outerClick">
|
||||
<span translate="closeBtnLabel"></span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user