Home | Trees | Indices | Help |
|
---|
|
1 # Copyright (C) 2012 Vaadin Ltd. 2 # Copyright (C) 2012 Richard Lincoln 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of 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, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 16 from muntjac.ui.themes.base_theme import BaseTheme20 21 THEME_NAME = 'runo' 22 23 @classmethod14025 return cls.THEME_NAME.lower()26 27 # Button styles 28 # 29 # ******************************************************************** 30 31 # Small sized button, use for context specific actions for example 32 BUTTON_SMALL = 'small' 33 34 # Big sized button, use to gather much attention for some particular action 35 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 BUTTON_DEFAULT = 'default' 41 42 # Panel styles 43 # 44 # ******************************************************************** 45 46 # Removes borders and background color from the panel 47 PANEL_LIGHT = 'light' 48 49 # TabSheet styles 50 # 51 # ******************************************************************** 52 53 # Smaller tabs, no border and background for content area 54 TABSHEET_SMALL = 'light' 55 56 # SplitPanel styles 57 # 58 # ******************************************************************** 59 60 # Reduces the width/height of the split handle. Useful when you don't want 61 # the split handle to touch the sides of the containing layout. 62 SPLITPANEL_REDUCED = 'rounded' 63 64 # Reduces the visual size of the split handle to one pixel (the active drag 65 # size is still larger). 66 SPLITPANEL_SMALL = 'small' 67 68 # Label styles 69 # 70 # ******************************************************************** 71 72 # Largest title/header size. Use for main sections in your application. 73 LABEL_H1 = 'h1' 74 75 # Similar style as in panel captions. Useful for sub-sections within a 76 # view. 77 LABEL_H2 = 'h2' 78 79 # Small font size. Useful for contextual help texts and similar less 80 # frequently needed information. Use with modesty, since this style will be 81 # more harder to read due to its smaller size and contrast. 82 LABEL_SMALL = 'small' 83 84 # Layout styles 85 # 86 # ******************************************************************** 87 88 # An alternative background color for layouts. Use on top of white 89 # background (e.g. inside Panels, TabSheets and sub-windows). 90 LAYOUT_DARKER = 'darker' 91 92 # Add a drop shadow around the layout and its contained components. 93 # Produces a rectangular shadow, even if the contained component would have 94 # a different shape. 95 # <p> 96 # Note: does not work in Internet Explorer 6 97 CSSLAYOUT_SHADOW = 'box-shadow' 98 99 # Adds necessary styles to the layout to make it look selectable (i.e. 100 # clickable). Add a click listener for the layout, and toggle the 101 # L{#CSSLAYOUT_SELECTABLE_SELECTED} style for the same layout to make 102 # it look selected or not. 103 CSSLAYOUT_SELECTABLE = 'selectable' 104 CSSLAYOUT_SELECTABLE_SELECTED = 'selectable-selected' 105 106 # TextField styles 107 # 108 # ******************************************************************** 109 110 # Small sized text field with small font 111 TEXTFIELD_SMALL = 'small' 112 113 # Table styles 114 # 115 # ******************************************************************** 116 117 # Smaller header and item fonts. 118 TABLE_SMALL = 'small' 119 120 # Removes the border and background color from the table. Removes 121 # alternating row background colors as well. 122 TABLE_BORDERLESS = 'borderless' 123 124 # Accordion styles 125 # 126 # ******************************************************************** 127 128 # A detached looking accordion, providing space around its captions and 129 # content. Doesn't necessarily need a Panel or other container to wrap it 130 # in order to make it look right. 131 ACCORDION_LIGHT = 'light' 132 133 # Window styles 134 # 135 # ******************************************************************** 136 137 # Smaller header and a darker background color for the window. Useful for 138 # smaller dialog-like windows. 139 WINDOW_DIALOG = 'dialog'
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 13:41:02 2013 | http://epydoc.sourceforge.net |