-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.0] Select Schedule Task css (#41871)
* [5.0] Select Schedule Task css The select task view is the same as the select module view except it uses its own css file with invalid css. This PR changes that so that it uses an scss file in exactly the same way as com_modules. This removes the invalid css and makes it more maintainable. * section * Merge remote-tracking branch 'origin/5.0-dev' into 6_com_scheduler * Revert "Merge remote-tracking branch 'origin/5.0-dev' into 6_com_scheduler" This reverts commit 3bb1df2. * Revert "Auxiliary commit to revert individual files from df98bc9" This reverts commit a9e3bedc2cc97deb806be1138fe0402e30c2e932. * assets - thanks @wilsonge * sync with #41920 * js fix * js --------- Co-authored-by: Richard Fath <richard.fath@t-online.de> Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
- Loading branch information
1 parent
3454262
commit debb587
Showing
11 changed files
with
122 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
build/media_source/com_scheduler/css/admin-view-select-task.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
build/media_source/plg_behaviour_compat/removed.asset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", | ||
"name": "plg_behaviour_compat", | ||
"version": "5.0.0", | ||
"description": "Joomla CMS Removed Assets b/c entries, the entries are only placeholders without functionality.", | ||
"license": "GPL-2.0-or-later", | ||
"assets": [ | ||
{ | ||
"name": "com_scheduler.admin-view-select-task-css", | ||
"type": "style", | ||
"deprecated": true, | ||
"uri": "" | ||
} | ||
] | ||
} |
75 changes: 75 additions & 0 deletions
75
build/media_source/templates/administrator/atum/scss/pages/_com_scheduler.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
.new-tasks { | ||
// We use the same colours for the new task section as we do for the quickicons. | ||
--text-color: var(--template-quickicon-color); | ||
--bg-color: hsl(var(--hue), 60%, 97%); | ||
--bg-color-hvr: var(--template-bg-dark); | ||
--icon-color: var(--template-quickicon-color); | ||
--icon-color-hvr: hsl(var(--hue), 50%, 93%); | ||
|
||
.card-columns { | ||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); | ||
} | ||
} | ||
|
||
@if $enable-dark-mode { | ||
@include color-mode(dark) { | ||
.new-tasks { | ||
--bg-color: var(--template-bg-dark-80); | ||
--bg-color-hvr: var(--template-bg-dark-65); | ||
--icon-color: var(--template-bg-dark-80); | ||
--icon-color-hvr: var(--template-quickicon-color); | ||
} | ||
} | ||
} | ||
|
||
.new-task { | ||
display: flex; | ||
overflow: hidden; | ||
color: var(--text-color); | ||
background-color: var(--bg-color); | ||
border: 1px solid hsl(var(--hue), 50%, 93%); | ||
border-radius: $border-radius; | ||
|
||
* { | ||
transition: all .25s ease; | ||
} | ||
|
||
&-details { | ||
flex: 1 0; | ||
padding: 1rem; | ||
} | ||
|
||
&-title { | ||
margin-bottom: .25rem; | ||
font-size: 1rem; | ||
font-weight: 700; | ||
} | ||
|
||
&-caption { | ||
display: flex; | ||
margin: 0; | ||
font-size: .875rem; | ||
} | ||
|
||
&-link { | ||
display: flex; | ||
align-items: flex-end; | ||
justify-content: center; | ||
width: 2.5rem; | ||
font-size: 1.2rem; | ||
background: hsl(var(--hue), 50%, 93%); | ||
|
||
span { | ||
margin-bottom: 10px; | ||
color: var(--icon-color); | ||
} | ||
|
||
.new-task:hover & { | ||
background: var(--bg-color-hvr); | ||
|
||
span { | ||
color: var(--icon-color-hvr); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters