Sha256: 3a536673f185bc73ac10f93c487a6d7456809d35c6c5b7f7c00000b74e7e88d2
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
# ScrivitoTabbedContentWidget This gem adds a Scrivito widget for tabbed content to your page. ## Prerequists This widget requires Bootstrap. ## Installation Add this line to your application's Gemfile: gem 'scrivito_tabbed_content_widget' ## Customization This widget includes an attribute for the background color of every tab. The value of this attribute is used as a CSS class. If you want to use this feature, add a CSS rule for your selectable colors: ```css .bg-red { background-color: red; } ``` You can also use the [Scrivito Advanced Editors](https://github.com/Scrivito/scrivito_advanced_editors #color_picker) color picker to have a better visualization of the selectable color classes. ## Localization The following code represents the default localization for English. Copy it to your `en.yml` and change it if necessary: ```yaml en: scrivito_tabbed_content_widget: thumbnail: title: Tab description: Add a tab to your page details: title: Title background_color: Background Color ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scrivito_tabbed_content_widget-0.90.3 | README.md |
scrivito_tabbed_content_widget-0.90.2 | README.md |