Changeset 340


Ignore:
Timestamp:
06/06/12 15:23:21 (13 years ago)
Author:
tjcschipper
Message:
  • Fixed typo in rft/content.js description. No functionality touched, don't worry!;)
  • Some more markup and styling changes to make everything more consistent.
  • Created rft/ui/Breadcrumbs class, first draft of decoupled breadcrumbs system. Still needs a couple of fixes (see comments in file) and requires rft/content to expose "rft/content/goTo" event via connect.publish or topic.publish.
Location:
Dev/branches/rest-dojo-ui/client
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/mockup.html

    r339 r340  
    8080                        </div>
    8181                        <div data-dojo-type="dijit.layout.TabContainer" class="blue" data-dojo-props="tabPosition:'left-h',region:'center'">
    82                             <div data-dojo-type="dijit.layout.ContentPane" title="Category One">
    83                                 <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one'"></div>
    84                                 <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two'"></div>
     82                            <div data-dojo-type="dijit.layout.ContentPane" title="Category One, this is a very long title to see how overflow works. This part is cut off because it passes two lines at 200px wide.">
     83                                <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one', modifiers:'green'"></div>
     84                                <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two', modifiers: 'purple'"></div>
    8585                            </div>
    8686                            <div data-dojo-type="dijit.layout.ContentPane" title="Category Two">
  • Dev/branches/rest-dojo-ui/client/rft/content.js

    r311 r340  
    1717 * The event onLeave is called before navigating to another page. If false is
    1818 * returned from this function, the navigation will be cancelled. You can use
    19  * this e.g. to ask confirmation of changed values are not saved.
     19 * this e.g. to ask confirmation if changed values are not saved.
    2020 */
    2121define(['dojo/_base/declare','dojo/_base/connect','dojo/_base/xhr','dojo/_base/json',
  • Dev/branches/rest-dojo-ui/client/rft/css/layout.css

    r339 r340  
    6262
    6363/* Breadcrumbs */
    64 .breadcrumbs {
     64.claro .breadcrumbs {
    6565    float: left;
    6666    clear: left;
     
    7070    line-height: 16px;
    7171}
    72 .breadcrumb {
     72.claro .breadcrumbs .breadcrumb {
    7373    color: #999999;
    7474    font-size: 13px;
    7575}
    76 .breadcrumbCurrent {
     76.claro .breadcrumbs .breadcrumb.breadcrumbCurrent {
    7777    color: #ffffff;
    7878    font-size: 14px;
    7979}
     80.claro .breadcrumbs .breadcrumb.breadcrumbHover {
     81    color: #0072bc;
     82}
    8083
    8184/* Content */
    82 .dijitContentPane.page {
    83     padding: 0;
    84 }
    85 .content.dijitContentPane {
     85.claro .dijitContentPane.page {
     86    padding: 0;
     87}
     88.claro .content.dijitContentPane {
    8689    display: block;
    8790    clear: both;
     
    102105        );
    103106}
    104 .content.dijitContentPane .dijitBorderContainer {
     107.claro .content.dijitContentPane .dijitBorderContainer {
    105108    padding: 2px;
    106109}
     
    138141}
    139142
    140 
    141143/* Tabs */
    142144.claro .dijitTabContainerLeft-tabs {
    143145    border: none;
     146    padding: 4px 16px 4px 4px;
    144147}
    145148.claro .dijitTabContainerLeft-tabs .dijitTab {
    146149    margin: 4px 0;
    147150    width: 200px;
    148     height: 30px;
     151    min-height: 30px;
    149152}
    150153.claro .dijitTab {
     154    padding: 2px 8px;
    151155    color: #999999;
    152156    border: 1px solid #999999;
     157    white-space: normal;
     158    overflow: hidden;
    153159    transition: all 0.3s;
    154160    -moz-transition: all 0.3s;
     
    156162    -o-transition: all 0.3s;
    157163}
     164.claro .dijitTabContainerLeft-tabs .dijitTab .dijitTabContent {
     165    height: 48px;
     166    line-height: 24px;
     167    width: 190px;
     168}
     169
    158170.claro .dijitTab.dijitTabHover {
    159171    color: #ffffff;
Note: See TracChangeset for help on using the changeset viewer.