Commits

Aleš Erjavec committed 030b33d

Fixed CSS selectors for widget icons, added all remaining categories.

Comments (0)

Files changed (1)

docs/sphinx-ext/themes/orange_theme/static/orange.css

     clear: both;
 }
 
-img.widget-category-data.widget-catalog-table ,
+/* Widget icon styling */
+table.widget-catalog-table img,
+img.widget-icon {
+    border-radius: 100%;
+    padding: 6px;
+    /*box-shadow: 0px 0px 5px #888888;*/
+}
+
+/* Data */
+table.widget-catalog-table.widget-category-data img,
 img.widget-category-data.widget-icon {
     background: #FFD39F;
-    border-radius: 100%;
-    padding: 6px;
+    /*background: radial-gradient(#FFDEB7 1%, #FDBE74 80%);*/
 }
+
+/* Visualize */
+table.widget-catalog-table.widget-category-visualize img,
+img.widget-category-visualize.widget-icon {
+    background: #FFB7B1;
+}
+
+/* Classify */
+table.widget-catalog-table.widget-category-classify img,
+img.widget-category-classify.widget-icon {
+    background: #FAC1D9;
+}
+
+/* Regression */
+table.widget-catalog-table.widget-category-regression img,
+img.widget-category-regression.widget-icon {
+    background: #E5BBFB;
+}
+
+/* Evaluate */
+table.widget-catalog-table.widget-category-evaluate img,
+img.widget-category-evaluate.widget-icon {
+    background: #C3F3F3;
+}
+
+/* Associate */
+table.widget-catalog-table.widget-category-associate img,
+img.widget-category-associate.widget-icon {
+    background: #ACE3CE;
+}
+
+/* Unsupervised */
+table.widget-catalog-table.widget-category-unsupervised img,
+img.widget-category-unsupervised.widget-icon {
+    background: #CAE1EF;
+}