Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/engine/NotificationWindow.html

Issue 6505394822184960: Issue 1109 - Support notifications (Closed)
Patch Set: Created May 11, 2015, 10:01 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/engine/NotificationWindow.html
diff --git a/src/engine/NotificationWindow.html b/src/engine/NotificationWindow.html
new file mode 100644
index 0000000000000000000000000000000000000000..0a4c43580de387208feaa67aa35140d7ecb2a00c
--- /dev/null
+++ b/src/engine/NotificationWindow.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
Eric 2015/05/17 17:23:48 This file should go in 'html/templates', alongside
+<html>
+ <head>
Oleksandr 2015/06/24 01:22:34 Can't we just add <meta http-equiv="x-ua-compatibl
sergei 2015/06/24 17:31:35 Yes we can, in our case there is no difference.
+ <style>
+ * {
+ cursor: default;
+ }
+
+ a {
+ cursor: pointer;
+ }
+
+ html, body, div {
+ margin: 0;
+ }
+ .caption {
+ background-color: #eeeeee;
+ min-height: 18px;
+ clear: both;
+ }
+ .closeButton {
+ background-color: grey;
+ color: white;
+ font-weight: bold;
+ font-family: "Consolas, monaco, monospace";
+ text-decoration: none;
+ width: 18px;
+ height: 18px;
+ vertical-align: middle;
+ text-align: center;
+ margin-right: 10px;
+ cursor: default;
+ }
+ .closeButton:hover {
+ background-color: red;
+ text-decoration: none;
+ }
+ .title {
+ font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 15.4px;
+ padding: 5px 5px 2px 10px;
+ }
+ .body {
+ font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
+ font-size: 13px;
+ font-weight: 400;
+ overflow-x: hidden;
+ overflow-y: auto;
+ padding: 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="caption">
+ <a class="closeButton" style="float: right;" href="#">&times;</a>
+ <div class="title"><!--Title--></div>
+ </div>
+ <div class="body"><!--Body--></div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld