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

Loading…
Cancel
Save