45 Commits

Author SHA1 Message Date
Henriette Darge 82fd47abf6 Remove obsolete design variable 2025-07-22 12:08:12 +02:00
Henriette Darge e64c104543 Set new default color for main menu 2025-07-01 07:49:40 +02:00
Henriette Darge d983851576 Remove main-menu-bg-hover-color from set of configurable design variables. Instead we use the Primer behaviour for ActionLists 2025-06-25 15:47:26 +02:00
Henriette Darge c9df8a26d9 Remove references to unused variables in code 2024-10-15 08:40:22 +02:00
Oliver Günther a35fbce5f5 Revert "Revert "[57153] Reduce amount of design variables needed for the sidebar (#16691)""
This reverts commit 05570aa270.
2024-09-26 11:34:35 +02:00
Behrokh Satarnejad 787f1c0f7b fix failing tests 2024-09-25 11:49:04 +02:00
Behrokh Satarnejad ccdac98bae change color theme options title 2024-09-25 09:50:29 +02:00
Oliver Günther 002ad82013 Revert "[57153] Reduce amount of design variables needed for the sidebar (#16691)"
This reverts commit ac5650ba29.
2024-09-20 13:00:51 +02:00
Behrokh Satarnejad ac5650ba29 [57153] Reduce amount of design variables needed for the sidebar (#16691)
* remove unnecessary variables from the list

* create a helper for updating design variables

* undo changes in update design service

* set font colors based on the bg color in inline_css file

* change default values of font color for selected and hovered menu item

* undo changes in colors helper

* remove border colour variables and calculate them based on the background
2024-09-20 10:57:56 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Henriette Darge 40daf5faac Change the default value of the accent color to what was previously the primary color 2024-04-09 13:37:51 +02:00
Henriette Darge d4d966ecd9 Add migration to change the default value of the primary-button in BIM instances to the primer green 2024-04-08 09:41:04 +02:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Henriette Darge 484487b973 Rename "content-link-color" to "accent-color" 2024-03-08 14:10:31 +01:00
Henriette Darge c71b37e8aa Remove occurences of primary-color as it was discarded 2024-03-08 14:10:31 +01:00
Henriette Darge c2ba8ff5df Add migration to remove obsolete color variables and rename "alternative-color" to "primary-button-color" 2024-03-08 14:10:30 +01:00
Henriette Darge c9b93b75f9 Rename "alternative-color" to "primary-button-color" in code 2024-03-08 14:10:30 +01:00
Henriette Darge 139e75c501 Remove primary-color-dark and replace with calculated darker version of the primary color 2024-03-08 14:10:30 +01:00
Henriette Darge 3251555be9 Add migration to change the default value of the alternative color 2024-03-06 09:30:40 +01:00
Henriette Darge 019581578f change default alternative color to the value of Primer and take care, that the Primer buttons have the same color in case it is adapted 2024-03-05 15:22:00 +01:00
Ivan Kuchin e66cdc36a1 Mark development environment (#14677)
* visibly different favicon and apple touch icon in development environment

Commands to create modified icons:
* `mogrify -path development -modulate 100,100,0 apple-touch-icon-120x120.png favicon.ico`
* `image_optim development/*.png`

* development in app header

* mention highlighting in documentation about development environment
2024-02-06 15:12:07 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts 4a94e03b04 bump rubocop and apply autofixes for new cops 2022-10-21 22:29:12 +02:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
ulferts 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
Wieland Lindenthal 5c65ae2e1e Fix #35131: Cleanup migration for BIM themes (#8834)
* Fix #35131: Addin a cleanup migration for BIM themes

Elder BIM instances got "OpenProject" theme instead
of the "OpenProject BIM" theme after migration as
that became the default for the theme column.

BIM instances need to get the theme set in a new
CustomStyle entry AND its colors need to get
written to DB.

When digging around on Saas there were also BIM
instances that had a theme set in a CustomStyle
but did not have the colors written out to DB.

* Refacotring: improve clearity of migration
2020-11-16 09:28:18 +01:00
Oliver Günther 250466db5a Use a seeder for the BIM theme 2020-06-29 09:39:26 +02:00
Oliver Günther b419398fa6 Allow themes and variables to be updated by service 2020-06-29 09:39:26 +02:00
Oliver Günther e63f102c82 Restore custom style rendering with css variables
Uses the css variables to set the default values instead of using the
previously ruby-defined variables
2020-06-29 08:46:54 +02:00
Oliver Günther b259e2051e Fix the design patch to respond to bim config
https://community.openproject.com/wp/32374
2020-02-25 16:17:56 +01:00
ulferts 399e8c3ed9 rename according to zeitwerk 2020-02-21 20:47:25 +01:00
Wieland Lindenthal 8c6dcd509b Merge pull request #8037 from opf/feature/change-wording-of-relation-queries
Change wording of relation queries
2020-02-14 20:53:59 +01:00
Wieland Lindenthal de7e3c97c6 Fix: add styles for disabled tabs 2020-02-12 16:09:54 +01:00
Markus Kahl 7bcf360fb3 updated text and images; addressed code climate issues 2020-02-12 13:54:50 +00:00
Henriette Dinger d2698ef913 Change OP Dark theme and use it in BIM edition 2020-02-07 11:40:33 +01:00
Henriette Dinger 46eeaadd8e Allow themes to define a logo (dark vs. light) when there is no custom logo defined 2020-02-06 12:56:00 +01:00
Henriette Dinger f067c4702e Show placeholder "(Custom)" in the theme selection field when colors have been changed manually 2020-01-15 15:10:12 +01:00
Henriette Dinger 8041925ea4 Add theme column to custom_styles table to save the currently used theme and show the correct one in the select field 2020-01-15 15:10:12 +01:00
Henriette Dinger 02444a2a92 Offer three colour themes which change the design variables 2020-01-15 15:10:12 +01:00