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