Skip to content

Commit

Permalink
Adapting default CSS templates to the new grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jun 2, 2016
1 parent b5614a4 commit 2917051
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions caravel/data/__init__.py
Expand Up @@ -476,14 +476,14 @@ def load_css_templates():
if not obj:
obj = CSS(template_name="Flat")
css = textwrap.dedent("""\
.gridster li.widget {
.gridster div.widget {
transition: background-color 0.5s ease;
background-color: #FAFAFA;
border: 1px solid #CCC;
box-shadow: none;
border-radius: 0px;
}
.gridster li.widget:hover {
.gridster div.widget:hover {
border: 1px solid #000;
background-color: #EAEAEA;
}
Expand Down Expand Up @@ -516,7 +516,7 @@ def load_css_templates():
if not obj:
obj = CSS(template_name="Courier Black")
css = textwrap.dedent("""\
.gridster li.widget {
.gridster div.widget {
transition: background-color 0.5s ease;
background-color: #EEE;
border: 2px solid #444;
Expand All @@ -530,7 +530,7 @@ def load_css_templates():
.navbar {
box-shadow: none;
}
.gridster li.widget:hover {
.gridster div.widget:hover {
border: 2px solid #000;
background-color: #EAEAEA;
}
Expand Down

0 comments on commit 2917051

Please sign in to comment.