From 9f7d154e3451f1ccc1d69f0013e98acf4639c63b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 4 Oct 2016 12:14:28 +0200 Subject: Add eslint & stylelint tests (fix a few things) and move dependencies to dev --- app/Resources/static/themes/baggy/css/main.css | 3 ++- app/Resources/static/themes/baggy/js/init.js | 1 - app/Resources/static/themes/material/css/main.css | 11 ++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'app') diff --git a/app/Resources/static/themes/baggy/css/main.css b/app/Resources/static/themes/baggy/css/main.css index 522c4833..99ea6c6b 100755 --- a/app/Resources/static/themes/baggy/css/main.css +++ b/app/Resources/static/themes/baggy/css/main.css @@ -907,7 +907,8 @@ a.add-to-wallabag-link-after::after { .icon-image { background-size: 16px 16px; - background: no-repeat center; + background-repeat: no-repeat; + background-position: center; padding-right: 1em !important; padding-left: 1em !important; } diff --git a/app/Resources/static/themes/baggy/js/init.js b/app/Resources/static/themes/baggy/js/init.js index 8da9a859..07afd311 100755 --- a/app/Resources/static/themes/baggy/js/init.js +++ b/app/Resources/static/themes/baggy/js/init.js @@ -3,7 +3,6 @@ require('jquery.cookie'); require('jquery-ui-browserify'); const annotator = require('annotator'); import { savePercent, retrievePercent } from '../../_global/js/tools.js'; -import { split, extractLast } from './autoCompleteTags.js'; import { toggleSaveLinkForm } from './uiTools.js'; diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 20d1dded..5a46ec09 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -87,8 +87,9 @@ } .icon-image { - background-size: 16px 16px; - background: no-repeat center; + background-size: 16px; + background-repeat: no-repeat; + background-position: center; padding-right: 1em !important; padding-left: 1em !important; } @@ -124,7 +125,6 @@ background-image: url("../../_global/img/icons/shaarli.png"); } - body { display: flex; min-height: 100vh; @@ -464,8 +464,9 @@ main ul.row { color: #fff; } -.quickstart .card .card-action a, .quickstart .card .card-action a:hover { - color: #fff !important; +.quickstart .card .card-action a, +.quickstart .card .card-action a:hover { + color: #fff !important; } .settings .div_tabs { -- cgit v1.2.3