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
35339bb1
Commit
35339bb1
authored
Jun 05, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update markup/styling for syntax highlight theme preference
parent
0e21436a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
app/assets/stylesheets/pages/profiles/preferences.scss
app/assets/stylesheets/pages/profiles/preferences.scss
+5
-7
app/views/profiles/preferences/show.html.haml
app/views/profiles/preferences/show.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/profiles/preferences.scss
View file @
35339bb1
...
...
@@ -37,22 +37,20 @@
}
}
.code_highlight_opts
{
margin-top
:
10px
;
.syntax-theme
{
label
{
margin-right
:
20px
;
text-align
:
center
;
.prev
{
width
:
160px
;
.preview
{
margin-bottom
:
10px
;
width
:
160px
;
img
{
max-width
:
100%
;
@include
border-radius
(
4px
);
max-width
:
100%
;
}
}
}
}
app/views/profiles/preferences/show.html.haml
View file @
35339bb1
...
...
@@ -16,9 +16,9 @@
=
f
.
radio_button
:theme_id
,
theme
.
id
=
theme
.
name
.panel.panel-default.
code-preview
-theme
.panel.panel-default.
syntax
-theme
.panel-heading
Code preview
theme
Syntax highlighting
theme
.panel-body
-
color_schemes
.
each
do
|
color_scheme_id
,
color_scheme
|
=
label_tag
do
...
...
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