summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/tests-book
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2009-05-12 11:12:45 +0000
committerMarc Englund <marc.englund@itmill.com>2009-05-12 11:12:45 +0000
commite14bcef7f580a6e85c85665cd633105288c8f9c5 (patch)
treeb4c92e97bd78c98e3cd81ab76b5a42513009ac8b /WebContent/VAADIN/themes/tests-book
parente0c9e338d7e575d29c19a391854f6539bd30b10d (diff)
downloadvaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.tar.gz
vaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.zip
Renaming ITMILL/ -> VAADIN/ part 1 (for #2904)
svn changeset:7762/svn branch:6.0
Diffstat (limited to 'WebContent/VAADIN/themes/tests-book')
-rw-r--r--WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.pngbin0 -> 2183 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-book/img/smiley.jpgbin0 -> 1411 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-book/layouts/layoutname.html19
-rw-r--r--WebContent/VAADIN/themes/tests-book/layouts/printpage.html5
-rw-r--r--WebContent/VAADIN/themes/tests-book/styles.css174
5 files changed, 198 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png b/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png
new file mode 100644
index 0000000000..4bb791c856
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-book/img/smiley.jpg b/WebContent/VAADIN/themes/tests-book/img/smiley.jpg
new file mode 100644
index 0000000000..dc1a399c76
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-book/img/smiley.jpg
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html b/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html
new file mode 100644
index 0000000000..6b75910783
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html
@@ -0,0 +1,19 @@
+<table width="100%" height="100%">
+ <tr height="100%">
+ <td>
+ <table align="center">
+ <tr>
+ <td align="right">User&nbsp;name:</td>
+ <td><div location="username"></div></td>
+ </tr>
+ <tr>
+ <td align="right">Password:</td>
+ <td><div location="password"></div></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" colspan="2"><div location="okbutton"></div></td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-book/layouts/printpage.html b/WebContent/VAADIN/themes/tests-book/layouts/printpage.html
new file mode 100644
index 0000000000..2e65addcd8
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-book/layouts/printpage.html
@@ -0,0 +1,5 @@
+<div>Here is some static content.</div>
+
+<script type='text/javascript'>
+print();
+</script>
diff --git a/WebContent/VAADIN/themes/tests-book/styles.css b/WebContent/VAADIN/themes/tests-book/styles.css
new file mode 100644
index 0000000000..d3af11c089
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-book/styles.css
@@ -0,0 +1,174 @@
+@import url(../default/styles.css);
+
+/*****************************************************************************/
+/* Styling for tests.magi application. */
+/*****************************************************************************/
+
+.v-app {
+ background: white;
+}
+
+/*****************************************************************************/
+/* For example_Forms() */
+/*****************************************************************************/
+.v-form {
+ border: thin solid;
+ padding: 5px 5px 5px 5px;
+}
+
+
+/*****************************************************************************/
+/* For example_Table() */
+/*****************************************************************************/
+/* Table rows contain three-row TextField components. */
+.v-table-components-inside .v-table-cell-content {
+ height: 54px; /* 3*18px = 54px. */
+}
+
+/******************************************************************************
+ * For TableCellStyle.java.
+ ******************************************************************************/
+/* Center the text in header. */
+.v-table-header-cell {
+ text-align: center;
+}
+
+/* Basic style for all cells. */
+.v-table-checkerboard .v-table-cell-content {
+ text-align: center;
+ vertical-align: middle;
+ padding-top: 12px;
+ width: 20px;
+ height: 28px;
+}
+
+/* Style specifically for the row header cells. */
+.v-table-cell-content-rowheader {
+ background: #E7EDF3 url(../default/table/img/header-bg.png) repeat-x scroll 0 0;
+}
+
+/* Style specifically for the "white" cells. */
+.v-table-cell-content-white {
+ background: white;
+ color: black;
+}
+
+/* Style specifically for the "black" cells. */
+.v-table-cell-content-black {
+ background: black;
+ color: white;
+}
+
+/*****************************************************************************/
+/* For example_Tree() */
+/*****************************************************************************/
+
+.v-expandlayout-treeexample .v-panel .v-orderedlayout {
+ padding: 0px;
+}
+
+.v-orderedlayout-margin-top { padding-top: 0px; }
+.v-orderedlayout-margin-left { padding-left: 0px; }
+.v-orderedlayout-margin-bottom { padding-bottom: 0px; }
+.v-orderedlayout-margin-right { padding-right: 0px; }
+
+/*****************************************************************************/
+/* For example_GridLayout() */
+/*****************************************************************************/
+table.v-gridlayout-example-gridlayout {
+ background: blue;
+}
+
+.v-gridlayout-example-gridlayout td {
+ background: white;
+}
+
+/*****************************************************************************/
+/* For example_Alignment() */
+/*****************************************************************************/
+.v-gridlayout-example-alignment {
+ background: blue;
+}
+.v-gridlayout-example-alignment .v-expandlayout {
+ background: white;
+ width: 150px;
+ height: 75px;
+}
+
+.v-orderedlayout {
+ margin: 5px;
+}
+
+/* For SelectExample.java. */
+.v-orderedlayout tr {
+ vertical-align: top;
+}
+
+/*****************************************************************************/
+/* For example_ProgressIndicator() */
+/*****************************************************************************/
+.v-progressindicator-invisible {
+ display: none;
+}
+
+.v-progressindicator-fullwidth {
+ width: 100px;
+}
+
+/*****************************************************************************/
+/* For example_Spacing() */
+/*****************************************************************************/
+.v-orderedlayout-spacingexample table {
+ background: blue;
+}
+
+.v-orderedlayout-spacingexample td {
+ background: white;
+}
+
+/* Set horizontal cell spacing for all OrderedLayouts. */
+.v-orderedlayout-hspacing {
+ padding-left: 10px;
+}
+
+/* Set horizontal cell spacing in specific layout with "spacingexample" style. */
+.v-orderedlayout-spacingexample .v-orderedlayout-hspacing {
+ padding-left: 30px;
+}
+
+/* Set vertical cell spacing in specific layout with "spacingexample" style. */
+.v-orderedlayout-spacingexample .v-orderedlayout-vspacing {
+ margin-top: 30px;
+}
+
+table.v-gridlayout-spacingexample {
+ background: blue;
+}
+
+.v-gridlayout-spacingexample td {
+ background: white;
+}
+
+/*****************************************************************************/
+/* For example_Margin() */
+/*****************************************************************************/
+.v-orderedlayout-marginexample1 { padding-left: 200px; }
+.v-orderedlayout-marginexample1 { padding-right: 100px; }
+.v-orderedlayout-marginexample1 { padding-top: 50px; }
+.v-orderedlayout-marginexample1 { padding-bottom: 25px; }
+
+.v-orderedlayout-marginexample2 .v-orderedlayout-margin-left { padding-left: 200px; }
+.v-orderedlayout-marginexample2 .v-orderedlayout-margin-right { padding-right: 100px; }
+.v-orderedlayout-marginexample2 .v-orderedlayout-margin-top { padding-top: 50px; }
+.v-orderedlayout-marginexample2 .v-orderedlayout-margin-bottom { padding-bottom: 25px; }
+
+.v-orderedlayout-marginexample1 { background: #d0d0ff; border: 1px;}
+.v-orderedlayout-marginexample2 { background: #ffd0d0; border: 1px;}
+.v-orderedlayout-marginexample table { background: white; }
+
+/*****************************************************************************/
+/* For example_RichTextArea() */
+/*****************************************************************************/
+.v-richtextarea-richtextexample .gwt-ToggleButton .gwt-Image {
+ background-image: url(img/richtextarea-toolbar-fi.png) !important;
+}