Skip to content

Commit

Permalink
Design fixes fixes 2020 12 07 (#2)
Browse files Browse the repository at this point in the history
* fix hasadna/datacity-k8s#154 homepage groups component design fixes

* fix hasadna/datacity-k8s#155 homepage datasets component - use top header background color
  • Loading branch information
OriHoch committed Dec 7, 2020
1 parent 952e6a2 commit e7ff222
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
21 changes: 15 additions & 6 deletions ckanext/datacity/fanstatic/datacity-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,33 +122,42 @@ body {

.surrey-media-item {
position: relative;
width: 160px;
padding: 10px 10px 10px 13px;
width: 120px;
text-align: center;
height: 160px;
height: 120px;
margin-left: 13px;
margin-right: 13px;
margin-bottom: 22px;
}

.surrey-media-item-wrap {
background-color: #37678c;
border-radius: 30px;
height: 130px;
width: 120px;
height: 120px;
padding-top: 10px;
}

.surrey-media-item span {
display:block;
text-align: center;
font-size: 16px;
font-size: 14px;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
}

.surrey-media-item img {
margin:7px 0;
}

.surrey-media-item a {
text-decoration: none;
}

ul.surrey-media-grid {
margin: 0;
padding: 0;
padding: 0 26px;
}

.homepage-datasets-top-container .SectionTitle {
Expand Down
3 changes: 3 additions & 0 deletions ckanext/datacity/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,8 @@
.homepage .module-search .search-title {
color: {{ h.color('homepage_title_text_color') }};
}
.homepage-datasets-top-container {
background-color: {{ h.color("top_header_background_color") }};
}
</style>
{% endblock %}

0 comments on commit e7ff222

Please sign in to comment.