mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
apps: Style disable app icons according to design
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
dd58b4fd39
commit
4aae99d695
@ -288,23 +288,26 @@ footer {
|
|||||||
justify-content: left;
|
justify-content: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.apps-page .card-icon img {
|
/* Enabled app icons */
|
||||||
|
.apps-page .card-list-primary .card-icon img {
|
||||||
transition: filter 0.3s;
|
transition: filter 0.3s;
|
||||||
|
|
||||||
/* --- .installed ---*/
|
|
||||||
filter: contrast(0.2) sepia(1) hue-rotate(171deg) contrast(2);
|
filter: contrast(0.2) sepia(1) hue-rotate(171deg) contrast(2);
|
||||||
|
|
||||||
/* TODO #1309: uninstalled state */
|
|
||||||
/* --- .uninstalled ---*/
|
|
||||||
/* filter: grayscale(1) opacity(0.5); */
|
|
||||||
/* --- .uninstalled:hover ---*/
|
|
||||||
/* filter: grayscale(1) opacity(1); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.apps-page .card:hover .card-icon img {
|
.apps-page .card-list-primary .card:hover .card-icon img {
|
||||||
filter: none;
|
filter: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disabled app icons */
|
||||||
|
.apps-page .card-list-secondary .card-icon img {
|
||||||
|
transition: filter 0.3s;
|
||||||
|
filter: grayscale(1) opacity(0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.apps-page .card-list-secondary .card:hover .card-icon img {
|
||||||
|
filter: grayscale(1) opacity(1);
|
||||||
|
}
|
||||||
|
|
||||||
a.menu_link {
|
a.menu_link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -356,13 +359,22 @@ a.menu_link_active {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-icon {
|
/* Enable apps - green glow */
|
||||||
|
.card-list-primary .card-icon {
|
||||||
background: radial-gradient(farthest-side at bottom,#eefff0, white);
|
background: radial-gradient(farthest-side at bottom,#eefff0, white);
|
||||||
background-position: 50% 100%;
|
background-position: 50% 100%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 150% 25%;
|
background-size: 150% 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disabled apps - grey glow */
|
||||||
|
.card-list-secondary .card-icon {
|
||||||
|
background: radial-gradient(farthest-side at bottom,#f0f0f0, white);
|
||||||
|
background-position: 50% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 150% 25%;
|
||||||
|
}
|
||||||
|
|
||||||
.card-icon span {
|
.card-icon span {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user