diff --git a/docs/shape.html b/docs/shape.html index 40b6d2174..8c85944a7 100755 --- a/docs/shape.html +++ b/docs/shape.html @@ -169,95 +169,102 @@
  • Settings can be changed after a module is initialized by calling the 'settings' method on the module with either a settings object or a name, value pair. $('.foo').shape('setting', 'moduleName', 'Godzilla');
  • Settings can also be read programmatically: $('.foo').shape('setting', 'moduleName'); - +
    - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Setting NameDefault ValueUsageSettingDefaultDescription
    moduleNameShapeName used in debug logs
    debugTrueProvides standard debug output to console
    verboseFalseProvides ancillary debug output to console
    namespaceshapeEvent namespace. Makes sure module teardown does not effect other events attached to an element.
    beforeChangeNoneCallback before side is changed. This context is the new side.
    onChangeNoneCallback after side is changed. This context is new side.
    useCSSTrueNot currently supported. Will allow for use of javascript requestAnimationFrame transitions instead of css3 transitions.
    duration1000msDuration of animation (javascript only). To modify animation duration for css simply modify the css property transition-duration.
    easingeaseInOutQuadEasing equation for animation (javascript only). To modify the easing for css simply modify the css property transition-easing
    errors -
    
    -          {
    -            side   : 'You tried to switch to a side that does not exist.',
    -            method : 'The method you called is not defined'
    -          }
    -        
    -
    Object containing localized error messages.
    selector -
    
    -        {
    -          shape : '.shape',
    -          side  : '.side'
    -        }
    -        
    -
    Object containing selectors used by module.
    className -
    
    -        {
    -          css       : 'css',
    -          animating : 'animating',
    -          hidden    : 'hidden',
    -          active    : 'active'
    -        }
    -        
    -
    Object containing class names used by module.
    useCSSTrueNot currently supported. Will allow for use of javascript requestAnimationFrame transitions instead of css3 transitions.
    duration1000msDuration of animation (javascript only). To modify animation duration for css simply modify the css property transition-duration.
    easingeaseInOutQuadEasing equation for animation (javascript only). To modify the easing for css simply modify the css property transition-easing
    selector +
    {
    +  shape : '.shape',
    +  side  : '.side'
    +}
    +
    Object containing selectors used by module.
    className +
    {
    +  css       : 'css',
    +  animating : 'animating',
    +  hidden    : 'hidden',
    +  active    : 'active'
    +}
    +
    Object containing class names used by module.
    Callbacks
    beforeChangeNoneCallback before side is changed. This context is the new side.
    onChangeNoneCallback after side is changed. This context is new side.
    Standard
    moduleNameShapeName used in debug logs
    debugTrueProvides standard debug output to console
    performanceFalseProvides standard debug output to console
    verboseFalseProvides ancillary debug output to console
    namespaceshapeEvent namespace. Makes sure module teardown does not effect other events attached to an element.
    errors + { + side : 'You tried to switch to a side that does not exist.', + method : 'The method you called is not defined' + } + Object containing localized error messages.
    diff --git a/docs/stylesheets/example.css b/docs/stylesheets/example.css index fcb864bd1..4daa2c10e 100755 --- a/docs/stylesheets/example.css +++ b/docs/stylesheets/example.css @@ -110,6 +110,12 @@ a:hover { border: none; padding: 0px; } +#example table pre, +#example table code { + margin: 0px; + padding: 0px; + background-color: transparent; +} #example p { margin: 10px 0px; } diff --git a/src/ui/flat/table.css b/src/ui/flat/table.css index 6853f7fa2..cd89fd767 100755 --- a/src/ui/flat/table.css +++ b/src/ui/flat/table.css @@ -1,12 +1,7 @@ .ui.table { width: 100%; - border: 1px solid #F0F0F0; - border: 1px solid rgba(0, 0, 0, 0.1); border-collapse: collapse; - - font-size: 12px; - color: #555555; - text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.9); + color: #333333; } /* Standard Table Icons */ @@ -29,9 +24,6 @@ -ms-box-sizing: border-box; box-sizing: border-box; } -.ui.table thead { - border-bottom: 1px solid #DADADA; -} .ui.table thead tr { /* -webkit-box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.53); @@ -48,28 +40,17 @@ .ui.table th, .ui.sortable.table th.disabled:hover { cursor: auto; - background-color: #FAFAFA; + background-color: rgba(0, 0, 0, 0.8); + text-align: left; font-weight: bold; - color: #333333; - - background: -webkit-linear-gradient(top, #FAFAFA 0px, #F2F2F2 100%); - background: -moz-linear-gradient(top, #FAFAFA 0px, #F2F2F2 100%); - background: -o-linear-gradient(top, #FAFAFA 0px, #F2F2F2 100%); - background: -ms-linear-gradient(top, #FAFAFA 0px, #F2F2F2 100%); - background: linear-gradient(top, #FAFAFA 0px, #F2F2F2 100%); -} - -/* Header & Footer Formatting */ -.ui.table thead, -.ui.table tfoot { - border: 1px solid rgba(0, 0, 0, 0.1); - font-size: 13px; + color: #FFFFFF; + text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2); } /* Table Striping */ .ui.table tbody tr:nth-child(2n) { - background-color: rgba(0, 0, 0, 0.02); + background-color: rgba(0, 0, 0, 0.04); } @@ -85,22 +66,13 @@ } .ui.grid.table th { - border: 1px solid #DADADA; - border: 1px solid rgba(0, 0, 0, 0.1); - - border-bottom-color: #CCCCCC; - border-bottom-color: rgba(0, 0, 0, 0.2); - - -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; - -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; - box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; + border: 1px solid rgba(0, 0, 0, 0.15); } .ui.grid.table tbody td { - border: 1px solid #E0E0E0; - border-color: rgba(0, 0, 0, 0.1); + border: 1px solid rgba(0, 0, 0, 0.15); } -/* Special Row Types */ +/* Row with a button */ .ui.table tr.button td { padding: 0px; } @@ -110,19 +82,15 @@ -moz-border-radius: 0px; border-radius: 0px; } -.ui.table tfoot tr td, + +/* Emphasize a row */ .ui.table tr.emphasis td, .ui.table tr td.emphasis { - background-color: #F0F0F0; - - border: 1px solid #DADADA; - border: 1px solid rgba(0, 0, 0, 0.1); - - -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; - -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; - box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6) inset; + background-color: rgba(40, 40, 40, 0.7); + text-align: left; font-weight: bold; - color: #333333; + color: #FFFFFF; + text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2); } /* Sortable Table */ @@ -195,16 +163,20 @@ } - - /*-------------- Resizes ---------------*/ +.ui.table { + font-size: 16px; + padding: 10px 12px; +} + +/* Large */ .ui.large.table { - font-size: 13px; + font-size: 18px; } .ui.large.table td, .ui.large.table th { - padding: 10px 12px; + padding: 12px 15px; } \ No newline at end of file