restyled resources_selected
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 04:19:49 +0000 (06:19 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 04:19:49 +0000 (06:19 +0200)
plugins/resources_selected/static/css/resources_selected.css
plugins/resources_selected/templates/resources_selected.html

index 6023afc..dfefb46 100644 (file)
@@ -6,31 +6,30 @@
         Purpose of the stylesheet follows.
 */
 
-tr.add td{ 
-    background-color: #E3F6CE;
+div.resources-selected-spacer {
+    margin: 20px 15px;
 }
-tr.remove td{ 
-    background-color: #F6CECE;
+table.resources-selected {
+    width: 100%;
+    margin: 10px;
 }
-.ResourceSelectedClose{
-    cursor: pointer;
+table.resources-selected th {
+    background: url('../img/tablesort-header.png') repeat-x; 
+    font-weight: normal;
+    font-style: italic;
 }
-
-.ResourcesSelected .added {
+tr.add td{ 
     background-color: #E3F6CE;
 }
-.ResourcesSelected .removed {
+tr.remove td{ 
     background-color: #F6CECE;
 }
 
-div.resources-selected-spacer {
-    margin: 20px 15px;
+.ResourceSelectedClose{
+    cursor: pointer;
 }
 
 #pending__table_paginate {
     margin-bottom: 10px;
 }
 
-thead.resources-selected th, tfoot.resources-selected th {
-    background: url('../img/tablesort-header.png') repeat-x; 
-}
index 01e2a03..c4d018e 100644 (file)
@@ -1,5 +1,5 @@
 <div class='resources-selected-spacer'>
-<table class='display' id='{{domid}}__table'>
+<table class='resources-selected' id='{{domid}}__table'>
   <thead class="resources-selected">
     <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> </tr>
   </thead>