UNPKG

causeway-standard-theme

Version:

621 lines (598 loc) 24.9 kB
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2, minimum-scale=0.25"> <title>Causeway Theme</title> <!--Favicon--> <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/manifest.json"> <!-- Bootstrap --> <link href="../css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="../css/causeway-utils.css" rel="stylesheet" media="screen"> <link href="../css/causeway-standard.css" rel="stylesheet" media="screen"> <link href="../docs/css/docs.css" rel="stylesheet" media="screen"> <link href="../css/causeway-print.css" rel="stylesheet" media="print"> </head> <body> <div class="container site-header"> <div class="site-header-holder"> <div class="site-heading"> <div class="site-logo"></div> <h1 class="page-title">Causeway Style</h1> <div class="account-management dropdown"> <div class="user-avatar"> <img src="../images/image_placeholder.png"> </div> <div class="user-info"> <a data-toggle="dropdown" href="#">Hello Guest <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu"> <li> <a>Logout</a> </li> </ul> </div> </div> </div> <nav class="navbar site-menu" role="navigation"> <div class="resp-back hidden-lg hidden-md"> <a href="#"><span class="fa fa-chevron-left"></span></a> <span class="title">MENU</span> </div> <ul class="nav navbar-nav"> <li class="dropdown"> <a href="../docs/index.html#style" data-hover="dropdown"> Style <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu"> <li> <a href="../docs/index.html#build"> Build Instructions </a> </li> <li> <a href="../docs/index.html#javascript"> Javascript </a> </li> <li> <a href="../docs/index.html#stylesheets"> Stylesheets </a> </li> </ul> </li> <li class="dropdown"> <a href="../docs/shells.html#shells" data-hover="dropdown"> Shells <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu"> <li class="dropdown-submenu"> <a href="../docs/content.html#content"> Content </a> <ul class="dropdown-menu"> <li> <a href="../docs/content.html#content-email"> Emails </a> </li> <li> <a href="../docs/content.html#content-link"> Links </a> </li> <li> <a href="../docs/content.html#content-page-header"> Page Header </a> </li> </ul> </li> <li> <a href="../docs/shells.html#footer"> Footer </a> </li> <li> <a href="../docs/shells.html#header"> Header </a> </li> <li> <a href="../docs/left-navigation.html#left-navigation"> Left Navigation </a> </li> <li> <a href="../docs/login.html"> Login page </a> </li> <li> <a href="../docs/shells.html#single-pane"> Single Pane </a> </li> <li> <a href="/docs/twopane-horizontal.html#twopane-horizontal"> Two Pane - Horizontal </a> </li> <li> <a href="../docs/left-navigation-rightpane.html#leftnav-twopane"> Two Pane - Horizontal (Left Navigation Shell) </a> </li> <li> <a href="../docs/twopane-vertical.html#twopane-vertical"> Two Pane - Vertical </a> </li> </ul> </li> <li class="dropdown"> <a href="../docs/components.html#components" data-hover="dropdown"> Components <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu"> <li> <a href="../docs/accordion.html#accordion"> Accordion </a> </li> <li> <a href="../docs/breadcrumb.html#breadcrumb"> Breadcrumb </a> </li> <li class="dropdown-submenu"> <a href="../docs/buttons.html#buttons"> Buttons </a> <ul class="dropdown-menu"> <li> <a href="../docs/buttons.html#buttons-arrow"> Arrow Button </a> </li> <li> <a href="../docs/buttons.html#buttons-icon"> Icon Buttons </a> </li> <li> <a href="../docs/buttons.html#buttons-multi-action"> Multi-action Buttons </a> </li> <li> <a href="../docs/buttons.html#buttons-standard"> Standard Buttons </a> </li> <li> <a href="../docs/buttons.html#buttons-standard-icons"> Standard Buttons with Icons </a> </li> <li> <a href="../docs/buttons.html#buttons-text"> Text Button </a> </li> </ul> </li> <li> <a href="../docs/components.html#dialog-box"> Dialog Box </a> </li> <li class="dropdown-submenu"> <a href="../docs/forms.html#forms"> Forms </a> <ul class="dropdown-menu"> <li> <a href="../docs/forms.html#forms-advanced-listbox"> Advanced Listbox </a> </li> <li> <a href="../docs/forms.html#forms-checkbox"> Checkbox </a> </li> <li> <a href="../docs/forms.html#forms-color"> Color </a> </li> <li> <a href="../docs/forms.html#forms-currency"> Currency </a> </li> <li class="dropdown-submenu"> <a href="../docs/date.html#forms-date"> Date </a> <ul class="dropdown-menu"> <li> <a href="../docs/date.html#forms-date-range"> Date Range </a> </li> <li> <a href="../docs/date.html#forms-date-single"> Single Date </a> </li> </ul> </li> <li> <a href="../docs/forms.html#forms-email"> Email </a> </li> <li> <a href="../docs/forms.html#forms-file"> File </a> </li> <li> <a href="../docs/forms.html#forms-hyperlink"> Hyperlink </a> </li> <li> <a href="../docs/forms.html#forms-image"> Image </a> </li> <li> <a href="../docs/forms.html#forms-password"> Password </a> </li> <li> <a href="../docs/forms.html#forms-radio"> Radiobutton </a> </li> <li class="dropdown-submenu"> <a href="../docs/select.html#forms-select"> Select </a> <ul class="dropdown-menu"> <li> <a href="../docs/select.html#forms-select-multiple"> Multiple Choice </a> </li> <li> <a href="../docs/select.html#forms-select-single"> Single Choice </a> </li> </ul> </li> <li> <a href="../docs/forms.html#forms-select-shuttle"> Select Shuttle </a> </li> <li> <a href="../docs/forms.html#spinbox"> Spinbox </a> </li> <li> <a href="../docs/forms.html#forms-telephone"> Telephone </a> </li> <li> <a href="../docs/forms.html#forms-text"> Text </a> </li> <li> <a href="../docs/forms.html#forms-textarea"> Textarea </a> </li> <li> <a href="../docs/forms.html#forms-time"> Time </a> </li> <li> <a href="../docs/forms.html#forms-tristate"> Tristate </a> </li> </ul> </li> <li> <a href="../docs/components.html#lightbox"> LightBox </a> </li> <li class="dropdown-submenu"> <a href="../docs/menus.html#menus"> Menus </a> <ul class="dropdown-menu"> <li> <a href="../docs/menus.html#menus-dropdown"> Dropdown Menu </a> </li> <li> <a href="../docs/menus.html#menus-dropdown-site"> Site Menu </a> </li> <li> <a href="../docs/menus.html#menus-dropdown-page"> Page Menu </a> </li> <li> <a href="../docs/menus.html#menus-three-line"> Three Line Menu </a> </li> </ul> </li> <li> <a href="../docs/pagination.html#pagination"> Pagination </a> </li> <li> <a href="../docs/site-notification.html#site-notification"> Site Notification </a> </li> <li> <a href="../docs/status-indicator.html#status-indicator"> Status Indicator </a> </li> <li> <a href="../docs/table.html#table"> Table </a> </li> <li> <a href="../docs/components.html#tabstrip"> Tabstrip </a> </li> <li> <a href="../docs/misc.html#tooltip"> Tooltip </a> </li> <li> <a href="../docs/treegrid.html#treegrid"> Tree Grid </a> </li> <li> <a href="../docs/treelist.html#treelist"> Tree List </a> </li> <li> <a href="../docs/treesearchlist.html#treesearchlist"> Tree Search List </a> </li> <li> <a href="../docs/treeview.html#treeview"> Tree View </a> </li> <li> <a href="../docs/wizard.html#wizard"> Wizard </a> </li> </ul> </li> <li class="dropdown"> <a href="../docs/icons.html#content-icons" data-hover="dropdown"> Icons <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu"> <li> <a href="../docs/icons.html#favicon"> Favicon and App Icons </a> </li> <li> <a href="../docs/icons.html#content-icons-available"> Available Icons </a> </li> <li> <a href="../docs/icons.html#content-icons-use"> How to use </a> </li> </ul> </li> <li> <a href="../docs/color-palette.html#color-palette"> Color Palette </a> </li> <li> <a href="../index.html"> Download </a> </li> </ul> <div class="additional-nav-info"> <ol class="breadcrumb"> <li><a href="#">Causeway LTD</a></li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Company Name <span class="fa fa-chevron-down"></span> </a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Sub Company A</a></li> <li><a href="#">Sub Company B</a></li> <li><a href="#">Sub Company C</a></li> <li class="link"><a href="#">More</a></li> </ul> </li> </ol> <span class="cs-badge has-count"> <a href="#"> <span class="fa fa-shopping-cart"></span> <span class="cs-badge-count">5</span> </a> </span> <span class="site-notification has-notification"> <a href="#"> <span class="fa fa-bell"></span> <span class="notification-count">5</span> </a> </span> <span class="cs-badge has-count"> <a href="#"> <span class="fa fa-envelope"></span> <span class="cs-badge-count">5</span> </a> </span> <span class="additional-menu"> <a href="#" data-toggle="dropdown"> <span class="glyphicon glyphicon-threeLine-menu"></span> </a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Site Map</a></li> <li><a href="#">Application Sample</a></li> </ul> </span> </div> </nav> </div> </div> <!--Notification block starts here--> <section class="notification-content-right"> <div class="notification-content-wrapper"> <div class="notification-header"> <h2>Notifications</h2> </div> <div class="notification-content"> <ul> <li> <strong>Far far away,</strong> behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. </li> <li> <strong>It is a paradisematic country,</strong>in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. <a href="#">Find out more.</a> </li> <li> <strong>It is a paradisematic country,</strong>in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. <a href="#">Find out more.</a> </li> <li> You have <strong>One New</strong> Pending Invitation: <a href="#">Carillion AMBS Limited</a>. <a href="#" class="close glyphicon glyphicon-close"></a> </li> <li> You have <strong>One New</strong> Pending Invitation: <a href="#">Amey Group Services Ltd</a>. <a href="#" class="close glyphicon glyphicon-close"></a> </li> <li> You have <strong>One New</strong> Pending Invitation: <a href="#">Amey Group Services Ltd</a>. <a href="#" class="close glyphicon glyphicon-close"></a> </li> </ul> </div> </div> </section> <!--Notification block ends here--> <div class="container page"> <div class="content pane single-pane"> <section> <a id="style"></a> <header class="content-header"> <h1 class="title">Style</h1> <ul class="nav nav-pills"> <li> <a href="#build"> Build Instructions </a> </li> <li> <a href="#stylesheets"> Stylesheets </a> </li> <li> <a href="#javascript"> Javascript </a> </li> </ul> </header> <div> <a id="build"></a> <header class="content-header"> <h2 class="title"> Build Instructions </h2> </header> <h3 class="title"> Pre-Requisites </h3> <p> The style has several prerequisites that need to be installed before it can be built: Node, Grunt, Ruby and Jekyll. </p> <p> Node is required to run the Grunt utility and can be downloaded from <a href="http://nodejs.org/download/">http://nodejs.org/download/</a>. </p> <p> Grunt is a utility that manages the build process of the style from its individual components into its distributable form. It is installed by running the command <code>npm install -g grunt-cli</code> after node has been installed as documented on <a href="http://gruntjs.com/getting-started">http://gruntjs.com/getting-started</a>. </p> <p> Ruby is required to run the Jekyll utility and version 2.0.0 should be installed. There are multiple methods of installing ruby: for wWindows there is an installer available from <a href="http://rubyinstaller.org/">http://rubyinstaller.org/</a>, it is included with the developer tools on a mac running OS X 10.5 or greater and can be installed through RVM (available from <a href="http://rvm.io/rvm/install">http://rvm.io/rvm/install</a>) if you are running linux. </p> <p> Jekyll is required by the base bootstrap build process and can be installed by running the command <code>gem install jekyll</code> after ruby has been successfully installed as documented on <a href="http://jekyllrb.com/">http://jekyllrb.com/</a>. </p> <p> Once all of the above have been installed the command <code>npm install</code> must be run in the root directory of the style (the directory containing the file package.json). </p> <br/> <h3 class="title"> Build Commands </h3> <p> There are several commands available to create the stylesheets and javascript for this style. </p> <table class="table table-striped"> <thead> <tr> <th> Command </th> <th> Description </th> </tr> </thead> <tfoot> <tr> <td colspan="2"> </td> </tr> </tfoot> <tbody> <tr> <td> <code>grunt clean</code> </td> <td> This command cleans the style folder, removing all re-distributable files and providing a clean slate to adjust the style or develop additional controls. </td> </tr> <tr> <td> <code>grunt dist</code> </td> <td> This command builds all the stylesheets, javascript and documentation files and puts them in the dist folder. </td> </tr> <tr> <td> <code>grunt watch</code> </td> <td> This command watches the component files of the style and recompiles the stylesheets, javascript and documentation files when a component is changed. This makes it a useful utility for adjusting the style or developing additional controls. </td> </tr> </tbody> </table> <h3 class="title"> Style Development </h3> <p> This style is based on a modified version of version 3 of the Twitter Bootstrap (documented at <a href="http://getbootstrap.com/getting-started">http://getbootstrap.com/getting-started</a>) and is built using the LESS CSS preprocessor (documented at <a href="http://lesscss.org/#synopsis">http://lesscss.org/</a>) which should be read and understood before making any changes to the style. </p> </div> <div> <a id="stylesheets"></a> <header class="content-header"> <h2 class="title"> Stylesheets </h2> </header> <p> This style has 2 variants: </p> <ol> <li> Standard - The default look for the style </li> <li> Condensed - Can be used when much more information is required to be in view </li> </ol> <p> The variants can be previewed throughout these documents by clicking on "Apply Condensed Style" or "Remove Condensed Style" on the right side of the site menu bar. </p> <p> Please note that the 2 styles cannot be mixed on a single page. </p> <br/> <p> The standard format is always used when creating the page. </p> <pre><code> &lt;link href=&quot;../css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-utils.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-standard.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; </code></pre> <p> If the condensed format is desired then the condensed stylesheet is added to the page header immediately following the causeway-standard stylesheet. </p> <pre><code> &lt;link href=&quot;../css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-utils.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-standard.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; </code></pre> <p> Any application stylesheets should follow on from this list. </p> <pre><code> &lt;link href=&quot;../css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-utils.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;../css/causeway-standard.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; &lt;link href=&quot;css/docs.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&gt; </code></pre> </div> <div> <a id="javascript"></a> <header class="content-header"> <h2 class="title"> Javascript </h2> </header> <p> All javascript should be written in external files and included at the end of the page, after the required javascript and before the closing <code>&lt;body&gt;</code> tag. </p> <pre><code> &lt;script src=&quot;../js/jquery.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;../js/bootstrap.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;../js/causeway-utils.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;../js/causeway.min.js&quot;&gt;&lt;/script&gt; </code></pre> </div> </section> </div> </div> <div class="container site-footer"> <div class="status-holder"> <div class="status-message"></div> </div> <!--<a href="#" class="site-footer-toggle">--> <!--<span class="fa fa-chevron-down"></span>--> <!--</a>--> </div> <script src="/js/jquery.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/causeway-utils.min.js"></script> <script src="/js/causeway.js"></script> <script src="/js/responsive.js"></script> <script src="/docs/js/docs.js"></script> <script> (function(window, $){ var statusHolder = $('.status-message'), date = new Date(); var message = "Copyright © 1998-" + date.getFullYear() + " Causeway Software Solutions Limited."; statusHolder.html(message); }(window, jQuery)); </script> </body> </html>