You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Runo.java 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*
  2. * Copyright 2000-2016 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.vaadin.v7.ui.themes;
  17. @Deprecated
  18. public class Runo extends BaseTheme {
  19. public static final String THEME_NAME = "runo";
  20. public static String themeName() {
  21. return THEME_NAME.toLowerCase();
  22. }
  23. /***************************************************************************
  24. *
  25. * Button styles
  26. *
  27. **************************************************************************/
  28. /**
  29. * Small sized button, use for context specific actions for example
  30. */
  31. public static final String BUTTON_SMALL = "small";
  32. /**
  33. * Big sized button, use to gather much attention for some particular action
  34. */
  35. public static final String BUTTON_BIG = "big";
  36. /**
  37. * Default action style for buttons (the button that should get activated
  38. * when the user presses 'enter' in a form). Use sparingly, only one default
  39. * button per view should be visible.
  40. */
  41. public static final String BUTTON_DEFAULT = "default";
  42. /***************************************************************************
  43. *
  44. * Panel styles
  45. *
  46. **************************************************************************/
  47. /**
  48. * Removes borders and background color from the panel
  49. */
  50. public static final String PANEL_LIGHT = "light";
  51. /***************************************************************************
  52. *
  53. * ProgressBar Styles
  54. *
  55. **************************************************************************/
  56. /**
  57. * Displays the progress bar with a static background, instead of an
  58. * animated one.
  59. */
  60. public static final String PROGRESSBAR_STATIC = "static";
  61. /***************************************************************************
  62. *
  63. * TabSheet styles
  64. *
  65. **************************************************************************/
  66. /**
  67. * Smaller tabs, no border and background for content area
  68. */
  69. public static final String TABSHEET_SMALL = "light";
  70. /***************************************************************************
  71. *
  72. * SplitPanel styles
  73. *
  74. **************************************************************************/
  75. /**
  76. * Reduces the width/height of the split handle. Useful when you don't want
  77. * the split handle to touch the sides of the containing layout.
  78. */
  79. public static final String SPLITPANEL_REDUCED = "rounded";
  80. /**
  81. * Reduces the visual size of the split handle to one pixel (the active drag
  82. * size is still larger).
  83. */
  84. public static final String SPLITPANEL_SMALL = "small";
  85. /***************************************************************************
  86. *
  87. * Label styles
  88. *
  89. **************************************************************************/
  90. /**
  91. * Largest title/header size. Use for main sections in your application.
  92. */
  93. public static final String LABEL_H1 = "h1";
  94. /**
  95. * Similar style as in panel captions. Useful for sub-sections within a
  96. * view.
  97. */
  98. public static final String LABEL_H2 = "h2";
  99. /**
  100. * Small font size. Useful for contextual help texts and similar less
  101. * frequently needed information. Use with modesty, since this style will be
  102. * more harder to read due to its smaller size and contrast.
  103. */
  104. public static final String LABEL_SMALL = "small";
  105. /***************************************************************************
  106. *
  107. * Layout styles
  108. *
  109. **************************************************************************/
  110. /**
  111. * An alternative background color for layouts. Use on top of white
  112. * background (e.g. inside Panels, TabSheets and sub-windows).
  113. */
  114. public static final String LAYOUT_DARKER = "darker";
  115. /**
  116. * Add a drop shadow around the layout and its contained components.
  117. * Produces a rectangular shadow, even if the contained component would have
  118. * a different shape.
  119. * <p>
  120. * Note: does not work in Internet Explorer 6
  121. */
  122. public static final String CSSLAYOUT_SHADOW = "box-shadow";
  123. /**
  124. * Adds necessary styles to the layout to make it look selectable (i.e.
  125. * clickable). Add a click listener for the layout, and toggle the
  126. * {@link #CSSLAYOUT_SELECTABLE_SELECTED} style for the same layout to make
  127. * it look selected or not.
  128. */
  129. public static final String CSSLAYOUT_SELECTABLE = "selectable";
  130. public static final String CSSLAYOUT_SELECTABLE_SELECTED = "selectable-selected";
  131. /***************************************************************************
  132. *
  133. * TextField styles
  134. *
  135. **************************************************************************/
  136. /**
  137. * Small sized text field with small font
  138. */
  139. public static final String TEXTFIELD_SMALL = "small";
  140. /***************************************************************************
  141. *
  142. * Table styles
  143. *
  144. **************************************************************************/
  145. /**
  146. * Smaller header and item fonts.
  147. */
  148. public static final String TABLE_SMALL = "small";
  149. /**
  150. * Removes the border and background color from the table. Removes
  151. * alternating row background colors as well.
  152. */
  153. public static final String TABLE_BORDERLESS = "borderless";
  154. /***************************************************************************
  155. *
  156. * Accordion styles
  157. *
  158. **************************************************************************/
  159. /**
  160. * A detached looking accordion, providing space around its captions and
  161. * content. Doesn't necessarily need a Panel or other container to wrap it
  162. * in order to make it look right.
  163. */
  164. public static final String ACCORDION_LIGHT = "light";
  165. /***************************************************************************
  166. *
  167. * Window styles
  168. *
  169. **************************************************************************/
  170. /**
  171. * Smaller header and a darker background color for the window. Useful for
  172. * smaller dialog-like windows.
  173. */
  174. public static final String WINDOW_DIALOG = "dialog";
  175. }