diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css index eface31..25b2b20 100644 --- a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css +++ b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css @@ -1,41 +1,43 @@ @CHARSET "UTF-8"; .thumb { - background: none repeat scroll 0 0 #DDDDDD; - padding: 3px; + background: none repeat scroll 0 0 #DDDDDD; + padding: 3px; } - + .thumb img { - height: 80px; - width: 80px; + height: 80px; + width: 80px; + margin: auto; + display: block; } - + .thumbWrap { - border: 1px solid white; - float: left; - margin: 4px 0 4px 4px; - padding: 5px; - font: 11px Arial, Helvetica, sans-serif; + border: 1px solid white; + float: left; + margin: 4px 0 4px 4px; + padding: 5px; + font: 11px Arial, Helvetica, sans-serif; } - + .thumbWrap span { - display: block; - overflow: hidden; - text-align: center; + display: block; + overflow: hidden; + text-align: center; } - + .over { - background: repeat-x scroll left top #EFEFEF; - border: 1px solid #ddd !important; - padding: 5px; + background: repeat-x scroll left top #EFEFEF; + border: 1px solid #ddd !important; + padding: 5px; } - + .select { - background: none repeat scroll 0 50% #DFE8F6; - border: 1px dotted #A3BAE9 !important; - cursor: pointer; + background: none repeat scroll 0 50% #DFE8F6; + border: 1px dotted #A3BAE9 !important; + cursor: pointer; } - + .select .thumb { - background: none repeat scroll 0 0 transparent; + background: none repeat scroll 0 0 transparent; } \ No newline at end of file diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css index eface31..25b2b20 100644 --- a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css +++ b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/ResourcesListView.css @@ -1,41 +1,43 @@ @CHARSET "UTF-8"; .thumb { - background: none repeat scroll 0 0 #DDDDDD; - padding: 3px; + background: none repeat scroll 0 0 #DDDDDD; + padding: 3px; } - + .thumb img { - height: 80px; - width: 80px; + height: 80px; + width: 80px; + margin: auto; + display: block; } - + .thumbWrap { - border: 1px solid white; - float: left; - margin: 4px 0 4px 4px; - padding: 5px; - font: 11px Arial, Helvetica, sans-serif; + border: 1px solid white; + float: left; + margin: 4px 0 4px 4px; + padding: 5px; + font: 11px Arial, Helvetica, sans-serif; } - + .thumbWrap span { - display: block; - overflow: hidden; - text-align: center; + display: block; + overflow: hidden; + text-align: center; } - + .over { - background: repeat-x scroll left top #EFEFEF; - border: 1px solid #ddd !important; - padding: 5px; + background: repeat-x scroll left top #EFEFEF; + border: 1px solid #ddd !important; + padding: 5px; } - + .select { - background: none repeat scroll 0 50% #DFE8F6; - border: 1px dotted #A3BAE9 !important; - cursor: pointer; + background: none repeat scroll 0 50% #DFE8F6; + border: 1px dotted #A3BAE9 !important; + cursor: pointer; } - + .select .thumb { - background: none repeat scroll 0 0 transparent; + background: none repeat scroll 0 0 transparent; } \ No newline at end of file