Skip to content

Commit 5a2d2b9

Browse files
committed
Merge pull request #43 from adyNabeelMadain/master
update grid layout colors
2 parents d1f2d8a + 1251d04 commit 5a2d2b9

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

widget/index.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,19 @@
2121

2222
</head>
2323
<body ng-cloak class="gridLayout" ng-controller="folderPluginCtrl">
24-
<style>
25-
body.gridLayout {
26-
background-color: {{}} !important;
24+
<style ng-if="data.design.colorType === 'C'">
25+
body.gridLayout {
26+
background-color: {{data.design.colors.backgroundColor}} !important;
2727
background-image: url({{backgroundImage}}) !important;
28-
background-size:cover !important;
29-
}
30-
div.text-holder p {
31-
3228
background-size:cover !important;
3329
}
30+
3431
div.text-holder p, .launcher-plugin.layout7 .menu-links .menu-item p {
35-
color: {{data.design.colorType === 'C' && data.design.colors.bodyText}} !important;
32+
color: {{data.design.colors.bodyText}} !important;
3633
}
3734

3835
.icon, .glyphicon, .icon:hover {
39-
color: {{data.design.colorType === 'C' && data.design.colors.icons}} !important;
36+
color: {{data.design.colors.icons}} !important;
4037
}
4138
</style>
4239
<!--<div class="overlay background" ng-if="data.design.selectedLayout !== 7 && backgroundImage">

0 commit comments

Comments
 (0)