Description
This Stylesheet has been designed to give a webform-like feel to the pages, with a minimalist and segmented design approach to provide a functional Workflow that is still aesthetically appealing. If lots of content or data capture is present within the process, the agent can either scroll through each section, or that part of the process could be split into multiple pages.
Separate "wells" (elements with a contrasting background colour to the main background, used to visually group the content) can be created by using a
Table Break control between each desired section. If no Table Break controls are used, all content placed on the page will be contained within a single well. Having one or more wells in the Workflow allows for a vibrant and modern background to be present within the Workflow without impacting readability or usability for the agents due to colour clashes; for this reason, a neutral and plain background is recommended for these wells.
At the bottom of this article, a sample Workflow is available that makes use of the demonstrated stylesheet. Users of Intelligent Agent can download and import this into their own instance of the platform. This Workflow has been designed with a fairly narrow body to the form, and the wells will remain aligned with the centre of the screen if the screen is re-sized. This type of design works nicely when Intelligent Agent is embedded within another application or window, where screen real-estate could be limited due to telephony controls or other content outside of the Intelligent Agent frame.
CSS
The below code would need to be saved as a Stylesheet within your Intelligent Agent system, and then a Workflow created that was assigned this Workflow. There are also some style definitions for
Text Label controls that need you to define
Additional Classes in their field styling tabs.
- /* Defining common style variables */
- $theme_cyan: #00dbde;
- $theme_magenta: #fc00ff;
- $box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.075);
- /* Vibrant background of the Workflow */
- #scriptBody {
- background-image: linear-gradient(
- 45deg, /* Angle of the gradient */
- $theme_cyan, /* The first colour */
- $theme_magenta /* The second colour */
- );
- }
- /* Defining the well styling. Using a Table Break control will automatically create additional wells in the final Workflow */
- #vart table:not(:last-child) {
- background-color: white;
- border-radius: 10px;
- padding: 30px;
- margin: 15px;
- }
- /* Giving all controls that contain a Button element a default style that reverses the main background */
- .button {
- background-image: linear-gradient(
- 45deg, /* Direction of the gradient */
- $theme_magenta, /* The first colour */
- $theme_cyan /* The second colour */
- );
- width: 400px;
- color: white;
- font-size: 20px;
- border-radius: 50px;
- font-weight: bold;
- }
- /* Styling any default Text Box controls */
- .control-text-box {
- input {
- color: #666;
- border: none;
- background-color: transparent;
- box-shadow: $box-shadow;
- width: 500px;
- }
- }
- /* Styling any default Textarea controls */
- .control-text-area {
- textarea {
- color: #666;
- border: none;
- background-color: transparent;
- box-shadow: $box-shadow;
- width: 500px;
- height: 150px;
- }
- }
- /* Custom Class for Text Labels, designed to be used at the top of each well section. This could be for text to be read out, or instructions */
- .Header {
- width: 500px;
- text-align: center;
- font-size: 30px;
- font-weight: bold;
- }
- /* Custom Class for Text Labels, designed to be placed above input controls such as Text Box or Textarea */
- .LabelAboveInput {
- width: 500px;
- text-align: left;
- font-size: 18px;
- }
Sample Workflow Download
Download here - Please note this Workflow was created in version 6.0.53.54981, and should not be imported into an earlier version of Intelligent Agent!