From 9ac26a35dcafba1c3110dcef338e647868ca4a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= <brousek@ics.muni.cz> Date: Sat, 24 Sep 2022 18:23:11 +0200 Subject: [PATCH] style: prettier --- .prettierignore | 5 ++++ README.md | 4 ++- www/res/bootstrap/js/npm.js | 24 +++++++-------- www/res/css/bbmri.css | 60 +++++++++++++++++-------------------- 4 files changed, 48 insertions(+), 45 deletions(-) diff --git a/.prettierignore b/.prettierignore index e63377a..8fee52c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -723,3 +723,8 @@ CHANGELOG.md .git *.min.css *.min.js + +www/res/js/jquery.js +www/res/bootstrap/js/bootstrap.js +www/res/bootstrap/css/bootstrap.css +www/res/bootstrap/css/bootstrap-theme.css diff --git a/README.md b/README.md index a926a52..51ef41e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ This repository uses [Conventional Commits](https://www.npmjs.com/package/@commi Any change that significantly changes behavior in a backward-incompatible way or requires a configuration change must be marked as BREAKING CHANGE. ### Available scopes: -* theme + +- theme ## Instalation + `php composer.phar require` diff --git a/www/res/bootstrap/js/npm.js b/www/res/bootstrap/js/npm.js index bf6aa80..9c8269a 100644 --- a/www/res/bootstrap/js/npm.js +++ b/www/res/bootstrap/js/npm.js @@ -1,13 +1,13 @@ // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. -require('../../js/transition.js') -require('../../js/alert.js') -require('../../js/button.js') -require('../../js/carousel.js') -require('../../js/collapse.js') -require('../../js/dropdown.js') -require('../../js/modal.js') -require('../../js/tooltip.js') -require('../../js/popover.js') -require('../../js/scrollspy.js') -require('../../js/tab.js') -require('../../js/affix.js') \ No newline at end of file +require("../../js/transition.js"); +require("../../js/alert.js"); +require("../../js/button.js"); +require("../../js/carousel.js"); +require("../../js/collapse.js"); +require("../../js/dropdown.js"); +require("../../js/modal.js"); +require("../../js/tooltip.js"); +require("../../js/popover.js"); +require("../../js/scrollspy.js"); +require("../../js/tab.js"); +require("../../js/affix.js"); diff --git a/www/res/css/bbmri.css b/www/res/css/bbmri.css index dfd19e2..78498d1 100644 --- a/www/res/css/bbmri.css +++ b/www/res/css/bbmri.css @@ -1,70 +1,66 @@ body { - } .ui-widget-content { - border: 0px solid #ddd; + border: 0px solid #ddd; } - #header { - background: transparent; + background: transparent; } #header h1 { - line-height: 32px; - font-size: 28px; - color: #222; + line-height: 32px; + font-size: 28px; + color: #222; } #header img { - /* width: 170px; */ - /* margin: -16px auto 0 auto; */ - margin: 0 auto 0 auto; + /* width: 170px; */ + /* margin: -16px auto 0 auto; */ + margin: 0 auto 0 auto; } - #wrap { - margin: 2em auto; - max-width: 720px; + margin: 2em auto; + max-width: 720px; } #content { - margin-top: 0px; + margin-top: 0px; } .btn:hover { - background-image: none; + background-image: none; } .ui-widget-header { - border-width: 0px; - border-bottom: 1px solid #ddd; - background: transparent; + border-width: 0px; + border-bottom: 1px solid #ddd; + background: transparent; } .ui-widget-header .ui-state-default { - border: 0px; - background: #fff; - color: #337ab7; + border: 0px; + background: #fff; + color: #337ab7; } .ui-widget-header .ui-state-default:hover { - background: #eee; - color: #23527c; + background: #eee; + color: #23527c; } .ui-widget-header .ui-state-active { - border: 1px solid #ddd; + border: 1px solid #ddd; } .ui-widget-header .ui-state-active:hover { - background: #fff; + background: #fff; } - hr { - border-top: 1px solid #ddd; + border-top: 1px solid #ddd; } #footer { - margin-top: 64px; - border-top: 1px solid #ddd; - text-align: left; - padding: 16px; + margin-top: 64px; + border-top: 1px solid #ddd; + text-align: left; + padding: 16px; } #footer img { - margin: 0px 16px; + margin: 0px 16px; } -- GitLab