From eec468e030703f5cb4078523d825478bc082b5cb Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 25 Jan 2018 17:20:08 +0800 Subject: [PATCH] feat(core): add module shelljs support --- modules/core/client/less/home.less | 5 +---- package.json | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/core/client/less/home.less b/modules/core/client/less/home.less index 804a6cba..abe69419 100644 --- a/modules/core/client/less/home.less +++ b/modules/core/client/less/home.less @@ -48,7 +48,6 @@ } .home_vip_info { - background-color: #f7f7f7; background-color: #f7f7f7; background-image: url("http://image.tmdb.org/t/p/w1280/wwPWKRteE3vxTMta2IxdRgEhYsq.jpg"); background-position: center; @@ -57,7 +56,6 @@ background-size: cover; position: relative; overflow: hidden; - min-height: 300px; .vip-half-background { width: 100%; min-height: 300px; @@ -72,7 +70,7 @@ right: 0; border-right: 5000px solid #2a2a2a; border-right: 5000px solid rgba(128, 128, 128, 0.4); - border-top: 30000px solid transparent; + border-top: 10000px solid transparent; } } } @@ -145,7 +143,6 @@ } .home_global_search { - min-height: 120px; background-color: #f7f7f7; .search-panel { min-height: 120px; diff --git a/package.json b/package.json index 4da27284..1d3f275d 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "run-sequence": "~2.1.0", "serve-favicon": "^2.4.5", "sharp": "^0.19.0", + "shelljs": "^0.8.1", "snyk": "^1.34.3", "socket.io": "~2.0.2", "sprintf-js": "^1.1.1",