gulp settings

remotes/origin/mitri4
Dmitriy Shesterkin 9 years ago
parent 8a22b5cdfb
commit 771891d2fd
  1. 3
      .gitignore
  2. 20
      gulpfile.js
  3. 21
      package.json
  4. 202
      static/less/_.css

3
.gitignore vendored

@ -16,3 +16,6 @@ static/photo_uploads/*
static/item_photos/* static/item_photos/*
static/adminfiles/* static/adminfiles/*
static/cache/* static/cache/*
.vscode/
/node_modules/

@ -0,0 +1,20 @@
"use strict";
// Include Gulp
const gulp = require('gulp');
// All of your plugins
const less = require('gulp-less');
// Compile css from less
gulp.task('less', function () {
return gulp.src('static/less/_.less')
.pipe(less())
.pipe(gulp.dest('static/less/'));
});
// Watch files for changes
gulp.task('watch', function () {
gulp.watch('static/less/**/*.less', ['less']);
});

@ -0,0 +1,21 @@
{
"name": "batiskaf",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org/spacenergy/batiskaf.git"
},
"author": "",
"license": "ISC",
"homepage": "https://bitbucket.org/spacenergy/batiskaf#readme",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-less": "^3.3.0",
"gulp-sass": "^3.1.0"
}
}

@ -18,107 +18,107 @@
*/ */
/* Backgrounds */ /* Backgrounds */
.bg-navy { .bg-navy {
background-color: #001f3f; background-color: #001F3F;
} }
.bg-blue { .bg-blue {
background-color: #0074d9; background-color: #0074D9;
} }
.bg-aqua { .bg-aqua {
background-color: #7fdbff; background-color: #7FDBFF;
} }
.bg-teal { .bg-teal {
background-color: #39cccc; background-color: #39CCCC;
} }
.bg-olive { .bg-olive {
background-color: #3d9970; background-color: #3D9970;
} }
.bg-green { .bg-green {
background-color: #2ecc40; background-color: #2ECC40;
} }
.bg-lime { .bg-lime {
background-color: #01ff70; background-color: #01FF70;
} }
.bg-yellow { .bg-yellow {
background-color: #ffdc00; background-color: #FFDC00;
} }
.bg-orange { .bg-orange {
background-color: #ff851b; background-color: #FF851B;
} }
.bg-red { .bg-red {
background-color: #ff4136; background-color: #FF4136;
} }
.bg-fuchsia { .bg-fuchsia {
background-color: #f012be; background-color: #F012BE;
} }
.bg-purple { .bg-purple {
background-color: #b10dc9; background-color: #B10DC9;
} }
.bg-maroon { .bg-maroon {
background-color: #85144b; background-color: #85144B;
} }
.bg-white { .bg-white {
background-color: #ffffff; background-color: #fff;
} }
.bg-gray { .bg-gray {
background-color: #aaaaaa; background-color: #aaa;
} }
.bg-silver { .bg-silver {
background-color: #dddddd; background-color: #ddd;
} }
.bg-black { .bg-black {
background-color: #111111; background-color: #111;
} }
/* Colors */ /* Colors */
.navy { .navy {
color: #001f3f; color: #001F3F;
} }
.blue { .blue {
color: #0074d9; color: #0074D9;
} }
.aqua { .aqua {
color: #7fdbff; color: #7FDBFF;
} }
.teal { .teal {
color: #39cccc; color: #39CCCC;
} }
.olive { .olive {
color: #3d9970; color: #3D9970;
} }
.green { .green {
color: #2ecc40; color: #2ECC40;
} }
.lime { .lime {
color: #01ff70; color: #01FF70;
} }
.yellow { .yellow {
color: #ffdc00; color: #FFDC00;
} }
.orange { .orange {
color: #ff851b; color: #FF851B;
} }
.red { .red {
color: #ff4136; color: #FF4136;
} }
.fuchsia { .fuchsia {
color: #f012be; color: #F012BE;
} }
.purple { .purple {
color: #b10dc9; color: #B10DC9;
} }
.maroon { .maroon {
color: #85144b; color: #85144B;
} }
.white { .white {
color: #ffffff; color: #fff;
} }
.silver { .silver {
color: #dddddd; color: #ddd;
} }
.gray { .gray {
color: #aaaaaa; color: #aaa;
} }
.black { .black {
color: #111111; color: #111;
} }
/* Border colors /* Border colors
@ -126,159 +126,159 @@
i.e .border { border-width: 1px; border-style: solid; } i.e .border { border-width: 1px; border-style: solid; }
*/ */
.border--navy { .border--navy {
border-color: #001f3f; border-color: #001F3F;
} }
.border--blue { .border--blue {
border-color: #0074d9; border-color: #0074D9;
} }
.border--aqua { .border--aqua {
border-color: #7fdbff; border-color: #7FDBFF;
} }
.border--teal { .border--teal {
border-color: #39cccc; border-color: #39CCCC;
} }
.border--olive { .border--olive {
border-color: #3d9970; border-color: #3D9970;
} }
.border--green { .border--green {
border-color: #2ecc40; border-color: #2ECC40;
} }
.border--lime { .border--lime {
border-color: #01ff70; border-color: #01FF70;
} }
.border--yellow { .border--yellow {
border-color: #ffdc00; border-color: #FFDC00;
} }
.border--orange { .border--orange {
border-color: #ff851b; border-color: #FF851B;
} }
.border--red { .border--red {
border-color: #ff4136; border-color: #FF4136;
} }
.border--fuchsia { .border--fuchsia {
border-color: #f012be; border-color: #F012BE;
} }
.border--purple { .border--purple {
border-color: #b10dc9; border-color: #B10DC9;
} }
.border--maroon { .border--maroon {
border-color: #85144b; border-color: #85144B;
} }
.border--white { .border--white {
border-color: #ffffff; border-color: #fff;
} }
.border--gray { .border--gray {
border-color: #aaaaaa; border-color: #aaa;
} }
.border--silver { .border--silver {
border-color: #dddddd; border-color: #ddd;
} }
.border--black { .border--black {
border-color: #111111; border-color: #111;
} }
/* Fills for SVG */ /* Fills for SVG */
.fill-navy { .fill-navy {
fill: #001f3f; fill: #001F3F;
} }
.fill-blue { .fill-blue {
fill: #0074d9; fill: #0074D9;
} }
.fill-aqua { .fill-aqua {
fill: #7fdbff; fill: #7FDBFF;
} }
.fill-teal { .fill-teal {
fill: #39cccc; fill: #39CCCC;
} }
.fill-olive { .fill-olive {
fill: #3d9970; fill: #3D9970;
} }
.fill-green { .fill-green {
fill: #2ecc40; fill: #2ECC40;
} }
.fill-lime { .fill-lime {
fill: #01ff70; fill: #01FF70;
} }
.fill-yellow { .fill-yellow {
fill: #ffdc00; fill: #FFDC00;
} }
.fill-orange { .fill-orange {
fill: #ff851b; fill: #FF851B;
} }
.fill-red { .fill-red {
fill: #ff4136; fill: #FF4136;
} }
.fill-fuchsia { .fill-fuchsia {
fill: #f012be; fill: #F012BE;
} }
.fill-purple { .fill-purple {
fill: #b10dc9; fill: #B10DC9;
} }
.fill-maroon { .fill-maroon {
fill: #85144b; fill: #85144B;
} }
.fill-white { .fill-white {
fill: #ffffff; fill: #fff;
} }
.fill-gray { .fill-gray {
fill: #aaaaaa; fill: #aaa;
} }
.fill-silver { .fill-silver {
fill: #dddddd; fill: #ddd;
} }
.fill-black { .fill-black {
fill: #111111; fill: #111;
} }
/* Strokes for SVG */ /* Strokes for SVG */
.stroke-navy { .stroke-navy {
stroke: #001f3f; stroke: #001F3F;
} }
.stroke-blue { .stroke-blue {
stroke: #0074d9; stroke: #0074D9;
} }
.stroke-aqua { .stroke-aqua {
stroke: #7fdbff; stroke: #7FDBFF;
} }
.stroke-teal { .stroke-teal {
stroke: #39cccc; stroke: #39CCCC;
} }
.stroke-olive { .stroke-olive {
stroke: #3d9970; stroke: #3D9970;
} }
.stroke-green { .stroke-green {
stroke: #2ecc40; stroke: #2ECC40;
} }
.stroke-lime { .stroke-lime {
stroke: #01ff70; stroke: #01FF70;
} }
.stroke-yellow { .stroke-yellow {
stroke: #ffdc00; stroke: #FFDC00;
} }
.stroke-orange { .stroke-orange {
stroke: #ff851b; stroke: #FF851B;
} }
.stroke-red { .stroke-red {
stroke: #ff4136; stroke: #FF4136;
} }
.stroke-fuchsia { .stroke-fuchsia {
stroke: #f012be; stroke: #F012BE;
} }
.stroke-purple { .stroke-purple {
stroke: #b10dc9; stroke: #B10DC9;
} }
.stroke-maroon { .stroke-maroon {
stroke: #85144b; stroke: #85144B;
} }
.stroke-white { .stroke-white {
stroke: #ffffff; stroke: #fff;
} }
.stroke-gray { .stroke-gray {
stroke: #aaaaaa; stroke: #aaa;
} }
.stroke-silver { .stroke-silver {
stroke: #dddddd; stroke: #ddd;
} }
.stroke-black { .stroke-black {
stroke: #111111; stroke: #111;
} }
/*! /*!
* Yamm!3 * Yamm!3
@ -347,12 +347,12 @@ span.yellow {
.header-top .container .top-right-links { .header-top .container .top-right-links {
float: right; float: right;
text-align: right; text-align: right;
color: #ffffff; color: #fff;
font-weight: bold; font-weight: bold;
font-size: 10pt; font-size: 10pt;
} }
.header-top .container .top-right-links a { .header-top .container .top-right-links a {
color: #ffffff; color: #fff;
} }
.header-middle { .header-middle {
background-color: #fed000; background-color: #fed000;
@ -471,7 +471,7 @@ body,
position: absolute; position: absolute;
float: left; float: left;
background-color: #434a54; background-color: #434a54;
color: #ffffff; color: #fff;
border-width: 0 1px 1px; border-width: 0 1px 1px;
border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
@ -483,7 +483,7 @@ body,
margin: 0px 0 15px 0px; margin: 0px 0 15px 0px;
} }
.navbar .navbar-nav .open .dropdown-menu a { .navbar .navbar-nav .open .dropdown-menu a {
color: #ffffff; color: #fff;
border: none; border: none;
font-weight: normal; font-weight: normal;
font-size: 11px; font-size: 11px;
@ -605,7 +605,7 @@ a#order-call-link {
} }
.index-goods .title a { .index-goods .title a {
font-weight: bold; font-weight: bold;
color: #0074d9; color: #0074D9;
font-size: 12px; font-size: 12px;
} }
.index-goods .price { .index-goods .price {
@ -614,21 +614,21 @@ a#order-call-link {
margin-bottom: 5px; margin-bottom: 5px;
} }
.index-goods .state-yes { .index-goods .state-yes {
color: #2ecc40; color: #2ECC40;
font-size: 11px; font-size: 11px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.index-goods .state-no { .index-goods .state-no {
color: #ff4136; color: #FF4136;
font-size: 11px; font-size: 11px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.index-goods a.cart-link { .index-goods a.cart-link {
color: #111111; color: #111;
} }
.index-goods a.cart-link:hover { .index-goods a.cart-link:hover {
text-decoration: none; text-decoration: none;
color: #111111; color: #111;
} }
footer .footer-col { footer .footer-col {
margin-top: 10px; margin-top: 10px;
@ -646,7 +646,7 @@ footer .footer-top {
} }
footer .footer-bottom { footer .footer-bottom {
height: 330px; height: 330px;
color: #ffffff; color: #fff;
font-size: 12px; font-size: 12px;
} }
footer .footer-bottom .title { footer .footer-bottom .title {
@ -654,7 +654,7 @@ footer .footer-bottom .title {
font-weight: bold; font-weight: bold;
} }
footer .footer-bottom a { footer .footer-bottom a {
color: #ffffff; color: #fff;
} }
footer .footer-bottom a:hover { footer .footer-bottom a:hover {
color: #fed000; color: #fed000;
@ -685,7 +685,7 @@ body {
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
} }
.navbar-inverse a { .navbar-inverse a {
color: #ffffff !important; color: #fff !important;
border-right: 1px #707c8d solid; border-right: 1px #707c8d solid;
font-weight: bold; font-weight: bold;
font-size: 9pt; font-size: 9pt;
@ -751,7 +751,7 @@ hr.dashed {
border: none; border: none;
height: 1px; height: 1px;
width: 100%; width: 100%;
border-top: 1px dashed #cccccc; border-top: 1px dashed #ccc;
} }
.category-filter-title { .category-filter-title {
text-transform: uppercase; text-transform: uppercase;
@ -764,7 +764,7 @@ hr.dashed {
line-height: 25px; line-height: 25px;
background: #434a54; background: #434a54;
height: 50px; height: 50px;
color: #ffffff; color: #fff;
margin-bottom: 20px; margin-bottom: 20px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
@ -861,7 +861,7 @@ hr.dashed {
font-weight: bold; font-weight: bold;
} }
.product-not-in-stock { .product-not-in-stock {
color: #ff4136; color: #FF4136;
font-style: italic; font-style: italic;
display: none; display: none;
} }
@ -890,7 +890,7 @@ ol.breadcrumb.breadcrumb-arrow {
} }
.table thead tr th { .table thead tr th {
background: #434a54; background: #434a54;
color: #ffffff; color: #fff;
border-right: 1px gray solid; border-right: 1px gray solid;
} }
.table thead tr th:last-child { .table thead tr th:last-child {

Loading…
Cancel
Save