Skip to content

Commit 80e00ae

Browse files
committed
rebuild css
1 parent 26b84a3 commit 80e00ae

16 files changed

Lines changed: 1112 additions & 362 deletions

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160215105716
2+
# Build: 20160216051812
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎gulpfile.js‎

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,29 @@ gulp.task('clean:dist', function (cb) {
3737
return gulp.src(['./src/lib/*.js'])
3838
.pipe($.clean({force: true}))
3939
});
40-
40+
//compile sass files
41+
var AUTOPREFIXER_BROWSERS = [
42+
'ie >= 10',
43+
'ie_mob >= 10',
44+
'ff >= 30',
45+
'chrome >= 34',
46+
'safari >= 7',
47+
'opera >= 23',
48+
'ios >= 7',
49+
'android >= 4.4',
50+
'bb >= 10'
51+
];
52+
gulp.task('sass', function () {
53+
return gulp.src(['./static/app/scss/*.scss'], {buffer: true})
54+
//.pipe($.sourcemaps.init())
55+
.pipe($.sass({errLogToConsole: true}))
56+
.pipe($.autoprefixer({browsers: AUTOPREFIXER_BROWSERS}))
57+
//.pipe($.sourcemaps.write())
58+
.pipe($.cached('build-cache', {
59+
optimizeMemory: true
60+
}))
61+
.pipe(gulp.dest('./static/app/resources/css/'))
62+
});
4163
gulp.task('dist:libjs', function () {
4264
return gulp.src(['./static/app/src/lib/all.js'])
4365
.pipe($.fileInclude({
@@ -129,7 +151,7 @@ gulp.task('prepare', function (cb) {
129151
runSequence('build_version', cb);
130152
});
131153
gulp.task('compile', function (cb) {
132-
runSequence('prepare', 'dist:libjs', 'dist:appjs', 'dist:html', 'manifest', cb);
154+
runSequence('prepare', 'sass', 'dist:libjs', 'dist:appjs', 'dist:html', 'manifest', cb);
133155
});
134156
gulp.task('default', function (cb) {
135157
runSequence('clean:dist', 'compile', 'watch', 'serve', cb);

‎index.html‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"browser-sync": "^2.2.4",
88
"date-utils": "^1.2.16",
99
"gulp": "^3.9.0",
10+
"gulp-autoprefixer": "^3.1.0",
1011
"gulp-cachebust": "0.0.6",
1112
"gulp-cached": "^1.1.0",
1213
"gulp-clean": "^0.3.1",
@@ -15,6 +16,7 @@
1516
"gulp-htmlmin": "^1.3.0",
1617
"gulp-load-plugins": "^0.8.1",
1718
"gulp-replace": "^0.5.3",
19+
"gulp-sass": "^2.2.0",
1820
"gulp-uglify": "^1.5.1",
1921
"gulp-util": "^3.0.7",
2022
"run-sequence": "^1.0.2",

‎static/app/html/bookmark.html‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
<div class="bookmark-btn" data-toggle="tooltip" data-placement="right" title="Organize GitHub stars">
2-
<i class="bookmark-logo fa fa-bookmark fa-3x"></i>
3-
</div>
41
<section class="modal fade bookmark-modal modal--fix" tabindex="-1" role="dialog" aria-labelledby="bookmarkModal" aria-hidden="true">
52
<div class="modal-dialog modal-lg">
63
<div class="modal-content">

‎static/app/html/components.html‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<div class="nav-bar">
2+
<div class="bookmark-btn" data-toggle="tooltip" data-placement="left" title="Organize GitHub stars">
3+
<i class="bookmark-logo fa fa-bookmark fa-3x"></i>
4+
</div>
5+
<a href="https://github.com/unbug/codelf" class="github-corner" title="Fork me on GitHub" target="_blank">
6+
<i class="fa fa-github-square fa-3x"></i>
7+
</a>
8+
</div>
19
<div class="modal fade confirm-modal" tabindex="-1" role="dialog">
210
<div class="modal-dialog modal-sm">
311
<div class="modal-content">
@@ -10,5 +18,3 @@
1018
</div>
1119
</div>
1220
</div>
13-
<!-- http://tholman.com/github-corners/ -->
14-
<a href="https://github.com/unbug/codelf" class="github-corner" title="Fork me on GitHub" target="_blank"><svg width="60" height="60" viewBox="0 0 250 250" style="fill:#70B7FD; color:#fff; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>

‎static/app/html/styles.html‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
@@include("resources/css/font-awesome.min.css")
33
@@include("resources/css/bootstrap.min.css")
44
@@include("resources/css/prettify.css")
5-
@@include("resources/css/components.css")
65
@@include("resources/css/style.css")
76
</style>

0 commit comments

Comments
 (0)