Commit 9cb9afb10d03e42dac0cb3f5f8669e847a3bbd4e
1 parent
67fbbbe2
Exists in
master
and in
8 other branches
Add contraste to event component
Showing
2 changed files
with
9 additions
and
1 deletions
Show diff stats
gulp/styles.js
@@ -40,7 +40,7 @@ gulp.task('styles', function () { | @@ -40,7 +40,7 @@ gulp.task('styles', function () { | ||
40 | .pipe($.sourcemaps.init()) | 40 | .pipe($.sourcemaps.init()) |
41 | .pipe($.sass(sassOptions)).on('error', conf.errorHandler('Sass')) | 41 | .pipe($.sass(sassOptions)).on('error', conf.errorHandler('Sass')) |
42 | .pipe($.autoprefixer({ | 42 | .pipe($.autoprefixer({ |
43 | - browsers: ['last 3 versions', 'ie >= 9', 'ff > 20', 'Chrome > 30', 'Android', 'Edge', 'Opera', 'Safari', 'iOS'], | 43 | + browsers: ['last 3 versions', 'ie >= 9', 'ff > 20', 'Chrome > 30', 'Opera > 25', 'Safari > 6', 'iOS > 6'], |
44 | cascade: false | 44 | cascade: false |
45 | })).on('error', conf.errorHandler('Autoprefixer')) | 45 | })).on('error', conf.errorHandler('Autoprefixer')) |
46 | .pipe($.sourcemaps.write()) | 46 | .pipe($.sourcemaps.write()) |
src/app/components/event-list/event-list.scss
@@ -2,6 +2,10 @@ | @@ -2,6 +2,10 @@ | ||
2 | position: relative; | 2 | position: relative; |
3 | background-color: #eeeeee; | 3 | background-color: #eeeeee; |
4 | 4 | ||
5 | + .contraste & { | ||
6 | + background-color: #262626; | ||
7 | + } | ||
8 | + | ||
5 | .event-list--panel { | 9 | .event-list--panel { |
6 | height: 310px; | 10 | height: 310px; |
7 | border: 1px solid #333333; | 11 | border: 1px solid #333333; |
@@ -58,6 +62,10 @@ | @@ -58,6 +62,10 @@ | ||
58 | line-height: 0px; | 62 | line-height: 0px; |
59 | top: -1px; | 63 | top: -1px; |
60 | } | 64 | } |
65 | + | ||
66 | + .contraste & { | ||
67 | + background-color: #262626; | ||
68 | + } | ||
61 | } | 69 | } |
62 | 70 | ||
63 | .table-responsive { | 71 | .table-responsive { |