Skip to content

Commit

Permalink
Add BO theme of PS 1.7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Jul 4, 2024
1 parent e548dde commit 6160aa6
Show file tree
Hide file tree
Showing 112 changed files with 1,067 additions and 0 deletions.
10 changes: 10 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/admin-theme.css

Large diffs are not rendered by default.

69 changes: 69 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/admin-theme.rtlfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.rtl-flip:not(.rtl-no-flip) {
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
-ms-transform: scale(-1, 1);
filter: FlipH;
-ms-filter: "FlipH";
}

i[class*="right"], i[class*="left"], i[class*="backward"], i[class*="forward"] {
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
filter: FlipH;
-ms-filter: "FlipH";
}

.magnitude:before {
content: "?";
opacity: 0;
}

.dropdown-menu, .mce-window {
right: auto;
}

ul.category-tree .category-label .category {
left: 9px;
}

.adminproducts .dz-hidden-input {
display: none;
}

ul.category-tree .more::before {
content: "\E5CB";
}

.product-page .product-header {
overflow: hidden;
}

.select2-container--open .select2-dropdown {
right: auto;
left: 0;
}

.collapse-button[data-v-442d0f8a], #search .search-input {
text-align: right;
}

.ui-datepicker-rtl {
right: auto;
}

svg {
direction: ltr
}

.mce-panel {
right: auto;
}

.process-icon-rtl:before {
content : "\f1dd\f0d9";
}
251 changes: 251 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/bundle/default.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
/* Common */
.bootstrap .form-control.tokenfield{
height: auto;
padding-bottom: 0;
}
.bootstrap input.token-input[type="text"]{
display: inline-block;
border:0;
padding: 0;
margin-top: -6px;
margin-bottom: 0;
background-color: transparent;
max-width:100%;
width: auto !important;
}
.uppercase {
text-transform: uppercase;
}
.lowercase {
text-transform: lowercase;
}
.capitalize {
text-transform: capitalize;
}
#content.bootstrap.no-header-toolbar{
padding-top: 20px;
}
span.spacer {
margin-left: 2em;
margin-right: 2em;
}


/* Form */
#form-loading{
display: none;
}
#form .toolbarBox a{
text-decoration: none;
display: inline-block;
}
#form .toolbarBox a i{
font-size: 22px;
}
#accordion_combinations td.img img{
max-width:50px;
}
#accordion_combinations .combination td.img .fake-img{
background: #ccc;
width:50px;
height:50px;
}
.product-combination-image{
display: inline-block;
border: 1px solid #ccc;
outline: solid 4px #fff;
margin: 5px;
}
.product-combination-image.img-highlight{
outline: solid 4px #ccc;
}
.product-combination-image input{
display:none;
}
.combination-form .title{
font-size: 20px;
}
.tt-menu{
width: 100%;
border: 1px solid #ccc;
background: #fff;
}
.tt-suggestion{
cursor: pointer
}
#form .form-input-title input {
font-size: 2.2em;
height: 2.2em;
}
#form .form-input-title input:not(:focus) {
/*background-image: url('/img/admin/edit_2.gif');
background-position: center right 1em;
background-repeat: no-repeat;*/
}
#form .form_switch_language, #form .form_step1_type_product {
padding-top: 1em;

}
#form .navbar-form-footer{
padding:15px;
border-top: 1px solid #ccc !important;
z-index: 400 !important;
}
#form .form-action-bar{
padding-left:210px
}
body.page-sidebar-closed #form .form-action-bar{
padding-left:50px
}
body.mobile-nav #form .form-action-bar{
padding-left:0
}
#form .form-action-bar .checkbox-active{
margin-left:10px;
display: inline-block
}
#form .form-action-bar .checkbox-active .checkbox{
display: inline-block
}
.form-inline .checkbox label,
.form-inline .radio label{
padding-left: 0;
padding-right: 20px;
}
.form-inline.checkbox .col-sm-10{
width: auto
}
.checkbox-active .titatoggle input + span:after{
margin-top: 7px
}
#footer{
display: none;
}
ul.featureCollection,
ul.customFieldCollection{
padding-left:0;
}
ul.nostyle{
list-style: none;
}
ul.typeahead-list li{
margin-top:5px;
}
ul.typeahead-list li img{
width: 50px;
}
ul.typeahead-list li .title{
display:inline-block;
float:none;
}
ul.typeahead-list.pack{
padding: 0;
}
ul.typeahead-list.pack li{
width: 200px;
border: 1px solid #eee;
display: inline-block;
overflow: hidden;
margin-right: 10px;
position: relative;
cursor: pointer
}
ul.typeahead-list.pack li img{
width: 100%;
border-bottom: 1px solid #eee;
margin-bottom: 5px;
}
ul.typeahead-list.pack li span{
display: inline-block;
width: 100%;
padding: 0 5px;
}
ul.typeahead-list.pack li .title,
ul.typeahead-list.pack li .ref {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
ul.typeahead-list.pack li .quantity,
ul.typeahead-list.pack li .ref {
color: #ccc;
}
ul.typeahead-list.pack li .delete{
position : absolute;
right: 2px;
top: 2px;
display: none;
}
ul.typeahead-list.pack li:hover{
border: 1px solid #00aff0;
}
ul.typeahead-list.pack li:hover .delete{
display: block;
}
#form_step1_new_category{
margin-top:20px;
}
ul.category-tree{
padding: 0;
}
ul.category-tree li{
list-style: none;
background-repeat: no-repeat;
background-size: 12px 12px;
background-position: 0 3px;
}
.bootstrap ul.category-tree li .checkbox,
.bootstrap ul.category-tree li .radio{
padding-left: 20px;
padding-top: 0;
}
ul.category-tree li > ul{
display:none;
}
@media (max-width: 768px){
#form .form-action-bar{
padding-left:50px;
}
}


/* Listings */
.icon-caret{
cursor: pointer;
color: #00aff0;
}
.icon-caret-selected{
color: #000000 !important;
}

/* recommended modules */
div.left-separator {
border-left: 1px solid #eee;
}

/* Quick nav sidebar */
div.quicknav-scroller {
overflow-y: auto;
top: 4.7em;
bottom: 13.6em;
position: fixed;
right: 0.5em;
left: 0.5em;
margin-right: 3em;
padding: 0.6em 0.1em 0em 0.6em;
}
div.quicknav-scroller table.table {
margin-bottom: 0 !important;
}
div.quicknav-header h2 {
margin: 0;
}
#product-attachment-file{
overflow-y: auto;
height: 120px;
}

ul.pagination input {
outline-style: none;
text-align: center;
}
45 changes: 45 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/bundle/shared.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.x-small-text {
font-family:"Open Sans", Helvetica,Arial,sans-serif;
font-size: 10px;
color: #95A7AD;
}

.text-ellipsis {
text-overflow: ellipsis;
/* Required for text-overflow to do anything */
white-space: nowrap;
overflow: hidden;
}

.no-margin {
margin: 0 !important;
}

.no-padding {
padding: 0 !important;
}

.light-button {
height: 30px;
width: 70px;
background: white;
border: 1px solid #25B9D7;
color: #25B9D7;
border-radius: 5px;
-webkit-transition: color .6s ease-in;
-moz-transition: color .6s ease-in;
-o-transition: color .6s ease-in;
transition: color .6s ease-in;
}

.light-button:hover {
border-color: #3ED2F0;
color: #3ED2F0;
}

.top-menu-separator {
margin-top: 30px !important;
margin-bottom: 30px !important;
margin-left: 5px;
border-color: #E7E8E8 !important;
}
25 changes: 25 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/font.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <[email protected]>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../node_modules/material-design-icons/iconfont/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(../node_modules/material-design-icons/iconfont//MaterialIcons-Regular.woff2) format("woff2"),url(../node_modules/material-design-icons/iconfont//MaterialIcons-Regular.woff) format("woff"),url(../node_modules/material-design-icons/iconfont//MaterialIcons-Regular.ttf) format("truetype")}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:'liga'}
2 changes: 2 additions & 0 deletions storybook/.storybook/bo-themes/1.7.3.0/css/overrides.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 6160aa6

Please sign in to comment.