]> source.dussan.org Git - vaadin-framework.git/commitdiff
workaround for "Joonas, Safari and network with latency rendering bug"
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 10 Dec 2007 14:26:57 +0000 (14:26 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 10 Dec 2007 14:26:57 +0000 (14:26 +0000)
svn changeset:3206/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/public/default/styles.css

index 3935cf07aa10f21f97438903ca24a12d6a55c803..49577138d492691663fa2ccf930c5476671c8e8c 100644 (file)
@@ -1,3 +1,36 @@
+/* First rules here are to avoid some bugs with Safari and network latency ~ > 100ms->
+ *  Size calculations fail without them. Other problems may also appear, but the 
+ * most critical ones can be avoided with these.
+ * TODO workaround: concatenate style sheets
+ */
+
+#itmill-ajax-window {
+       background: #e9eced;
+       font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
+       color: #464f52;
+       font-size: 13px;
+       line-height: 18px;
+       height: 100%;
+}
+/* body tag created by servlet */
+.i-generated-body {
+       background: #e9eced;
+       width:100%;
+       height:100%;
+       border:0;
+       margin:0;
+       overflow:auto;
+}
+
+.i-view {
+       height: 100%;
+       width: 100%
+       overflow: auto; 
+       /* avoid scrollbars with margins in root layout */
+       margin-top:-1px;
+       border-top:1px solid transparent;
+}
+
 @import "common/common.css";\r
 @import "button/button.css";\r
 @import "textfield/textfield.css";\r