From e0aa81c1df99db3039775c3aa2dbad5e685b64be Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 4 Feb 2015 20:53:35 +0100 Subject: rework css --- server/sonar-web/Gruntfile.coffee | 28 +- .../src/main/hbs/nav/nav-settings-navbar.hbs | 11 +- server/sonar-web/src/main/js/nav/app.js | 2 +- .../sonar-web/src/main/less/analysis-reports.less | 93 -- .../sonar-web/src/main/less/api-documentation.less | 154 --- server/sonar-web/src/main/less/coding-rules.less | 412 ------ .../less/component-viewer-source-colorizer.less | 29 - .../sonar-web/src/main/less/component-viewer.less | 554 -------- server/sonar-web/src/main/less/components.less | 8 + .../src/main/less/components/bubble-popup.less | 136 ++ .../src/main/less/components/component-name.less | 2 +- .../src/main/less/components/component-viewer.less | 554 ++++++++ .../src/main/less/components/dropdowns.less | 2 +- .../src/main/less/components/graphics.less | 235 ++++ .../sonar-web/src/main/less/components/issues.less | 2 +- .../sonar-web/src/main/less/components/login.less | 29 + .../src/main/less/components/measures.less | 2 +- .../sonar-web/src/main/less/components/menu.less | 2 +- .../sonar-web/src/main/less/components/navbar.less | 212 +++ .../src/main/less/components/navigator.less | 6 + .../src/main/less/components/navigator/base.less | 459 +++++++ .../src/main/less/components/navigator/config.less | 32 + .../main/less/components/navigator/filters.less | 332 +++++ .../sonar-web/src/main/less/components/page.less | 36 +- .../sonar-web/src/main/less/components/rules.less | 2 +- .../src/main/less/components/search-navigator.less | 4 +- .../src/main/less/components/select-list.less | 194 +++ .../sonar-web/src/main/less/components/source.less | 2 +- .../src/main/less/components/tooltips.less | 2 +- .../src/main/less/components/typography.less | 2 +- server/sonar-web/src/main/less/components/ui.less | 491 +++++++ server/sonar-web/src/main/less/dashboard.less | 443 ------ server/sonar-web/src/main/less/deprecated.less | 356 +++++ server/sonar-web/src/main/less/dsm.less | 125 -- server/sonar-web/src/main/less/icons.less | 617 --------- server/sonar-web/src/main/less/init.less | 171 +-- server/sonar-web/src/main/less/init/base.less | 106 ++ server/sonar-web/src/main/less/init/icons.less | 617 +++++++++ server/sonar-web/src/main/less/init/links.less | 38 + server/sonar-web/src/main/less/init/lists.less | 41 + server/sonar-web/src/main/less/init/misc.less | 34 + server/sonar-web/src/main/less/init/tables.less | 203 +++ server/sonar-web/src/main/less/init/type.less | 86 ++ server/sonar-web/src/main/less/issues.less | 136 -- server/sonar-web/src/main/less/layout.less | 288 ---- server/sonar-web/src/main/less/libraries.less | 105 -- server/sonar-web/src/main/less/navbar.less | 212 --- server/sonar-web/src/main/less/navigator.less | 6 - server/sonar-web/src/main/less/navigator/base.less | 460 ------- .../sonar-web/src/main/less/navigator/config.less | 32 - .../sonar-web/src/main/less/navigator/filters.less | 333 ----- server/sonar-web/src/main/less/pages.less | 8 + .../src/main/less/pages/analysis-reports.less | 93 ++ .../src/main/less/pages/api-documentation.less | 154 +++ .../src/main/less/pages/coding-rules.less | 413 ++++++ .../sonar-web/src/main/less/pages/dashboard.less | 438 ++++++ server/sonar-web/src/main/less/pages/dsm.less | 125 ++ server/sonar-web/src/main/less/pages/issues.less | 136 ++ .../sonar-web/src/main/less/pages/libraries.less | 105 ++ .../src/main/less/pages/quality-gates.less | 128 ++ server/sonar-web/src/main/less/quality-gates.less | 128 -- server/sonar-web/src/main/less/select-list.less | 194 --- .../sonar-web/src/main/less/sonar-colorizer.less | 9 - server/sonar-web/src/main/less/style.less | 1448 +------------------- server/sonar-web/src/main/less/ui.less | 503 ------- server/sonar-web/src/main/less/variables.less | 40 +- .../WEB-INF/app/views/branding/_footer.html.erb | 2 +- .../WEB-INF/app/views/dashboard/index.html.erb | 2 +- .../WEB-INF/app/views/layouts/_head.html.erb | 4 +- .../WEB-INF/app/views/layouts/_layout.html.erb | 43 +- .../WEB-INF/app/views/layouts/_nolayout.html.erb | 4 +- .../WEB-INF/app/views/layouts/application.html.erb | 2 +- 72 files changed, 5905 insertions(+), 6512 deletions(-) delete mode 100644 server/sonar-web/src/main/less/analysis-reports.less delete mode 100644 server/sonar-web/src/main/less/api-documentation.less delete mode 100644 server/sonar-web/src/main/less/coding-rules.less delete mode 100644 server/sonar-web/src/main/less/component-viewer-source-colorizer.less delete mode 100644 server/sonar-web/src/main/less/component-viewer.less create mode 100644 server/sonar-web/src/main/less/components/bubble-popup.less create mode 100644 server/sonar-web/src/main/less/components/component-viewer.less create mode 100644 server/sonar-web/src/main/less/components/graphics.less create mode 100644 server/sonar-web/src/main/less/components/login.less create mode 100644 server/sonar-web/src/main/less/components/navbar.less create mode 100644 server/sonar-web/src/main/less/components/navigator.less create mode 100644 server/sonar-web/src/main/less/components/navigator/base.less create mode 100644 server/sonar-web/src/main/less/components/navigator/config.less create mode 100644 server/sonar-web/src/main/less/components/navigator/filters.less create mode 100644 server/sonar-web/src/main/less/components/select-list.less create mode 100644 server/sonar-web/src/main/less/components/ui.less delete mode 100644 server/sonar-web/src/main/less/dashboard.less create mode 100644 server/sonar-web/src/main/less/deprecated.less delete mode 100644 server/sonar-web/src/main/less/dsm.less delete mode 100644 server/sonar-web/src/main/less/icons.less create mode 100644 server/sonar-web/src/main/less/init/base.less create mode 100644 server/sonar-web/src/main/less/init/icons.less create mode 100644 server/sonar-web/src/main/less/init/links.less create mode 100644 server/sonar-web/src/main/less/init/lists.less create mode 100644 server/sonar-web/src/main/less/init/misc.less create mode 100644 server/sonar-web/src/main/less/init/tables.less create mode 100644 server/sonar-web/src/main/less/init/type.less delete mode 100644 server/sonar-web/src/main/less/issues.less delete mode 100644 server/sonar-web/src/main/less/layout.less delete mode 100644 server/sonar-web/src/main/less/libraries.less delete mode 100644 server/sonar-web/src/main/less/navbar.less delete mode 100644 server/sonar-web/src/main/less/navigator.less delete mode 100644 server/sonar-web/src/main/less/navigator/base.less delete mode 100644 server/sonar-web/src/main/less/navigator/config.less delete mode 100644 server/sonar-web/src/main/less/navigator/filters.less create mode 100644 server/sonar-web/src/main/less/pages.less create mode 100644 server/sonar-web/src/main/less/pages/analysis-reports.less create mode 100644 server/sonar-web/src/main/less/pages/api-documentation.less create mode 100644 server/sonar-web/src/main/less/pages/coding-rules.less create mode 100644 server/sonar-web/src/main/less/pages/dashboard.less create mode 100644 server/sonar-web/src/main/less/pages/dsm.less create mode 100644 server/sonar-web/src/main/less/pages/issues.less create mode 100644 server/sonar-web/src/main/less/pages/libraries.less create mode 100644 server/sonar-web/src/main/less/pages/quality-gates.less delete mode 100644 server/sonar-web/src/main/less/quality-gates.less delete mode 100644 server/sonar-web/src/main/less/select-list.less delete mode 100644 server/sonar-web/src/main/less/ui.less (limited to 'server') diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index 739811baabc..87c48f34b3c 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -9,18 +9,16 @@ module.exports = (grunt) -> dev: files: '<%= grunt.option("assetsDir") || pkg.assets %>css/sonar.css': [ - '<%= pkg.sources %>less/init.less' '<%= pkg.sources %>less/jquery-ui.less' '<%= pkg.sources %>less/select2.less' '<%= pkg.sources %>less/select2-sonar.less' - '<%= pkg.sources %>less/layout.less' + + '<%= pkg.sources %>less/init.less' + '<%= pkg.sources %>less/components.less' + '<%= pkg.sources %>less/pages.less' + '<%= pkg.sources %>less/style.less' - '<%= pkg.sources %>less/icons.less' - '<%= pkg.sources %>less/ui.less' - '<%= pkg.sources %>less/sonar-colorizer.less' - '<%= pkg.sources %>less/dashboard.less' - '<%= pkg.sources %>less/select-list.less' - '<%= pkg.sources %>less/navigator.less' + '<%= pkg.sources %>less/*.less' ] build: @@ -28,18 +26,16 @@ module.exports = (grunt) -> cleancss: true files: '<%= grunt.option("assetsDir") || pkg.assets %>css/sonar.css': [ - '<%= pkg.sources %>less/init.less' '<%= pkg.sources %>less/jquery-ui.less' '<%= pkg.sources %>less/select2.less' '<%= pkg.sources %>less/select2-sonar.less' - '<%= pkg.sources %>less/layout.less' + + '<%= pkg.sources %>less/init.less' + '<%= pkg.sources %>less/components.less' + '<%= pkg.sources %>less/pages.less' + '<%= pkg.sources %>less/style.less' - '<%= pkg.sources %>less/icons.less' - '<%= pkg.sources %>less/ui.less' - '<%= pkg.sources %>less/sonar-colorizer.less' - '<%= pkg.sources %>less/dashboard.less' - '<%= pkg.sources %>less/select-list.less' - '<%= pkg.sources %>less/navigator.less' + '<%= pkg.sources %>less/*.less' ] diff --git a/server/sonar-web/src/main/hbs/nav/nav-settings-navbar.hbs b/server/sonar-web/src/main/hbs/nav/nav-settings-navbar.hbs index a3a80218b5c..d368d724dd1 100644 --- a/server/sonar-web/src/main/hbs/nav/nav-settings-navbar.hbs +++ b/server/sonar-web/src/main/hbs/nav/nav-settings-navbar.hbs @@ -1,5 +1,11 @@
-