31 Commits

Author SHA1 Message Date
Behrokh Satarnejad 1948ab4e55 [70458] Project status button is missing colors in the dropdown (#21892)
* Set color for icons in status button of projects and meetings

* Apply suggestion from @HDinger

Co-authored-by: Henriette Darge <h.darge@openproject.com>

---------

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2026-02-06 14:52:20 +01:00
Henriette Darge 5fccd4750a Use primer variables for highlighting overdue dates 2025-06-13 10:01:33 +02:00
Klaus Zanders 4d2f7c744c Merge branch 'dev' into merge-release/16.0-20250507111508 2025-05-07 13:21:31 +02:00
Klaus Zanders f843faef46 do not use output in highlight CSS as it already concat'ed to the output buffer 2025-05-07 11:59:13 +02:00
Behrokh Satarnejad 07cf684410 remove extra } from styles file 2025-05-07 11:41:06 +02:00
ulferts 42c14d1770 Merge remote-tracking branch 'origin/dev' into implementation/62981-show-and-edit-linked-phases-on-work-packages 2025-05-05 18:04:33 +02:00
Alexander Brandon Coles 7d92ee2831 [#63482] Implement Project Status Button Component
* Introduces `Projects::StatusButtonComponent` and its Lookbook Preview.
* Defines colours, icons as (Ruby) constants nested under
  `Project::Statuses` (c.f. `Meetings::Statuses`).
* Adds `Projects::StatusController` with `#update` action, routes and
  accompanying permissions.
2025-05-01 16:06:18 +01:00
ulferts 6e55cce82b use the phase`s name to get the correct color 2025-04-30 10:13:25 +02:00
Klaus Zanders c3df2561ab add a generic color class that we can use with different style classes 2025-04-14 13:45:15 +02:00
ulferts f9b769934a display project phase dates in project list using component 2025-04-01 16:41:44 +03:00
ulferts 464e97499c rename steps and step definitions 2025-04-01 16:39:37 +03:00
Oliver Günther 990335dfed Handle color modes in status button by passing __hl classes 2025-03-12 13:28:53 +01:00
Ivan Kuchin 7c24cf6048 erb_lint auto fix part of style 1/3 2025-02-11 18:49:21 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
ulferts 718f9d3e69 add life cycle steps into styles.css 2024-11-26 09:55:37 +01:00
Henriette Darge cba4f245eb Use Primer's value for bold text (600). Unfortunately we cannot directly access the variable as it is not loaded by PrimerCSS 2023-10-09 07:08:58 +02:00
Henriette Dinger e669bb1de1 Add inline highlighting function for colours itself and switch colours autocompleter to ngSelect 2019-04-30 15:02:39 +02:00
Jens Ulferts 269bfb32e5 extract in template code into helper method 2018-09-17 10:27:49 +02:00
Jens Ulferts e9f854fa7c fix color css rendering on non existing color
For instances already/still having entries (priorities, status, ...) with color_id = 0, we need to check explicitly if the color exists
2018-09-17 10:23:06 +02:00
Wieland Lindenthal 2f88631857 Softer (less dark) border for bright attribute highlighting dots 2018-09-14 16:24:01 +02:00
Wieland Lindenthal 0b299d5bf0 Add dark borders to highlighting dots with bright colors. 2018-09-13 13:02:44 +02:00
Oliver Günther 9c77d3329d [28499] Don't render empty highlighting dots
https://community.openproject.com/wp/28499
2018-09-12 14:54:17 +02:00
Jens Ulferts 3180a5c21f use the id of the joined table to prevent breaking when an invalid id is joined with 2018-09-11 15:37:29 +02:00
Wieland Lindenthal 575a4bf8d9 Add extra class for dot coloring and apply it to status selecotor options 2018-09-04 19:43:55 +02:00
Wieland Lindenthal 25a7912a83 Prepend big colored dots before the attribute to highlight it. 2018-09-04 17:16:31 +02:00
Oliver Günther 3d9c2432c1 Replace timeline loaded types with CSS solution 2018-09-03 10:37:23 +02:00
Oliver Günther 1b2eeebdb4 Implement highlighting rows based on due date 2018-09-03 09:56:20 +02:00
Oliver Günther 6a7c17304d Implement highlighting of row and communicating dark rows 2018-09-03 09:11:09 +02:00
Oliver Günther 5e84aa2345 Add highlight for inline with CSS styles 2018-09-01 10:34:36 +02:00
Oliver Günther 2131f980e3 WIP 2018-08-31 11:40:59 +02:00
Oliver Günther 3d9febc767 Create highlighting css styles 2018-08-29 13:18:33 +02:00