This guide provide you with some help on how you can modify the Accor Generic Theme for your specific need.
The Accor Generic theme is a fallback theme for hotels within the Accor brand. This base design has been approved by Accor in any cases where brand/location specific assets are not available, but you are free to do individual adjustments in cooperation with the brand responsible within each sub-brand.
The Generic theme comes in 2 different default styles: Bright and Blue. If you plan to do changes to the color scheme, we recommend using the Bright version as your starting point, as the Blue version has some minor special styling to accomodate bright text on dark background.
The Bright version.
The Blue version.
Start by importing the theme to your site.
Note: If you want to customize the theme for use on several sites, you should first create your own theme and import the Accor theme here. Work on the modifications on your own theme site, and then the modified theme can be exported to new hotel sites. This way you only have to do any work once, and not for each seperate site. Contact Support if you have questions on how to do this.
The look of the Accor theme is based on the configuration defined in a set of global style sheets. This means that much of the layout of the menu structure can be modified from the Global CSS manager:
There are defined 6 different gobal style sheets:
Together this style sheet architechture allow you to radically change the look and feel of the menu system from one central location.
Colors, backgrounds, fonts, layout and much more.
See next section for a definition of the page types.
The Accor Generic theme is build of mainly 4 different page types:
Customization of the colors and images in the Accor theme is done within the "colorStyles" style sheet. This section guides you through how this can be done.
The theme is based on 4 different base colors.
As mentioned above, the Accor Generic theme comes in 2 different default styles, Bright and Blue.
The bright is a solid starting point for any design using dark text on a bright background, the blue is the natural starting point for brand designs featuring white/light text on dark backgrounds.
The Bright version has the below default colors:
The Blue version has these default colors:
To change the base colors, enter the "colorStyles" style sheet. Search and replace the various colors to fit your need. As an example, if you want to change the Primary color, search for all places where #050033 is defined, and replace it with your color code. The Primary color will then be changed throughout the whole theme.
Topbars will use the base colors unless anything specific is set.
To override the default topbar style, you can use the .topbar selector in the "colorStyles" style sheet:
The .topbar selector alters the style of all topbars in the theme. Per default, the .topbar selector his empty, which means the base colors are used.
Topbars can also be customized per page type. There are specific selectors for this within the "colorStyles" style sheet:
Default the topbar on the main page has a different opacity on the background color than the rest. Use CSS to set the topbar style on the various page types as you want.
The default theme background is defined by the .background selector in the "colorStyles style sheet:
The .background selector sets the background on all pages. Change the url in background-image to set a different background.
To have specific background on any of the page types, use the specific selectors for these. Above you can see that the info pages and service pages have different background configurations than the rest of the theme.
IMPORTANT NOTE: The Samsung Orsay screens requires some special considerations when it comes to the background on pages that contain embedded video. For the Accor Generic theme, this applies to the "Wake Up Alarm page 2". With the default CSS configuration, the video window will not be visible on Orsay screens. However the audio from the configured media source will still play. To have a visible video window on this page, contact Support for guidance.
The submenus has an overlay on top of the background image. The color and opacity of these overlays can be altered in the .submenuOverlayLeft and .submenuOverlayRight:
There are there are other elements defined in the "colorStyles" style sheets, such as buttons, main menu tiles, list elements etc. These use the base colors. You could style them specifically if you want, but normally these should just follow the base colors of the theme.
The default fonts of the Accor Generic theme are defined in the "globalStyle" style sheet:
In .m.menupage selector, the default font for the theme is set. In the .bold selector, the bold font for the theme is defined.
To replace a font, right-click and select the new font-family.
Note: Due to technical reasons, some elements has its font defined outside the menupage and bold selectors. So, when changing font, all style sheets should be searched for the "font-family" property. All places where a font is defined, it is marked in the comment if it is a bold, semibold or regular font used. Simply replace all font defintions with the font of your choice, and make sure it has the same font weight.
To change the menu items of the main menu, click the item you want to change.
The name of the item is defined in the Normal Content page:
You can also change the icon name. The list of supported icons and the corresponding names can be found at https://materialdesignicons.com/. Leave the "mdi mdi-" test there, and only replace the name, like "devices" in the below images.
Also note the flags on the right, where translations can be added.
The behaviour when selecting the item is defined in the Eventhandlers pane. In the below example the menu page "Cast & Stream Submenu" should be opened. However, other actions can be configured instead if wanted, for instance to open an embedded TV application such as YouTube.
Inside a sub menu it is possible to change the list items as well as the corresponding icons and service description. The header may also be adjusted.
The header text is adjusted by clicking the header element on the page in the editor. Under Normal content the text is defined:
Please remember to apply the changes and save the page.
The content of the list element in the sub menus are defined in a data source. The data source is chosen by clicking the list element in the sub menu page and select it in the Settings pane:
Data sources are created and adjusted in the Data Source Editor:
The data source defines:
Adjust the list of items, descriptions, actions and icons to fit your need. Add new or remove unwanted.
Weather locations are defined inside the data source called Weather. Each item contains the name, the latitude and the longitude of the location.
The News sources are defined inside the data source called News Sources. Each item contains the title, the url from which to fetch the data and also the number of news to show.
The Web Radio service is configured by a set of data sources.
First, set up one data source for each category you want:
Default in the Accor Generic Theme there are set up 3 category pages: Web Radio Denmark, Web Radio Norway and Web Radio Sweden. These can be renamed and used again.
When all category data sources are set up, there are a data source called Web Radio Groups that links all the categories together. Each item in this data source contains a title and a link to the corresponding category/data source:
Flight locations are defined in the data source called Flights. Each item contains the name of the airport and the iata code. Simply set up the items that fit your need:
To set up a new info page, start by make a copy of the template that has the layout you want. The Accor Generic theme contains several different info page templates.
Info pages in the Accor Generic theme are based on Documents. To add a new document, click "Add document" in the Documents section under Content:
Inside the document, add your text and images. Use Heading 1, Heading 2 and Paragraph for formatting. The text will then get the correct font, size and color inside the menu.
To link the new document on the new info page, click the text item on the new info page. In the Normal Content pane, link to to correct document. If you want to have different languages on your new info page, link separate documents, using the flags in the right.
To configure a new heading on your info page, click the header element and adjust the text in the Normal Content page:
If you have chosen one of the pages that include an image either on the left or on the right, or a full image page, click the image element on the page to change it. Inside the Normal Content pane, set the correct url by right clicking and choose your image:
The Accor Generic theme contains a page showing power-on slides.
To change the images in the slideshow, click on the Slides item on the page. In the Playlist pane, the slideshow can be configured.
Remember to apply and save your changes.
The Accor Generic theme contains a page for listing radio channels.
The Radio Channels page is configured to list the channels in the Radio Channel table set up in TV->Configuration:
Once you have set up a Radio channel table in the configuration, the Radio Channel Page should list these channels.
The Accor Generic theme has 2 different places where brand logos are located: On the main page and in the upper left corner of submenu/service/info pages.
The main menu logo is changed by first clicking the logo item on the main menu page. Then, in the CSS pane, right-click on the url and insert the correct logo.
There is a logo placed on most pages in the upper left corner. This can be replaced in the "globalStyle" style sheet.
Open the Global CSS Manager:
Replace the image by right-clicking on the url in the .logo selector:
You need to set up the correct videosource for the wake up alarm pages. The wake up alarm is a 2 step process that consists of the pages "Wake Up Alarm Page 1" and "Wake Up Alarm Page 2":
On Wake Up Alarm Page 1 you open the Page Settings, enter the Eventhandlers pane and change the media channel as shown below:
On Wake Up Alarm Page 2 you to the same procedure:
On Wake Up Alarm Page 2, click the news element, select the Eventhandlers pane and change the url as shown below:
There are 2 weather elements on Wake Up Alarm Page 2. One for the weather today and one for the coming days.
To set the correct location, click each of the elements, and change the latitude and longitude in the Normal Content pane on both elements:
The main menu page has an animation effect when changing between the different tiles. This does not work fully as intended on all TV models, so to remove it, simply remove the following line from the mainMenuStyle style sheet:
You could also try to change the timing of the animation by adjusting the number of milliseconds.