Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e99ca657
Commit
e99ca657
authored
Dec 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ui-framework-fixes'
parents
72346100
092e093b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
28 deletions
+33
-28
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+0
-1
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+0
-7
app/assets/stylesheets/pages/ui_dev_kit.scss
app/assets/stylesheets/pages/ui_dev_kit.scss
+1
-4
app/views/help/ui.html.haml
app/views/help/ui.html.haml
+32
-16
No files found.
app/assets/stylesheets/framework/files.scss
View file @
e99ca657
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
position
:
relative
;
position
:
relative
;
background
:
$background-color
;
background
:
$background-color
;
border-bottom
:
1px
solid
$border-color
;
border-bottom
:
1px
solid
$border-color
;
text-shadow
:
0
1px
1px
#fff
;
margin
:
0
;
margin
:
0
;
text-align
:
left
;
text-align
:
left
;
padding
:
10px
$gl-padding
;
padding
:
10px
$gl-padding
;
...
...
app/assets/stylesheets/framework/lists.scss
View file @
e99ca657
...
@@ -72,13 +72,6 @@
...
@@ -72,13 +72,6 @@
}
}
}
}
ol
,
ul
{
&
.styled
{
li
{
padding
:
2px
;
}
}
}
/** light list with border-bottom between li **/
/** light list with border-bottom between li **/
ul
.bordered-list
{
ul
.bordered-list
{
...
...
app/assets/stylesheets/pages/ui_dev_kit.scss
View file @
e99ca657
.gitlab-ui-dev-kit
{
.gitlab-ui-dev-kit
{
>
h2
{
>
h2
{
font-size
:
27px
;
margin
:
35px
0
20px
;
border-bottom
:
1px
solid
#CCC
;
color
:
#666
;
margin
:
30px
0
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
}
}
app/views/help/ui.html.haml
View file @
e99ca657
...
@@ -31,11 +31,9 @@
...
@@ -31,11 +31,9 @@
%h2
#blocks
Blocks
%h2
#blocks
Blocks
%h
3
%h
4
%code
.gray-content-block
%code
.gray-content-block
.gray-content-block.middle-block
.gray-content-block.middle-block
%h4
Normal block inside content
%h4
Normal block inside content
=
lorem
=
lorem
...
@@ -45,9 +43,28 @@
...
@@ -45,9 +43,28 @@
=
lorem
=
lorem
%h4
%code
.cover-block
%br
.cover-block
.avatar-holder
=
image_tag
avatar_icon
(
'admin@example.com'
,
90
),
class:
"avatar s90"
,
alt:
''
.cover-title
John Smith
.cover-desc
=
lorem
.cover-controls
=
link_to
'#'
,
class:
'btn btn-gray'
do
=
icon
(
'pencil'
)
=
link_to
'#'
,
class:
'btn btn-gray'
do
=
icon
(
'rss'
)
%h2
#lists
Lists
%h2
#lists
Lists
%h
3
%h
4
%code
.content-list
%code
.content-list
%ul
.content-list
%ul
.content-list
%li
%li
...
@@ -57,7 +74,7 @@
...
@@ -57,7 +74,7 @@
%li
%li
One item
One item
%h
3
%h
4
%code
.well-list
%code
.well-list
%ul
.well-list
%ul
.well-list
%li
%li
...
@@ -67,7 +84,7 @@
...
@@ -67,7 +84,7 @@
%li
%li
One item
One item
%h
3
%h
4
%code
.panel .well-list
%code
.panel .well-list
.panel.panel-default
.panel.panel-default
...
@@ -80,7 +97,7 @@
...
@@ -80,7 +97,7 @@
%li
%li
One item
One item
%h
3
%h
4
%code
.bordered-list
%code
.bordered-list
%ul
.bordered-list
%ul
.bordered-list
%li
%li
...
@@ -121,7 +138,7 @@
...
@@ -121,7 +138,7 @@
%h2
#navs
Navigation
%h2
#navs
Navigation
%h
3
%h
4
%code
.center-top-menu
%code
.center-top-menu
.example
.example
%ul
.center-top-menu
%ul
.center-top-menu
...
@@ -130,7 +147,7 @@
...
@@ -130,7 +147,7 @@
%li
%li
%a
Closed
%a
Closed
%h
3
%h
4
%code
.btn-group.btn-group-next
%code
.btn-group.btn-group-next
.example
.example
%div
.btn-group.btn-group-next
%div
.btn-group.btn-group-next
...
@@ -138,7 +155,7 @@
...
@@ -138,7 +155,7 @@
%a
.btn
Closed
%a
.btn
Closed
%h
3
%h
4
%code
.nav.nav-tabs
%code
.nav.nav-tabs
.example
.example
%ul
.nav.nav-tabs
%ul
.nav.nav-tabs
...
@@ -204,7 +221,7 @@
...
@@ -204,7 +221,7 @@
%h2
#forms
Forms
%h2
#forms
Forms
%h
3
%h
4
%code
form.horizontal-form
%code
form.horizontal-form
%form
.form-horizontal
%form
.form-horizontal
...
@@ -226,7 +243,7 @@
...
@@ -226,7 +243,7 @@
.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
%h
3
%h
4
%code
form
%code
form
%form
%form
...
@@ -243,7 +260,7 @@
...
@@ -243,7 +260,7 @@
%button
.btn.btn-default
{
:type
=>
"submit"
}
Sign in
%button
.btn.btn-default
{
:type
=>
"submit"
}
Sign in
%h2
#file
File
%h2
#file
File
%h
3
%h
4
%code
.file-holder
%code
.file-holder
-
blob
=
Snippet
.
new
(
content:
"Wow
\n
Such
\n
File"
)
-
blob
=
Snippet
.
new
(
content:
"Wow
\n
Such
\n
File"
)
...
@@ -254,13 +271,12 @@
...
@@ -254,13 +271,12 @@
.file-actions
.file-actions
.btn-group
.btn-group
%a
.btn
Edit
%a
.btn
Edit
%a
.btn
Remove
%a
.btn
.btn-danger
Remove
.file-contenta.code
.file-contenta.code
=
render
'shared/file_highlight'
,
blob:
blob
=
render
'shared/file_highlight'
,
blob:
blob
%h2
#markdown
Markdown
%h2
#markdown
Markdown
%h
3
%h
4
%code
.md or .wiki and others
%code
.md or .wiki and others
Markdown rendering has a bit different css and presented in next UI elements:
Markdown rendering has a bit different css and presented in next UI elements:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment