Warning, /webapps/ocs-webserver/httpdocs/theme/react/assets/less/cat-tree.less is written in an unsupported language. File is not indexed.

0001 // out: ../css/cat-tree.css, sourcemap: true, compress: true
0002 @import "elements.less";
0003 
0004 .mobile-menu-item {
0005   padding: 5px; 
0006   height: auto;
0007   display: block;
0008   width: 100%;
0009   float: left;
0010   border: 1px solid #ccc;
0011   border-radius: 4px;
0012   font-size: 12px;
0013 }
0014 
0015 #category-tree-container {
0016   width: 100%;
0017   float: left;
0018   margin-bottom: 15px;
0019 
0020   ul {
0021     list-style-type: none;
0022     margin-bottom: 0;
0023     padding-left: 0;
0024     width: 100%;
0025     float: left;
0026     font-size: 12px;
0027 
0028     li {
0029       width: 100%;
0030       padding: 2px 0;
0031       float: left;
0032       margin: 0 2px;
0033       border-radius: 100%;
0034 
0035       a {
0036         display: block;
0037         width: 100%;
0038         float: left;
0039         background-color: transparent;
0040         color: #2673b0;
0041         padding-left: 3px;
0042         padding-right: 40px;
0043         position: relative;
0044         .transition();
0045 
0046         &:hover {
0047           background-color: #60bcff;
0048           color: #ffffff;
0049           font-weight: bold;
0050         }
0051 
0052 
0053         span.title {
0054           display: block;
0055           width: 100%;
0056           float: left;
0057           overflow: hidden;
0058           white-space: nowrap;
0059           text-overflow: ellipsis;
0060         }
0061 
0062         span.product-counter {
0063           position: absolute;
0064           right: 5px;
0065           float: right;
0066         }
0067       }
0068 
0069       ul {
0070         padding-left: 10px;
0071       }
0072 
0073       &.active {
0074         > a {
0075           background-color: #60bcff;
0076           color: #ffffff;
0077         }
0078       }
0079     }
0080   }
0081 
0082   #selected-category-tree-item {
0083     background-color: #fafafa;
0084     margin-bottom: 5px;
0085     position: relative;
0086     .mobile-menu-item;
0087 
0088     .selected-category-arrow-down {
0089       display: block;
0090       background-size: 15px;
0091       position: absolute;
0092       top: 5px;
0093       right: 5px;
0094       height: 15px;
0095       width: 15px;
0096       background-image: url('../img/chevron_down.png');
0097       .transition();
0098     }
0099 
0100     a {
0101       display: block;
0102       float: left;
0103       padding: 0 5px 0 20px;;
0104       position: relative;
0105 
0106       &::before {
0107         content: ">";
0108         position: absolute;
0109         display: block;
0110         left: 5px;
0111       }
0112 
0113       &:first-child {
0114         padding-left: 0;
0115         &::before {
0116           content: "";
0117         }
0118       }
0119     }
0120   }
0121 
0122   #category-tree.tablet {
0123     ul {
0124       li {
0125         a {
0126         }
0127       }
0128       &.main-list {
0129       }
0130     }
0131   }
0132 
0133   #category-tree.open {
0134     #selected-category-tree-item {
0135       .selected-category-arrow-down {
0136         .rotation(180deg);
0137       }
0138     }
0139   }
0140 
0141 }
0142 
0143 #product-page-content,
0144 #products-wrapper {
0145   #category-tree-container {
0146     ul.main-list {
0147       border: 1px solid #ccc;
0148       border-radius: 3px;
0149       box-shadow: 0px 1px 1px rgba(0,0,0,0.15);
0150       background-color: white;
0151       padding: 2px 0;
0152     }
0153   }
0154 }
0155 
0156 /** NEW CATEGORY TREE **/
0157 
0158 .sidebar-left {
0159   .alert {
0160     float: left;
0161   }
0162 }
0163 
0164 #category-tree {
0165   font-family: Verdana,"Bitstream Vera Sans",Arial,Helvetica,Sans,"Bitstream Vera Serif";
0166 
0167   input[type="text"]{
0168     margin: 0 0 7px 50px;
0169     width: 200px;
0170     height: 26px;
0171     border-radius: 3px;
0172     border: 1px solid #ccc;
0173     padding: 0 10px;
0174   }
0175 
0176   #category-tree-header {
0177     width: 100%;
0178     padding: 5px 0;
0179     float: left;
0180     // background-color: #f1f1f1;
0181     position: relative;
0182 
0183     #back-button, #forward-button {
0184       position: absolute;
0185       top: -32px;
0186     }
0187 
0188     #forward-button {
0189       position: absolute;
0190       left: 25px;
0191       height: 24px;
0192       width: 20px;
0193       margin: 0;
0194       padding: 7px;
0195 
0196       span {
0197         left: 3px;
0198       }
0199     }
0200     
0201     .disabled {
0202       opacity: 0.5;
0203     }
0204 
0205     a {
0206       display: block;
0207       float: left;
0208       padding: 4px 8px;
0209       background-color: #ccc;
0210       margin-right: 5px;
0211       font-size: 12px;
0212       font-weight: bold;
0213       cursor: pointer;
0214       overflow: hidden;
0215       position: relative;
0216       min-height: 24px;
0217       max-width: 100%;
0218       word-break: break-word;
0219       
0220       &#back-button,
0221       &#forward-button {
0222         height:24px;
0223       } 
0224 
0225       span {
0226         .transition();
0227         opacity: 0;
0228         position: absolute;
0229         bottom: 100%;
0230         background-color:#ccc;
0231         border-radius: 5px;
0232         border: 1px solid #222;
0233         display: block;
0234         left: 0;
0235         padding: 3px;
0236         margin-bottom: 5px;
0237         margin-left: -5px;
0238 
0239         &.glyphicon {
0240           opacity: 1;
0241           border: 0;
0242           left: 0;
0243           margin: 0;
0244           padding: 0;
0245           top: 6px;
0246         }
0247       }
0248 
0249       &:hover {
0250         overflow: visible;
0251         span{
0252           opacity: 1;
0253         }
0254       }
0255     }
0256   }
0257 
0258   #category-panles-container {
0259     width:100%;
0260     height: 700px;
0261     overflow: hidden;
0262     position: relative;
0263     // opacity: 0;
0264   
0265     #category-panels-slider {
0266       .transition();
0267       position: absolute;
0268       top:0;
0269 
0270       .category-panel {
0271         ul {
0272           li {
0273             width: 100%;
0274             float: left;
0275             /* margin: 0 2px; */
0276             border-radius: 0;
0277             margin: 0;
0278             padding: 0;
0279             a {
0280               cursor: pointer;
0281               padding: 3px;
0282               position: relative;
0283             
0284               .cat-product-counter {
0285                 position: absolute;
0286                 top: 3px;
0287                 right: 5px;
0288               }
0289             }
0290           }
0291         }
0292       }
0293     }
0294 
0295     &.show-back-button {
0296       #category-panels-slider {
0297         .category-panel {
0298           padding-left:20px;
0299         }
0300       }
0301     }
0302 
0303     &.visible {
0304       opacity: 1;
0305     }
0306   }
0307 
0308   #category-tag-cloud {
0309     padding: 10px;
0310     font-size: 12px;
0311     font-weight: bold;
0312     width:100%;
0313     float:left;
0314 
0315     a {
0316       background-clip: padding-box;
0317       background-color: #eee;
0318       background-image: linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
0319       background-repeat: repeat-x;
0320       background-size: 100% 19px;
0321       border: 1px solid #aaa;
0322       border-radius: 3px;
0323       box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05);
0324       color: #333;
0325       line-height: 25px!important;
0326       margin: 3px 3px 3px 0;
0327       max-width: 100%;
0328       padding: 0 10px;
0329       position: relative;
0330       display: inline-block;
0331       float: left;
0332 
0333       span {
0334         margin-right: 3px;
0335       }
0336     }
0337   }
0338 
0339   #back-button {
0340     position: absolute;
0341     top: 0;
0342     left: 0;
0343     width: 20px;
0344     height: 100%;
0345     background: #ccc;
0346     z-index: 10;
0347     cursor: pointer; 
0348 
0349     span {
0350       position:absolute;
0351       top:50%;
0352       left: 0;
0353       margin-top:-8px;
0354       width:20px;
0355       text-align: center;
0356     }
0357   }
0358 }
0359 
0360