Skip to content

Commit

Permalink
Updated component to version 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Jul 10, 2015
1 parent 5d95dae commit 3173165
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 32 deletions.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Version 2.0.3 - July 8, 2015

- **Steps** - Fixed `github` theme for steps not displaying correctly in 2.0 [#2545](https://github.com/Semantic-Org/Semantic-UI/issues/2545)
- **Steps** - Last `step` no longer incorrectly shows arrow [#2552](https://github.com/Semantic-Org/Semantic-UI/issues/2552)

### Version 2.0.0 - June 30, 2015

- **Steps** - Steps now use `flexbox`, fluid steps now center content inside each step
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"framework"
],
"license": "MIT",
"version": "2.0.2"
"version": "2.0.3"
}
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Package.describe({
name : 'semantic:ui-step',
summary : 'Semantic UI - Step: Single component release',
version : '2.0.2',
version : '2.0.3',
git : 'git://github.com/Semantic-Org/UI-Step.git',
});

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "semantic",
"version": "1.0.0",
"title": "Semantic UI",
"description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.",
"name": "semantic-ui-step",
"version": "2.0.3",
"title": "Semantic UI - Step",
"description": "Single component release of step",
"homepage": "http://www.semantic-ui.com",
"author": "Jack Lukic <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/Semantic-Org/Semantic-UI.git"
"url": "https://github.com/Semantic-Org/UI-Step.git"
},
"bugs": {
"url": "https://github.com/Semantic-Org/Semantic-UI/issues"
},
"devDependencies": {}
}
}
62 changes: 40 additions & 22 deletions step.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.0.2 - Step
* # Semantic UI 2.0.3 - Step
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -35,29 +35,16 @@
border-radius: 0.28571429rem;
border: 1px solid rgba(34, 36, 38, 0.15);
}

/* First Steps */
.ui.steps:first-child {
margin-top: 0em;
}

/* Last Steps */
.ui.steps:last-child {
margin-bottom: 0em;
}
.ui.steps .step:first-child {
padding-left: 2em;
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
}
.ui.steps .step:last-child {
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
}
.ui.steps .step:only-child {
border-radius: 0.28571429rem;
}
.ui.steps .step:last-child {
border-right: none;
margin-right: 0em;
}
.ui.steps .step:last-child:after {
display: none;
}


/*******************************
Expand Down Expand Up @@ -99,7 +86,11 @@
border-radius: 0em;
border: none;
border-right: 1px solid rgba(34, 36, 38, 0.15);
-webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
}

/* Arrow */
.ui.steps .step:after {
display: none;
position: absolute;
Expand All @@ -114,14 +105,31 @@
border-style: solid;
border-color: rgba(34, 36, 38, 0.15);
border-width: 0px 1px 1px 0px;
-webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
-webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg);
-ms-transform: translateY(-50%) translateX(50%) rotate(-45deg);
transform: translateY(-50%) translateX(50%) rotate(-45deg);
}
.ui.steps .step,
.ui.steps .step:after {
-webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;

/* First Step */
.ui.steps .step:first-child {
padding-left: 2em;
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
}

/* Only Step */
.ui.steps .step:only-child {
border-radius: 0.28571429rem;
}

/* Last Step */
.ui.steps .step:last-child {
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
}
.ui.steps .step:last-child {
border-right: none;
margin-right: 0em;
}


Expand Down Expand Up @@ -245,6 +253,7 @@
justify-content: flex-start;
border-radius: 0em;
padding: 1.14285714em 2em;
border-right: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.vertical.steps .step:first-child {
Expand Down Expand Up @@ -272,6 +281,9 @@
display: block;
}
.ui.vertical.steps .step:last-child:after {
display: none;
}
.ui.vertical.steps .active.step:last-child:after {
display: block;
}

Expand Down Expand Up @@ -376,6 +388,12 @@
.ui.steps .active.step:after {
display: block;
}
.ui.steps .step:last-child:after {
display: none;
}
.ui.steps .active.step:last-child:after {
display: none;
}

/* Active Hover */
.ui.steps .link.active.step:hover::after,
Expand Down
Loading

0 comments on commit 3173165

Please sign in to comment.