Theme Frugal

Contents

1. Introduction
   1.1 Screenshots of theme Frugal
   1.2 Description of theme Frugal

2. The theme configuration
   2.1 Basic properties
   2.2 Theme configuration
   2.3 Reset theme

3. The theme in practice: tips
   3.1 For visually impaired
      3.1.1 Styling: labels, input fields and buttons
      3.1.2 Styling: input field details
      3.1.3 Styling: buttons details
   3.2 Replace the Website@Schoool logo

1. Introduction

Frugal is the basic Website@School theme. For its features, please see paragraph 2.2 Theme configuration. In theme Frugal many options that apply to other themes are discussed. Tips are discussed in 3. The theme in practice:tips.

Please also check The module in practice and For visually impaired. More Bazaar Style Style features can be found in chapter Bazaar Style Style.

1.1 Screenshots of theme Frugal

Screenshot of theme Frugal in its basic configuration with demonstration data:
[ theme axis ]
themes_frugal.png

An example of theme Frugal:

[ theme frugal ]
themes_frugal_example.png

1.2 Description of theme Frugal

The header of the theme takes about 20 percent of the screens top horizontal space. In the header are, on the left side the Website@School logo, in the middle the Area title 'Exemplum Primary School' and, in the upper right corner, two top links 'about' and 'contact' are located. At the bottom of the header is the breadcrumb trail.
Below the header are the menu, the content and the Area jumper dropdown menu. The menu takes about 20 % of screen space and contains the section titles: 'Welcome', 'School Info', 'News', 'Search' and 'MyPage'. The content takes about 60 % of screen space and the Area jumper dropdown menu the remaining 20 %.
The footer of the theme is a horizontal bar of about 5 percent of the screen hight. In it are the centered Website@School logo, and right from the logo, the bottom links 'disclaimer' and 'login'.

2. The theme configuration

2.1 Basic properties

The basic properties, i.e. Edit basic properties of this area are discussed in chapter Configuration Manager, paragraph 3.3 Edit basic properties of this area.

2.2 Theme configuration

[ edit theme properties top ] [ edit theme properties bottom ]
themes_frugal_configuere_theme-top.png

theme_frugal_configure_theme-bottom.png
Explanation:

2.3 Reset theme

The procedure is the same for every theme. Please see Configuration Manager, paragraph 3.5 Reset properties of theme themename for area n (Area Name) for details.

(top)

3. The theme in action: tips

In this paragraph we discuss some particluar tips that apply to this theme. We assume you have read about the concept of Bazaar Style Style in the Viewpoints chapter, paragraph 3.1 Cascading Style Sheets. And we assume you have studied the practical side of BSS in the Configuration manager chapter, paragraph 3.4 Configure theme 'Theme Name' for area n.
To create images, chapter Theme Sophia, paragraph 3.2 Creating stencil files gives some hints when using free programs and how to create an image.

3.1 For visually impaired

In all themes almost anything in their style can easily be adapted with Bazaar Style Style. This includes, among many other style elements, several kinds of text input fields and their labels, all kinds of buttons, check boxes and radio buttons.
For visually impaired website visitors this feature might be helpful to improve visibility in modules that require input from the visitor. For example the Mailpage , the Althing (weblog) and the Confab (chat) modules.

The styling of a theme can be done in the Static stylesheet. For theme Frugal it's located at program/styles/base.css. You can read the Frugal style.css file by pointing your browser at http://yourschool.org/program/styles/style.css. For all other themes, you find the style.css at http://yourschool.org/program/themes/<themename>/style.css.

3.1.1 Styling: labels, input fields and buttons

NOTICE:
The hexadecimal color values in the code below, i.e. #RRGGBB, have to be adjusted to the schools taste.
/* visual indication of the hotkey in a label is done via a U within a LABEL */
label u {
  font-weight: bold;
  text-decoration: underline;
}
/* visual indication of the non-editable fields by 'dimming' the corresponding label */
label.viewonly {
  color: #RRGGBB;
}
/* visual indication of an input field that didn't pass validation */
.error {
  color: #RRGGBB;
}
/* visual indication of editable fields using a slightly contrasting background color */
input,
select,
textarea {
  background-color: #RRGGBB;
}
option {
  font-family: mono;
}

3.1.2 Styling: input field details

Below is the code for individual input fields. Currently it is unused.
/* individual styling for different input elements (currently unused) */
input.textfield {
}
input.passwordfield {
}
label.checkboxfield {
}
input.checkboxfield {
}
label.radiofield {
}
input.radiofield {
}
input.filefield {
}

3.1.3 Styling: button details

Below is the code for the buttons.
/* generic button style; individual background images follow */
input.button {
  background-color: #RRGGBB;
  background-repeat: no-repeat;
  margin-right: 30px;
  font-weight: bold;
}
input.button_save {
  padding-left: 20px;
  background-image: url(../graphics/button_save.gif);
}
input.button_cancel {
  padding-left: 20px;
  background-image: url(../graphics/button_cancel.gif);
}
input.button_delete {
  padding-left: 20px;
  background-image: url(../graphics/button_delete.gif);
}
input.button_previous {
  padding-left: 20px;
  background-image: url(../graphics/button_previous.gif);
}
input.button_next {
  padding-left: 20px;
  background-image: url(../graphics/button_next.gif);
}
input.button_ok {
  padding-left: 20px;
  background-image: url(../graphics/button_ok.gif);
}
input.button_edit {
  padding-left: 20px;
  background-image: url(../graphics/button_edit.gif);
}

3.2 Replace the Website@School logo

Below is the example to replace the Website@School logo with the one of your class. You can copy and paste it on the area of your class. Adjust the path and file name of the picture. Go: Configuration Manager > Areas > pencil (class area) > Theme configuration > Extra style at area level.
/* Do not display the Website@School logo */
#logo {
display: none;
}

/* The code below:
/* Sets the background image path, */
/* do not repaeat it */
/* and positions the image 40 pixels from left and 20 px from the top */ 
#header {
background-image: url('http://exemplum.eu/file.php/areas/seniors/basics_pupils_heads.png');
background-repeat: no-repeat;
background-position: 40px 20px;
}

NOTE: Keep the image the same size as the Website@School logo, i.e. 284x71 pixels. Or enlarge it. Experiment!

(top)

Author: Dirk Schouten <dirk (at) websiteatschool (dot) eu> Last updated: 2014-09-06