Skip to content

Commit

Permalink
Merge pull request #1469 from bem/showcase.fixes
Browse files Browse the repository at this point in the history
showcase: change the location of the progressbar
  • Loading branch information
sipayRT committed Apr 21, 2015
2 parents 2067344 + 2737d58 commit 2e0ec2f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 23 deletions.
5 changes: 5 additions & 0 deletions desktop.pages/showcase/blocks/link/link.styl
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@
content: ' ❏';
}
}

.radio-group_type_button ~ .link_type_docs
{
margin-top: 20px;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.progressbar-example
{
margin-top: 10px;
margin-top: 30px;

.button
{
Expand Down
43 changes: 21 additions & 22 deletions desktop.pages/showcase/showcase.bemjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ module.exports = {
{ val : 3, text : 'Any colors' }
]
},
'<br><br>',
{ tag: 'br' },
addLinkToDoc('spin'),
{
block : 'spin-container',
Expand All @@ -189,32 +189,11 @@ module.exports = {
mods : { theme : 'islands', size : size, visible : true }
};
})
},
{
block: 'progressbar-example',
js: true,
content: [{
block : 'button',
mods : {
theme : 'islands',
size : 's',
togglable : 'check',
checked : true
},
text : 'Pause'
},
addLinkToDoc('progressbar'),
{
block : 'progressbar',
mods : { theme : 'islands' },
val : 25
}]
}
]
},
{
elem : 'cell',

content : [
addLinkToDoc('select', '#mode', 'select_mode_radio-check'),
{
Expand Down Expand Up @@ -261,6 +240,26 @@ module.exports = {
text : 'Load image'
},
noFileText : 'file is not selected'
},
{
block: 'progressbar-example',
js: true,
content: [{
block : 'button',
mods : {
theme : 'islands',
size : 's',
togglable : 'check',
checked : true
},
text : 'Pause'
},
addLinkToDoc('progressbar'),
{
block : 'progressbar',
mods : { theme : 'islands' },
val : 95
}]
}
]
},
Expand Down

0 comments on commit 2e0ec2f

Please sign in to comment.