Sets the Base Style for a Web Theme. All libraries (ZIP files) with UI design definitions previously added to the KB as File objects are offered to select one of them. The selected library will be included when generating panels based on the Theme.
|Bootstrap v3 ||Selects the Bootstrap v3 library, which is a popular HTML, CSS, and JS library.|
|Bootstrap v3 RTL ||Selects the Bootstrap v3 Right-to-Left library.|
|None ||The Web Theme object doesn't have an assigned library.|
Objects: Web Theme
Generators: Java, .NET, .NET Core
These CSS Frameworks provide hundreds of widgets, compositions, sources, etc.
Some of the most popular ones are as follows:
A Base Library is an external resource that uses a CSS Framework. For example, Semantic UI, Bootstrap, etc.
Base Libraries are external CSS & JS & Assets files that are globally installed with GeneXus.
First, to create a Base Library, compress all the required files (CSS, JS, etc.) into a ZIP file and save it with .gxlibrary extension.
Next, you can include that Base Library in your Knowledge Base by creating a new File object and specifying the path to upload your Base Library (make sure that when adding the file, the name ends with _gxlibrary; otherwise, the IDE will not consider it as a library).
Finally, the Library will be offered for this property so that you can select it.
While several libraries can be included in the KB, using the same Base CSS for different objects is recommended in order to maintain consistency.
1) To just add external references to resources, you need to create a references file inside the library; each line of this file will be considered a reference.
For example, you can add a glue.references with the following content:
This means GeneXus will add references to those files when some Theme or User Control uses your Base Library.
2) If you create a Web Theme object and set its Base CSS property = None, the Action Groups and Tab controls will have a basic appearance. To give them a style, set the ActionGroup and ActionGroupItem Theme classes for the Action Group control, and the Tab and TabPage classes for the Tab control.
This property applies only at design-time.
This property is available since GeneXus 16.
Base CSS property (User Control object)