Skip to content

Commit

Permalink
fixes Piwigo#79 album selector item colors adapted to each skin
Browse files Browse the repository at this point in the history
- Dark
- Dark Lagoon
- Dark Radish
- Dark Sky
- Debug
  • Loading branch information
LintyDev committed Sep 5, 2024
1 parent 682ed92 commit be9d844
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css/base.css.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -590,3 +590,16 @@ ul.token-input-list{
font-weight:600;
text-decoration: none;
}
{if !empty($skin.searchResultItem)}
.search-result-item {
background-color: {$skin.searchResultItem.backgroundColor};
color: {$skin.searchResultItem.color};
}
{/if}
{if !empty($skin.formAlbumSelector.backgroundColor)}
.linkedAlbumPopInContainer {
background-color: {$skin.formAlbumSelector.backgroundColor};
}
{/if}
5 changes: 5 additions & 0 deletions skins/dark.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
'backgroundColor' => '#3F3F3F',
),

'searchResultItem' => array(
'backgroundColor' => '#333333',
'color' => '#bbbbbb',
),

// should be white or around white
/*'albumLegend' => array(
'color' => '#fff',
Expand Down
5 changes: 5 additions & 0 deletions skins/dark_lagoon.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
'backgroundColor' => '#3F3F3F',
),

'searchResultItem' => array(
'backgroundColor' => '#333333',
'color' => '#bbbbbb',
),

// should be white or around white
/*'albumLegend' => array(
'color' => '#fff',
Expand Down
5 changes: 5 additions & 0 deletions skins/dark_radish.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
'backgroundColor' => '#3F3F3F',
),

'searchResultItem' => array(
'backgroundColor' => '#333333',
'color' => '#bbbbbb',
),

// should be white or around white
/*'albumLegend' => array(
'color' => '#fff',
Expand Down
5 changes: 5 additions & 0 deletions skins/dark_sky.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
'backgroundColor' => '#3F3F3F',
),

'searchResultItem' => array(
'backgroundColor' => '#333333',
'color' => '#bbbbbb',
),

// should be white or around white
/*'albumLegend' => array(
'color' => '#fff',
Expand Down
4 changes: 4 additions & 0 deletions skins/debug.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
'backgroundColor' => '#ccc',
),

'formAlbumSelector' => array(
'backgroundColor' => '#fff',
),

// should be white or around white
'albumLegend' => array(
'color' => '#fff',
Expand Down

0 comments on commit be9d844

Please sign in to comment.