static/style.css

changeset 55
0f1d046b3f78
parent 39
42a6276cf6d1
child 67
336c750b7b5d
--- a/static/style.css	Thu Aug 31 21:30:34 2017 +0300
+++ b/static/style.css	Sun Sep 03 14:10:38 2017 +0300
@@ -44,20 +44,20 @@
 	margin: auto;
 	margin-bottom: 30pt;
 	min-width: 50%;
-	/*min-width: 85%;*/
+	border-radius: 30px 30px 0 0;
+	background: #ffd90f;
 	border: 1px solid gray;
-	border-radius: 30px 30px 0 0;
 	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
 }
 
-.aikataulu th:first-child
+.aikataulu tr:first-child th:first-child
 {
-	border-radius: 30px 0 0 0;
+	border-top-left-radius: 30px;
 }
 
-.aikataulu th:last-child
+.aikataulu tr:first-child th:last-child
 {
-	border-radius: 0 30px 0 0;
+	border-top-right-radius: 0 30px;
 }
 
 .sarake-linja
@@ -83,18 +83,18 @@
 	padding-top: 10px;
 }
 
+.aikataulu tbody
+{
+	background: white;
+}
+
 .aikataulu tr td
 {
 	border-top: 1px solid gray;
 	background-color: rgba(0, 0, 0, 0.04);
 }
 
-.aikataulu tr:first-child td
-{
-	border-top: none;
-}
-
-.aikataulu tr:nth-child(even)
+.aikataulu tbody tr:nth-child(even)
 {
 	background-color: rgba(0, 0, 0, 0.08);
 }
@@ -111,11 +111,6 @@
 	*/
 }
 
-.aikataulu th
-{
-	background: #ffd90f;
-}
-
 #pysäkki-info
 {
 	text-align: center
@@ -202,3 +197,62 @@
 		opacity: 1;
 	}
 }
+
+.primary-heading span
+{
+	font-size: 32pt;
+}
+
+.primary-heading-symbols
+{
+	font-weight: normal;
+}
+
+.primary-heading
+{
+	margin: 0;
+	padding-top: 10pt;
+	padding-bottom: 20pt;
+	height: 60px;
+}
+
+.primary-heading img, .primary-heading span
+{
+	vertical-align: middle;
+}
+
+.aikataulu
+{
+	margin-top: 20pt;
+}
+
+.actions
+{
+	float: right;
+}
+
+.headings
+{
+	vertical-align: bottom;
+}
+
+.actions a
+{
+	border: 1px solid rgba(0,0,0, 0.5);
+	border-radius: 20px;
+	width: 40px;
+	height: 40px;
+	text-align: center;
+	vertical-align: middle;
+	display: table-cell;
+	margin: 2px;
+	font-weight: normal;
+	background: #ffe766;
+	box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
+}
+
+.actions a:hover
+{
+	background: #fff3b3;
+	text-decoration: none;
+}

mercurial