Commit 421aa858 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve help UI page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 012ea64d
...@@ -3,4 +3,15 @@ ...@@ -3,4 +3,15 @@
margin: 35px 0 20px; margin: 35px 0 20px;
font-weight: bold; font-weight: bold;
} }
.example {
&:before {
content: "Example";
color: #BBB;
}
padding: 15px;
border: 1px dashed #ddd;
margin-bottom: 15px;
}
} }
...@@ -31,10 +31,25 @@ ...@@ -31,10 +31,25 @@
%h2#blocks Blocks %h2#blocks Blocks
%h4 .lead
Content block separated with botton border
%code .content-block
.example
.content-block
%h4 Normal block inside content
= lorem
.content-block
%h4 Second block
= lorem
.lead
Gray content block with side padding using
%code .gray-content-block %code .gray-content-block
.gray-content-block.middle-block .example
.gray-content-block
%h4 Normal block inside content %h4 Normal block inside content
= lorem = lorem
...@@ -43,9 +58,10 @@ ...@@ -43,9 +58,10 @@
= lorem = lorem
%h4 .lead
Cover block for profile page with avatar, name and description
%code .cover-block %code .cover-block
%br .example
.cover-block .cover-block
.avatar-holder .avatar-holder
= image_tag avatar_icon('admin@example.com', 90), class: "avatar s90", alt: '' = image_tag avatar_icon('admin@example.com', 90), class: "avatar s90", alt: ''
...@@ -68,6 +84,7 @@ ...@@ -68,6 +84,7 @@
Simple list using Simple list using
%code .content-list %code .content-list
.example
%ul.content-list %ul.content-list
%li %li
One item One item
...@@ -80,6 +97,7 @@ ...@@ -80,6 +97,7 @@
List with avatar, title and description using List with avatar, title and description using
%code .content-list %code .content-list
.example
%ul.content-list %ul.content-list
%li %li
= image_tag 'no_avatar.png', class: 'avatar s40' = image_tag 'no_avatar.png', class: 'avatar s40'
...@@ -94,8 +112,10 @@ ...@@ -94,8 +112,10 @@
.title Title .title Title
.description Description .description Description
%h4 .lead
List with hover effect
%code .well-list %code .well-list
.example
%ul.well-list %ul.well-list
%li %li
One item One item
...@@ -104,9 +124,9 @@ ...@@ -104,9 +124,9 @@
%li %li
One item One item
%h4 .lead
%code .panel .well-list List inside panel
.example
.panel.panel-default .panel.panel-default
.panel-heading Your list .panel-heading Your list
%ul.well-list %ul.well-list
...@@ -117,18 +137,6 @@ ...@@ -117,18 +137,6 @@
%li %li
One item One item
%h4
%code .bordered-list
%ul.bordered-list
%li
One item
%li
One item
%li
One item
%h2#tables Tables %h2#tables Tables
.example .example
...@@ -158,9 +166,9 @@ ...@@ -158,9 +166,9 @@
%h2#navs Navigation %h2#navs Navigation
%h4 .lead
Holder for top page navigation. Includes navigation, search field, sorting and button
%code .top-area %code .top-area
%p Holder for top page navigation. Includes navigation, search field, sorting and button
.example .example
.top-area .top-area
...@@ -181,9 +189,9 @@ ...@@ -181,9 +189,9 @@
= link_to 'New issue', '#', class: 'btn btn-new' = link_to 'New issue', '#', class: 'btn btn-new'
%h4 .lead
Only nav links without button and search
%code .nav-links %code .nav-links
%p Only nav links without button and search
.example .example
%ul.nav-links %ul.nav-links
%li.active %li.active
...@@ -248,9 +256,11 @@ ...@@ -248,9 +256,11 @@
%h2#forms Forms %h2#forms Forms
%h4 .lead
Horizontal form when label rendered inline with input
%code form.horizontal-form %code form.horizontal-form
.example
%form.form-horizontal %form.form-horizontal
.form-group .form-group
%label.col-sm-2.control-label{:for => "inputEmail3"} Email %label.col-sm-2.control-label{:for => "inputEmail3"} Email
...@@ -270,9 +280,11 @@ ...@@ -270,9 +280,11 @@
.col-sm-offset-2.col-sm-10 .col-sm-offset-2.col-sm-10
%button.btn.btn-default{:type => "submit"} Sign in %button.btn.btn-default{:type => "submit"} Sign in
%h4 .lead
Form when label rendered above input
%code form %code form
.example
%form %form
.form-group .form-group
%label{:for => "exampleInputEmail1"} Email address %label{:for => "exampleInputEmail1"} Email address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment