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
2aaf6853
Commit
2aaf6853
authored
Mar 17, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More use of sass variables. Reject flatly gray colors
parent
066fb568
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
24 deletions
+17
-24
gl_variables.scss
app/assets/stylesheets/base/gl_variables.scss
+7
-13
variables.scss
app/assets/stylesheets/base/variables.scss
+3
-2
forms.scss
app/assets/stylesheets/generic/forms.scss
+2
-2
nav_sidebar.scss
app/assets/stylesheets/generic/nav_sidebar.scss
+3
-5
timeline.scss
app/assets/stylesheets/generic/timeline.scss
+2
-2
No files found.
app/assets/stylesheets/base/gl_variables.scss
View file @
2aaf6853
...
@@ -15,12 +15,6 @@
...
@@ -15,12 +15,6 @@
// $gray: lighten($gray-base, 33.5%) // #555
// $gray: lighten($gray-base, 33.5%) // #555
// $gray-light: lighten($gray-base, 46.7%) // #777
// $gray-light: lighten($gray-base, 46.7%) // #777
// $gray-lighter: lighten($gray-base, 93.5%) // #eee
// $gray-lighter: lighten($gray-base, 93.5%) // #eee
$gray-base
:
#000
;
$gray-darker
:
lighten
(
$gray-base
,
13
.5%
);
// #222
$gray-dark
:
#7b8a8b
;
// #333
$gray
:
#95a5a6
;
// #555
$gray-light
:
#b4bcc2
;
// #999
$gray-lighter
:
#ecf0f1
;
// #eee
$brand-primary
:
$gl-primary
;
$brand-primary
:
$gl-primary
;
$brand-success
:
$gl-success
;
$brand-success
:
$gl-success
;
...
@@ -36,7 +30,7 @@ $brand-danger: $gl-danger;
...
@@ -36,7 +30,7 @@ $brand-danger: $gl-danger;
//** Background color for `<body>`.
//** Background color for `<body>`.
// $body-bg: #fff
// $body-bg: #fff
//** Global text color on `<body>`.
//** Global text color on `<body>`.
$text-color
:
$
brand-primary
;
$text-color
:
$
gl-text-color
;
//** Global textual link color.
//** Global textual link color.
$link-color
:
$gl-link-color
;
$link-color
:
$gl-link-color
;
...
@@ -763,8 +757,8 @@ $panel-default-heading-bg: $background-color;
...
@@ -763,8 +757,8 @@ $panel-default-heading-bg: $background-color;
//
//
//##
//##
$well-bg
:
$gray-lighter
;
//
$well-bg: $gray-lighter;
$well-border
:
transparent
;
//
$well-border: transparent;
//== Badges
//== Badges
...
@@ -838,9 +832,9 @@ $code-bg: #f9f2f4;
...
@@ -838,9 +832,9 @@ $code-bg: #f9f2f4;
$kbd-color
:
#fff
;
$kbd-color
:
#fff
;
$kbd-bg
:
#333
;
$kbd-bg
:
#333
;
$pre-bg
:
$gray-lighter
;
//
$pre-bg: $gray-lighter;
$pre-color
:
$text-color
;
//
$pre-color: $text-color;
$pre-border-color
:
#ccc
;
//
$pre-border-color: #ccc;
// $pre-scrollable-max-height: 340px
// $pre-scrollable-max-height: 340px
...
@@ -855,7 +849,7 @@ $pre-border-color: #ccc;
...
@@ -855,7 +849,7 @@ $pre-border-color: #ccc;
//** Abbreviations and acronyms border color
//** Abbreviations and acronyms border color
// $abbr-border-color: $gray-light
// $abbr-border-color: $gray-light
//** Headings small color
//** Headings small color
$headings-small-color
:
$gray-dark
;
//
$headings-small-color: $gray-dark;
//** Blockquote small color
//** Blockquote small color
// $blockquote-small-color: $gray-light
// $blockquote-small-color: $gray-light
//** Blockquote font size
//** Blockquote font size
...
...
app/assets/stylesheets/base/variables.scss
View file @
2aaf6853
$style_color
:
#474D57
;
$style_color
:
#474D57
;
$hover
:
#FFF3EB
;
$hover
:
#FFF3EB
;
$gl-text-color
:
#222222
;
$gl-link-color
:
#446e9b
;
$gl-link-color
:
#446e9b
;
$nprogress-color
:
#c0392b
;
$nprogress-color
:
#c0392b
;
$gl-font-size
:
14px
;
$gl-font-size
:
14px
;
...
@@ -8,8 +9,8 @@ $sidebar_width: 230px;
...
@@ -8,8 +9,8 @@ $sidebar_width: 230px;
$avatar_radius
:
50%
;
$avatar_radius
:
50%
;
$code_font_size
:
13px
;
$code_font_size
:
13px
;
$code_line_height
:
1
.5
;
$code_line_height
:
1
.5
;
$border-color
:
#
dce4ec
;
$border-color
:
#
E5E5E5
;
$background-color
:
#
ECF0F1
;
$background-color
:
#
f5f5f5
;
/*
/*
* State colors:
* State colors:
...
...
app/assets/stylesheets/generic/forms.scss
View file @
2aaf6853
...
@@ -29,8 +29,8 @@ fieldset legend {
...
@@ -29,8 +29,8 @@ fieldset legend {
padding
:
17px
20px
18px
;
padding
:
17px
20px
18px
;
margin-top
:
18px
;
margin-top
:
18px
;
margin-bottom
:
18px
;
margin-bottom
:
18px
;
background-color
:
#ecf0f1
;
background-color
:
$background-color
;
border-top
:
1px
solid
#e5e5e5
;
border-top
:
1px
solid
$border-color
;
}
}
@media
(
min-width
:
$screen-sm-min
)
{
@media
(
min-width
:
$screen-sm-min
)
{
...
...
app/assets/stylesheets/generic/nav_sidebar.scss
View file @
2aaf6853
...
@@ -58,8 +58,6 @@
...
@@ -58,8 +58,6 @@
}
}
.nav-sidebar
li
{
.nav-sidebar
li
{
text-shadow
:
0
1px
1px
$border-color
;
&
.separate-item
{
&
.separate-item
{
border-top
:
1px
solid
$border-color
;
border-top
:
1px
solid
$border-color
;
padding-top
:
10px
;
padding-top
:
10px
;
...
@@ -67,7 +65,7 @@
...
@@ -67,7 +65,7 @@
}
}
a
{
a
{
color
:
#3b5a5b
;
color
:
$gray
;
display
:
block
;
display
:
block
;
text-decoration
:
none
;
text-decoration
:
none
;
padding
:
8px
15px
;
padding
:
8px
15px
;
...
@@ -78,7 +76,7 @@
...
@@ -78,7 +76,7 @@
&
:hover
{
&
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
color
:
$text-color
;
color
:
$text-color
;
background
:
#f2f6f7
;
background
:
$border-color
;
}
}
&
:active
,
&
:focus
{
&
:active
,
&
:focus
{
...
@@ -87,7 +85,7 @@
...
@@ -87,7 +85,7 @@
i
{
i
{
width
:
20px
;
width
:
20px
;
color
:
$gray-
dark
;
color
:
$gray-
light
;
margin-right
:
23px
;
margin-right
:
23px
;
}
}
}
}
...
...
app/assets/stylesheets/generic/timeline.scss
View file @
2aaf6853
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
.timeline-content
{
.timeline-content
{
position
:
relative
;
position
:
relative
;
background
:
#f5f5f6
;
background
:
$background-color
;
padding
:
10px
15px
;
padding
:
10px
15px
;
margin-left
:
60px
;
margin-left
:
60px
;
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
height
:
0
;
height
:
0
;
border-style
:
solid
;
border-style
:
solid
;
border-width
:
9px
9px
9px
0
;
border-width
:
9px
9px
9px
0
;
border-color
:
transparent
#f5f5f6
transparent
transparent
;
border-color
:
transparent
$background-color
transparent
transparent
;
left
:
0
;
left
:
0
;
top
:
10px
;
top
:
10px
;
margin-left
:
-9px
;
margin-left
:
-9px
;
...
...
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