Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
8227ee0d4101
Unverified
Commit
9e347d9a
authored
Jan 09, 2014
by
Dmitriy Zaporozhets
Browse files
Better UI for appearence page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8d2f4658d0f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/sections/profile.scss
View file @
8227ee0d
...
...
@@ -51,3 +51,57 @@
font-weight
:
200
;
color
:
#666
;
}
/*
* Appearance settings
*
*/
.themes_opts
{
label
{
margin-right
:
20px
;
text-align
:
center
;
.prev
{
@extend
.thumbnail
;
height
:
30px
;
width
:
175px
;
margin-bottom
:
10px
;
&
.classic
{
background
:
#31363e
;
}
&
.default
{
background
:
#f1f1f1
;
}
&
.modern
{
background
:
#345
;
}
&
.gray
{
background
:
#373737
;
}
&
.violet
{
background
:
#547
;
}
}
}
}
.code_highlight_opts
{
margin-top
:
10px
;
label
{
margin-right
:
20px
;
text-align
:
center
;
.prev
{
@extend
.thumbnail
;
height
:
151px
;
width
:
220px
;
margin-bottom
:
10px
;
}
}
}
app/assets/stylesheets/sections/themes.scss
View file @
8227ee0d
.themes_opts
{
padding-left
:
20px
;
label
{
width
:
175px
;
margin-right
:
40px
;
.prev
{
@extend
.thumbnail
;
height
:
30px
;
width
:
175px
;
margin-bottom
:
10px
;
&
.classic
{
background
:
#31363e
;
}
&
.default
{
background
:
#f1f1f1
;
}
&
.modern
{
background
:
#345
;
}
&
.gray
{
background
:
#373737
;
}
&
.violet
{
background
:
#547
;
}
}
}
}
.code_highlight_opts
{
padding-left
:
20px
;
label
{
width
:
220px
;
margin-right
:
40px
;
.prev
{
@extend
.thumbnail
;
height
:
151px
;
width
:
220px
;
margin-bottom
:
10px
;
}
}
}
app/views/profiles/passwords/edit.html.haml
View file @
8227ee0d
...
...
@@ -23,7 +23,8 @@
.form-group
=
f
.
label
:password
,
'New password'
,
class:
'control-label'
.col-sm-10
=
f
.
password_field
:password
,
required:
true
,
class:
'form-control'
.col-sm-10
=
f
.
password_field
:password
,
required:
true
,
class:
'form-control'
.form-group
=
f
.
label
:password_confirmation
,
class:
'control-label'
.col-sm-10
...
...
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