nitweb/angular: add metrics directives
[nit.git] / share / nitweb / stylesheets / nitweb.css
index 9471a5d..0fcff6c 100644 (file)
@@ -75,6 +75,10 @@ a {
        border-top: none;
 }
 
+.card-title {
+    padding-left: 15px;
+}
+
 /* ui */
 
 .btn-bar { margin-top: -5px; float: right }
@@ -214,6 +218,32 @@ entity-list:hover .btn-filter {
        margin-top: 8px;
        margin-bottom: 0px;
 }
+
+/*
+ * Ratings
+ */
+
+.card .stars {
+       visibility: hidden
+}
+
+.card:hover .stars {
+       visibility: visible
+}
+
+.star {
+       color: grey;
+       cursor: pointer;
+}
+
+.star:hover, .star.active:hover {
+       color: #FF8100
+}
+
+.star.active {
+       color: #FFC000
+}
+
 /*
  * Users
  */