Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #24 from Tripwire/menutabs
Browse files Browse the repository at this point in the history
Menutabs
  • Loading branch information
cdaringe authored Mar 2, 2017
2 parents a3be742 + c8c98b6 commit e7c6ef4
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
4 changes: 2 additions & 2 deletions semantic/src/theme.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
@breadcrumb : 'default';
@form : 'default';
@grid : 'default';
@menu : 'default';
@menu : 'tripwire';
@message : 'tripwire';
@table : 'tripwire';

Expand All @@ -52,7 +52,7 @@
@dimmer : 'default';
@dropdown : 'tripwire';
@embed : 'default';
@modal : 'default';
@modal : 'tripwire';
@nag : 'default';
@popup : 'tripwire';
@progress : 'tripwire';
Expand Down
8 changes: 4 additions & 4 deletions semantic/src/themes/tripwire/collections/menu.variables
Original file line number Diff line number Diff line change
Expand Up @@ -313,20 +313,20 @@
@tabularOppositeBorderWidth: @tabularBorderWidth + 1px;
@tabularVerticalPadding: @itemVerticalPadding;
@tabularHorizontalPadding: @relativeHuge;
@tabularBorderRadius: @defaultBorderRadius;
@tabularBorderRadius: 0px;
@tabularTextColor: @itemTextColor;

@tabularHoveredTextColor: @hoveredTextColor;
@tabularHoveredTextColor: @blue;

@tabularVerticalBackground: none @tabularBackgroundColor;

@tabularFluidOffset: 1px;
@tabularFluidWidth: ~"calc(100% + "(@tabularFluidOffset * 2)~")";

@tabularActiveBackground: none @white;
@tabularActiveColor: @selectedTextColor;
@tabularActiveColor: @grey;
@tabularActiveBoxShadow: none;
@tabularActiveWeight: bold;
@tabularActiveWeight: normal;



Expand Down
2 changes: 1 addition & 1 deletion semantic/src/themes/tripwire/modules/modal.variables
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@background: @white;
@border: none;
@zIndex: 1001;
@borderRadius: @defaultBorderRadius;
@borderRadius: 0px;
@transformOrigin: 50% 25%;
@boxShadow:
1px 3px 3px 0px rgba(0, 0, 0, 0.2),
Expand Down
1 change: 1 addition & 0 deletions stories/controls.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const paginationSampleData = [
function nextPage () {
// handle your pagination
}

storiesOf('Interactive Controls', module)
.addDecorator((story) => (
<div style={{marginTop: '15px', marginLeft: '15px'}}>
Expand Down
18 changes: 18 additions & 0 deletions stories/menutabs.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react'
import { storiesOf } from '@kadira/storybook'
import { Menu, Segment } from 'semantic-ui-react'

storiesOf('Menu', module)

.add('Tabs', () => (
<div>
<Menu attached='top' tabular>
<Menu.Item name='First' active />
<Menu.Item name='Second' />
<Menu.Item name='Third' />
</Menu>
<Segment attached='bottom'>
<img src='http://semantic-ui.com/images/wireframe/paragraph.png' />
</Segment>
</div>
))

0 comments on commit e7c6ef4

Please sign in to comment.