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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
0759266c
Commit
0759266c
authored
Jun 23, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ui-improvements' into 'master'
Ui improvements
parents
860785a4
ab5cac7b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
69 additions
and
48 deletions
+69
-48
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
+6
-2
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+1
-1
app/assets/stylesheets/generic/forms.scss
app/assets/stylesheets/generic/forms.scss
+4
-24
app/assets/stylesheets/generic/jquery.scss
app/assets/stylesheets/generic/jquery.scss
+2
-2
app/assets/stylesheets/generic/selects.scss
app/assets/stylesheets/generic/selects.scss
+1
-1
app/assets/stylesheets/gl_bootstrap.scss
app/assets/stylesheets/gl_bootstrap.scss
+1
-1
app/assets/stylesheets/main/variables.scss
app/assets/stylesheets/main/variables.scss
+5
-1
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/commits.scss
+24
-0
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+1
-5
app/assets/stylesheets/sections/nav.scss
app/assets/stylesheets/sections/nav.scss
+1
-1
app/assets/stylesheets/sections/profile.scss
app/assets/stylesheets/sections/profile.scss
+9
-6
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+14
-4
No files found.
app/assets/stylesheets/application.scss
View file @
0759266c
...
@@ -8,8 +8,6 @@
...
@@ -8,8 +8,6 @@
*= require select2
*= require select2
*= require highlightjs.min
*= require highlightjs.min
*= require_self
*= require_self
*= require nprogress
*= require nprogress-bootstrap
*= require dropzone/basic
*= require dropzone/basic
*/
*/
...
@@ -20,6 +18,12 @@
...
@@ -20,6 +18,12 @@
*/
*/
@import
'gl_bootstrap'
;
@import
'gl_bootstrap'
;
/**
* NProgress load bar css
*/
@import
'nprogress'
;
@import
'nprogress-bootstrap'
;
/**
/**
* Font icons
* Font icons
*
*
...
...
app/assets/stylesheets/generic/common.scss
View file @
0759266c
...
@@ -55,7 +55,7 @@ pre {
...
@@ -55,7 +55,7 @@ pre {
.dropdown-menu
>
li
>
a
:hover
,
.dropdown-menu
>
li
>
a
:hover
,
.dropdown-menu
>
li
>
a
:focus
{
.dropdown-menu
>
li
>
a
:focus
{
background
:
$bg_
style_color
;
background
:
$bg_
primary
;
color
:
#FFF
color
:
#FFF
}
}
...
...
app/assets/stylesheets/generic/forms.scss
View file @
0759266c
...
@@ -76,30 +76,10 @@ label {
...
@@ -76,30 +76,10 @@ label {
}
}
}
}
.commit-message-container
{
background-color
:
$body-bg
;
position
:
relative
;
font-family
:
$monospace_font
;
$left
:
12px
;
.max-width-marker
{
width
:
72ch
;
color
:
rgba
(
0
,
0
,
0
,
0
.0
);
font-family
:
inherit
;
left
:
$left
;
height
:
100%
;
border-right
:
1px
solid
mix
(
$input-border
,
white
);
position
:
absolute
;
z-index
:
1
;
}
>
textarea
{
background-color
:
rgba
(
0
,
0
,
0
,
0
.0
);
font-family
:
inherit
;
padding-left
:
$left
;
position
:
relative
;
z-index
:
2
;
}
}
.fieldset-form
fieldset
{
.fieldset-form
fieldset
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.form-control
{
@include
box-shadow
(
none
);
}
app/assets/stylesheets/generic/jquery.scss
View file @
0759266c
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
}
}
.ui-state-active
{
.ui-state-active
{
border
:
1px
solid
$bg_
style_color
;
border
:
1px
solid
$bg_
primary
;
background
:
$bg_
style_color
;
background
:
$bg_
primary
;
color
:
#FFF
;
color
:
#FFF
;
}
}
...
...
app/assets/stylesheets/generic/selects.scss
View file @
0759266c
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
.select2-results
{
.select2-results
{
max-height
:
350px
;
max-height
:
350px
;
.select2-highlighted
{
.select2-highlighted
{
background
:
$bg_
style_color
;
background
:
$bg_
primary
;
}
}
}
}
}
}
...
...
app/assets/stylesheets/gl_bootstrap.scss
View file @
0759266c
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
$font-size-base
:
13px
!
default
;
$font-size-base
:
13px
!
default
;
$nav-pills-active-link-hover-bg
:
$bg_primary
;
$nav-pills-active-link-hover-bg
:
$bg_primary
;
$pagination-active-bg
:
$bg_primary
;
$pagination-active-bg
:
$bg_primary
;
$list-group-active-bg
:
$bg_
style_color
;
$list-group-active-bg
:
$bg_
primary
;
// Core variables and mixins
// Core variables and mixins
@import
"bootstrap/variables"
;
@import
"bootstrap/variables"
;
...
...
app/assets/stylesheets/main/variables.scss
View file @
0759266c
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
* General Colors
* General Colors
*/
*/
$style_color
:
#474D57
;
$style_color
:
#474D57
;
$bg_style_color
:
#2299BB
;
$hover
:
#D9EDF7
;
$hover
:
#D9EDF7
;
/*
/*
...
@@ -40,3 +39,8 @@ $border_warning: #EB9532;
...
@@ -40,3 +39,8 @@ $border_warning: #EB9532;
*/
*/
$added
:
#63c363
;
$added
:
#63c363
;
$deleted
:
#f77
;
$deleted
:
#f77
;
/**
*
*/
$nprogress-color
:
#3498db
;
app/assets/stylesheets/sections/commits.scss
View file @
0759266c
...
@@ -213,3 +213,27 @@ li.commit {
...
@@ -213,3 +213,27 @@ li.commit {
padding
:
4px
12px
;
padding
:
4px
12px
;
}
}
}
}
.commit-message-container
{
background-color
:
$body-bg
;
position
:
relative
;
font-family
:
$monospace_font
;
$left
:
12px
;
.max-width-marker
{
width
:
72ch
;
color
:
rgba
(
0
,
0
,
0
,
0
.0
);
font-family
:
inherit
;
left
:
$left
;
height
:
100%
;
border-right
:
1px
solid
mix
(
$input-border
,
white
);
position
:
absolute
;
z-index
:
1
;
}
>
textarea
{
background-color
:
rgba
(
0
,
0
,
0
,
0
.0
);
font-family
:
inherit
;
padding-left
:
$left
;
position
:
relative
;
z-index
:
2
;
}
}
app/assets/stylesheets/sections/header.scss
View file @
0759266c
...
@@ -6,14 +6,12 @@ header {
...
@@ -6,14 +6,12 @@ header {
&
.navbar-gitlab
{
&
.navbar-gitlab
{
margin-bottom
:
0
;
margin-bottom
:
0
;
min-height
:
40px
;
min-height
:
40px
;
border
:
none
;
.navbar-inner
{
.navbar-inner
{
background
:
#F1F1F1
;
border-bottom
:
1px
solid
#DDD
;
filter
:
none
;
filter
:
none
;
.nav
>
li
>
a
{
.nav
>
li
>
a
{
color
:
$style_color
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
32px
;
line-height
:
32px
;
padding
:
6px
10px
;
padding
:
6px
10px
;
...
@@ -248,8 +246,6 @@ header {
...
@@ -248,8 +246,6 @@ header {
float
:
left
;
float
:
left
;
height
:
46px
;
height
:
46px
;
width
:
2px
;
width
:
2px
;
background
:
white
;
border-left
:
1px
solid
#DDD
;
margin-left
:
10px
;
margin-left
:
10px
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
...
...
app/assets/stylesheets/sections/nav.scss
View file @
0759266c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
margin
:
20px
0
;
margin
:
20px
0
;
margin-top
:
0
;
margin-top
:
0
;
padding-top
:
4px
;
padding-top
:
4px
;
border-bottom
:
1px
solid
#E
1E1E1
;
border-bottom
:
1px
solid
#E
9E9E9
;
ul
{
ul
{
padding
:
0
;
padding
:
0
;
...
...
app/assets/stylesheets/sections/profile.scss
View file @
0759266c
...
@@ -56,10 +56,10 @@
...
@@ -56,10 +56,10 @@
text-align
:
center
;
text-align
:
center
;
.prev
{
.prev
{
@extend
.thumbnail
;
height
:
80px
;
height
:
30px
;
width
:
160px
;
width
:
175px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
@include
border-radius
(
4px
);
&
.classic
{
&
.classic
{
background
:
#31363e
;
background
:
#31363e
;
...
@@ -92,10 +92,13 @@
...
@@ -92,10 +92,13 @@
text-align
:
center
;
text-align
:
center
;
.prev
{
.prev
{
@extend
.thumbnail
;
width
:
160px
;
height
:
151px
;
width
:
220px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
img
{
max-width
:
100%
;
@include
border-radius
(
4px
);
}
}
}
}
}
}
}
...
...
app/assets/stylesheets/themes/ui_basic.scss
View file @
0759266c
...
@@ -4,11 +4,21 @@
...
@@ -4,11 +4,21 @@
*
*
*/
*/
.ui_basic
{
.ui_basic
{
header
{
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#F1F1F1
;
border-bottom
:
1px
solid
#DDD
;
.nav
>
li
>
a
{
color
:
$style_color
;
}
.separator
{
.separator
{
background
:
#F9F9F9
;
background
:
#F9F9F9
;
border-left
:
1px
solid
#DDD
;
border-left
:
1px
solid
#DDD
;
}
}
}
}
}
.main-nav
{
.main-nav
{
background
:
#FFF
;
background
:
#FFF
;
}
}
...
...
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