+++ /dev/null
- @import url(../runo/styles.css);
-/* Using the old default theme (runo) as the basis for now */
-
-/* Add some padding to the tree */
-.v-tree {
- padding-top: 8px;
- padding-left: 4px;
-}
-
-.toolbar .v-button {
- display: block;
- height: 55px;
- background: transparent;
- border: none;
- text-align: center;
-}
-
-.toolbar .v-button img {
- display: block;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 5px;
-}
-
-.toolbar .v-button span {
- font-size: x-small;
- text-shadow: #fafafa 1px 1px 0;
-}
-
-.toolbar .v-button .v-button-wrap,
-.toolbar .v-disabled.v-button .v-button-wrap {
- background: transparent;
- border: none;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.toolbar .v-button:active .v-button-wrap,
-.toolbar .v-button.v-pressed .v-button-wrap {
- background: transparent;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-
-.v-app {
- background: #d0e2ec;
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
- color: #222;
-}
-
-.toolbar {
- background: #ccc url(images/gradient.png) repeat-x bottom left;
-}
-
-.v-panel-caption-view {
- color: #004b98;
-}
-
-.view {
- background: white;
-}
-
- /* Theme table to look bit lighter */
-.v-table-header-wrap {
- height: 20px;
- border: none;
- border-bottom: 1px solid #555;
- background: transparent url(images/table-header-bg.png) repeat-x;
-}
-
-.v-table-sort-indicator,
-.v-table-header-cell-asc .v-table-sort-indicator,
-.v-table-header-cell-desc .v-table-sort-indicator {
- height: 20px;
-}
-
-.v-table-caption-container {
- font-size: 11px;
- color: #000;
- font-weight: bold;
- text-shadow: #fff 0 1px 0;
- padding: 0;
-}
-
-.v-table-body {
- border: none;
-}
-
-.v-table-row-odd {
- background: #f1f5fa;
-}
-
-.v-table-row:hover {
- background: #fff;
-}
-
-.v-table-row-odd:hover {
- background: #f1f5fa;
-}
-
-.v-table .v-selected {
- background: #3d80df;
-}
-
-.v-table-cell-content {
- padding: 2px 6px 2px 3px;
- line-height: normal;
- font-size: 85%;
-}
-
+++ /dev/null
-@import url(../runo/styles.css);
-
-
-/******************************************************************************
- * For VaadinTunesLayout.java
- ******************************************************************************/
-
-.tTunes, .tTunes select, .tTunes button {
- font-size: 11px;
- line-height: 14px;
- color: #000;
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
-}
-
-.tTunes .top {
- background: transparent url(images/top-bg.png) repeat-x;
-}
-
-/* Hide all button captions */
-.tTunes .top .v-nativebutton span {
- display: none;
-}
-
-.tTunes .playback .v-nativebutton {
- width: 31px;
- height: 32px;
- overflow: hidden;
- padding: 0;
- border: none;
-}
-
-.tTunes .playback .play {
- width: 37px;
- height: 38px;
- background: transparent url(images/play.png);
-}
-
-.tTunes .playback .prev {
- background: transparent url(images/prev.png);
-}
-
-.tTunes .playback .next {
- background: transparent url(images/next.png);
-}
-
-.tTunes .volume .mute {
- width: 13px;
- height: 14px;
- background: transparent url(images/mute.png) no-repeat left bottom;
- border: none;
- padding: 0;
- overflow: hidden;
-}
-
-.tTunes .volume .max {
- width: 17px;
- height: 14px;
- background: transparent url(images/max.png) no-repeat right bottom;
- border: none;
- padding: 0;
- overflow: hidden;
-}
-
-.tTunes .volume .v-slider {
- border: none;
-}
-
-.tTunes .volume .v-slider-base {
- background: transparent url(images/volume-bar.png) no-repeat 0 50%;
- height: 6px;
- border: none;
- border-top: 1px solid #aaa;
-}
-
-.tTunes .volume .v-slider-handle {
- background: transparent url(images/volume-knob.png) no-repeat;
- margin-top: -3px;
-}
-
-.tTunes .status {
- background: transparent url(images/status-bg.png) repeat-x;
- line-height: 12px;
- border-right: 1px solid #959985;
- border-left: 1px solid #959985;
- border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
-}
-
-.tTunes .status .v-horizontallayout-margin-top {
- padding-top: 3px;
-}
-.tTunes .status .v-horizontallayout-margin-bottom {
- padding-bottom: 3px;
-}
-.tTunes .status .v-horizontallayout-margin-left {
- padding-left: 9px;
-}
-.tTunes .status .v-horizontallayout-margin-right {
- padding-right: 9px;
-}
-
-.tTunes .status .v-label {
- white-space: nowrap;
-}
-
-.tTunes .status .v-slider {
- border: 1px solid #000;
- border-left: none;
- border-right: none;
- height: 7px;
- margin: 0;
-}
-
-.tTunes .status .v-slider-base {
- border: none;
- height: 7px;
- border-left: 1px solid #000;
- border-right: 1px solid #000;
- background: transparent;
-}
-
-.tTunes .status .v-slider-handle {
- margin: 0;
- width: 7px;
- height: 7px;
- background: transparent url(images/progress-knob.png);
-}
-
-.tTunes .toggle-vis,
-.tTunes .jump {
- width: 11px;
- height: 11px;
- overflow: hidden;
- border: none;
- background: transparent url(images/toggle-visualization.png);
- padding: 0;
-}
-
-.tTunes .jump {en;
- border: none;
- background: transparent url(images/jump-to.png);
-}
-
-
-.tTunes .viewmode-table,
-.tTunes .viewmode-grid,
-.tTunes .viewmode-coverflow {
- border: none;
- width: 27px;
- height: 22px;
- overflow: hidden;
-}
-
-.tTunes .viewmode-table {
- background: transparent url(images/table-view.png) no-repeat right top;
-}
-
-.tTunes .viewmode-grid {
- background: transparent url(images/grid-view.png) no-repeat;
-}
-
-.tTunes .viewmode-coverflow {
- background: transparent url(images/coverflow-view.png) no-repeat;
-}
-
-
-
-.tTunes .v-splitpanel-horizontal .v-splitpanel-hsplitter {
- width: 1px;
- background: #404040;
-}
-
-.tTunes .v-splitpanel-horizontal .v-splitpanel-hsplitter div {
- width: 3px;
- border: none;
- background: transparent;
-}
-
-
-
-.tTunes .sidebar {
- background: #d1d7e2;
-}
-
-.tTunes .sidebar .v-label {
- padding: 7px 0 3px 10px;
- font-weight: bold;
- text-transform: uppercase;
- color: #505d6d;
- text-shadow: #fff 0 1px 0;
-}
-
-.tTunes .sidebar .v-nativebutton {
- text-align: left;
- border: none;
- background: transparent;
- line-height: 15px;
- padding: 2px 0;
-}
-
-.tTunes .sidebar .v-nativebutton span {
- padding-left: 25px;
-}
-
-.tTunes .sidebar .selected {
- background: transparent url(images/selected-bg.png) repeat-x;
- color: #fff;
- font-weight: bold;
- text-shadow: #384359 0 1px 0;
- padding: 0;
-}
-
-.tTunes .sidebar .selected span {
- display: block;
- background: transparent url(images/icon-music.png) no-repeat 25px 1px;
- padding: 2px 0 2px 45px;
-}
-
-.tTunes .sidebar .v-caption {
- background: transparent url(images/table-header-bg.png) repeat-x;
- padding: 1px 0;
- font-weight: bold;
- text-shadow: #eee 0 1px 0;
- text-align: center;
- color: #202020;
- border-top: 1px solid #404040;
- border-bottom: 1px solid #555;
-}
-
-.tTunes .sidebar .v-captiontext {
- float: none;
-}
-
-
-.tTunes .v-table-header-wrap {
- height: 16px;
- border: none;
- border-bottom: 1px solid #555;
- background: transparent url(images/table-header-bg.png) repeat-x;
- position: relative;
-}
-
-.tTunes .v-table-sort-indicator {
- width: 0px;
- height: 16px;
-}
-
-.tTunes .v-table-caption-container {
- font-size: 11px;
- color: #000;
- font-weight: bold;
- text-shadow: #fff 0 1px 0;
- padding-top: 1px;
-}
-
-.tTunes .v-table-body {
- border: none;
-}
-
-.tTunes .v-table-row-odd {
- background: #f1f5fa;
-}
-
-.tTunes .v-table-row:hover {
- background: #fff;
-}
-
-.tTunes .v-table-row-odd:hover {
- background: #f1f5fa;
-}
-
-.tTunes .v-table .v-selected {
- background: #3d80df;
-}
-
-.tTunes .v-table-cell-content {
- line-height: normal;
-}
-
-.tTunes .v-table select {
- padding: 0 2px;
-}
\ No newline at end of file
</servlet>\r
\r
\r
- <servlet>\r
- <servlet-name>RobustnessSimple</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.robustness.RobustnessSimple</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
-\r
- <servlet>\r
- <servlet-name>TestForNativeWindowing</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.TestForNativeWindowing</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>TestSplitPanel</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.TestSplitPanel</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>AddressBook</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</param-value>\r
- </init-param>\r
-\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>TestBench</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.TestBench</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>RandomLayoutStress</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.RandomLayoutStress</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>Parameters</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.Parameters</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>UpgradingSample</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.UpgradingSample</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
- <servlet>\r
- <servlet-name>ModalWindow</servlet-name>\r
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>\r
- <init-param>\r
- <param-name>application</param-name>\r
- <param-value>com.vaadin.tests.ModalWindow</param-value>\r
- </init-param>\r
- </servlet>\r
-\r
<servlet>\r
<servlet-name>GAESyncTest</servlet-name>\r
<servlet-class>com.vaadin.terminal.gwt.server.GAEApplicationServlet</servlet-class>\r
<url-pattern>/run/*</url-pattern>\r
</servlet-mapping>\r
\r
- <servlet-mapping>\r
- <servlet-name>TestForNativeWindowing</servlet-name>\r
- <url-pattern>/TestForNativeWindowing/*</url-pattern>\r
- </servlet-mapping>\r
-\r
-\r
- <servlet-mapping>\r
- <servlet-name>RobustnessSimple</servlet-name>\r
- <url-pattern>/RobustnessSimple/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>TestSplitPanel</servlet-name>\r
- <url-pattern>/TestSplitPanel/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>RandomLayoutStress</servlet-name>\r
- <url-pattern>/RandomLayoutStress/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>TestBench</servlet-name>\r
- <url-pattern>/TestBench/*</url-pattern>\r
- </servlet-mapping>\r
- <servlet-mapping>\r
- <servlet-name>TestBench</servlet-name>\r
- <url-pattern>/t/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>Parameters</servlet-name>\r
- <url-pattern>/Parameters/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>UpgradingSample</servlet-name>\r
- <url-pattern>/UpgradingSample/*</url-pattern>\r
- </servlet-mapping>\r
-\r
- <servlet-mapping>\r
- <servlet-name>ModalWindow</servlet-name>\r
- <url-pattern>/ModalWindow/*</url-pattern>\r
- </servlet-mapping>\r
-\r
<servlet-mapping>\r
<servlet-name>GAESyncTest</servlet-name>\r
<url-pattern>/gaesynctest/*</url-pattern>\r
</servlet-mapping>\r
\r
- <servlet-mapping>\r
- <servlet-name>AddressBook</servlet-name>\r
- <url-pattern>/AddressBook/*</url-pattern>\r
- </servlet-mapping>\r
-\r
<welcome-file-list>\r
<welcome-file>index.html</welcome-file>\r
</welcome-file-list>\r
<exclude name="**/gwt-dev.jar"/>
<exclude name="**/gwt-user.jar"/>
</fileset>
- <fileset dir="lib/demo">
- <include name="**/*.jar"/>
- </fileset>
<fileset dir="lib/tests">
<include name="**/*.jar"/>
</fileset>
</filterchain>
<fileset dir="WebContent">
<exclude name="**/.svn" />
- <exclude name="windoweddemos.html" />
<include name="release-notes.html" />
<include name="*.html" />
<include name="license/*.html" />
<!--
Source directories in the project are
* src (Vaadin core)
- * demo/src (Demos and examples)
* tests/src (Test cases)
These are copied to
* {$result-path}/src/core
- * {$result-path}/src/demo
* {$result-path}/src/tests
Java/HTML/CSS/XML files are filtered so the license is added and the version is set.
<mkdir dir="${result-path}/src" />
<mkdir dir="${result-path}/src/core" />
- <mkdir dir="${result-path}/src/demo" />
<mkdir dir="${result-path}/src/tests" />
<patternset id="preprocessable-files">
<include name="**/*.html" />
<include name="**/*.css" />
<include name="**/*.xml" />
- <exclude name="src/com/vaadin/demo/tools/*"/>
</patternset>
<patternset id="non-preprocessable-files">
<exclude name="**/.svn" />
</fileset>
</copy>
- <copy todir="${result-path}/src/demo">
- <filterset refid="version-and-license"/>
- <fileset dir="demo/src">
- <patternset refid="preprocessable-files" />
- </fileset>
- </copy>
-
<antcontrib:if>
<isset property="build.include.tests"/>
<then>
<patternset refid="non-preprocessable-files" />
</fileset>
</copy>
- <copy todir="${result-path}/src/demo">
- <fileset dir="demo/src">
- <patternset refid="non-preprocessable-files" />
- </fileset>
- </copy>
<antcontrib:if>
<isset property="build.include.tests"/>
<then>
<target name="webcontent" depends="preprocess-src,defaulttheme">
<!-- copy 3rd part libraries used by demo -->
- <copy todir="${output-dir}/WebContent/demo/lib">
- <fileset dir="lib/demo">
- <include name="gwt-maps/**/*" />
- </fileset>
- </copy>
<copy todir="${output-dir}/WebContent/demo/lib">
<fileset dir="lib/core">
<include name="jetty/**/*" />
</fileset>
</copy>
- <!-- Add demo sources -->
- <echo>Adding demo sources to WebContent/WEB-INF/src</echo>
- <copy todir="${output-dir}/WebContent/WEB-INF/src">
- <fileset dir="${result-path}/src/demo">
- <include name="**/*" />
- </fileset>
- </copy>
-
- <echo>Creating demo source html files</echo>
- <java2html srcdir="${output-dir}/WebContent/WEB-INF/src/${toolkit-package}/demo" destdir="${output-dir}/WebContent/docs/example-source/${toolkit-package}/demo" includes="**/*.java" style="eclipse" showLineNumbers="false" showFileName="true" showTableBorder="false" />
-
<!-- Add WebContent -->
<echo>Adding VAADIN/themes, demo and hsqldb.jar files.</echo>
<copy todir="${output-dir}/WebContent">
<mkdir dir="${result-path}/classes" />
<javac source="1.5" target="1.5" classpathref="compile.classpath.server-side" destdir="${result-path}/classes" debug="true" encoding="UTF-8">
<src path="${result-path}/src/core"/>
- <src path="${result-path}/src/demo"/>
<src path="${result-path}/src/tests"/>
<exclude name="${toolkit-package}/tests/**" unless="build.include.tests"/>
<pathelement location="${lib-gwt-validation-src}" />
<pathelement location="${result-path}/classes" />
<pathelement location="${result-path}/src/core" />
- <pathelement location="${result-path}/src/demo" />
</path>
<target name="compile-widgetset" description="Compiles the widgetset given as the first parameter">
</manifest>
<fileset dir="${result-path}/classes">
<patternset>
- <exclude name="${toolkit-package}/demo/**" />
<exclude name="${toolkit-package}/tests/**"/>
<exclude name="${toolkit-package}/launcher/**" />
</patternset>
<echo>Adding demo class files.</echo>
<copy todir="${output-dir}/WebContent/WEB-INF/classes">
<fileset dir="${result-path}/classes">
- <include name="${toolkit-package}/demo/**/*" />
<include name="${toolkit-package}/tests/integration/**/*" />
<!-- user might want to tweak launcher classes -->
<include name="${toolkit-package}/launcher/**" />
<include name="${toolkit-package}/tests/integration/*.gif" />
</fileset>
</copy>
-
- <echo>Adding source for demos</echo>
- <copy todir="${output-dir}/WebContent/WEB-INF/src">
- <fileset dir="${result-path}/src/demo">
- <include name="${toolkit-package}/demo/**/*" />
- </fileset>
- <fileset dir="${result-path}/src/core">
- <!-- user might want to tweak launcher classes -->
- <include name="${toolkit-package}/launcher/**" />
- </fileset>
- </copy>
</target>
<!-- ================================================================== -->
<servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>
</servlet>
- <!-- AddressBook demo application -->
- <servlet>
- <servlet-name>AddressBook</servlet-name>
- <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
- <init-param>
- <param-name>application</param-name>
- <param-value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</param-value>
- </init-param>
- </servlet>
-
<!-- Servlet Mappings below - see servlets for comments -->
<servlet-mapping>
<servlet-name>VaadinApplicationRunner</servlet-name>
<url-pattern>/run/*</url-pattern>
</servlet-mapping>
- <servlet-mapping>
- <servlet-name>AddressBook</servlet-name>
- <url-pattern>/AddressBook/*</url-pattern>
- </servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>