Bitte zum Testen nur aktuelle Browser verwenden! ILIAS unterstützt alle aktuellen Browser wie z.B. Firefox, Safari, Microsoft Edge, Chrome und Chromium. Der von Micosoft nicht mehr unterstützte und weiterentwickelte 'Internet Explorer' kann nicht zum Testen von ILIAS 7 verwendet werden.
Testers are the best!

Documentation

Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'

Bulky

Description

Purpose
The Bulky Link is highly obtrusive. It combines the recognisability of a graphical element with an explicit textual label on an unusually sized button-like area.
Composition
The Bulky Link is built as a a-tag containing an icon or glyph and a (small) text.
Context
  1. Slate
  2. Drilldown Menu

Rivals

Bulky Button
Although visually very much alike, Bulky Buttons rather trigger a Signal and execute JavaScript while the Bulky Link opens a URL. Use Buttons to act upon other elements and Links to change the page. Bulky Links are not stateful.

Rules

Wording
  1. The symbol and the text of the Bulky Link MUST be corresponding.
Style
  1. Bulky Links MUST occupy as much space as their container leaves them.
Responsiveness
  1. On screens larger than small size, Bulky Links MUST contain a symbol plus text.
  2. On small-sized screens, Bulky Links SHOULD contain only a symbol.

Example 1: Base

//The Bulky Links in this example point to ilias.de
//Note the exact look of the Bulky Links is mostly defined by the
//surrounding container.
function base()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $target = new \ILIAS\Data\URI("https://ilias.de");
 
    $ico = $f->symbol()->icon()
             ->standard('someExample', 'Example')
             ->withAbbreviation('E')
             ->withSize('medium');
    $link = $f->link()->bulky($ico, 'Link to ilias.de with Icon', $target);
 
    $glyph = $f->symbol()->glyph()->briefcase();
    $link2 = $f->link()->bulky($glyph, 'Link to ilias.de with Glyph', $target);
 
    return $renderer->render([
        $link,
        $f->divider()->horizontal(),
        $link2,
    ]);
}
 

Relations

Parents
  1. UIComponent
  2. Link