summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/readme.txt15
-rw-r--r--WebContent/VAADIN/themes/reindeer-tests/styles.css38
-rw-r--r--WebContent/VAADIN/themes/tests-book/favicon.icobin6518 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.pngbin2183 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-book/img/smiley.jpgbin1411 -> 0 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.css208
-rw-r--r--WebContent/VAADIN/themes/tests-calendar/styles.css104
-rw-r--r--WebContent/VAADIN/themes/tests-components/images/logo.pngbin19532 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-components/styles.css64
-rw-r--r--WebContent/VAADIN/themes/tests-responsive/styles.css116
-rw-r--r--WebContent/VAADIN/themes/tests-table/styles.css5
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/favicon.icobin6518 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/folder with space/resource with special $chars@.txt1
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/icons/EmbeddedInSubWindow-image.pngbin58492 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/icons/au.gifbin378 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/icons/fi.gifbin371 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/icons/hu.gifbin357 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/icons/se.gifbin367 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket14340.html2
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_News.html41
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_Support.html16
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1775.html33
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1975.html1
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2022.html2
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2296.html10
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2347.html10
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/ordinary.txt1
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/percentagein%20name.txt1
-rw-r--r--WebContent/VAADIN/themes/tests-tickets/styles.css382
-rw-r--r--WebContent/VAADIN/themes/tests-valo-blueprint/_variables.scss20
-rw-r--r--WebContent/VAADIN/themes/tests-valo-blueprint/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-contrast/_variables.scss3
-rw-r--r--WebContent/VAADIN/themes/tests-valo-contrast/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-dark/_variables.scss19
-rw-r--r--WebContent/VAADIN/themes/tests-valo-dark/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-disabled-animations/_variables.scss3
-rw-r--r--WebContent/VAADIN/themes/tests-valo-disabled-animations/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-facebook/_variables.scss24
-rw-r--r--WebContent/VAADIN/themes/tests-valo-facebook/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-flat/_variables.scss44
-rw-r--r--WebContent/VAADIN/themes/tests-valo-flat/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-flatdark/_variables.scss20
-rw-r--r--WebContent/VAADIN/themes/tests-valo-flatdark/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-light/_variables.scss24
-rw-r--r--WebContent/VAADIN/themes/tests-valo-light/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-metro/_variables.scss26
-rw-r--r--WebContent/VAADIN/themes/tests-valo-metro/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-no-font-awesome/_variables.scss3
-rw-r--r--WebContent/VAADIN/themes/tests-valo-no-font-awesome/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo-textfield-bevel/_variables.scss3
-rw-r--r--WebContent/VAADIN/themes/tests-valo-textfield-bevel/styles.scss6
-rw-r--r--WebContent/VAADIN/themes/tests-valo/_valotest.scss148
-rw-r--r--WebContent/VAADIN/themes/tests-valo/_variables.scss3
-rw-r--r--WebContent/VAADIN/themes/tests-valo/img/profile-pic-300px.jpgbin6406 -> 0 bytes
-rw-r--r--WebContent/VAADIN/themes/tests-valo/styles.scss5
-rw-r--r--WebContent/VAADIN/themes/tests-valo/uiDependency.css0
-rw-r--r--WebContent/VAADIN/vaadinBootstrap.js359
59 files changed, 0 insertions, 1844 deletions
diff --git a/WebContent/VAADIN/readme.txt b/WebContent/VAADIN/readme.txt
deleted file mode 100644
index 0ab7742490..0000000000
--- a/WebContent/VAADIN/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-======================
-Themes and Widget Sets
-======================
-
-The WebContent/VAADIN directory contains Themes and Widgetsets.
-
-------
-Themes
-------
-
-Themes may be edited freely. They contain static images, CSS,
-and layouts for Vaadin applications.
-
-See http://dev.vaadin.com/wiki/DevDocs/StartingDevelopment for instructions for
-installing GWT and compiling widgetsets for Vaadin development.
diff --git a/WebContent/VAADIN/themes/reindeer-tests/styles.css b/WebContent/VAADIN/themes/reindeer-tests/styles.css
deleted file mode 100644
index 9dd88707d1..0000000000
--- a/WebContent/VAADIN/themes/reindeer-tests/styles.css
+++ /dev/null
@@ -1,38 +0,0 @@
-@import url(../reindeer/legacy-styles.css);
-
-.table-equal-rowheight .v-table-row {height: 30px;}
-.table-equal-rowheight .v-table-row-odd {height: 30px;}
-
-.v-datefield-enabled-readonly-styled {
- background: #ddd;
-}
-
-.v-datefield-enabled-readonly-styled input.v-datefield-textfield {
- border: 1px solid black;
-}
-
-.v-datefield-enabled-readonly-styled .v-datefield.v-disabled {
- opacity: 1;
-}
-
-.v-disabled.v-datefield-enabled-readonly-styled .v-datefield-button,
-.v-readonly.v-datefield-enabled-readonly-styled .v-datefield-button {
- display: none;
-}
-
-.v-disabled.v-datefield-enabled-readonly-styled,
-.v-readonly.v-datefield-enabled-readonly-styled {
- padding-right: 0;
-}
-
-.popup-style .v-datefield-calendarpanel-header,
-.v-datefield-popup-popup-style .v-datefield-calendarpanel-time {
- background: red;
-}
-.popup-style .v-datefield-calendarpanel-body {
- background: yellow;
-}
-
-#escalator .v-escalator-body .v-escalator-cell {
- height: 50px;
-} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-book/favicon.ico b/WebContent/VAADIN/themes/tests-book/favicon.ico
deleted file mode 100644
index 1f81f0de76..0000000000
--- a/WebContent/VAADIN/themes/tests-book/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png b/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png
deleted file mode 100644
index 4bb791c856..0000000000
--- a/WebContent/VAADIN/themes/tests-book/img/richtextarea-toolbar-fi.png
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-book/img/smiley.jpg b/WebContent/VAADIN/themes/tests-book/img/smiley.jpg
deleted file mode 100644
index dc1a399c76..0000000000
--- a/WebContent/VAADIN/themes/tests-book/img/smiley.jpg
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html b/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html
deleted file mode 100644
index 6b75910783..0000000000
--- a/WebContent/VAADIN/themes/tests-book/layouts/layoutname.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<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
deleted file mode 100644
index 2e65addcd8..0000000000
--- a/WebContent/VAADIN/themes/tests-book/layouts/printpage.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<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
deleted file mode 100644
index 02669ae3db..0000000000
--- a/WebContent/VAADIN/themes/tests-book/styles.css
+++ /dev/null
@@ -1,208 +0,0 @@
-@import url(../runo/legacy-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;
-}
-
-/*****************************************************************************/
-/* For example_Layout() */
-/*****************************************************************************/
-.v-verticallayout-layoutexample {
- background: gray;
-}
-
-.layoutexample .v-verticallayout .v-label {
- color: white;
- background: gray;
-}
-
-.layoutexample .v-label-title {
- font-size: 24pt;
- color: white;
- line-height:36pt;
- background: black;
-}
-
-.layoutexample .v-panel .v-label {
- font-size: 24pt;
- color: gray;
- line-height: 36pt;
- background: white;
-}
-
-.layoutexample .treecontainer, .layoutexample .v-panel, .layoutexample .v-caption {
- background: white;
-}
-
-.layoutexample .v-horizontallayout-spacing-on {
- padding-left: 4px;
-}
diff --git a/WebContent/VAADIN/themes/tests-calendar/styles.css b/WebContent/VAADIN/themes/tests-calendar/styles.css
deleted file mode 100644
index e3fa107751..0000000000
--- a/WebContent/VAADIN/themes/tests-calendar/styles.css
+++ /dev/null
@@ -1,104 +0,0 @@
-@import url(../reindeer/legacy-styles.css);
-
-.v-app {
- background: #fff;
- }
-
-
-/** Customized phase colors*/
-
-
-/**
- * Green
- */
-
-/* For month view */
-.v-calendar .v-calendar-event-color1 {
- color: #4f8324;
- }
-.v-calendar .v-calendar-event-color1-all-day {
- background-color: #61c114;
- }
-
-/* For week/day view */
-.v-calendar .v-calendar-event-color1 .v-calendar-event-caption {
- color: #4f8324;
- }
-.v-calendar .v-calendar-event-color1 .v-calendar-event-content {
- border-color: #61c114;
- background-color: #daff70;
- }
-
-
-/**
- * Blue
- */
-
-/* For month view */
-.v-calendar .v-calendar-event-color2 {
- color: #1c4b8b;
- }
-.v-calendar .v-calendar-event-color2-all-day {
- background-color: #0a56bc;
- }
-
-/* For week/day view */
-.v-calendar .v-calendar-event-color2 .v-calendar-event-caption {
- color: #1c4b8b;
- }
-.v-calendar .v-calendar-event-color2 .v-calendar-event-content {
- border-color: #0a56bc;
- background-color: #529bff;
- }
-
-
-/**
- * Red
- */
-
-/* For month view */
-.v-calendar .v-calendar-event-color3 {
- color: #831d1d;
- }
-.v-calendar .v-calendar-event-color3-all-day {
- background-color: #bd1a1a;
- }
-
-/* For week/day view */
-.v-calendar .v-calendar-event-color3 .v-calendar-event-caption {
- color: #831d1d;
- }
-.v-calendar .v-calendar-event-color3 .v-calendar-event-content {
- border-color: #bd1a1a;
- background-color: #ff9d9d;
- }
-
-
-/**
- * Orange
- */
-
-/* For month view */
-.v-calendar .v-calendar-event-color4 {
- color: #8b5923;
- }
-.v-calendar .v-calendar-event-color4-all-day {
- background-color: #cd6a00;
- }
-
-/* For week/day view */
-.v-calendar .v-calendar-event-color4 .v-calendar-event-caption {
- color: #8b5923;
- }
-.v-calendar .v-calendar-event-color4 .v-calendar-event-content {
- border-color: #cd6a00;
- background-color: #faa345;
- }
-
-/**
- * Hide time in captions
- */
-.v-calendar-event-hide-time .v-calendar-event-caption>span,
-.v-calendar-event-hide-time .v-calendar-event-caption>br {
- display: none;
-} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-components/images/logo.png b/WebContent/VAADIN/themes/tests-components/images/logo.png
deleted file mode 100644
index 9990cd2f28..0000000000
--- a/WebContent/VAADIN/themes/tests-components/images/logo.png
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-components/styles.css b/WebContent/VAADIN/themes/tests-components/styles.css
deleted file mode 100644
index c0b545609c..0000000000
--- a/WebContent/VAADIN/themes/tests-components/styles.css
+++ /dev/null
@@ -1,64 +0,0 @@
-@import url(../reindeer/legacy-styles.css);
-
-.missing {
- color: red;
- font-weight: bold;
-}
-
-.v-tree-node-caption-red {
- color: red;
-}
-
-.v-tree-node-caption-green {
- color: green;
-}
-
-.v-tree-node-caption-blue {
- color: blue;
-}
-
-.v-filterselect-item-bold,
-.v-tree-node-caption-bold {
- font-weight: bold;
-}
-
-.background-lightblue {
- background: lightblue;
-}
-
-.border-red-1px {
- border: 1px solid red;
-}
-
-.border-blue-2px {
- border: 2px solid blue;
-}
-
-.v-table-row-tables-test-cell-style-red-row,
-.v-table-cell-content-tables-test-cell-style-red-row {
- background: #f00;
-}
-
-.v-layout.test {
- border: 1px solid #ddd;
-}
-
-.v-layout.test .target {
- outline: 2px dashed blue;
-}
-
-.fieldset {
- padding: .5em 1em;
- -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
- -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
- box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
- border-radius: .5em;
- background: rgba(0,0,0,.02);
-}
-
-.displaynone {
- height: 0;
- width: 0;
- display: none;
-}
-} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-responsive/styles.css b/WebContent/VAADIN/themes/tests-responsive/styles.css
deleted file mode 100644
index a06c920fe9..0000000000
--- a/WebContent/VAADIN/themes/tests-responsive/styles.css
+++ /dev/null
@@ -1,116 +0,0 @@
-@import url(../reindeer/legacy-styles.css);
-
-.grid {
- overflow: visible;
-}
-
-/* Style the items in the grid */
-.grid > .v-label {
- outline: 1px dotted rgba(0, 0, 0, .3);
- text-align: center;
- padding: 2em 0;
- font-size: 16px;
- font-weight: bold;
-}
-
-/* We want the items in the grid to stay between 100px and 200px, if possible */
-.first[width-range~="-200px"] .v-label {
- width: 100%;
-}
-
-.first[width-range~="201px-400px"] > .v-label {
- width: 50%;
-}
-
-.first[width-range~="401px-600px"] > .v-label {
- width: 33.3333%;
-}
-
-.first[width-range~="601-800"] > .v-label {
- width: 25%;
-}
-
-.first[width-range~="801-1000px"] > .v-label {
- width: 20%;
-}
-
-.first[width-range~="1001px-"] > .v-label {
- width: 16.6667%;
-}
-
-.second[width-range~="0-100px"] .v-label {
- width: 100%;
-}
-
-.second[width-range~="101px-200px"] > .v-label {
- width: 50%;
-}
-
-.second[width-range~="201px-300px"] > .v-label {
- width: 33.3333%;
-}
-
-.second[width-range~="301px-400px"] > .v-label {
- width: 25%;
-}
-
-.second[width-range~="401px-500px"] > .v-label {
- width: 20%;
-}
-
-.second[width-range~="501px-"] > .v-label {
- width: 16.6667%;
-}
-
-.description {
- padding: 1em;
- line-height: 1.5;
-}
-
-.description[width-range="-100px"] {
- font-size: 10px;
-}
-
-.description[width-range="101px-200px"] {
- font-size: 12px;
-}
-
-.description[width-range="200px-350px"] {
- font-size: 14px;
-}
-
-.description[width-range="351px-500px"] {
- font-size: 18px;
-}
-
-.description[width-range="501px-700px"] {
- font-size: 24px;
-}
-
-.description[width-range="701px-"] {
- font-size: 30px;
-}
-
-/* Styles for ResponsiveWidthAndHeight test. */
-.v-csslayout-width-and-height[width-range~="0-599px"][height-range~="0-499px"] {
- background: blue;
- color: #fff;
-}
-.v-csslayout-width-and-height[height-range~="500px-"][width-range~="600px-"] {
- background: red;
-}
-
-/* Styles for ResponsiveLayoutUpdate test */
-.layout-update .change-width {
- white-space: normal;
- background: #ddd;
-}
-.layout-update[width-range="0-599px"] .change-width {
- width: 200px;
- height: 200px;
-}
-
-.layout-update[width-range="600px-"] .change-width {
- width: 300px;
- height: 300px;
-}
diff --git a/WebContent/VAADIN/themes/tests-table/styles.css b/WebContent/VAADIN/themes/tests-table/styles.css
deleted file mode 100644
index 78193c0982..0000000000
--- a/WebContent/VAADIN/themes/tests-table/styles.css
+++ /dev/null
@@ -1,5 +0,0 @@
-@import url(../reindeer/legacy-styles.css);
-
-.v-table-footer-container, .v-table-cell-wrapper {
- text-align: center;
-}
diff --git a/WebContent/VAADIN/themes/tests-tickets/favicon.ico b/WebContent/VAADIN/themes/tests-tickets/favicon.ico
deleted file mode 100644
index 1f81f0de76..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/folder with space/resource with special $chars@.txt b/WebContent/VAADIN/themes/tests-tickets/folder with space/resource with special $chars@.txt
deleted file mode 100644
index dff31dd51f..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/folder with space/resource with special $chars@.txt
+++ /dev/null
@@ -1 +0,0 @@
-Just ordinary contents here \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-tickets/icons/EmbeddedInSubWindow-image.png b/WebContent/VAADIN/themes/tests-tickets/icons/EmbeddedInSubWindow-image.png
deleted file mode 100644
index fb965345bb..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/icons/EmbeddedInSubWindow-image.png
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/icons/au.gif b/WebContent/VAADIN/themes/tests-tickets/icons/au.gif
deleted file mode 100644
index 5269c6a0e0..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/icons/au.gif
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/icons/fi.gif b/WebContent/VAADIN/themes/tests-tickets/icons/fi.gif
deleted file mode 100644
index 8d3a191828..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/icons/fi.gif
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/icons/hu.gif b/WebContent/VAADIN/themes/tests-tickets/icons/hu.gif
deleted file mode 100644
index 6142d86817..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/icons/hu.gif
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/icons/se.gif b/WebContent/VAADIN/themes/tests-tickets/icons/se.gif
deleted file mode 100644
index 80f6285228..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/icons/se.gif
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket14340.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket14340.html
deleted file mode 100644
index ccb0717f9c..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket14340.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<div location="" style="height: 100px"></div>
-
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_News.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_News.html
deleted file mode 100644
index 0ac582cfbe..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_News.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-<h3>News</h3>
-
-<p>
-IT Mill was founded in 2000 to develop this new programming paradigm
-that would support the creation of real user interfaces for real
-application using real programming languages.
-</p>
-
-<p>
-IT Mill has been offering high-quality expert services to support its
-customers' software development from the start. This model has made it
-possible for the company to grow and develop realistically and solely
-on net income.
-</p>
-
-<p>
-The development of company's proprietary MillstoneTM technology
-started at the end of 2000 in cooperation with Tekes, the National
-Technology Agency of Finland. The first new Millstone customer
-applications were launched already in 2001.
-</p>
-
-<p>
-Version 3.0 of the Millstone user interface library was published
-using an open LGPL license in December 2002, making it possible to use
-the library free of charge all around the world.
-</p>
-
-<p>
-Until 2005 more than 50 % of IT Mill's turnover was derived from sales
-of Millstone specialist services, with the rest coming from sales of
-other software development services and outsourcing services.
-</p>
-
-<p>
-In late 2006 IT Mill ensured funding of the new generation of
-Millstone. IT Mill Toolkit was released in early 2007 and renamed
-Vaadin in 2009.
-</p>
-
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_Support.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_Support.html
deleted file mode 100644
index aca7e2a66d..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1519_Support.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-<h3>Support</h3>
-
-<p>
-IT Mill offers a service, one that is expert, flexible and reliable.
-We cover the gamut of software development - we are technology
-consultants, a turnkey systems providers, a support center for the
-customer's internal product development.
-</p>
-
-<p>
-We offer maintenance as well as additional development services for
-all the software we build. However, it is one of our principles that
-the customer should always be free to solicit competing bids for
-further development and software maintenance.
-</p>
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1775.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1775.html
deleted file mode 100644
index 80eec49b7f..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1775.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-<!-- Vaadin components are placed with divs that have matching
-location tag -->
-
-<table>
- <tr>
- <td><img src="icon_intro.png" /></td>
- <td width="80%"><b>This is an example application that uses custom layouts</b></td>
- <td align="right">
- <!-- login components -->
- <table align="right">
- <tr>
- <td><div location="loginUser"></div></td>
- <td><div location="loginPassword"></div></td>
- <td><div style="width:100px;margin-top:1em" location="loginButton"></div></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-<table>
- <tr>
- <!-- menu component -->
- <td valign="top" width="150">
- <div location="menu"></div>
- </td>
- <!-- body component, updated by menu clicked event -->
- <td valign="top">
- <div location="body"></div>
- </td>
- </tr>
-</table>
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1975.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1975.html
deleted file mode 100644
index 9c7a6942c9..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket1975.html
+++ /dev/null
@@ -1 +0,0 @@
-<b>Testing custom layout..</b>
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2022.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2022.html
deleted file mode 100644
index 6bde912879..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2022.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<div>This is an utf-8 string: åäöéèáèë<br/>
-The same in ISO-8859-1: åäöéèáèë</div>
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2296.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2296.html
deleted file mode 100644
index 9baf164d06..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2296.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<table width="100%" height="100%">
- <tr>
- <td>
- <div location="button1" style="height: 100px"></div>
- </td>
- <td width="500" style="background: darkgrey;">
- <div location="button2" style="height: 200px"></div>
- </td>
- </tr>
-</table>
diff --git a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2347.html b/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2347.html
deleted file mode 100644
index a9bf8d0f9f..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/layouts/Ticket2347.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<table>
- <tr>
- <td location="button1" style="border: 0; padding: 0">
- </td>
- </tr>
- <tr>
- <td location="button2" style="border: 0; padding: 0">
- </td>
- </tr>
-</table>
diff --git a/WebContent/VAADIN/themes/tests-tickets/ordinary.txt b/WebContent/VAADIN/themes/tests-tickets/ordinary.txt
deleted file mode 100644
index dff31dd51f..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/ordinary.txt
+++ /dev/null
@@ -1 +0,0 @@
-Just ordinary contents here \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-tickets/percentagein%20name.txt b/WebContent/VAADIN/themes/tests-tickets/percentagein%20name.txt
deleted file mode 100644
index dff31dd51f..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/percentagein%20name.txt
+++ /dev/null
@@ -1 +0,0 @@
-Just ordinary contents here \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-tickets/styles.css b/WebContent/VAADIN/themes/tests-tickets/styles.css
deleted file mode 100644
index b96fcbb23d..0000000000
--- a/WebContent/VAADIN/themes/tests-tickets/styles.css
+++ /dev/null
@@ -1,382 +0,0 @@
-@import url(../runo/legacy-styles.css);
-
-/* DO NOT ADD GENERIC RULES LIKE .v-table IN THIS FILE */
-/* Instead prefix with e.g .v-app-<TestClass> or other unique selectors */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* com.vaadin.tests.components.combobox.ComboBoxBorder */
-/*****************************************************************************/
-.v-slot-ComboBoxBorder .v-filterselect-error {
- /* Ticket 11267 */
- border: 1px solid #FF0000 ;
- height: 25px; /* runo: 23+2, reindeer: 24+2 */
-}
-
-/*****************************************************************************/
-/* Ticket 1904 */
-/*****************************************************************************/
-
-.v-orderedlayout-ticket1904 {
- background-color: red;
-}
-
-.v-orderedlayout-ticket1904-margin-top {
- padding-top: 20px;
-}
-.v-orderedlayout-ticket1904-margin-right {
- padding-right: 10px;
-}
-.v-orderedlayout-ticket1904-margin-bottom {
- padding-bottom: 40px;
-}
-.v-orderedlayout-ticket1904-margin-left {
- padding-left: 5px;
-}
-
-.v-orderedlayout-ticket1904-vspacing {
- margin-top: 20px;
-}
-.v-orderedlayout-ticket1904-hspacing {
- padding-left: 40px;
-}
-
-/*****************************************************************************/
-/* Ticket 1710 */
-/*****************************************************************************/
-
-.v-orderedlayout-tested-layout, .v-gridlayout-tested-layout, .v-expandllayout-tested-layout {
- background-color: #fff;
-}
-
-.v-panel-content-layout-testing-panel {
- background-color: #eee;
-}
-
-.v-panel-content-testarea {
- background-color: #f4f4f4;
-}
-
-
-
-
-/*****************************************************************************/
-/* Ticket 1857 */
-/*****************************************************************************/
-
-.v-table-cell-content-old {
- color: brown;
-}
-
-.v-table-cell-content-young {
- color: green;
-}
-
-/*****************************************************************************/
-/* Ticket 1902 */
-/*****************************************************************************/
-
-.v-orderedlayout-red-background {
- background: red;
- }
-
-/*****************************************************************************/
-/* Ticket 1921 */
-/*****************************************************************************/
-
-.v-orderedlayout-red {
- background: red;
-}
-
-.v-orderedlayout-blue {
- background: blue;
-}
-
-/*****************************************************************************/
-/* Ticket 1924 */
-/*****************************************************************************/
-
-.v-label-red {
- background: red;
-}
-
-/** #1953 */
-.v-gridlayout-borders td,
-.v-gridlayout-borders {
- border: 1px solid black;
- border-collapse: collapse;
-}
-
-.v-button-test-heading
- {
- width: 100px;
- height: 50px;
- }
-
- .v-label-test-spacer
- {
- width: 20px;
- height: 48px;
- background-color: black;
- }
-
- .v-label-test-cell
- {
- width: 100px;
- height: 48px;
- }
-
- .v-label-test-col-head
- {
- width: 100px;
- height: 48px;
- background-color: navy;
- text-align: center;
- }
-
- .v-button-test-page-change
- {
- width: 100px;
- height: 50px;
- }
-/*****************************************************************************/
-/* Ticket 124 */
-/*****************************************************************************/
-
-.v-gridlayout-border td {
- border: 1px solid black;
-}
-
-/* #1919 */
-
-.v-gridlayout-test .v-gridlayout-margin-top {
- padding-top: 100px;
-}
-
-.v-gridlayout-test .v-gridlayout-margin-left {
- padding-left: 5px;
-}
-.v-gridlayout-test .v-gridlayout-margin-right {
- padding-right: 50px;
-}
-.v-gridlayout-test .v-gridlayout-margin-bottom {
- padding-bottom: 0 px;
-}
-
-.v-gridlayout-test .v-gridlayout-margin-spacing {
- padding-left: 40px;
- padding-top: 40px;
-}
-
-
-
-
-
-
-/*****************************************************************************/
-/* No ticket, just for general test cases */
-/*****************************************************************************/
-
-.v-label-no-padding {
- padding: 0;
- background: lime;
-}
-
-
-/*****************************************************************************/
-/* Table Cell Generator test
-/*****************************************************************************/
-
-.v-table-cell-content-red {
- background: red;
-}
-
-.v-table-cell-content-green {
- background: lightgreen;
-}
-
-
-
-/*****************************************************************************/
-/* Ticket 2222 */
-/*****************************************************************************/
-.v-orderedlayout-ticket2222 .v-orderedlayout-margin-top {
- padding-top: 100px;
-}
-.v-orderedlayout-ticket2222 .v-orderedlayout-margin-right {
- padding-right: 20px;
-}
-.v-orderedlayout-ticket2222 .v-orderedlayout-margin-bottom {
- padding-bottom: 30px;
-}
-
-.v-orderedlayout-ticket2222 .v-orderedlayout-margin-left {
- padding-left: 40px;
-}
-
-.v-orderedlayout-ticket2222 .v-orderedlayout-spacing-on {
- padding-top: 50px;
- padding-left: 60px;
-}
-
-.borders {
- border: 1px solid black;
-}
-
-.v-gridlayout-ticket2222 .v-gridlayout-margin-top {
- padding-top: 100px;
-}
-.v-gridlayout-ticket2222 .v-gridlayout-margin-right {
- padding-right: 20px;
-}
-.v-gridlayout-ticket2222 .v-gridlayout-margin-bottom {
- padding-bottom: 30px;
-}
-
-.v-gridlayout-ticket2222 .v-gridlayout-margin-left {
- padding-left: 40px;
-}
-
-.v-gridlayout-ticket2222 .v-gridlayout-spacing-on {
- padding-top: 50px;
- padding-left: 20px;
-}
-
-.ticket2231 {
- margin: 50px;
-}
-
-.ticket2231-border {
- border: 2em solid red;
-}
-
-/*****************************************************************************/
-/* Ticket 2232 */
-/*****************************************************************************/
-
-.v-gridlayout-t2232 .v-gridlayout-spacing-off {
- padding-top: 50px;
- padding-left: 20px;
-}
-
-.v-orderedlayout-t2232 .v-orderedlayout-spacing-off {
- padding-top: 25px;
- padding-left: 25px;
-}
-
-/*****************************************************************************/
-/* Ticket 2273 */
-/*****************************************************************************/
-.ticket2273-button {
- float: right;
-}
-
-/*****************************************************************************/
-/* Ticket 4997
-/*****************************************************************************/
-.v-caption-ticket4997-red {
- color:red;
-}
-
-.v-caption-ticket4997-blue {
- color:blue;
-}
-
-.dispnone {
- display:none;
-}
-
-.redborder {
- border: 1px solid red;
-}
-
-/* #2434 */
-.v-table-bordered .v-table-body td {
- border-bottom: 1px solid red;
-}
-
-/* #2747 */
-.v-button-nowraplink span {
- white-space: normal;
-}
-
-.cyan {
- background:cyan;
-}
-
-.yellow {
- background:yellow;
-}
-
-.green {
- background:green;
-}
-
-.v-checkbox-wrap label {
- white-space: normal;
-}
-
-.v-checkbox-large {
- font-size: 40px;
- line-height: normal;
-}
-
-
-.redblueborders {
- border-right: 10px solid red;
- border-left: 10px solid blue;
-}
-
-/*****************************************************************************/
-/* Ticket 10179
-/*****************************************************************************/
-#default10179 {
- color:red;
-}
-
-#set10179 {
- color:blue;
-}
-
-/*****************************************************************************/
-/* The reference screenshots all have a white background */
-/*****************************************************************************/
-.v-ui {
- background: #fff;
-}
-
-.styled-twincol-captions .v-select-twincol-caption-left {
- color: red;
-}
-.styled-twincol-captions .v-select-twincol-caption-right {
- font-size: 30px;
- line-height: normal;
- color: blue;
-}
-
-.v-tabsheet-pg .v-tabsheet-tabitem-selected {
- font-weight: bold
-}
-
-.v-tabsheet-tabitemcell-TabSheetTabStyleNames .v-tabsheet-tabitem-selected .v-caption {
- background-color: green;
-}
-
-.v-tabsheet-tabitemcell-TabSheetTabStyleNames .v-caption {
- font-weight: bold;
- background: none;
- margin-left: 0px;
- background-color: blue;
-}
-.v-tabsheet-tabitemcell-TabSheetTabStyleNames_0 .v-caption {
- color: blue;
-}
-
-.v-tabsheet-tabitemcell-TabSheetTabStyleNames_1 .v-caption {
- color: red;
-}
-
-.v-tabsheet-tabitemcell-TabSheetTabStyleNames .v-tabsheet-tabitem {
- background: none;
- border: 2px solid red;
-} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/tests-valo-blueprint/_variables.scss b/WebContent/VAADIN/themes/tests-valo-blueprint/_variables.scss
deleted file mode 100644
index 696da0b69e..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-blueprint/_variables.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-$v-app-loading-text: "Blueprint Valo";
-$v-background-color: #1a61b7;
-$v-focus-color: #fff;
-$v-panel-background-color: $v-background-color;
-$v-overlay-background-color: $v-background-color;
-$valo-menu-background-color: $v-background-color;
-$v-overlay-shadow: 0 0 0 1px rgba(#fff, .5);
-$v-window-shadow: $v-overlay-shadow;
-$v-window-modality-curtain-background-color: $v-background-color;
-$v-bevel: false;
-$v-gradient: false;
-$v-shadow: false;
-$v-textfield-bevel: false;
-$v-textfield-shadow: false;
-$v-border: 1px solid (v-tint 1.5);
-$v-textfield-background-color: $v-background-color;
-$v-font-family: sans-serif;
-$v-font-size: 18px;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-blueprint/styles.scss b/WebContent/VAADIN/themes/tests-valo-blueprint/styles.scss
deleted file mode 100644
index 9433f4eba6..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-blueprint/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-blueprint {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-contrast/_variables.scss b/WebContent/VAADIN/themes/tests-valo-contrast/_variables.scss
deleted file mode 100644
index 962bc8f299..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-contrast/_variables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$v-font-color-contrast: 0.1;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-contrast/styles.scss b/WebContent/VAADIN/themes/tests-valo-contrast/styles.scss
deleted file mode 100644
index 231a9de50d..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-contrast/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-contrast {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-dark/_variables.scss b/WebContent/VAADIN/themes/tests-valo-dark/_variables.scss
deleted file mode 100644
index ea40e1eb89..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-dark/_variables.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-$v-app-loading-text: "Dark Valo";
-$v-background-color: #444d50;
-$v-focus-color: #07a9ca;
-$v-focus-style: 0 0 3px 2px $v-focus-color;
-$v-bevel-depth: 40%;
-$v-gradient: v-linear 12%;
-$v-border-radius: 10px;
-$v-font-family: Roboto, sans-serif;
-$v-font-weight: 400;
-$v-font-weight--header: 400;
-$v-bevel: inset 0 1px 2px v-tint, inset 0 0 1px (v-tint 0.1);
-$v-shadow: 0 0 0 3px rgba(0,0,0,0.32), 0 1px 0 3px rgba(255,255,255,0.14);
-$v-textfield-bevel: inset 0 2px 2px v-shade;
-$v-textfield-shadow: $v-shadow;
-$v-unit-size: 40px;
-$v-overlay-shadow: 0 0 0 3px (v-shade 8), 0 5px 10px (v-shade 4);
-$v-component-group-spacing: 6px;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-dark/styles.scss b/WebContent/VAADIN/themes/tests-valo-dark/styles.scss
deleted file mode 100644
index 13f98ae418..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-dark/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-dark {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-disabled-animations/_variables.scss b/WebContent/VAADIN/themes/tests-valo-disabled-animations/_variables.scss
deleted file mode 100644
index d2411c675c..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-disabled-animations/_variables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$v-animations-enabled: false;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-disabled-animations/styles.scss b/WebContent/VAADIN/themes/tests-valo-disabled-animations/styles.scss
deleted file mode 100644
index b941c1b3d1..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-disabled-animations/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-disabled-animations {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-facebook/_variables.scss b/WebContent/VAADIN/themes/tests-valo-facebook/_variables.scss
deleted file mode 100644
index 5b83aae4ca..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-facebook/_variables.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-$v-app-loading-text: "Facebook Valo";
-$v-background-color: #fafafa;
-$v-app-background-color: #e7ebf2;
-$v-panel-background-color: #fff;
-$v-focus-color: #3b5998;
-$v-focus-style: 0 0 1px 1px rgba($v-focus-color, .5);
-$v-border-radius: 3px;
-$v-textfield-border-radius: 0;
-$v-font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
-$v-font-size: 14px;
-$v-font-color: #37404E;
-$v-font-weight: 400;
-$v-link-text-decoration: none;
-$v-shadow: 0 1px 0 (v-shade 0.2);
-$v-bevel: inset 0 1px 0 v-tint;
-$v-unit-size: 30px;
-$v-gradient: v-linear 12%;
-$v-overlay-shadow: 0 3px 8px v-shade, 0 0 0 1px (v-shade 0.7);
-$v-shadow-opacity: 20%;
-$v-selection-overlay-padding-horizontal: 0;
-$v-selection-overlay-padding-vertical: 6px;
-$v-selection-item-border-radius: 0;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-facebook/styles.scss b/WebContent/VAADIN/themes/tests-valo-facebook/styles.scss
deleted file mode 100644
index 7b784627b2..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-facebook/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-facebook {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss b/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss
deleted file mode 100644
index 298e26ac36..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss
+++ /dev/null
@@ -1,44 +0,0 @@
-$v-app-loading-text: "Flat Valo";
-
-$v-font-family: "Roboto", sans-serif;
-$v-font-weight: 400;
-$v-font-weight--header: 400;
-$v-background-color: #fff;
-$v-focus-color: rgb(150,190,90);
-$v-luminance-threshold: 180;
-$v-border: 2px solid v-shade;
-$v-border-radius: 6px;
-$v-bevel: false;
-$v-gradient: false;
-$v-shadow: false;
-$v-textfield-bevel: false;
-$v-textfield-shadow: false;
-$v-link-text-decoration: false;
-$v-selection-overlay-padding-horizontal: 0;
-$v-selection-overlay-padding-vertical: 6px;
-$v-selection-item-height: 30px;
-$v-selection-item-border-radius: 0;
-$valo-menu-background-color: #eee;
-
-
-@import "../valo/valo";
-
-
-.valo-test {
- .v-button-primary.v-button-primary {
- background: #fff;
- border-color: $v-focus-color;
- color: $v-focus-color;
- }
-
- .v-button-danger.v-button-danger {
- background: #fff;
- border-color: $v-error-indicator-color;
- color: $v-error-indicator-color;
- }
-
- .v-slider-base:before,
- .v-slider-base:after {
- border: none !important;
- }
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-flat/styles.scss b/WebContent/VAADIN/themes/tests-valo-flat/styles.scss
deleted file mode 100644
index 7b981de04a..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-flat/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-flat {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-flatdark/_variables.scss b/WebContent/VAADIN/themes/tests-valo-flatdark/_variables.scss
deleted file mode 100644
index fa785af8b8..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-flatdark/_variables.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-$v-app-loading-text: "Dark & Flat Valo";
-
-$v-background-color: #000;
-$v-focus-color: #ffa500;
-$v-font-size: 15px;
-$v-font-weight: 600;
-$v-unit-size: 42px;
-$v-bevel: false;
-$v-shadow: false;
-$v-gradient: false;
-$v-textfield-bevel: false;
-$v-textfield-shadow: false;
-$v-border-radius: 0;
-$v-border: 2px solid v-tone;
-$v-overlay-shadow: 0 0 0 2px (v-tint 10);
-$v-focus-style: $v-focus-color;
-$v-font-family: "Lato", sans-serif;
-$v-font-weight--header: 600;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-flatdark/styles.scss b/WebContent/VAADIN/themes/tests-valo-flatdark/styles.scss
deleted file mode 100644
index d0871fcba2..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-flatdark/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-flatdark {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-light/_variables.scss b/WebContent/VAADIN/themes/tests-valo-light/_variables.scss
deleted file mode 100644
index e851f075e4..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-light/_variables.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-$v-app-loading-text: "Light Valo";
-
-$v-background-color: hsl(0, 0, 99.5%);
-$v-app-background-color: #fff;
-$v-focus-color: hsl(218, 80%, 60%);
-$v-border: 1px solid (v-shade 0.6);
-$v-border-radius: 3px;
-$v-bevel: inset 0 1px 0 v-tint;
-$v-textfield-bevel: false;
-$v-gradient: v-linear 3%;
-$v-shadow: false;
-$valo-menu-background-color: hsl(218, 20%, 98%);
-$v-friendly-color: hsl(163, 61%, 41%);
-$v-error-indicator-color: hsl(349, 66%, 56%);
-
-
-@import "../valo/valo";
-
-.tests-valo-light .valo-menu .valo-menu-title {
- background: $v-app-background-color;
- color: $v-selection-color;
- text-shadow: none;
- border-color: first-color(valo-border($color: $v-app-background-color, $strength: 0.5));
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-light/styles.scss b/WebContent/VAADIN/themes/tests-valo-light/styles.scss
deleted file mode 100644
index 12ee8a780e..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-light/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-light {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-metro/_variables.scss b/WebContent/VAADIN/themes/tests-valo-metro/_variables.scss
deleted file mode 100644
index f11cdb8b64..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-metro/_variables.scss
+++ /dev/null
@@ -1,26 +0,0 @@
-$v-app-loading-text: "Metro Valo";
-
-$v-font-family: "Source Sans Pro", sans-serif;
-$v-app-background-color: #fff;
-$v-background-color: #eee;
-$v-focus-color: #0072C6;
-$v-focus-style: 0 0 0 1px $v-focus-color;
-$valo-menu-background-color: darken($v-focus-color, 10%);
-$v-border: 0 solid v-shade;
-$v-border-radius: 0px;
-$v-bevel: false;
-$v-gradient: false;
-$v-shadow: false;
-$v-textfield-bevel: false;
-$v-textfield-shadow: false;
-$v-textfield-border: 1px solid v-shade;
-$v-link-text-decoration: none;
-$v-overlay-shadow: 0 0 0 2px #000;
-$v-overlay-border-width: 2px; // For IE8
-$v-window-shadow: $v-overlay-shadow;
-$v-selection-overlay-background-color: #fff;
-$v-selection-overlay-padding-horizontal: 0;
-$v-selection-overlay-padding-vertical: 6px;
-$v-panel-border: 2px solid v-shade;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-metro/styles.scss b/WebContent/VAADIN/themes/tests-valo-metro/styles.scss
deleted file mode 100644
index 51b3427a12..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-metro/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-metro {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-no-font-awesome/_variables.scss b/WebContent/VAADIN/themes/tests-valo-no-font-awesome/_variables.scss
deleted file mode 100644
index 59b31a4a68..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-no-font-awesome/_variables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$v-font-awesome: false;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-no-font-awesome/styles.scss b/WebContent/VAADIN/themes/tests-valo-no-font-awesome/styles.scss
deleted file mode 100644
index d66db2b0d6..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-no-font-awesome/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-no-font-awesome {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo-textfield-bevel/_variables.scss b/WebContent/VAADIN/themes/tests-valo-textfield-bevel/_variables.scss
deleted file mode 100644
index b1b215a40c..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-textfield-bevel/_variables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$v-bevel: false;
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo-textfield-bevel/styles.scss b/WebContent/VAADIN/themes/tests-valo-textfield-bevel/styles.scss
deleted file mode 100644
index 96a3ca63b6..0000000000
--- a/WebContent/VAADIN/themes/tests-valo-textfield-bevel/styles.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "variables";
-@import "../tests-valo/valotest";
-
-.tests-valo-textfield-bevel {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo/_valotest.scss b/WebContent/VAADIN/themes/tests-valo/_valotest.scss
deleted file mode 100644
index 568dfec0b8..0000000000
--- a/WebContent/VAADIN/themes/tests-valo/_valotest.scss
+++ /dev/null
@@ -1,148 +0,0 @@
-@mixin valotest {
- @include valo;
-
- #themeSelect {
- position: fixed;
- z-index: 1000;
- top: 0;
- right: 0;
- padding: 0 10px;
- background-color: darken($v-app-background-color, 5%);
- background-color: rgba(darken($v-app-background-color, 5%), .9);
- color: valo-font-color($v-app-background-color);
- border-radius: 0 0 0 $v-border-radius;
-
- &:before {
- content: "Theme:";
- }
-
- select {
- background: transparent;
- color: inherit;
- border: none;
- display: inline-block;
- }
- }
-
- .v-ui {
- @include width-range($max: 800px) {
- #themeSelect {
- top: $v-unit-size;
- }
- }
- }
-
- $color1: hsl(220, 5%, 38%);
- $color2: #5d73c0;
- $color3: #3dbc1a;
- $color4: #d2f4f3;
- $color5: #fe902a;
- $colors: $color1, $color2, $color3, $color4, $color5;
-
- .v-textfield-color1 {
- @include valo-textfield-style($background-color: $color1);
- }
-
- .v-textfield-color2 {
- @include valo-textfield-style($background-color: $color3);
- }
-
- .v-textfield-color3 {
- @include valo-textfield-style($background-color: $color4);
- }
-
-
- .v-textarea-color1 {
- @include valo-textarea-style($background-color: $color1);
- }
-
- .v-textarea-color2 {
- @include valo-textarea-style($background-color: $color3);
- }
-
- .v-textarea-color3 {
- @include valo-textarea-style($background-color: $color4);
- }
-
-
- .v-datefield-color1 {
- @include valo-datefield-style($background-color: $color1);
- }
-
- .v-datefield-color2 {
- @include valo-datefield-style($background-color: $color3);
- }
-
- .v-datefield-color3 {
- @include valo-datefield-style($background-color: $color4);
- }
-
-
- .v-filterselect-color1 {
- @include valo-combobox-style($background-color: $color1);
- }
-
- .v-filterselect-color2 {
- @include valo-combobox-style($background-color: $color3);
- }
-
- .v-filterselect-color3 {
- @include valo-combobox-style($background-color: $color4);
- }
-
-
- $copy: $v-selection-color;
- $v-selection-color: white;
- .v-checkbox-color1 {
- @include valo-checkbox-style($background-color: $color1);
- }
-
- .v-checkbox-color2 {
- @include valo-checkbox-style($background-color: $color2);
- }
- $v-selection-color: $copy;
-
-
- .v-slider-color1 {
- @include valo-slider-handle-style($background-color: $color1);
- }
-
- .v-slider-color2 {
- @include valo-slider-track-style($background-color: $color3);
- }
-
- .v-slider-color3 {
- @include valo-slider-indicator-style($background-color: #dcdc1e);
- }
-
-
- .v-panel-caption-color1 {
- @include valo-panel-caption-style($background-color: $color1);
- }
-
- .v-panel-caption-color2 {
- @include valo-panel-caption-style($background-color: $color3);
- }
-
- .v-panel-caption-color3 {
- @include valo-panel-caption-style($background-color: $color5);
- }
-
- // Show splitpanel borders
- .v-splitpanel-vertical,
- .v-splitpanel-horizontal {
- outline: 1px dotted rgba(gray, .2);
- }
-
- .v-slider-ticks {
- @include valo-slider-ticks($tick-count: 5);
- }
-
- .v-accordion-item-color1 .v-accordion-item-caption {
- @include valo-accordion-item-caption-style($background-color: $color2);
- }
-
- .v-menubar-color1 {
- @include valo-menubar-style($background-color: $v-selection-color, $unit-size: null);
- }
-}
diff --git a/WebContent/VAADIN/themes/tests-valo/_variables.scss b/WebContent/VAADIN/themes/tests-valo/_variables.scss
deleted file mode 100644
index c227156e2e..0000000000
--- a/WebContent/VAADIN/themes/tests-valo/_variables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$v-app-loading-text: "Default Valo";
-
-@import "../valo/valo";
diff --git a/WebContent/VAADIN/themes/tests-valo/img/profile-pic-300px.jpg b/WebContent/VAADIN/themes/tests-valo/img/profile-pic-300px.jpg
deleted file mode 100644
index 8a98078243..0000000000
--- a/WebContent/VAADIN/themes/tests-valo/img/profile-pic-300px.jpg
+++ /dev/null
Binary files differ
diff --git a/WebContent/VAADIN/themes/tests-valo/styles.scss b/WebContent/VAADIN/themes/tests-valo/styles.scss
deleted file mode 100644
index 1ba0b29b04..0000000000
--- a/WebContent/VAADIN/themes/tests-valo/styles.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-@import "variables";
-@import "valotest";
-.tests-valo {
- @include valotest;
-}
diff --git a/WebContent/VAADIN/themes/tests-valo/uiDependency.css b/WebContent/VAADIN/themes/tests-valo/uiDependency.css
deleted file mode 100644
index e69de29bb2..0000000000
--- a/WebContent/VAADIN/themes/tests-valo/uiDependency.css
+++ /dev/null
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js
deleted file mode 100644
index 89514dbcc2..0000000000
--- a/WebContent/VAADIN/vaadinBootstrap.js
+++ /dev/null
@@ -1,359 +0,0 @@
-(function() {
- var apps = {};
- var themesLoaded = {};
- var widgetsets = {};
-
-
- var log;
- if (typeof console === "undefined" || !window.location.search.match(/[&?]debug(&|$)/)) {
- //If no console.log present, just use a no-op
- log = function() {};
- } else if (typeof console.log === "function") {
- //If it's a function, use it with apply
- log = function() {
- console.log.apply(console, arguments);
- };
- } else {
- //In IE, its a native function for which apply is not defined, but it works without a proper 'this' reference
- log = console.log;
- }
-
- var loadTheme = function(url, version) {
- if(!themesLoaded[url]) {
- log("loadTheme", url, version);
-
- var href = url + '/styles.css';
- if (version) {
- href += '?v=' + version;
- }
-
- var stylesheet = document.createElement('link');
- stylesheet.setAttribute('rel', 'stylesheet');
- stylesheet.setAttribute('type', 'text/css');
- stylesheet.setAttribute('href', href);
- document.getElementsByTagName('head')[0].appendChild(stylesheet);
- themesLoaded[url] = true;
- }
- };
-
- var isWidgetsetLoaded = function(widgetset) {
- var className = widgetset.replace(/\./g, "_");
- return (typeof window[className]) != "undefined";
- };
-
- var loadWidgetset = function(url, widgetset) {
- if (widgetsets[widgetset]) {
- return;
- }
- log("load widgetset", url, widgetset);
- setTimeout(function() {
- if (!isWidgetsetLoaded(widgetset)) {
- alert("Failed to load the widgetset: " + url);
- }
- }, 15000);
-
- var scriptTag = document.createElement('script');
- scriptTag.setAttribute('type', 'text/javascript');
- scriptTag.setAttribute('src', url);
- document.getElementsByTagName('head')[0].appendChild(scriptTag);
-
- widgetsets[widgetset] = {
- pendingApps: []
- };
- };
-
- var isInitializedInDom = function(appId) {
- var appDiv = document.getElementById(appId);
- if (!appDiv) {
- return false;
- }
- for ( var i = 0; i < appDiv.childElementCount; i++) {
- var className = appDiv.childNodes[i].className;
- // If the app div contains a child with the class
- // "v-app-loading" we have only received the HTML
- // but not yet started the widget set
- // (UIConnector removes the v-app-loading div).
- if (className && className.indexOf("v-app-loading") != -1) {
- return false;
- }
- }
- return true;
- };
-
- window.vaadin = window.vaadin || {
- initApplication: function(appId, config) {
- var testbenchId = appId.replace(/-\d+$/, '');
-
- if (apps[appId]) {
- if (window.vaadin && window.vaadin.clients && window.vaadin.clients[testbenchId] && window.vaadin.clients[testbenchId].initializing) {
- throw "Application " + appId + " is already being initialized";
- }
- if (isInitializedInDom(appId)) {
- throw "Application " + appId + " already initialized";
- }
- }
-
- log("init application", appId, config);
-
- window.vaadin.clients[testbenchId] = {
- isActive: function() {
- return true;
- },
- initializing: true
- };
-
- var getConfig = function(name) {
- var value = config[name];
- return value;
- };
-
- var fetchRootConfig = function(callback) {
- log('Fetching root config');
- var url = getConfig('browserDetailsUrl');
- if (!url) {
- // No special url defined, use the same URL that loaded this page (without the fragment)
- url = window.location.href.replace(/#.*/,'');
- }
- // Timestamp to avoid caching
- url += ((/\?/).test(url) ? "&" : "?") + "v-" + (new Date()).getTime();
-
- var params = "v-browserDetails=1";
- var rootId = getConfig("v-rootId");
- if (rootId !== undefined) {
- params += "&v-rootId=" + rootId;
- }
-
- // Tell the UI what theme it is configured to use
- var theme = getConfig('theme');
- if (theme !== undefined) {
- params += '&theme=' + encodeURIComponent(theme);
- }
-
- params += "&v-appId=" + appId;
-
- var extraParams = getConfig('extraParams')
- if (extraParams !== undefined) {
- params += extraParams;
- }
-
- params += '&' + vaadin.getBrowserDetailsParameters(appId, getConfig('sendUrlsAsParameters'));
-
- var r;
- try {
- r = new XMLHttpRequest();
- } catch (e) {
- r = new ActiveXObject("MSXML2.XMLHTTP.3.0");
- }
- r.open('POST', url, true);
- r.onreadystatechange = function (aEvt) {
- if (r.readyState == 4) {
- // Save responseStatus so as Offline Applications know what happened
- // when loading root configuration from server, and depending on the
- // error status display an error message or the offline UI.
- config.rootResponseStatus = r.status;
- config.rootResponseText = r.responseText;
-
- var text = r.responseText;
- if (r.status == 200){
- log("Got root config response", text);
- var updatedConfig = JSON.parse(text);
-
- // Copy new properties to the config object
- for (var property in updatedConfig) {
- if (updatedConfig.hasOwnProperty(property)) {
- config[property] = updatedConfig[property];
- }
- }
-
- // Try bootstrapping again, this time without fetching missing info
- bootstrapApp(false);
- } else {
- log('Error', r.statusText, text);
-
- //Let TB waitForVaadin work again
- delete window.vaadin.clients[testbenchId];
-
- // Show the error in the app's div
- var appDiv = document.getElementById(appId);
- appDiv.innerHTML = text;
- appDiv.style['overflow'] = 'auto';
- }
-
- // Run the fetchRootConfig callback if present.
- callback && callback(r);
- }
- };
- // send parameters as POST data
- r.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- r.send(params);
-
- log('sending request to ', url);
- };
-
- //Export public data
- var app = {
- getConfig: getConfig,
- // Used when the app was started in offline, so as it is possible
- // to defer root configuration loading until network is available.
- fetchRootConfig: fetchRootConfig
- };
- apps[appId] = app;
-
- if (!window.name) {
- window.name = appId + '-' + Math.random();
- }
-
- var bootstrapApp = function(mayDefer) {
- var vaadinDir = getConfig('vaadinDir');
-
- var versionInfo = getConfig('versionInfo');
-
- var themeUri = vaadinDir + 'themes/' + getConfig('theme');
- loadTheme(themeUri, versionInfo && versionInfo['vaadinVersion']);
-
- var widgetset = getConfig('widgetset');
- var widgetsetUrl = getConfig('widgetsetUrl');
- if (!widgetsetUrl) {
- widgetsetUrl = vaadinDir + 'widgetsets/' + widgetset + "/" + widgetset + ".nocache.js?" + new Date().getTime();
- }
- loadWidgetset(widgetsetUrl, widgetset);
-
- if (getConfig('uidl') === undefined) {
- if (mayDefer) {
- fetchRootConfig();
- } else {
- throw "May not defer bootstrap any more";
- }
- } else {
- if (widgetsets[widgetset].callback) {
- log("Starting from bootstrap", appId);
- widgetsets[widgetset].callback(appId);
- } else {
- log("Setting pending startup", appId);
- widgetsets[widgetset].pendingApps.push(appId);
- }
- }
- };
- bootstrapApp(true);
-
- if (getConfig("debug")) {
- // TODO debug state is now global for the entire page, but should somehow only be set for the current application
- window.vaadin.debug = true;
- }
-
- return app;
- },
- clients: {},
- getAppIds: function() {
- var ids = [ ];
- for (var id in apps) {
- if (apps.hasOwnProperty(id)) {
- ids.push(id);
- }
- }
- return ids;
- },
- getApp: function(appId) {
- return apps[appId];
- },
- loadTheme: loadTheme,
- registerWidgetset: function(widgetset, callback) {
- log("Widgetset registered", widgetset);
- var ws = widgetsets[widgetset];
- if (ws && ws.pendingApps) {
- ws.callback = callback;
- for(var i = 0; i < ws.pendingApps.length; i++) {
- var appId = ws.pendingApps[i];
- log("Starting from register widgetset", appId);
- callback(appId);
- }
- ws.pendingApps = null;
- }
- },
- getBrowserDetailsParameters: function(parentElementId, sendUrlsAsParameters) {
- // Screen height and width
- var params = 'v-sh=' + window.screen.height;
- params += '&v-sw=' + window.screen.width;
-
- // Window height and width
- var cw = 0;
- var ch = 0;
- if(typeof(window.innerWidth) == 'number') {
- // Modern browsers
- cw = window.innerWidth;
- ch = window.innerHeight;
- } else {
- // IE 8
- cw = document.documentElement.clientWidth;
- ch = document.documentElement.clientHeight;
- }
- params += '&v-cw=' + cw + '&v-ch=' + ch;
-
-
- var d = new Date();
-
- params += '&v-curdate=' + d.getTime();
-
- var tzo1 = d.getTimezoneOffset(); // current offset
- var dstDiff = 0;
- var rtzo = tzo1;
-
- for (var m=12;m>0;m--) {
- d.setUTCMonth(m);
- var tzo2 = d.getTimezoneOffset();
- if (tzo1 != tzo2) {
- dstDiff = (tzo1 > tzo2 ? tzo1-tzo2 : tzo2-tzo1); // offset w/o DST
- rtzo = (tzo1 > tzo2 ? tzo1 : tzo2); // offset w/o DST
- break;
- }
- }
-
- // Time zone offset
- params += '&v-tzo=' + tzo1;
-
- // DST difference
- params += '&v-dstd=' + dstDiff;
-
- // Raw time zone offset
- params += '&v-rtzo=' + rtzo;
-
- // DST in effect?
- params += '&v-dston=' + (tzo1 != rtzo);
-
- var pe = document.getElementById(parentElementId);
- if (pe) {
- params += '&v-vw=' + pe.offsetWidth;
- params += '&v-vh=' + pe.offsetHeight;
- }
-
- // Location
- if (sendUrlsAsParameters !== false) {
- params += '&v-loc=' + encodeURIComponent(location.href);
- }
-
- // Window name
- if (window.name) {
- params += '&v-wn=' + encodeURIComponent(window.name);
- }
-
- // Detect touch device support
- var supportsTouch = false;
- try {
- document.createEvent("TouchEvent");
- supportsTouch = true;
- } catch (e) {
- // Chrome and IE10 touch detection
- supportsTouch = 'ontouchstart' in window
- || navigator.msMaxTouchPoints;
- }
-
- if (supportsTouch) {
- params += "&v-td=1";
- }
-
- return params;
- }
- };
-
- log('Vaadin bootstrap loaded');
-})();