Re-enable for labels, captions, tables and text inputs.
Removed all unnecessary user-select: none; declarations since the top
level declaration will affect the whole dom tree.
Change-Id: I2e74b749340c8649d3b0778d62acafecf878685d
Common components inside Table cells render better (Valo)
Add a new size variant “compact” for Textfield, DateField and ComboBox.
Makes the field fit inside the default row height of the table, but
keeps the font size the same as for a normal field. Borderless fields
also now respect the font color of the container (e.g. a selected table
row).
Update test to include common components inside a table.
Change-Id: I88f4d917579c937536dc4c886dc2b7825db01818
A new variation named “Light”, similar to iOS7 style.
Fix some valo-menu styles to accommodate the new light style better.
Change-Id: Ib7c396263db7838c972d75a6b79fed1caf7ca576
Modularize menubar mixins and add submenu indicator for top level items
Refactored menubar mixins so that less overrides are necessary from
normal button styles, and so that custom colored and custom sized menu
bars are possible.
Add new examples to test app for “drop down buttons” and “split
buttons” using MenuBar.
Change-Id: I2b0b76817d1c9119f82b2c2f4d7e5b95a9f05a5c
Make read only textfield visually different from normal text fields
If the background color of the app is the same as the textfield
background color, make the textfield background color slightly darker.
Change-Id: I4870c3e396cdd8c586bfd3f0e812cf1f5ebab1eb
Makes any Label text colored, by default the same as $v-selection-color.
Modify the Forms and Labels examples to use the new style, and remove
the fixed color from “light” style form layout for header labels.
Change-Id: I27a4fce56b1f734aa5c2c837bf1684284b0d96cc
Available as additional style names for buttons, text fields/text
areas, combo boxes, date fields and labels.
Change-Id: I12f36935a690f5bf3f12333f5bd4ac986d4efd1f
The blur and focus events should be linked with the TabSheet
component as a whole. Any click inside the TabSheet should
trigger one single focus and any leave the blur.
Change-Id: Id24a2fab12aafe6f7aa3a44635e5b9e935a1cfe1
Make custom panel caption styles better looking (Valo)
If the background color of the caption is darker than the normal
background color, add a colored border around the whole caption.
Otherwise only draw the bottom border using the default background
color.
Fix caption bevel and “well” style box shadow handling as well.
Change-Id: I1964df984ba50da8fcd1eed48edeb89abc5d3d8c
Fix combo box and date field small & large styles box-shadow on focus (Valo)
Don’t override any other state than the “normal” for large & small
styles (box-shadow in particular)
Change-Id: I295b5e2300a4b2137171fb0aa55d5bbf3feb8cf6
Split common-stylenames to individual component files (#14374)
Moved notification and valo-menu styles to the components folder as
well, and added them to the $v-included-components list.
Additional styles are now also controlled with a list variable, which
lists all components whose additional styles should be included in the
build.
Change-Id: Ifb8d49d71622decf8fa0d4875985fcafd908a1f8
Update Font Awesome to the latest version (#14396)
Update the font icon to version 4.1.0.
The enum is now sorted alphabetically by the icon name, while
previously it was sorted by the code point.
The new list is copied from http://fontawesome.io/cheatsheet/ which
contains all the icons in the font.
Change-Id: I41a69248a9e3bd25c90b7f79b5814cdb46b10bbc
Refactor Valo main menu styles into separate mixins
Add a new utility mixin for defining width-ranges and height-ranges.
Refactored ValoThemeUI to use Responsive and styled it to fit in a
variety of viewport widths.
Fixed an issue with “flat-dark” using named colors, which trips the
“type-of” function.
Theme “theme select”.
Change-Id: Iff55ca2c23d2e279b6199590db2fdfe51423c1df
Make readonly textfields show better inside panels for instance (so
that they look different from normal textfields).
Change-Id: If2b9b810a5bf0d7388563ea1d7560bbf1b9f149a
The selected color hex value is no longer overlapping with the color
square.
But now when there’s no hex value as the button caption, there’s extra
white space on the right edge of the button, which is unavoidable. This
is a lesser evil.
Change-Id: I9c7e36fdf22f63c9cad6972f0f2038513f841d6b
Reduced padding around widgets inside table cells also.
Set z-index for drag’n’drop styles to set the above any relative
positioned widgets inside table cells.
Change-Id: I512c61428aa88678261f276148d3ba39134a6411
Fix inconsistent rendering between Valo’s bundled Open Sans vs. Google
Fonts provided Open Sans versions on Windows (DirectWrite).
The previous bundled font was generated with Font Squirrel Webfont
Generator with some additional optimizations on (the “Fix GASP Table”
option most likely), which caused the inconsistencies. The new version
is converted with the basic options (most straightforward conversion).
Change-Id: Id9190dc6ceff26d771ec4622a5750b2a1f234304
Allow changing theme on the fly (#2874, #14139, #14124)
* Updates UI and overlay container class names when the theme changes
* Initially verifies that the theme has actually been loaded (for the embed case)
and class names have been properly set
* Forces a state change to all components to re-translate theme:// URLs
* Runs a full layout after the new theme has been loaded and activated
Change-Id: I5a7391abe1bb467130bbb4660e4829b43f3e4255
Bottom component click scroll up the parent panel in a window (#12943)
Due to old fix for (#11994) the v-scrollable div of the window would
expand to 110% of its size then immediately back to the original size.
The first action, expanding the v-scrollable to 110% would decrease
the scrollTop value of our panel, while increasing its height. When
the revert back action would set the v-scrollable to its own size,
the panel's scrollTop would remain decreased, causing the scroll bar
to move up, hiding the ~10% at the bottom.
Fixed by calling Util.runWebkitOverflowAutoFix(); instead of changing
the height.
Change-Id: I79eafd1f9500c2e4c10dadbfc7100608c0732e04
Export fetchRootConfig status so it can be read by TK (#14053)
Offline apps need to know when server errors are 500 or 400 in
order to switch appropriatelly to the offline mode.
Also we need exported the fetchRootConfig method and a
reliable way to get loaded apps.
Related with change I29635982514071e63221a9771d6729da14273ad3 [1]
see temporal workaround in TouchKitServlet
[1] https://dev.vaadin.com/review/#/c/4037/
Change-Id: I339ca697d035508a67d1eb24480cd12c4b9c6c0e