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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
123c9783
Commit
123c9783
authored
Aug 10, 2018
by
Annabel Gray
Committed by
Clement Ho
Aug 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ee-49807 consolidate sass variables
parent
daca5cab
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
30 deletions
+28
-30
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+0
-1
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+1
-0
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+1
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-1
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+2
-2
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-19
app/assets/stylesheets/framework/variables_overrides.scss
app/assets/stylesheets/framework/variables_overrides.scss
+16
-0
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+1
-1
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+1
-1
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+2
-2
ee/app/assets/stylesheets/framework/sortable.scss
ee/app/assets/stylesheets/framework/sortable.scss
+1
-1
No files found.
app/assets/stylesheets/bootstrap_migration.scss
View file @
123c9783
...
@@ -14,7 +14,6 @@ $border-radius-base: 3px !default;
...
@@ -14,7 +14,6 @@ $border-radius-base: 3px !default;
$modal-body-bg
:
$white-light
;
$modal-body-bg
:
$white-light
;
$input-border
:
$border-color
;
$input-border
:
$border-color
;
$input-border-focus
:
$focus-border-color
;
$padding-base-vertical
:
$gl-vert-padding
;
$padding-base-vertical
:
$gl-vert-padding
;
$padding-base-horizontal
:
$gl-padding
;
$padding-base-horizontal
:
$gl-padding
;
...
...
app/assets/stylesheets/framework.scss
View file @
123c9783
@import
'framework/variables'
;
@import
'framework/variables'
;
@import
'framework/variables_overrides'
;
@import
'framework/mixins'
;
@import
'framework/mixins'
;
@import
'bootstrap'
;
@import
'bootstrap'
;
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
123c9783
...
@@ -350,7 +350,7 @@
...
@@ -350,7 +350,7 @@
&
:focus
{
&
:focus
{
cursor
:
text
;
cursor
:
text
;
box-shadow
:
none
;
box-shadow
:
none
;
border-color
:
lighten
(
$
dropdown-input-focus-border
,
20%
);
border-color
:
lighten
(
$
blue-300
,
20%
);
color
:
$gray-darkest
;
color
:
$gray-darkest
;
background-color
:
$gray-light
;
background-color
:
$gray-light
;
}
}
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
123c9783
...
@@ -615,7 +615,7 @@
...
@@ -615,7 +615,7 @@
&
:focus
{
&
:focus
{
color
:
$dropdown-link-color
;
color
:
$dropdown-link-color
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
0
0
4px
$dropdown-input-focus-shadow
;
box-shadow
:
0
0
4px
$dropdown-input-focus-shadow
;
~
.fa
{
~
.fa
{
...
...
app/assets/stylesheets/framework/filters.scss
View file @
123c9783
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
&
.focus
,
&
.focus
,
&
.focus
:hover
{
&
.focus
:hover
{
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
}
}
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
&
:hover
,
&
:hover
,
&
:focus
{
&
:focus
{
color
:
$gl-text-color
;
color
:
$gl-text-color
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
outline
:
none
;
outline
:
none
;
}
}
...
...
app/assets/stylesheets/framework/selects.scss
View file @
123c9783
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
&
:focus
{
&
:focus
{
border-color
:
$
input-border-focus
;
border-color
:
$
blue-300
;
}
}
&
.select2-active
{
&
.select2-active
{
...
...
app/assets/stylesheets/framework/variables.scss
View file @
123c9783
...
@@ -178,7 +178,6 @@ $border-gray-dark: darken($white-normal, $darken-border-factor);
...
@@ -178,7 +178,6 @@ $border-gray-dark: darken($white-normal, $darken-border-factor);
* UI elements
* UI elements
*/
*/
$border-color
:
#e5e5e5
;
$border-color
:
#e5e5e5
;
$focus-border-color
:
$blue-300
;
$well-expand-item
:
#e8f2f7
;
$well-expand-item
:
#e8f2f7
;
$well-inner-border
:
#eef0f2
;
$well-inner-border
:
#eef0f2
;
$well-light-border
:
#f1f1f1
;
$well-light-border
:
#f1f1f1
;
...
@@ -404,8 +403,7 @@ $dropdown-divider-color: rgba(#000, 0.1);
...
@@ -404,8 +403,7 @@ $dropdown-divider-color: rgba(#000, 0.1);
$dropdown-title-btn-color
:
#bfbfbf
;
$dropdown-title-btn-color
:
#bfbfbf
;
$dropdown-input-color
:
#555
;
$dropdown-input-color
:
#555
;
$dropdown-input-fa-color
:
#c7c7c7
;
$dropdown-input-fa-color
:
#c7c7c7
;
$dropdown-input-focus-border
:
$focus-border-color
;
$dropdown-input-focus-shadow
:
rgba
(
$blue-300
,
0
.4
);
$dropdown-input-focus-shadow
:
rgba
(
$dropdown-input-focus-border
,
0
.4
);
$dropdown-loading-bg
:
rgba
(
#fff
,
0
.6
);
$dropdown-loading-bg
:
rgba
(
#fff
,
0
.6
);
$dropdown-chevron-size
:
10px
;
$dropdown-chevron-size
:
10px
;
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
...
@@ -873,19 +871,3 @@ Prometheus
...
@@ -873,19 +871,3 @@ Prometheus
$prometheus-table-row-highlight-color
:
$theme-gray-100
;
$prometheus-table-row-highlight-color
:
$theme-gray-100
;
$priority-label-empty-state-width
:
114px
;
$priority-label-empty-state-width
:
114px
;
/*
* Override Bootstrap 4 variables
*/
$secondary
:
$gray-light
;
$input-disabled-bg
:
$gray-light
;
$input-border-color
:
$theme-gray-200
;
$input-color
:
$gl-text-color
;
$font-family-sans-serif
:
$regular-font
;
$font-family-monospace
:
$monospace-font
;
$input-line-height
:
20px
;
$btn-line-height
:
20px
;
$table-accent-bg
:
$gray-light
;
$card-border-color
:
$border-color
;
$card-cap-bg
:
$gray-light
;
app/assets/stylesheets/framework/variables_overrides.scss
0 → 100644
View file @
123c9783
/*
* This file is only for overriding Bootstrap 4 variables.
* Please add any new variables to variables.scss
*/
$secondary
:
$gray-light
;
$input-disabled-bg
:
$gray-light
;
$input-border-color
:
$theme-gray-200
;
$input-color
:
$gl-text-color
;
$font-family-sans-serif
:
$regular-font
;
$font-family-monospace
:
$monospace-font
;
$input-line-height
:
20px
;
$btn-line-height
:
20px
;
$table-accent-bg
:
$gray-light
;
$card-border-color
:
$border-color
;
$card-cap-bg
:
$gray-light
;
app/assets/stylesheets/pages/issuable.scss
View file @
123c9783
...
@@ -945,7 +945,7 @@
...
@@ -945,7 +945,7 @@
&
.focus
,
&
.focus
,
&
.focus
:hover
{
&
.focus
:hover
{
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
}
}
}
}
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
123c9783
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
.comment-toolbar
,
.comment-toolbar
,
.nav-links
{
.nav-links
{
border-color
:
$
focus-border-color
;
border-color
:
$
blue-300
;
}
}
}
}
...
...
app/assets/stylesheets/pages/search.scss
View file @
123c9783
...
@@ -23,7 +23,7 @@ $search-avatar-size: 16px;
...
@@ -23,7 +23,7 @@ $search-avatar-size: 16px;
.search-text-input
:hover
,
.search-text-input
:hover
,
.form-control
:hover
,
.form-control
:hover
,
:not
[
readonly
]
{
:not
[
readonly
]
{
border-color
:
lighten
(
$
dropdown-input-focus-border
,
20%
);
border-color
:
lighten
(
$
blue-300
,
20%
);
box-shadow
:
0
0
4px
lighten
(
$search-input-focus-shadow-color
,
20%
);
box-shadow
:
0
0
4px
lighten
(
$search-input-focus-shadow-color
,
20%
);
}
}
...
@@ -127,7 +127,7 @@ input[type='checkbox']:hover {
...
@@ -127,7 +127,7 @@ input[type='checkbox']:hover {
&
.search-active
{
&
.search-active
{
form
{
form
{
@extend
.form-control
:focus
;
@extend
.form-control
:focus
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
none
;
box-shadow
:
none
;
@include
media-breakpoint-up
(
xl
)
{
@include
media-breakpoint-up
(
xl
)
{
...
...
ee/app/assets/stylesheets/framework/sortable.scss
View file @
123c9783
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
}
}
&
:focus
{
&
:focus
{
outline
:
1px
solid
$
focus-border-color
;
outline
:
1px
solid
$
blue-300
;
}
}
}
}
}
}
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