BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
preferences.scss
app/assets/stylesheets/pages/profiles/preferences.scss
+5
-7
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