Fix mobile view and update asset deps

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2017-06-15 07:58:12 +02:00
parent f93a3109a5
commit f99ebec0f2
9 changed files with 664 additions and 622 deletions

View file

@ -256,8 +256,7 @@ $(document).ready(() => {
========================================================================== */ ========================================================================== */
$('article a[href^="http"]').after( $('article a[href^="http"]').after(
() => `<a href="${$(this).attr('href')}" class="add-to-wallabag-link-after" ` + () => `<a href="${$(this).attr('href')}" class="add-to-wallabag-link-after" title="add to wallabag"></a>`,
'title="add to wallabag"></a>',
); );
$('.add-to-wallabag-link-after').click((event) => { $('.add-to-wallabag-link-after').click((event) => {

View file

@ -18,12 +18,6 @@ body {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
nav,
body:not(.entry) main,
footer {
padding-left: 240px;
}
main, main,
#content, #content,
.valign-wrapper { .valign-wrapper {

View file

@ -2,16 +2,19 @@
Media queries Media queries
========================================================================== */ ========================================================================== */
@media only screen and (min-width: 992px) {
nav,
body:not(.entry) main,
footer {
padding-left: 240px;
}
}
@media only screen and (max-width: 992px) { @media only screen and (max-width: 992px) {
header, header,
main, main,
footer { footer,
padding-left: 0; nav {
}
nav,
main,
footer {
padding-left: 0; padding-left: 0;
} }

View file

@ -36,13 +36,13 @@
"url": "https://github.com/wallabag/wallabag/issues" "url": "https://github.com/wallabag/wallabag/issues"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.7.7", "autoprefixer": "^7.1.1",
"babel-core": "^6.24.1", "babel-core": "^6.24.1",
"babel-eslint": "^7.2.3", "babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0", "babel-loader": "^7.0.0",
"babel-preset-env": "^1.4.0", "babel-preset-env": "^1.4.0",
"css-loader": "^0.28.0", "css-loader": "^0.28.0",
"eslint": "^3.19.0", "eslint": "^4.0.0",
"eslint-config-airbnb-base": "^11.1.3", "eslint-config-airbnb-base": "^11.1.3",
"eslint-loader": "^1.7.1", "eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0", "eslint-plugin-import": "^2.2.0",
@ -50,9 +50,9 @@
"file-loader": "^0.11.0", "file-loader": "^0.11.0",
"lato-font": "^3.0.0", "lato-font": "^3.0.0",
"node-sass": "^4.5.2", "node-sass": "^4.5.2",
"postcss-loader": "^1.3.3", "postcss-loader": "^2.0.5",
"sass-loader": "^6.0.3", "sass-loader": "^6.0.3",
"style-loader": "^0.16.1", "style-loader": "^0.18.2",
"stylelint": "^7.9.0", "stylelint": "^7.9.0",
"stylelint-config-standard": "^16.0.0", "stylelint-config-standard": "^16.0.0",
"stylelint-webpack-plugin": "^0.7.0", "stylelint-webpack-plugin": "^0.7.0",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1244
yarn.lock

File diff suppressed because it is too large Load diff