tests: add some runtime error in nitin.input
[nit.git] / share / nitweb / stylesheets / nitweb.css
index 9471a5d..b78f244 100644 (file)
@@ -29,37 +29,36 @@ a {
        border: 1px solid #1E9431;
 }
 
-.card, .card-body { overflow: hidden; }
-
 .card-heading {
     margin-top: 0;
     margin-bottom: 5px;
 }
 
 .card {
+       display: table;
+       width: 100%;
        background: #fff;
        border: 1px solid #ccc;
        margin-top: 10px;
        box-shadow: 0 -1px 0 #e5e5e5,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
 }
 
-.card-body {
-    padding: 15px;
-    width: 10000px;
+.card-body, .card-left, .card-right {
+       display: table-cell;
+       padding: 15px;
 }
 
-.card-body, .card-right, .card-left {
-    display: table-cell;
-    vertical-align: top;
+.card-body {
+       padding: 15px 0;
+       width: 100%
 }
 
-.card-left, .card>.pull-left {
-    padding: 15px;
-       padding-right: 0px;
+.card-body:first-child {
+       padding-left: 15px;
 }
-.card-right, .card>.pull-right {
-    padding: 15px;
-       padding-left: 0px;
+
+.card-body:last-child {
+       padding-right: 15px;
 }
 
 .card-list {
@@ -75,6 +74,10 @@ a {
        border-top: none;
 }
 
+.card-title {
+    margin-top: 0;
+}
+
 /* ui */
 
 .btn-bar { margin-top: -5px; float: right }
@@ -91,7 +94,7 @@ entity-list:hover .btn-filter {
 /* doc */
 
 .nitdoc .synopsys {
-       font-size: 2em;
+       margin-top: 0;
 }
 
 .signature {
@@ -156,7 +159,9 @@ entity-list:hover .btn-filter {
 
 .search-results {
        position: absolute;
-       right: 0;
+       margin-top: 2px;
+       right: 15px;
+       left: 15px;
 }
 
 .search-results .card.active {
@@ -164,6 +169,10 @@ entity-list:hover .btn-filter {
        border-color: #eee;
 }
 
+.card-search {
+       cursor: pointer;
+}
+
 /* loading bar */
 
 #loading-bar .bar {
@@ -214,6 +223,44 @@ entity-list:hover .btn-filter {
        margin-top: 8px;
        margin-bottom: 0px;
 }
+
+/* Summary */
+
+.summary h1, .summary h2, .summary h3, .summary h4, .summary h5, .summary h6 {
+       margin: 5px 0;
+}
+
+.summary h1 a, .summary h2 a, .summary h3 a, .summary h4 a, .summary h5 a, .summary h6 a {
+       color: #555;
+}
+
+.summary h1 { font-size: 14px; margin-left: 0px; font-weight: bold; }
+.summary h2 { font-size: 13px; margin-left: 5px; font-weight: bold; }
+.summary h3 { font-size: 12px; margin-left: 10px; }
+.summary h4 { font-size: 11px; margin-left: 15px; }
+.summary h5 { font-size: 10px; margin-left: 20px; }
+.summary h6 { font-size: 9px; margin-left: 25px; }
+
+/*
+ * Ratings
+ */
+
+.star {
+       color: grey;
+}
+
+.editable .star {
+       cursor: pointer;
+}
+
+.editable .star:hover, .editable .star.active:hover {
+       color: #FF8100
+}
+
+.star.active {
+       color: #FFC000
+}
+
 /*
  * Users
  */
@@ -222,6 +269,11 @@ entity-list:hover .btn-filter {
        border-radius: 2px;
 }
 
+.avatar-icon {
+       width: 18px;
+       height: 18px;
+}
+
 /*
  * Code Highlighting
  */